:root {
  color-scheme: light;
  --page: #f5f0e6;
  --page-soft: #ede6d9;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #17231d;
  --muted: #5f6a63;
  --line: #d4d0c6;
  --green: #244c3a;
  --green-2: #37654d;
  --green-soft: #dce6d0;
  --sage: #b9cf9b;
  --terracotta: #bd6748;
  --terracotta-soft: #f0d9ca;
  --focus: #bd6748;
  --shadow: 0 20px 60px rgba(42, 46, 37, 0.12);
  --radius-small: 10px;
  --radius-medium: 20px;
  --radius-large: 32px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-h: 68px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #111713;
  --page-soft: #172019;
  --surface: #1a241d;
  --surface-strong: #202c23;
  --ink: #f4f0e6;
  --muted: #afb9b1;
  --line: #3a463e;
  --green: #aeca94;
  --green-2: #c1d9ac;
  --green-soft: #263b2c;
  --sage: #85a670;
  --terracotta: #e39a76;
  --terracotta-soft: #4a3028;
  --focus: #efad88;
  --shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    color-scheme: dark;
    --page: #111713;
    --page-soft: #172019;
    --surface: #1a241d;
    --surface-strong: #202c23;
    --ink: #f4f0e6;
    --muted: #afb9b1;
    --line: #3a463e;
    --green: #aeca94;
    --green-2: #c1d9ac;
    --green-soft: #263b2c;
    --sage: #85a670;
    --terracotta: #e39a76;
    --terracotta-soft: #4a3028;
    --focus: #efad88;
    --shadow: 0 24px 60px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: 12px; padding: 10px 14px; color: white; background: var(--green); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 100; top: 0; height: var(--header-h); background: color-mix(in srgb, var(--page) 90%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .2s ease, background .2s ease; }
.site-header.is-scrolled { border-color: var(--line); }
.nav-shell { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a, .back-link { color: var(--muted); font-size: 14px; font-weight: 620; text-decoration: none; transition: color .18s ease; }
.desktop-nav a:hover, .back-link:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.utility-button { min-width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; color: var(--ink); background: var(--surface); font-size: 12px; font-weight: 750; letter-spacing: .05em; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.utility-button:hover { border-color: var(--green-2); }
.utility-button:active { transform: scale(.96); }
.icon-button { display: grid; place-items: center; width: 42px; padding: 0; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.back-link { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.back-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: clamp(38px, 5vw, 78px); padding-block: 68px 74px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--green-2); font-size: 12px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 5px var(--terracotta-soft); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 760; letter-spacing: -.045em; line-height: 1.06; text-wrap: balance; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(48px, 6.2vw, 84px); }
h2 { margin-bottom: 20px; font-size: clamp(36px, 4.5vw, 64px); }
h3 { margin-bottom: 12px; font-size: clamp(22px, 2.2vw, 30px); }
.hero-lead { max-width: 610px; margin-bottom: 32px; color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 720; text-decoration: none; transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease; }
.button:active { transform: scale(.97); }
.button svg, .text-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.button-primary { background: var(--green); color: var(--page); }
html[data-theme="dark"] .button-primary { color: #142018; }
@media (prefers-color-scheme: dark) { html[data-theme="system"] .button-primary { color: #142018; } }
.button-primary:hover { background: var(--green-2); }
.button-primary:hover svg, .text-link:hover svg { transform: translateX(3px); }
.button-quiet { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-quiet:hover { border-color: var(--green-2); }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: inline-flex; align-items: baseline; gap: 7px; color: var(--muted); font-size: 13px; }
.trust-list li > span:first-child { color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.hero-media { position: relative; margin: 0; }
.hero-media::before { content: ""; position: absolute; z-index: -1; width: 38%; aspect-ratio: 1; left: -12%; bottom: -10%; border-radius: 50%; background: var(--green-soft); }
.hero-media img { width: 100%; min-height: 590px; object-fit: cover; border-radius: 44% 10% 12% 12% / 30% 10% 12% 12%; box-shadow: var(--shadow); }
.hero-media figcaption, .prep-media figcaption { position: absolute; right: 18px; bottom: 18px; max-width: 250px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; background: rgba(21, 34, 27, .82); color: #f8f5ec; font-size: 12px; line-height: 1.5; backdrop-filter: blur(10px); }

.proof-strip { background: var(--green); color: #f8f4e9; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 18px 28px; border-left: 1px solid rgba(255,255,255,.18); }
.proof-grid div:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.proof-grid strong { font-size: 27px; letter-spacing: -.04em; }
.proof-grid span { color: rgba(255,255,255,.72); font-size: 12px; }

.section { padding-block: clamp(92px, 11vw, 154px); }
.section-intro { max-width: 760px; margin-bottom: 64px; }
.section-intro.narrow { max-width: 680px; }
.section-intro > div > p { max-width: 650px; color: var(--muted); font-size: 18px; }
.kicker { margin-bottom: 18px; color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.workflow-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 24px; }
.steps p { margin-bottom: 0; color: var(--muted); }
.step-number { padding-top: 4px; color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.prep-media { position: relative; margin: 0; }
.prep-media img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; border-radius: var(--radius-large); box-shadow: var(--shadow); }

.principles-section { background: var(--page-soft); }
.bento-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: auto auto; gap: 14px; }
.bento { min-height: 340px; position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--surface); }
.bento > div:last-child, .bento > .copy-zh, .bento > .copy-en { position: relative; z-index: 2; }
.bento h3 { max-width: 520px; }
.bento p:not(.kicker) { max-width: 540px; margin-bottom: 0; color: var(--muted); }
.bento-local { min-height: 430px; background: var(--green); color: #f8f5ec; }
.bento-local p:not(.kicker) { color: rgba(255,255,255,.72); }
.bento-local .kicker { color: #d9b39c; }
.line-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 74px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.line-icon svg, .privacy-mark svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bento-control { display: flex; flex-direction: column; justify-content: flex-end; background: var(--terracotta-soft); }
.switch-visual { position: absolute; top: 38px; right: 38px; width: 118px; height: 66px; border-radius: 999px; background: var(--terracotta); }
.switch-visual i { position: absolute; width: 50px; height: 50px; right: 8px; top: 8px; border-radius: 50%; background: #fff8ed; box-shadow: 0 5px 20px rgba(80,36,24,.18); }
.bento-constraint { min-height: 360px; }
.constraint-visual { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 88px; }
.constraint-visual span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--green-2); background: var(--page); font-size: 12px; font-weight: 700; }
.constraint-visual span:last-child { color: var(--terracotta); border-color: var(--terracotta); }
.bento-calm { display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; background: var(--green-soft); }
.calm-number { position: absolute; top: -34px; right: 20px; color: color-mix(in srgb, var(--green) 20%, transparent); font-size: clamp(130px, 17vw, 220px); font-weight: 800; line-height: 1; letter-spacing: -.12em; }

.privacy-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 40px; margin-block: 110px; border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--surface); }
.privacy-band h2 { margin-bottom: 10px; font-size: clamp(28px, 3.5vw, 44px); }
.privacy-band p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.privacy-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: var(--green); background: var(--green-soft); }
.privacy-mark svg { width: 38px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-2); font-size: 14px; font-weight: 760; white-space: nowrap; text-decoration: none; }

.release-section { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; padding-top: 20px; }
.release-card, .health-note { min-height: 390px; padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-medium); }
.release-card { color: #f8f5ec; background: var(--green); }
.release-card h2 { max-width: 720px; }
.release-card p:not(.kicker) { max-width: 650px; color: rgba(255,255,255,.74); }
.release-card .kicker { color: #d9b39c; }
.release-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 12px; font-weight: 700; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #d9b39c; }
.health-note { display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); background: var(--surface); }
.health-note p:last-child { margin-bottom: 0; color: var(--muted); }

.site-footer { margin-top: 130px; padding: 52px 0 34px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 22px; }
.footer-grid > p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.footer-grid nav { display: flex; gap: 20px; font-size: 13px; }
.copyright { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
.compact-footer { margin-top: 90px; }

.legal-hero { padding-block: 94px 70px; }
.legal-hero h1 { margin-bottom: 14px; font-size: clamp(54px, 8vw, 96px); }
.legal-hero > div > p { color: var(--muted); }
.legal-summary { max-width: 840px; margin-top: 42px; padding: 24px 28px; border-left: 4px solid var(--terracotta); background: var(--terracotta-soft); }
.legal-summary p { margin: 0; color: var(--ink); font-size: 18px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); justify-content: space-between; gap: 70px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.legal-toc p { margin-bottom: 12px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.legal-toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-toc a:hover { color: var(--green-2); }
.legal-copy section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-copy section:last-child { border-bottom: 0; }
.legal-copy h2 { font-size: clamp(28px, 3.2vw, 42px); }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 16px; }
.legal-copy ul { padding-left: 22px; }
.legal-copy li + li { margin-top: 9px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
  :root { --shell: min(100% - 36px, 760px); }
  .desktop-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 70px 86px; }
  .hero-media img { min-height: 460px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.18); }
  .proof-grid div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); }
  .workflow-layout { grid-template-columns: 1fr; }
  .prep-media img { aspect-ratio: 16 / 10; }
  .bento-grid { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: auto 1fr; }
  .privacy-band .text-link { grid-column: 2; }
  .release-section { grid-template-columns: 1fr; }
  .release-card, .health-note { min-height: 320px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
  .legal-toc p { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .nav-shell { gap: 10px; }
  .brand span { font-size: 14px; }
  .back-link span { display: none; }
  .hero { padding-block: 52px 70px; }
  h1 { font-size: clamp(44px, 13vw, 62px); }
  h2 { font-size: 38px; }
  .hero-media img { min-height: 390px; border-radius: 100px 14px 14px 14px; }
  .hero-media figcaption { right: 10px; bottom: 10px; max-width: 220px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .proof-grid div { min-height: 96px; padding: 16px 18px; }
  .proof-grid strong { font-size: 23px; }
  .section { padding-block: 88px; }
  .section-intro { margin-bottom: 42px; }
  .steps li { grid-template-columns: 38px 1fr; gap: 12px; }
  .prep-media img { aspect-ratio: 4 / 5; }
  .bento { min-height: 330px; padding: 28px; }
  .line-icon { margin-bottom: 64px; }
  .constraint-visual { margin-bottom: 72px; }
  .privacy-band { grid-template-columns: 1fr; padding: 28px; margin-block: 78px; }
  .privacy-band .text-link { grid-column: 1; white-space: normal; }
  .release-card, .health-note { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { flex-wrap: wrap; }
  .legal-hero { padding-block: 68px 52px; }
  .legal-hero h1 { font-size: 52px; }
  .legal-summary { margin-top: 30px; padding: 20px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-copy section { padding-bottom: 34px; margin-bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
