:root {
  --accent: #007f73;
  --accent-dark: #005f56;
  --ink: #141817;
  --muted: #59615f;
  --surface: #ffffff;
  --surface-soft: #f1f5f4;
  --line: #d7dfdd;
  --page-bg: #ffffff;
  --nav-ink: #343a38;
  --footer-bg: #15201d;
  --footer-ink: #aebbb7;
  --footer-link: #e2ebe8;
  --footer-link-hover: #70c9bc;
  --header-shadow: rgba(18, 28, 25, .35);
  --panel-shadow: rgba(18, 28, 25, .18);
  --touch-target: 44px;
  --header-height: 67px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 70;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
textarea,
a {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.detail-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 3px 7px var(--header-shadow);
}

.detail-header-inner {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.detail-brand {
  position: absolute;
  top: 14px;
  left: 42px;
  display: flex;
  flex-direction: column;
  color: var(--accent);
  line-height: 1;
  text-decoration: none;
}

.detail-brand strong {
  font-size: 16px;
  font-weight: 800;
}

.detail-brand span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.detail-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  height: 100%;
  padding-top: 18px;
}

.detail-nav-group {
  position: relative;
  min-height: var(--touch-target);
}

.detail-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  min-width: 58px;
  padding: 0 10px;
  color: var(--nav-ink);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.detail-nav-link:hover,
.detail-nav-link:focus-visible {
  color: var(--accent);
}

.detail-login-entry {
  position: absolute;
  top: 15px;
  right: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: var(--touch-target);
  padding: 0 15px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.detail-login-entry:hover,
.detail-login-entry:focus-visible {
  background: var(--accent);
  color: #fff;
}

.detail-dropdown {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 238px;
  padding: 7px 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 7px 7px var(--panel-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.detail-nav-group:hover .detail-dropdown,
.detail-nav-group:focus-within .detail-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.detail-dropdown a {
  display: flex;
  align-items: center;
  min-height: var(--touch-target);
  padding: 12px 18px;
  color: var(--nav-ink);
  font-size: 13px;
  line-height: 18px;
  text-decoration: none;
}

.detail-dropdown a:hover {
  background: var(--surface-soft);
  color: var(--accent);
}

.detail-menu-toggle,
.detail-mobile-nav {
  display: none;
}

.detail-mobile-nav[hidden] {
  display: none !important;
}

.detail-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 62dvh;
  padding: calc(var(--header-height) + 72px) max(28px, calc((100vw - var(--content)) / 2)) 70px;
  overflow: hidden;
  background: var(--surface-soft);
}

.detail-hero.has-image {
  color: #fff;
  background-position: center;
  background-size: cover;
}

.detail-hero.has-image::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 22, 20, .82), rgba(11, 22, 20, .34) 66%, rgba(11, 22, 20, .1));
  content: "";
}

.detail-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
}

.has-image .breadcrumbs {
  color: #9bddd3;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  text-decoration: none;
}

.detail-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.detail-hero p {
  max-width: 65ch;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.8;
  text-wrap: pretty;
}

.detail-content {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.detail-lead {
  max-width: 820px;
  margin: 0 0 56px;
  color: #39423f;
  font-size: 20px;
  line-height: 1.9;
  white-space: pre-line;
}

.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  margin-top: 28px;
  background: var(--surface-soft);
}

.detail-section.is-text {
  display: block;
  min-height: 0;
  padding: 38px 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.detail-section-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.detail-section h2,
.collection-heading h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

.detail-section h2::after,
.collection-heading h2::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  background: var(--accent);
  content: "";
}

.detail-section p,
.article-copy,
.article-rich-content p,
.detail-section-rich p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}

.article-rich-content {
  max-width: 820px;
}

.article-rich-content p {
  color: #39423f;
  font-size: 18px;
}

.article-rich-content p + p,
.detail-section-rich p + p {
  margin-top: 24px;
}

.article-media {
  max-width: 100%;
  margin: 30px 0;
}

.article-media img,
.article-media video {
  display: block;
  width: 100%;
  max-height: 680px;
  background: var(--surface-soft);
  object-fit: contain;
}

.article-media video {
  aspect-ratio: 16 / 9;
  background: #111614;
}

.article-media figcaption {
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.detail-section-rich .article-media {
  margin: 22px 0;
}

.detail-action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.detail-action:active {
  transform: translateY(1px);
}

.detail-section-image {
  min-height: 330px;
  background-position: center;
  background-size: cover;
}

.detail-section.image-left .detail-section-image {
  order: -1;
}

.collection-heading {
  margin-bottom: 36px;
}

.collection-heading p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-bottom: 4px solid var(--accent);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s ease;
}

.collection-card:hover {
  background: var(--surface-soft);
}

.collection-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: cover;
  filter: saturate(.68);
}

.collection-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.collection-card small {
  color: var(--accent);
  font-size: 12px;
}

.collection-card h2 {
  margin: 14px 0 9px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.collection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.collection-card b {
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-list span {
  min-height: 68px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list span::before {
  margin-right: 10px;
  color: var(--accent);
  content: "✓";
}

.article-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
}

.article-meta {
  align-self: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.article-meta a {
  color: var(--accent);
  text-decoration: none;
}

.contact-layout {
  grid-template-columns: .8fr 1.2fr;
}

.contact-info {
  padding: 34px;
  background: #17201e;
  color: #fff;
}

.contact-info h2 {
  margin: 0 0 30px;
  font-size: 30px;
  font-weight: 400;
}

.contact-info dt {
  margin-top: 22px;
  color: #93a6a1;
  font-size: 12px;
}

.contact-info dd {
  margin: 8px 0 0;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4d5a56;
  font-size: 13px;
  line-height: 1.65;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.contact-consent span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-consent a {
  color: var(--accent);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.is-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: #39423f;
  font-size: 13px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 2px solid #99a8a4;
  border-radius: 0;
  background: var(--surface-soft);
  color: var(--ink);
}

.form-field.contact-consent input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  padding: 0;
  border: 1px solid #879691;
  flex: 0 0 18px;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
  outline: 0;
}

.primary-action {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.primary-action:disabled {
  cursor: wait;
  opacity: .55;
}

.loading-state,
.not-found {
  display: grid;
  place-content: center;
  min-height: 70dvh;
  padding-top: var(--header-height);
  text-align: center;
}

.loading-state strong {
  color: var(--accent);
  font-size: 24px;
}

.loading-state span,
.not-found p {
  margin-top: 12px;
  color: var(--muted);
}

.not-found h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 400;
}

.detail-footer {
  padding: 54px max(28px, calc((100vw - var(--content)) / 2)) 22px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.detail-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 70px;
}

.detail-footer-brand strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.detail-footer-brand span {
  display: block;
  margin-top: 6px;
  color: #70c9bc;
  font-size: 12px;
}

.detail-footer-brand p {
  max-width: 390px;
  margin: 22px 0;
  color: #aebcb8;
  font-size: 13px;
  line-height: 1.8;
}

.detail-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.detail-footer-column h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.detail-footer-column a {
  display: flex;
  align-items: center;
  min-height: var(--touch-target);
  margin: 4px 0;
  color: #99aaa5;
  font-size: 12px;
  text-decoration: none;
}

.detail-footer-column a:hover {
  color: #fff;
}

.detail-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #35413e;
  color: #7f918c;
  font-size: 11px;
}

.detail-footer-legal {
  display: flex;
  align-items: center;
  gap: 22px;
}

.detail-footer-legal a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #c8d1cf;
  text-decoration: none;
  white-space: nowrap;
}

.detail-footer-legal a:hover {
  color: #fff;
}

.detail-toast {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  max-width: 340px;
  padding: 13px 16px;
  background: #17201e;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.detail-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .detail-brand {
    left: 24px;
  }

  .detail-nav {
    display: none;
  }

  .detail-login-entry {
    display: none;
  }

  .detail-menu-toggle {
    position: absolute;
    top: 12px;
    right: 17px;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 13px 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .detail-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  .detail-mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    display: block;
    width: 240px;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    border-left: 1px solid #222;
    background: #272d2b;
    transform: translateX(100%);
    transition: transform .25s ease;
  }

  .detail-mobile-nav.is-open {
    transform: translateX(0);
  }

  .detail-mobile-nav a {
    display: block;
    min-height: 48px;
    padding: 15px 20px;
    border-bottom: 1px solid #3a4542;
    color: #dbe2e0;
    font-size: 13px;
    text-decoration: none;
  }

  .detail-mobile-nav .is-child {
    padding-left: 34px;
    color: #aabbb6;
    font-size: 12px;
  }

  .detail-mobile-nav .detail-mobile-login {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
  }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .detail-brand {
    top: 16px;
  }

  .detail-hero {
    min-height: 56dvh;
    padding: calc(var(--header-height) + 54px) 22px 44px;
  }

  .detail-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .detail-content {
    width: calc(100% - 40px);
    padding: 48px 0 70px;
  }

  .detail-lead {
    margin-bottom: 40px;
    font-size: 17px;
  }

  .article-rich-content p {
    font-size: 16px;
  }

  .article-media {
    margin: 22px 0;
  }

  .detail-section {
    display: flex;
    flex-direction: column;
  }

  .detail-section-copy,
  .detail-section.is-text {
    padding: 28px 24px;
  }

  .detail-section-image,
  .detail-section.image-left .detail-section-image {
    order: 2;
    min-height: 250px;
  }

  .collection-grid,
  .feature-list,
  .article-layout,
  .contact-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .collection-card {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto;
  }

  .collection-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .collection-card-body {
    padding: 15px;
  }

  .form-field.is-wide {
    grid-column: auto;
  }

  .detail-footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-footer-bottom {
    display: block;
  }

  .detail-footer-bottom span,
  .detail-footer-legal {
    display: block;
    margin-top: 7px;
  }

  .detail-footer-legal a {
    display: inline-block;
    margin: 0 18px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Botanical teal theme: decorative surfaces only; article media stays untouched. */
:root {
  --accent: #14775f;
  --accent-dark: #084b3b;
  --ink: #123e35;
  --muted: #47675e;
  --surface-soft: #f0f8f4;
  --line: #c5ded2;
  --leaf-pale: #f0f8f4;
  --leaf-wash: #f8fcfa;
  --leaf-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150' viewBox='0 0 240 150'%3E%3Cg fill='none' stroke='%2314775f' stroke-opacity='.075' stroke-width='1'%3E%3Cpath d='M18 105C43 61 83 42 119 52C105 91 73 117 18 105Z'/%3E%3Cpath d='M20 104C52 89 82 71 115 54M48 91L42 71M65 82L59 61M82 72L77 53M45 92L67 98M63 82L86 88M81 72L103 77'/%3E%3Cpath d='M148 24C178 13 207 29 224 58C192 66 161 55 148 24Z'/%3E%3Cpath d='M151 26C174 37 198 49 221 58M176 38L181 21M190 45L198 29M175 38L161 51M190 45L177 58M204 52L194 64'/%3E%3C/g%3E%3C/svg%3E");
  --leaf-pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150' viewBox='0 0 240 150'%3E%3Cg fill='none' stroke='%23dcefe7' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M18 105C43 61 83 42 119 52C105 91 73 117 18 105Z'/%3E%3Cpath d='M20 104C52 89 82 71 115 54M48 91L42 71M65 82L59 61M82 72L77 53M45 92L67 98M63 82L86 88M81 72L103 77'/%3E%3Cpath d='M148 24C178 13 207 29 224 58C192 66 161 55 148 24Z'/%3E%3Cpath d='M151 26C174 37 198 49 221 58M176 38L181 21M190 45L198 29M175 38L161 51M190 45L177 58M204 52L194 64'/%3E%3C/g%3E%3C/svg%3E");
}

body {
  background-color: var(--leaf-pale);
  background-image: var(--leaf-pattern);
  background-size: 330px 200px;
}

.detail-header {
  background-color: rgba(248, 252, 250, .97);
  background-image: var(--leaf-pattern);
  background-size: 300px 180px;
  border-bottom: 1px solid rgba(20, 119, 95, .16);
  box-shadow: 0 3px 7px rgba(8, 75, 59, .16);
}

.detail-brand {
  color: var(--accent-dark);
}

.detail-dropdown,
.detail-section,
.detail-section.is-text,
.collection-card,
.form-field input,
.form-field textarea {
  background-color: rgba(248, 252, 250, .96);
}

.detail-hero:not(.has-image),
.detail-section,
.detail-section.is-text {
  background-image: var(--leaf-pattern);
  background-size: 330px 200px;
}

.detail-mobile-nav,
.detail-footer,
.contact-info,
.detail-toast {
  background-color: var(--accent-dark);
  background-image: var(--leaf-pattern-dark);
  background-size: 300px 180px;
}

.detail-mobile-nav {
  border-left-color: rgba(220, 239, 231, .22);
}

.detail-mobile-nav a {
  border-bottom-color: rgba(220, 239, 231, .16);
  color: #e9f5ef;
}

.detail-footer {
  color: #cbe0d7;
}

.detail-footer-brand strong,
.detail-footer-column h3 {
  color: #f4fff9;
}

.detail-footer-brand span,
.detail-footer-column a:hover,
.detail-footer-legal a:hover {
  color: #a9ddc9;
}

.detail-footer-bottom {
  border-top-color: rgba(220, 239, 231, .2);
}
