/* v1.0 (2026-10-03): MKT-02 — Plate-wise motion site. Tokens = DESIGN_SYSTEM.md Theme 1 (Warm). */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito.woff2") format("woff2"), url("/assets/fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-Italic.woff2") format("woff2"), url("/assets/fonts/Nunito-Italic.ttf") format("truetype"); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  --terra: #C2754F; --terra-press: #A85D3A; --terra-hi: #D4956F;
  --sage: #7A9E7E; --sage-lt: #A8C5AB; --gold: #D4A855;
  --bg: #F7F2EA; --surface: #FDFBF7; --border: #E8E2D9;
  --ink: #2C2C2C; --ink-2: #6B6156; --ink-3: #9B9183;
  --dk-bg: #1A1814; --dk-surface: #262219; --dk-border: #4A4238;
  --m-p: #6B8DAD; --m-c: #D4A054; --m-f: #7BA07E;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: "Nunito", system-ui, sans-serif; font-size: 18px; line-height: 1.5; overflow-x: clip; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--terra); font-weight: inherit; }
::selection { background: var(--terra); color: #fff; }

/* ---------- texture + light ---------- */
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: .06; mix-blend-mode: multiply; }
.blob { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.blob-a { width: 52vmax; height: 52vmax; left: 45vw; top: -20vmax; background: rgba(194, 117, 79, .22); }
.blob-b { width: 44vmax; height: 44vmax; left: -18vmax; top: 50vh; background: rgba(122, 158, 126, .18); }
main, .nav, .foot { position: relative; z-index: 2; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: normal; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 8px; height: 8px; background: var(--terra); }
.cursor-ring { width: 40px; height: 40px; border: 1.5px solid rgba(194, 117, 79, .55); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { width: 84px; height: 84px; background: var(--terra); border-color: var(--terra); }
.cursor.is-hover .cursor-label { opacity: 1; }
.cursor.is-hover .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 28px; }
.loader-panel { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--dk-bg); z-index: -1; }
.lp-top { top: 0; } .lp-bot { bottom: 0; }
.logo-draw { width: min(220px, 50vw); }
.loader-count { color: var(--bg); font-weight: 800; font-size: 20px; letter-spacing: .04em; display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.lc-num { font-size: 44px; min-width: 3.2ch; text-align: right; }
.lc-unit { color: var(--terra-hi); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); transition: background .4s, box-shadow .4s, color .4s; }
.nav.is-scrolled { background: rgba(247, 242, 234, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav.is-dark { color: var(--bg); }
.nav.is-dark.is-scrolled { background: rgba(26, 24, 20, .7); box-shadow: 0 1px 0 var(--dk-border); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -.01em; color: var(--terra); }
.brand-mark { width: 38px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 700; font-size: 16px; }
.nav-links a { position: relative; opacity: .8; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { opacity: 1; } .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.progress-ring { width: 34px; height: 34px; transform: rotate(-90deg); flex: none; }
.pr-track { fill: none; stroke: currentColor; opacity: .15; stroke-width: 4; }
.pr-fill { fill: none; stroke: var(--terra); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn-sm { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn { --h: 60px; display: inline-flex; align-items: center; justify-content: center; height: var(--h); padding: 0 30px; border-radius: 999px; background: var(--terra); color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .01em; position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 14px 34px -12px rgba(168, 93, 58, .7); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--terra-press); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn span { display: inline-block; pointer-events: none; }
.btn-sm { --h: 46px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn-lg { --h: 76px; padding: 0 46px; font-size: 22px; }
.btn:focus-visible, .store-badge:focus-visible, a:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 16px; background: #111; color: #fff; will-change: transform; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.store-badge small { font-size: 11px; font-weight: 600; letter-spacing: .02em; opacity: .85; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow b { color: var(--terra); }
.big-title { font-size: clamp(44px, 7vw, 112px); line-height: .98; font-weight: 900; letter-spacing: -.035em; }
.huge-title { font-size: clamp(54px, 10vw, 170px); line-height: .92; font-weight: 900; letter-spacing: -.045em; }
.center { text-align: center; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 34ch; margin-top: 26px; font-weight: 600; }
.fineprint { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--ink-3); }
.viz-note { font-size: 14px; font-weight: 700; color: var(--ink-3); margin-top: 18px; }
.split .word, .split .char { display: inline-block; }
.line-mask { overflow: hidden; display: block; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- phone ---------- */
.phone { position: relative; width: var(--pw, 300px); aspect-ratio: 9 / 19.5; border-radius: calc(var(--pw, 300px) * .16); padding: calc(var(--pw, 300px) * .03); background: linear-gradient(145deg, #3a332b, #14110e 40%, #2b251f 70%, #0d0b09); box-shadow: inset 0 0 0 1.5px #5a5046, 0 50px 100px -30px rgba(60, 30, 10, .55), 0 18px 40px -18px rgba(60, 30, 10, .45); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw, 300px) * .13); overflow: hidden; background: #000; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.island { position: absolute; top: calc(var(--pw, 300px) * .055); left: 50%; width: 31%; height: calc(var(--pw, 300px) * .085); transform: translateX(-50%); border-radius: 999px; background: #000; }

/* ---------- 1. hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4vw; padding: 120px var(--pad) 80px; position: relative; }
.hero-title { font-size: clamp(46px, 6vw, 112px); line-height: .95; font-weight: 900; letter-spacing: -.04em; }
.hero-title .line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > * , .hero-title .line .inner { display: inline-block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.cta-row.center { justify-content: center; }
.hero-stage { position: relative; height: min(78vh, 760px); display: grid; place-items: center; perspective: 1400px; }
.hero-ring { position: absolute; width: min(100%, 680px); aspect-ratio: 1; transform: rotate(-90deg); overflow: visible; }
.hr-track { fill: none; stroke: var(--border); stroke-width: 18; }
.hr-track-2 { stroke: #EDE5D8; stroke-width: 14; }
.hr-arc { fill: none; stroke: var(--terra); stroke-width: 18; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hr-arc-2 { stroke: var(--terra-press); stroke-width: 14; }
.hr-ticks line { stroke: var(--ink-3); stroke-width: 2; opacity: .35; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.phone-hero { --pw: min(300px, 62vw); }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--surface); font-weight: 800; font-size: 16px; white-space: nowrap; box-shadow: 0 18px 40px -16px rgba(110, 60, 25, .4), inset 0 0 0 1px var(--border); will-change: transform; }
.float-chip b { color: var(--terra); margin-left: 4px; }
.fc-wrap { position: absolute; will-change: transform; }
.fc-wrap .float-chip { position: relative; }
.fc-1 { left: -2%; top: 18%; } .fc-2 { right: -4%; top: 30%; } .fc-3 { left: 2%; bottom: 22%; } .fc-4 { right: 0; bottom: 12%; } .fc-5 { left: 30%; top: 2%; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-p { background: var(--m-p); } .dot-c { background: var(--m-c); } .dot-f { background: var(--m-f); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue i { width: 2px; height: 46px; background: linear-gradient(var(--terra), transparent); transform-origin: top; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; }
  .hero-stage { height: 560px; }
  .float-chip { font-size: 13px; padding: 9px 13px; }
  .scroll-cue { display: none; }
}

/* ---------- 2. problem (dark) ---------- */
.problem { position: relative; color: var(--bg); }
.problem::before { content: ""; position: absolute; inset: 0; background: var(--dk-bg); z-index: -1; clip-path: inset(var(--clip, 12%) round 48px); }
.problem-pin { min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; align-content: center; gap: 30px 6vw; padding: 120px var(--pad); position: relative; overflow: hidden; }
.problem .big-title { grid-column: 1; }
.problem .big-title em { color: var(--terra-hi); }
.problem-sub { grid-column: 1; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; color: #cbd5e1; max-width: 30ch; }
.search-mock { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; max-width: 480px; justify-self: end; background: var(--dk-surface); border-radius: 26px; padding: 20px; box-shadow: inset 0 0 0 1px var(--dk-border), 0 40px 80px -30px #000; }
.sm-bar { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px; border-radius: 16px; background: #302B23; font-weight: 700; font-size: 18px; }
.sm-bar svg { width: 22px; height: 22px; fill: none; stroke: #94a3b8; stroke-width: 2.4; stroke-linecap: round; flex: none; }
.sm-typed { white-space: nowrap; overflow: hidden; }
.sm-caret { width: 2px; height: 24px; background: var(--terra-hi); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sm-results { list-style: none; margin-top: 12px; }
.sm-results li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--dk-border); font-weight: 700; font-size: 16px; }
.sm-results li span { color: #94a3b8; font-weight: 600; white-space: nowrap; }
.sm-results li.is-pick { color: var(--terra-hi); }
.sm-timer { margin-top: 16px; font-weight: 700; color: #94a3b8; font-size: 15px; }
.sm-t { color: var(--terra-hi); font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; margin-right: 6px; }
.debris { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.problem-pin > :not(.debris) { position: relative; z-index: 1; }
.debris span { position: absolute; padding: 8px 14px; border-radius: 10px; background: #302B23; color: #cbd5e1; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--dk-border); }
@media (max-width: 960px) {
  .problem-pin { grid-template-columns: 1fr; }
  .search-mock { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .problem::before { clip-path: inset(var(--clip, 4%) round 28px); }
}

/* ---------- 3+4. stage ---------- */
.stage-pin { min-height: 100svh; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4vw; padding: 100px var(--pad) 60px; position: relative; }
.stage-copy { position: relative; min-height: 420px; }
.stage .big-title { font-size: clamp(40px, 5.2vw, 88px); }
.beat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.beat-2 { opacity: 0; visibility: hidden; }
.odo-items, .odo-kcal { font-variant-numeric: tabular-nums; }
.stage-phone { position: relative; display: grid; place-items: center; }
.phone-stage { --pw: min(330px, 70vw); }
.ps { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ps-2, .ps-3 { opacity: 0; }
.ps-results { position: absolute; inset: 0; background: #fff; opacity: 0; overflow: hidden; }
.ps-results img { width: 100%; height: auto; will-change: transform; }
.viewfinder { position: absolute; inset: 14%; pointer-events: none; }
.viewfinder i { position: absolute; width: 22%; aspect-ratio: 1; border: 3px solid #fff; border-radius: 6px; }
.viewfinder i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.viewfinder i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.viewfinder i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.viewfinder i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(212, 149, 111, .55) 88%, #fff 100%); box-shadow: 0 3px 22px var(--terra-hi); opacity: 0; mix-blend-mode: screen; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.stage-ring { position: absolute; width: 150%; aspect-ratio: 1; transform: rotate(-90deg); pointer-events: none; z-index: -1; overflow: visible; }
.stage-ring circle { fill: none; stroke: var(--terra); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .55; }
.detect-list { list-style: none; align-self: center; width: 100%; max-width: 380px; }
.detect-list li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 16px 20px; margin-bottom: 10px; border-radius: 18px; background: var(--surface); box-shadow: 0 14px 30px -18px rgba(110, 60, 25, .35), inset 0 0 0 1px var(--border); opacity: 0; }
.dl-name { font-weight: 800; font-size: 18px; }
.dl-por { grid-row: 2; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.detect-list b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 26px; font-weight: 900; color: var(--terra); font-variant-numeric: tabular-nums; }
.detect-list .dl-total { background: var(--terra); color: #fff; box-shadow: 0 18px 36px -16px rgba(168, 93, 58, .8); }
.detect-list .dl-total .dl-name { align-self: center; font-size: 20px; }
.detect-list .dl-total b { color: #fff; font-size: 30px; }
@media (max-width: 1100px) {
  .stage-pin { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; padding-top: 90px; }
  .stage-copy { min-height: 300px; width: 100%; }
  .beat { align-items: center; }
  .stage-copy .lede { margin-left: auto; margin-right: auto; }
  .phone-stage { --pw: min(250px, 58vw); }
  .detect-list { display: none; }
}

/* ---------- 5. left ---------- */
.left { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; padding: 120px var(--pad); }
.left-viz { position: relative; display: grid; justify-items: center; }
.kring { width: min(440px, 80vw); transform: rotate(-90deg); overflow: visible; }
.kr-track { fill: none; stroke: var(--border); stroke-width: 30; }
.kr-fill { fill: none; stroke: var(--terra); stroke-width: 30; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 10px 18px rgba(168, 93, 58, .35)); }
.kring-center { position: absolute; top: 0; width: min(440px, 80vw); aspect-ratio: 1; display: grid; place-content: center; text-align: center; }
.kc-num { font-size: clamp(60px, 7vw, 104px); font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.kc-label { font-size: 20px; font-weight: 800; color: var(--terra); margin-top: 4px; }
.kc-sub { font-size: 15px; font-weight: 700; color: var(--ink-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.macro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(440px, 86vw); margin-top: 30px; }
.mc { padding: 14px 16px 16px; border-radius: 18px; font-weight: 800; }
.mc span { font-size: 15px; }
.mc i { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .6); margin-top: 10px; overflow: hidden; }
.mc i em { display: block; height: 100%; width: 100%; border-radius: inherit; transform: scaleX(0); transform-origin: left; }
.mc-p { background: rgba(107, 141, 173, .25); color: #4A6F8A; } .mc-p i em { background: var(--m-p); }
.mc-c { background: rgba(212, 160, 84, .25); color: #B8863A; } .mc-c i em { background: var(--m-c); }
.mc-f { background: rgba(123, 160, 126, .25); color: #5A7E5E; } .mc-f i em { background: var(--m-f); }
@media (max-width: 960px) { .left { grid-template-columns: 1fr; } }

/* ---------- 6. yours ---------- */
.yours { padding: 120px 0 100px; }
.yours-copy { padding: 0 var(--pad); }
.diet-lab { display: grid; grid-template-columns: auto 1fr; gap: 6vw; align-items: center; padding: 70px var(--pad) 40px; }
.donut-wrap { position: relative; width: min(380px, 78vw); aspect-ratio: 1; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.d-track { fill: none; stroke: var(--border); stroke-width: 42; }
.d-arc { fill: none; stroke-width: 42; }
.d-p { stroke: var(--m-p); } .d-c { stroke: var(--m-c); } .d-f { stroke: var(--m-f); }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dc-diet { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.02em; }
.dc-hint { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.split-legend { display: flex; flex-wrap: wrap; gap: 14px 30px; font-weight: 800; font-size: 18px; margin-bottom: 28px; }
.split-legend div { display: flex; align-items: center; gap: 10px; }
.split-legend b { font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; min-width: 2.6ch; }
.diet-chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.diet-side .viz-note { margin-top: 26px; }
.chip { height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 16px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--terra); transform: translateY(-2px); }
.chip.is-on { background: var(--terra); color: #fff; box-shadow: 0 12px 24px -12px rgba(168, 93, 58, .8); }
.goal-marquee { overflow: hidden; padding: 40px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.gm-track { display: flex; gap: 14px; width: max-content; }
.gm-track span { padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 18px; white-space: nowrap; background: rgba(194, 117, 79, .1); color: var(--terra-press); }
.gm-track span:nth-child(3n+2) { background: rgba(122, 158, 126, .14); color: #5A7E5E; }
.gm-track span:nth-child(3n) { background: rgba(212, 168, 85, .14); color: #A8842E; }
@media (max-width: 960px) { .diet-lab { grid-template-columns: 1fr; justify-items: center; } .diet-side { width: 100%; } }

/* ---------- 7. price ---------- */
.price { padding: 120px var(--pad); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 64px auto 0; perspective: 1200px; }
.plan { padding: 34px 30px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), 0 30px 60px -36px rgba(110, 60, 25, .45); transform-style: preserve-3d; will-change: transform; }
.plan h3 { font-size: 18px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.plan-price { font-size: clamp(44px, 4.4vw, 64px); font-weight: 900; letter-spacing: -.035em; margin-top: 10px; }
.plan-price small { font-size: 18px; font-weight: 700; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.plan-line { margin-top: 10px; font-weight: 700; color: var(--ink-2); }
.plan-pro { background: var(--dk-bg); color: var(--bg); box-shadow: 0 40px 70px -30px rgba(26, 24, 20, .7); }
.plan-pro h3 { color: var(--terra-hi); } .plan-pro .plan-line, .plan-pro small { color: #cbd5e1; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------- 8. final ---------- */
.final { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--pad); overflow: hidden; background: var(--dk-bg); color: var(--bg); }
.final em { color: var(--terra-hi); }
.final .lede { color: #cbd5e1; margin: 30px auto 0; text-align: center; }
.final-inner { position: relative; z-index: 2; text-align: center; max-width: 1200px; }
.final-marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%) rotate(-6deg); opacity: .07; pointer-events: none; }
.fm-track { display: flex; gap: 60px; width: max-content; font-size: clamp(120px, 18vw, 300px); font-weight: 900; letter-spacing: -.05em; white-space: nowrap; color: var(--terra); }

/* ---------- footer ---------- */

/* ---------- reduced motion: show final states ---------- */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  body.is-loading { overflow: auto; }
  .hr-arc { stroke-dashoffset: 30; } .hr-arc-2 { stroke-dashoffset: 50; }
  .kr-fill { stroke-dashoffset: 66; }
  .beat-2 { position: relative; opacity: 1; visibility: visible; margin-top: 40px; }
  .beat { position: relative; }
  .detect-list li { opacity: 1; }
  .scroll-cue i, .sm-caret { animation: none; }
}

/* v1.0 (2026-10-03): phone-width fixes */
.brand span, .btn span { white-space: nowrap; }
.problem-pin > * { min-width: 0; }
.sm-typed { text-overflow: ellipsis; }
@media (max-width: 960px) {
  .problem-pin { grid-template-columns: minmax(0, 1fr); padding-top: 100px; gap: 24px; }
  .debris { display: none; }
  .sm-results li { font-size: 14px; }
}
@media (max-width: 520px) {
  .nav { gap: 12px; padding: 14px 18px; }
  .brand { font-size: 18px; gap: 8px; } .brand-mark { width: 30px; }
  .nav .btn-sm { --h: 40px; padding: 0 14px; font-size: 13px; }
  .progress-ring { display: none; }
  .hero { padding-top: 96px; }
  .hero-stage { height: 470px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-5 { left: 22%; }
  .btn { --h: 54px; padding: 0 24px; font-size: 16px; }
  .store-badge { height: 54px; }
  .btn-lg { --h: 64px; padding: 0 32px; font-size: 19px; }
}

/* ================= v1.1 (2026-10-03): official logo, footer, back-to-top, tour, FAQ, subpages, blog ================= */
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.loader-logo { position: relative; width: min(190px, 46vw); aspect-ratio: 1; display: grid; place-items: center; }
.loader-logo img { width: 74%; height: auto; }
.ll-ring { position: absolute; inset: -8%; width: 116%; height: 116%; transform: rotate(-90deg); }
.ll-ring circle { fill: none; stroke: var(--terra); stroke-width: 4; stroke-linecap: round; }
.loader-logo::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: var(--surface); }
.loader-logo img { position: relative; }

/* footer */
.foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px 6vw; padding: 70px var(--pad) 40px; background: var(--dk-bg); color: #cbd5e1; border-top: 1px solid var(--dk-border); }
.foot .brand { color: var(--terra-hi); }
.foot-brand p { margin-top: 14px; font-weight: 700; max-width: 26ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #94a3b8; margin-bottom: 14px; }
.foot-cols a { display: block; font-weight: 700; padding: 5px 0; color: #f1ece4; transition: color .2s, transform .3s var(--ease); }
.foot-cols a:hover { color: var(--terra-hi); transform: translateX(4px); }
.foot-legal { grid-column: 1 / -1; font-size: 14px; color: #94a3b8; border-top: 1px solid var(--dk-border); padding: 22px 0 64px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); box-shadow: 0 14px 30px -12px rgba(110, 60, 25, .5); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--terra); }
.to-top:hover .tt-arrow { stroke: #fff; transform: translateY(-3px); }
.tt-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.tt-track { fill: none; stroke: var(--border); stroke-width: 3; }
.tt-fill { fill: none; stroke: var(--terra); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.tt-arrow { width: 22px; height: 22px; fill: none; stroke: var(--terra); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), stroke .3s; }

/* play tour */
.tour { position: fixed; left: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; background: var(--dk-bg); color: var(--bg); font: inherit; font-weight: 800; font-size: 15px; box-shadow: 0 16px 34px -14px rgba(26, 24, 20, .7); }
.tour::before { content: ""; width: 36px; height: 36px; border-radius: 50%; background: var(--terra); position: absolute; left: 8px; transition: transform .4s var(--ease); }
.tour:hover::before { transform: scale(1.12); }
.tour-ico { position: relative; width: 36px; height: 36px; padding: 10px; fill: #fff; flex: none; }
.tour-pause { display: none; }
.tour.is-playing .tour-play { display: none; } .tour.is-playing .tour-pause { display: block; }
.tour.is-playing::before { animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(194, 117, 79, .6); } 50% { box-shadow: 0 0 0 10px rgba(194, 117, 79, 0); } }

/* accordions (home + FAQ + posts) */
.qa { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 10px; overflow: hidden; transition: box-shadow .3s; }
.qa[open] { box-shadow: inset 0 0 0 1.5px var(--terra), 0 20px 40px -26px rgba(110, 60, 25, .5); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 18px; height: 18px; flex: none; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2.5px; border-radius: 2px; background: var(--terra); transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa-a { padding: 0 24px 22px; color: var(--ink-2); font-weight: 600; overflow: hidden; }
.qa-a p + p, .qa-a p + ul, .qa-a ul + p { margin-top: 10px; }
.qa-a ul { padding-left: 20px; margin-top: 6px; } .qa-a li { margin: 3px 0; }
.home-faq { padding: 120px var(--pad); max-width: 1000px; margin: 0 auto; }
.home-faq-list { margin-top: 50px; }
.link-arrow { display: inline-flex; margin-top: 26px; font-weight: 800; font-size: 18px; color: var(--terra); }

/* subpages */
body.sub .nav { background: rgba(247, 242, 234, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links a[aria-current="page"] { opacity: 1; } .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.sub-main { padding-top: 90px; }
.sub-hero { padding: 80px var(--pad) 40px; max-width: 1100px; }
.sub-title { font-size: clamp(42px, 6.4vw, 100px); line-height: .98; font-weight: 900; letter-spacing: -.04em; }
.sub-meta { margin-top: 18px; font-weight: 700; color: var(--ink-3); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip-row .chip { display: inline-flex; align-items: center; }
.faq-list { padding: 20px var(--pad) 100px; max-width: 980px; }
.faq-cat { margin-top: 50px; scroll-margin-top: 100px; }
.faq-cat h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; }
.legal-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 5vw; padding: 20px var(--pad) 100px; align-items: start; }
.toc { position: sticky; top: 100px; font-weight: 700; font-size: 14px; }
.toc p { letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-2); margin-left: -2px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--terra); border-left-color: var(--terra); }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; } .toc { position: static; } }
.prose { max-width: 72ch; font-size: 18px; color: #3a342e; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 48px 0 14px; scroll-margin-top: 100px; }
.prose h3 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 24px; } .prose li { margin: 6px 0; }
.prose a { color: var(--terra-press); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose sup a { text-decoration: none; font-weight: 800; font-size: 13px; margin-left: 1px; }
.table-wrap { overflow-x: auto; margin: 18px 0; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--border); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.prose th { font-weight: 800; color: var(--ink); background: rgba(194, 117, 79, .08); }
.prose tr:last-child td { border-bottom: 0; }
.legal p { font-size: 17px; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding: 20px var(--pad) 120px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 30px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.post-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(194, 117, 79, .16), transparent 60%); opacity: 0; transition: opacity .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px var(--terra), 0 30px 60px -30px rgba(110, 60, 25, .5); }
.post-card:hover::before { opacity: 1; }
.pc-num { font-size: 15px; font-weight: 900; color: var(--terra); letter-spacing: .1em; }
.post-card h2 { font-size: 27px; line-height: 1.12; font-weight: 900; letter-spacing: -.02em; }
.post-card p { color: var(--ink-2); font-weight: 600; font-size: 16px; }
.pc-meta { margin-top: auto; font-weight: 800; font-size: 14px; color: var(--ink-3); display: flex; justify-content: space-between; }
.pc-meta i { font-style: normal; color: var(--terra); transition: transform .4s var(--ease); }
.post-card:hover .pc-meta i { transform: translateX(6px); }
.crumbs { font-weight: 800; font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--terra); }
.post-wrap { padding: 10px var(--pad) 120px; max-width: calc(72ch + 2 * var(--pad)); }
.answer { padding: 26px 28px; border-radius: 24px; background: var(--dk-bg); color: #f1ece4; font-size: 19px; font-weight: 700; line-height: 1.55; margin-bottom: 20px; box-shadow: 0 30px 60px -36px rgba(26, 24, 20, .8); }
.answer-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--terra-hi); margin-bottom: 8px; font-weight: 900; }
.post-faq, .sources { margin-top: 56px; }
.post-faq h2, .sources h2 { font-size: 30px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; }
.sources ol { padding-left: 22px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.sources li { margin: 8px 0; } .sources a { color: var(--terra-press); text-decoration: underline; }
.disclaimer { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.post-cta { margin-top: 56px; padding: 40px 34px; border-radius: 28px; background: var(--terra); color: #fff; text-align: center; }
.post-cta h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.post-cta em { color: #ffe9dc; }
.post-cta p { margin: 12px 0 22px; font-weight: 700; opacity: .9; }
.post-cta .btn { background: var(--dk-bg); }
.next-post { display: block; margin-top: 50px; padding: 26px 0; border-top: 2px solid var(--border); font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; letter-spacing: -.02em; }
.next-post span { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; }
.next-post:hover { color: var(--terra); }
@media (max-width: 520px) { .tour { height: 46px; font-size: 14px; padding-right: 16px; } .to-top { width: 50px; height: 50px; } .post-card { min-height: 0; } }
