/* Lose Eat — site styles. Plain CSS, no build.
   Direction: a nutrition label crossed with a carinderia menu board. Paper, ink,
   thick rules, tabular numbers, real app screenshots.
   Sections: fonts · tokens · base · layout · header · buttons · phone · hero · label
   · menu band · tour · namii · features · privacy · release notes · faq · cta
   · footer · legal · motion · responsive */

/* ---------- fonts (Plus Jakarta Sans, same as the app; OFL, see fonts/OFL.txt) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url(fonts/jakarta-Medium.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600 700; font-display: swap; src: url(fonts/jakarta-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url(fonts/jakarta-ExtraBold.woff2) format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --paper: #f6f4ee;
  --paper-2: #edeae0;
  --card: #fffdf8;
  --ink: #10201a;
  --ink-2: #3d4e45;      /* body copy on paper, 9:1 */
  --ink-3: #5f6f66;      /* small print, 5.3:1 */
  --hair: rgba(16, 32, 26, .14);

  --forest: #1d5134;     /* app primary family */
  --leaf: #1f8f4e;       /* rings, ticks */
  --mint: #e2f0e5;
  --teal: #0a7f7a;       /* from the logo */
  --chili: #c4441f;      /* over target */

  --night: #0c2017;      /* Namii section */
  --night-2: #12301f;
  --on-night: #edf3ee;
  --on-night-2: #a9bdb0;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1.0625rem/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: #cfe7d6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.kicker { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; font-size: .875rem; font-weight: 700; color: var(--ink-3); }
.kicker .idx { font-variant-numeric: tabular-nums; color: var(--ink); }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--hair); transform: translateY(-4px); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 16ch; }
.lede { margin-top: 20px; max-width: 36em; color: var(--ink-2); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 238, .88); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled, .site-header.open { border-color: var(--hair); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.125rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-2); font-size: .9375rem; font-weight: 600; text-decoration: none; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(16, 32, 26, .06); }
.nav .btn { margin-left: 14px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--hair); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .x, .menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px; font: inherit; font-weight: 700; font-size: .9875rem; line-height: 1;
  text-decoration: none; cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: transform .2s var(--ease), background .15s, color .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--forest); }
.btn-line { border-color: rgba(16, 32, 26, .28); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; border-radius: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.gp-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px;
  background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none; line-height: 1.15;
  transition: background .2s var(--ease);
}
.gp-badge:hover { background: var(--forest); }
.gp-badge .gp-logo { width: 28px; height: 28px; flex: none; }
.gp-badge small { display: block; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.gp-badge b { display: block; font-size: 1.1875rem; font-weight: 800; letter-spacing: -.03em; }
.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px;
  border: 1px solid rgba(16, 32, 26, .22); border-radius: 14px; color: var(--ink-2); font-size: .875rem; line-height: 1.25;
  text-decoration: none; transition: border-color .2s var(--ease);
}
.store:hover { border-color: var(--ink); }
.store b { display: block; color: var(--ink); font-size: .9375rem; }
.store span { max-width: 13ch; }
.store img { display: block; width: 112px; height: 112px; border-radius: 8px; }
/* hover: blow the QR up so it can be scanned from across the room */
.qr-big {
  position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 5;
  width: 260px !important; height: 260px !important; padding: 12px; box-sizing: content-box;
  background: #fff; border: 1px solid var(--hair); border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(16, 32, 26, .45);
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.store:hover .qr-big, .store:focus-visible .qr-big { opacity: 1; visibility: visible; transform: none; }
@media (hover: none) { .qr-big { display: none; } }

/* ---------- phone (real screenshots, CSS frame + status bar) ---------- */
.phone {
  container-type: inline-size;
  position: relative; width: 100%; max-width: 340px; padding: 2.6%;
  border-radius: 13% / 6%; background: #16201b;
  box-shadow: inset 0 0 0 1.5px #2c3a33, 0 1px 1px rgba(16, 32, 26, .1), 0 30px 60px -28px rgba(16, 32, 26, .45), 0 60px 120px -60px rgba(16, 32, 26, .3);
}
.screen { position: relative; overflow: hidden; border-radius: 11% / 5%; background: #f3fbf6; }
.screen img { width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; }
.screen::after { content: ""; position: absolute; top: 1.5%; left: 50%; width: 3.6%; aspect-ratio: 1; border-radius: 50%; background: #0b0f0d; transform: translateX(-50%); }
.sb { position: absolute; inset: 0 0 auto; z-index: 1; height: 4.67%; display: flex; align-items: center; justify-content: space-between; padding: 0 7.5% 0 8%; color: #18241e; font-size: 4.1cqw; font-weight: 700; letter-spacing: -.01em; pointer-events: none; }
.sb svg { width: 15cqw; height: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(32px, 4.5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-tag { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.hero-tag span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tag span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: 10px; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); line-height: .94; letter-spacing: -.055em; }
.hero h1 .soft { color: var(--forest); }
.hero .lede { margin-top: 24px; max-width: 31em; }
.dot { margin-left: -.07em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 36px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: clamp(36px, 4.5vw, 52px); border-top: 2px solid var(--ink); }
.hero-facts div { padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--hair); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts b { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero-facts span { display: block; font-size: .875rem; color: var(--ink-3); line-height: 1.35; max-width: 14ch; }

.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-visual .phone { max-width: 330px; }
.hero-visual .ring-art { position: absolute; width: 132%; max-width: 620px; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--forest); opacity: .16; pointer-events: none; }

/* ---------- the label (nutrition-facts card) ---------- */
.label {
  width: 232px; padding: 12px 14px 12px; background: var(--card); color: var(--ink);
  border: 1.5px solid var(--ink); font-variant-numeric: tabular-nums;
  box-shadow: 0 24px 40px -24px rgba(16, 32, 26, .35);
}
.label h3 { font-size: 1.75rem; letter-spacing: -.045em; line-height: 1; }
.label .sub { margin-top: 4px; padding-bottom: 6px; border-bottom: 8px solid var(--ink); font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.label dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--ink); font-size: .875rem; }
.label dt { font-weight: 800; }
.label dd { font-weight: 800; }
.label .thin dt { font-weight: 500; padding-left: 12px; }
.label .thin dd { font-weight: 600; }
.label .total { border-top: 4px solid var(--ink); border-bottom: 0; padding-top: 6px; font-size: 1rem; }
.label .total dd { color: var(--forest); }
.label .foot { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ink); font-size: .6875rem; line-height: 1.35; color: var(--ink-2); }
.hero-visual .label { position: absolute; left: -4%; bottom: 3%; z-index: 2; }

/* ---------- menu band (built-in Filipino foods) ---------- */
.menu-band { border-block: 2px solid var(--ink); background: var(--card); overflow: hidden; }
.menu-band .head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.menu-band .head b { color: var(--ink); }
.marquee { display: flex; width: max-content; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: baseline; gap: 10px; padding: 18px 28px; border-right: 1px solid var(--hair); white-space: nowrap; font-weight: 700; font-size: 1.0625rem; }
.marquee li small { font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.marquee li span { font-variant-numeric: tabular-nums; color: var(--forest); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee { animation: slide 60s linear infinite; }
  .menu-band:hover .marquee, .menu-band:focus-within .marquee { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-50%); } }
.no-js-hide { display: none; }
.js .no-js-hide { display: flex; }

/* ---------- tour (scroll-driven: sticky phone on desktop, inline shots on mobile) ---------- */
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.steps { counter-reset: step; }
.step { display: grid; align-content: center; min-height: 72vh; padding: 32px 0; }
.step:first-child { min-height: 56vh; align-content: start; padding-top: 8px; }
.step .n { font-size: .875rem; font-weight: 800; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step .n::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 18px; background: var(--ink); }
.step h3 { margin-top: 10px; font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 14ch; }
.step p { margin-top: 16px; max-width: 30em; color: var(--ink-2); }
.step .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.step .facts li { padding: 6px 12px; border: 1px solid var(--hair); border-radius: 8px; background: var(--card); font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.step figure { margin: 28px 0 0; display: none; }
.step figure .phone { max-width: 300px; margin: 0 auto; }
.tour-stage { position: relative; }
.tour-stage .sticky { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(92vh - var(--header-h)); display: grid; place-items: center; }
.tour-stage .phone { max-width: min(330px, 36vh); }
.tour-stage .screen img { transition: opacity .45s var(--ease); }
.tour-stage .screen img + img { position: absolute; inset: 0; }
.tour-stage .screen img:not(.on) { opacity: 0; }
.progress-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.progress-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .18; transition: opacity .3s, transform .3s; }
.progress-dots i.on { opacity: 1; transform: scale(1.4); }
/* Without JS there is nothing to drive the sticky phone: show each step's own shot. */
html:not(.js) .tour-stage { display: none; }
html:not(.js) .tour-grid { grid-template-columns: 1fr; }
html:not(.js) .step figure { display: block; }
html:not(.js) .step { min-height: 0; }

/* ---------- Namii (dark) ---------- */
.namii { background: var(--night); color: var(--on-night); }
.namii .kicker { color: var(--on-night-2); }
.namii .kicker .idx { color: var(--on-night); }
.namii .kicker::after { background: rgba(237, 243, 238, .16); }
.namii .lede { color: var(--on-night-2); }
.namii-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.namii h2 em { font-style: normal; color: #8fd6a6; }
.namii .phone { max-width: 330px; margin-inline: auto; background: #050d09; box-shadow: inset 0 0 0 1.5px #1f3328, 0 40px 90px -40px rgba(0, 0, 0, .8); }
.quote { margin-top: 36px; padding: 20px 0 0; border-top: 1px solid rgba(237, 243, 238, .16); }
.quote p { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.quote p::before { content: "“"; }
.quote p::after { content: "”"; }
.quote small { display: block; margin-top: 10px; color: var(--on-night-2); font-size: .875rem; }
.quote small b { color: var(--on-night); }
.namii-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid rgba(237, 243, 238, .16); }
.namii-points li { padding: 24px 24px 0 0; }
.namii-points li + li { padding-left: 24px; border-left: 1px solid rgba(237, 243, 238, .16); }
.namii-points .i { width: 22px; height: 22px; color: #8fd6a6; }
.namii-points b { display: block; margin-top: 14px; font-size: 1.0625rem; }
.namii-points span { display: block; margin-top: 6px; color: var(--on-night-2); font-size: .9375rem; line-height: 1.5; }
.fine { margin-top: 40px; max-width: 62em; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }
.namii .fine { color: var(--on-night-2); }
.namii .fine a { color: var(--on-night); }

/* ---------- features (spec sheet) ---------- */
.spec-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.spec { border: 2px solid var(--ink); background: var(--card); padding: 6px 22px 22px; }
.spec h3 { padding: 12px 0 10px; border-bottom: 10px solid var(--ink); font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -.045em; }
.spec .group { padding: 10px 0 8px; border-bottom: 5px solid var(--ink); font-size: .8125rem; font-weight: 800; letter-spacing: .02em; }
.spec dl > div { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--ink); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { font-weight: 800; }
.spec dd { color: var(--ink-2); font-size: .9688rem; line-height: 1.5; }
.spec .last { border-bottom: 0; }
.spec .note { margin-top: 10px; padding-top: 10px; border-top: 5px solid var(--ink); font-size: .8125rem; color: var(--ink-2); }
.spec-shots { position: sticky; top: calc(var(--header-h) + 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.spec-shots figure:last-child { margin-top: 64px; }
.spec-shots figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); text-align: center; }
.spec-shots figure { margin: 0; }

/* ---------- privacy ---------- */
.privacy { background: var(--mint); }
.privacy .big { font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; letter-spacing: -.05em; max-width: 14ch; }
.priv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--ink); }
.priv-cols > div { padding: 20px 28px 0 0; }
.priv-cols > div + div { padding-left: 28px; border-left: 1px solid rgba(16, 32, 26, .2); }
.priv-cols h3 { font-size: 1.125rem; letter-spacing: -.02em; }
.priv-cols ul { margin-top: 12px; display: grid; gap: 8px; }
.priv-cols li { display: flex; gap: 10px; color: var(--ink-2); font-size: .9688rem; line-height: 1.45; }
.priv-cols li .i { margin-top: 2px; color: var(--forest); }
.priv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(16, 32, 26, .2); font-size: .9375rem; }

/* ---------- release notes ---------- */
.releases { margin-top: clamp(40px, 6vw, 64px); border-top: 2px solid var(--ink); }
.release { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.release .v { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.release .v small { display: block; margin-top: 4px; font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.release .v .tag { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 700; letter-spacing: .01em; }
.release ul { display: grid; gap: 12px; }
.release li { position: relative; padding-left: 22px; color: var(--ink-2); }
.release li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--ink); }
.release li b { color: var(--ink); }
.release.older li { font-size: .9688rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; max-width: 40em; color: var(--ink-2); }

/* ---------- final cta ---------- */
.cta { padding: clamp(72px, 10vw, 128px) 0; border-top: 2px solid var(--ink); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.055em; }
.cta p { color: var(--ink-2); max-width: 28em; }
.cta .hero-cta { margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d4cd; padding: 64px 0 32px; font-size: .9375rem; }
.site-footer .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid > div p { margin-top: 14px; max-width: 26em; color: #9fb0a6; }
.site-footer h4 { margin-bottom: 12px; color: #fff; font-size: .875rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 6px; }
.site-footer a { color: #c9d4cd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8b9c92; font-size: .8125rem; }

/* ---------- legal pages (privacy.html, terms.html) ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.prose { max-width: 740px; margin: 0 auto; padding: 0 var(--gutter); }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.05em; padding-bottom: 14px; border-bottom: 10px solid var(--ink); }
.legal .meta { margin: 12px 0 32px; font-size: .9375rem; font-weight: 600; color: var(--ink-3); }
.legal h2 { margin: 48px 0 14px; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; }
.legal h3 { margin: 28px 0 10px; font-size: 1.125rem; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--ink); }
.legal strong { color: var(--ink); }
.legal a { color: var(--forest); font-weight: 600; }
.legal table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.legal th { border-bottom: 2px solid var(--ink); font-weight: 800; }
.legal td { color: var(--ink-2); }
.legal .table-scroll { overflow-x: auto; }
.callout { margin: 20px 0; padding: 16px 18px; background: var(--card); border: 1px solid var(--ink); border-left-width: 6px; color: var(--ink-2); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-visual .label { left: -2%; }
  .namii-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .namii-points li:nth-child(3) { padding-left: 0; border-left: 0; }
  .namii-points li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid rgba(237, 243, 238, .16); }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--hair); }
  .site-header.open .nav { display: flex; }
  .nav a:not(.btn) { min-height: 48px; padding: 0; border-bottom: 1px solid var(--hair); border-radius: 0; font-size: 1.0625rem; }
  .nav .btn { margin: 16px 0 0; }

  .hero-grid, .namii-grid, .spec-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; }
  .hero-visual .phone { max-width: 290px; }
  .hero-visual .label { left: 0; bottom: 6%; width: 200px; }

  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .step { min-height: 0; padding: 40px 0; }
  .step figure { display: block; }

  .spec-shots { position: static; max-width: 560px; }
  .priv-cols { grid-template-columns: 1fr; }
  .priv-cols > div + div { padding-left: 0; border-left: 0; margin-top: 20px; border-top: 1px solid rgba(16, 32, 26, .2); }
  .release { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts div { padding-right: 10px; margin-right: 10px; }
  .hero-facts b { font-size: 1.375rem; }
  .hero-facts span { font-size: .8125rem; }
  .hero-cta .btn { width: 100%; }
  .hero-tag span + span::before { display: none; }
  .hero-visual .label { position: relative; left: auto; bottom: auto; width: 100%; max-width: 290px; margin-top: -40px; }
  .namii-points { grid-template-columns: 1fr; }
  .namii-points li + li { padding-left: 0; border-left: 0; margin-top: 0; border-top: 1px solid rgba(237, 243, 238, .16); }
  .namii-points li { padding-bottom: 20px; }
  .spec { padding: 4px 16px 16px; }
  .spec dl > div { grid-template-columns: 1fr; }
  .spec-shots { gap: 12px; }
  .spec-shots figure:last-child { margin-top: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
}
