/* ================================================================
   SNOMSAN 辣木膳 · Structured Design System
   ================================================================ */

:root {
  --ink: #173227;
  --muted: #5d7167;
  --paper: #f7f5ef;
  --white: #fffefa;
  --sage: #e7eee8;
  --pine: #123d2a;
  --pine-dark: #0c2c1e;
  --leaf: #2e6c4c;
  --leaf-dark: #20543a;
  --gold: #b48a48;
  --gold-light: #d4bc7a;
  --gold-soft: #f7f0df;
  --line: #d9e0da;
  --line-dark: #c5d0c8;
  --danger: #aa3e3e;

  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --font-en: Georgia, "Times New Roman", serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --transition: .3s var(--ease);

  --shadow-sm: 0 2px 8px rgba(19, 53, 37, .05);
  --shadow: 0 8px 30px rgba(19, 53, 37, .08);
  --shadow-lg: 0 20px 60px rgba(19, 53, 37, .12);
  --shadow-leaf: 0 8px 24px rgba(46, 108, 76, .18);
}

/* ================================================================
   Reset & Base
   ================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

::selection {
  background: var(--leaf);
  color: var(--white);
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -70px;
  z-index: 10000;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ================================================================
   Layout Utilities
   ================================================================ */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section.soft {
  background: var(--sage);
}

/* ================================================================
   Typography
   ================================================================ */

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.22;
  letter-spacing: .01em;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin: 18px 0 20px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin: 12px 0;
}

h3 {
  font-size: 22px;
  margin-bottom: 9px;
}

h4 {
  margin-bottom: 5px;
  font-size: 15px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--leaf);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
  max-width: 680px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: var(--space-xl);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading.center .lead {
  margin-inline: auto;
}

/* ================================================================
   Buttons
   ================================================================ */

.btn {
  min-height: 46px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: transform .22s var(--ease), background .22s, border-color .22s, box-shadow .22s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  color: #fff;
  background: var(--leaf);
  box-shadow: var(--shadow-leaf);
}

.btn.primary:hover {
  background: var(--leaf-dark);
  box-shadow: 0 12px 32px rgba(46, 108, 76, .25);
}

.btn.secondary {
  border-color: color-mix(in srgb, var(--pine) 55%, transparent);
  color: var(--pine);
  background: rgba(255, 255, 255, .32);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, .55);
  border-color: var(--pine);
}

.btn.light {
  color: var(--pine);
  background: var(--white);
}

.btn.light:hover {
  background: var(--sage);
}

.btn.text {
  min-height: auto;
  padding: 0;
  color: var(--leaf);
  background: transparent;
  border: 0;
}

.btn.text:hover {
  color: var(--leaf-dark);
  transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-block {
  width: 100%;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================================================
   Header
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s, background .25s;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-color: var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 39px;
  height: 39px;
  border: 1px solid color-mix(in srgb, var(--leaf) 65%, transparent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--leaf);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-cn {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand-en {
  color: var(--leaf);
  font-size: 8px;
  letter-spacing: .22em;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  color: #304338;
  font-size: 14px;
  white-space: nowrap;
  transition: color .2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.5px;
  left: 0;
  bottom: -8px;
  background: var(--leaf);
  transition: width .25s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--leaf);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  width: 23px;
  height: 1.5px;
  display: block;
  margin: 5px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ================================================================
   Hero
   ================================================================ */

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--pine);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 35, 22, .94) 0%, rgba(9, 42, 27, .82) 45%, rgba(9, 42, 27, .35) 100%);
  z-index: 1;
}

.hero-art {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-bg.jpg") center / cover;
  opacity: .5;
  filter: saturate(.7) contrast(.95);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: 98px 0 112px;
}

.hero-text {
  max-width: 620px;
}

.hero .eyebrow {
  color: #d9e9de;
}

.hero .lead {
  color: #e0ece4;
}

.hero-tag {
  display: inline-flex;
  padding: 4px 12px;
  margin-bottom: 20px;
  color: #e9d2a0;
  border: 1px solid rgba(233, 210, 160, .45);
  border-radius: 999px;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin: 20px 0 0;
  color: rgba(235, 245, 238, .72);
  font-size: 12px;
}

.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
}

.hero-visual img {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .4));
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 184, 125, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(215, 184, 125, .04), 0 0 0 80px rgba(215, 184, 125, .02);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  transform: translateX(-50%);
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: currentColor;
  animation: scrollCue 1.8s infinite;
}

@keyframes scrollCue {
  0%, 100% { transform: scaleY(.55); transform-origin: top; opacity: .45; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ================================================================
   Decision Strip
   ================================================================ */

.decision-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.decision-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.decision-item {
  min-height: 120px;
  padding: 26px 30px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}

.decision-item:last-child {
  border-right: 0;
}

.decision-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--leaf);
  background: var(--sage);
  border-radius: var(--radius-sm);
}

.decision-icon svg {
  width: 22px;
  height: 22px;
}

.decision-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pine);
  font-family: var(--font-serif);
  font-size: 17px;
}

.decision-item span {
  color: var(--muted);
  font-size: 14px;
}

/* ================================================================
   Selector
   ================================================================ */

.selector {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.selector-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.selector-step {
  color: var(--leaf);
  font-size: 13px;
  font-weight: 700;
}

.selector-progress {
  flex: 1;
  max-width: 260px;
  height: 6px;
  margin-top: 9px;
  border-radius: 8px;
  background: var(--sage);
  overflow: hidden;
}

.selector-progress i {
  display: block;
  width: 33.33%;
  height: 100%;
  background: var(--leaf);
  border-radius: inherit;
  transition: width .35s var(--ease);
}

.selector-panel {
  display: none;
}

.selector-panel.active {
  display: block;
  animation: panelIn .32s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.selector-question {
  max-width: 680px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.option {
  position: relative;
  text-align: left;
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s, transform .2s, background .2s;
}

.option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--leaf);
  border-radius: 0 3px 3px 0;
  transition: height .2s var(--ease);
}

.option:hover,
.option.selected {
  border-color: var(--leaf);
  background: #edf5ef;
  transform: translateY(-2px);
}

.option:hover::before,
.option.selected::before {
  height: 70%;
}

.option b {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.option span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.selector-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.selector-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 25px;
  padding: 5px 0;
  align-items: center;
}

.selector-result-card {
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.selector-result-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* ================================================================
   Scenario Grid (Product at a Glance)
   ================================================================ */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scenario-card {
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.scenario-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-dark);
}

.scenario-index {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
}

.scenario-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ================================================================
   Product Feature
   ================================================================ */

.product-heading {
  max-width: 720px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(24px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-feature-image {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e0f1e5, #a7ddbc);
  position: sticky;
  top: 96px;
}

.product-feature-image img {
  width: 100%;
  max-width: 580px;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 22px 25px rgba(17, 61, 40, .16));
}

.product-feature-content h3 {
  font-size: clamp(27px, 3vw, 38px);
  margin: 10px 0 12px;
}

.product-kind {
  display: inline-block;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.product-facts div {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-facts dt {
  color: var(--leaf);
  font-weight: 700;
  font-size: 12px;
}

.product-facts dd {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Usage Hints */
.usage-hints {
  margin: 26px 0;
}

.usage-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.usage-caveat {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.usage-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.usage-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--leaf);
}

.usage-value {
  font-size: 13px;
  color: var(--muted);
}

/* Evidence Status */
.evidence-status {
  margin: 26px 0;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent);
}

.evidence-title {
  font-size: 14px;
  font-weight: 700;
  color: #5d543f;
  margin-bottom: 12px;
}

.evidence-status-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.evidence-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5d543f;
}

.status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #746952;
  background: #f0e6cc;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.status.verified {
  color: #27633f;
  background: #e6f2e9;
}

.status.expired {
  color: #8b4545;
  background: #f6e6e6;
}

.evidence-caveat {
  margin: 12px 0 0;
  font-size: 12px;
  color: #746952;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 15px;
}

.product-note {
  font-size: 12px;
  color: #76877d;
  margin-top: 17px;
}

/* ================================================================
   Evidence / Trust Section
   ================================================================ */

.trust-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 50px;
  align-items: start;
}

.trust-visual {
  min-height: 500px;
  position: sticky;
  top: 104px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--pine);
}

.trust-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.trust-visual-content {
  position: absolute;
  inset: auto 30px 30px;
  color: #fff;
}

.trust-visual-content .eyebrow {
  color: #d5e5d9;
}

.trust-visual-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
}

.evidence-list {
  display: grid;
  gap: 13px;
}

.evidence-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 21px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}

.evidence-card:hover {
  border-color: var(--leaf);
  transform: translateX(4px);
}

.evidence-icon {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
}

.evidence-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  margin: 0 0 4px;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.transparency-promise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed var(--line-dark);
}

.transparency-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--leaf);
}

.transparency-icon svg {
  width: 100%;
  height: 100%;
}

.transparency-promise p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================================
   How To
   ================================================================ */

.how-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
}

.how-panel {
  padding: clamp(25px, 4vw, 45px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.how-list {
  list-style: none;
  margin: 27px 0 0;
  padding: 0;
  counter-reset: steps;
}

.how-list li {
  position: relative;
  padding: 0 0 20px 54px;
  counter-increment: steps;
}

.how-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
}

.how-list li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.how-list li:last-child::after {
  display: none;
}

.how-list b {
  display: block;
  margin-bottom: 3px;
}

.how-list span {
  color: var(--muted);
  font-size: 14px;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 20px;
  background: #fcf8ee;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #5d543f;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   Guides
   ================================================================ */

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.guide-card p {
  color: var(--muted);
  font-size: 14px;
}

.guide-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ================================================================
   FAQ
   ================================================================ */

.faq-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 52px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}

details[open] {
  border-color: var(--line-dark);
}

summary {
  position: relative;
  padding: 18px 54px 18px 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 15px;
  color: var(--leaf);
  font-size: 24px;
  font-weight: 400;
  transition: transform .2s;
}

details[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 19px 19px;
  color: var(--muted);
  font-size: 14px;
}

/* ================================================================
   Contact
   ================================================================ */

.contact-section {
  background: var(--pine);
  color: #fff;
}

.contact-section .eyebrow {
  color: #d5e5d9;
}

.contact-section .lead {
  color: #d7e7dc;
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.contact-point {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
  transition: background .2s;
}

.contact-point:hover {
  background: rgba(255, 255, 255, .1);
}

.contact-point b {
  display: block;
  font-size: 14px;
}

.contact-point span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fdfcf8;
  border: 1px solid #cbd6ce;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(46, 108, 76, .12);
  outline: none;
}

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

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 20px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.45;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.consent input {
  margin-top: 4px;
  accent-color: var(--leaf);
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.form-status:empty {
  padding: 0;
}

.form-status.success {
  color: #27633f;
  background: #e6f2e9;
}

.form-status.error {
  color: var(--danger);
  background: #f6e6e6;
}

.privacy-note {
  margin: -5px 0 14px;
  border-color: #cbd6ce;
}

.privacy-note summary {
  padding: 10px 34px 10px 13px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.privacy-note summary::after {
  right: 13px;
  top: 5px;
  font-size: 20px;
}

.privacy-note div {
  padding: 0 13px 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* ================================================================
   Footer
   ================================================================ */

.site-footer {
  padding: 48px 0 25px;
  color: #d6e2d9;
  background: var(--pine-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 38px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-mark {
  color: #c9dfcf;
  border-color: rgba(201, 223, 207, .65);
}

.site-footer .brand-en {
  color: #bdd6c4;
}

.site-footer .small {
  margin-top: 8px;
  color: #a9c0b0;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 7px;
  font-size: 14px;
}

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

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #a9c0b0;
  font-size: 12px;
}

/* ================================================================
   Back to Top
   ================================================================ */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  box-shadow: var(--shadow-leaf);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--leaf-dark);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ================================================================
   Reveal Animation
   ================================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 20px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav a {
    padding: 10px 0;
  }

  .main-nav a::after {
    bottom: 3px;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 74px 0 92px;
  }

  .hero-text {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 280px;
  }

  .decision-strip-grid,
  .scenario-grid,
  .guides-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .decision-item:last-child {
    border-bottom: 0;
    grid-column: 1 / -1;
  }

  .trust-layout,
  .how-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .trust-visual {
    position: relative;
    top: auto;
    min-height: 330px;
  }

  .product-feature {
    grid-template-columns: 1fr;
  }

  .product-feature-image {
    position: relative;
    top: auto;
    min-height: 350px;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .brand-cn {
    font-size: 18px;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .hero-content {
    padding: 60px 0 80px;
  }

  .hero-art {
    background-position: 60% center;
  }

  .hero::before {
    background: linear-gradient(120deg, rgba(8, 35, 22, .95), rgba(8, 35, 22, .7));
  }

  .hero-actions .btn {
    width: 100%;
  }

  .decision-strip-grid,
  .scenario-grid,
  .product-facts,
  .usage-grid,
  .evidence-status-list,
  .guides-grid,
  .footer-grid,
  .form-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .decision-item,
  .decision-item:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-item:last-child {
    border-bottom: 0;
    grid-column: auto;
  }

  .selector-top {
    display: block;
  }

  .selector-progress {
    max-width: none;
    margin-top: 13px;
  }

  .selector-result {
    grid-template-columns: 1fr;
  }

  .product-feature {
    padding: 18px;
  }

  .product-feature-image {
    min-height: 280px;
    padding: 8px;
  }

  .product-feature-content h3 {
    font-size: 26px;
  }

  .product-glance-grid .scenario-card {
    min-height: 170px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

/* ================================================================
   Reduced Motion
   ================================================================ */

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
