/* nomo — website styles.
   Brand tokens from NOMO Brand VI 1.0: Ink / Graphite / Paper / Mist carry the brand;
   functional colours appear only inside product mock-ups, never on brand chrome. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101413;
  --graphite: #4d5351;
  --paper: #f7f8f6;
  --mist: #c4c9c7;
  --white: #ffffff;
  --line: rgba(16, 20, 19, 0.1);
  --line-strong: rgba(16, 20, 19, 0.16);
  --muted: #6b716f;

  /* Product UI colours, mock-ups only */
  --protein: #ff6a00;
  --carbs: #1fb245;
  --fat: #e5003f;
  --water: #1fb5c9;
  --z1: #8e9492;
  --z2: #3a86e8;
  --z3: #34c46a;
  --z4: #ff9a2e;
  --z5: #f2463f;

  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible { outline-color: var(--paper); }

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite);
}
.section-dark .eyebrow { color: var(--mist); }

.display {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em;
}
.h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em;
}
.h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
.h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--graphite); }
.section-dark .lead { color: var(--mist); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #262b2a; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.section-dark .btn-primary { background: var(--paper); color: var(--ink); }
.section-dark .btn-primary:hover { background: var(--white); }
.btn[aria-disabled="true"] { cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 18px; border-radius: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
}
.store-badge svg { width: 22px; height: 22px; }
.store-badge span { display: grid; justify-items: center; line-height: 1.15; text-align: center; }
.store-badge small { font-size: 11px; color: var(--mist); letter-spacing: 0.02em; }
.store-badge b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.section-dark .store-badge { background: var(--paper); color: var(--ink); }
.section-dark .store-badge small { color: var(--graphite); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; padding: 8px 0; }
.brand svg { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--graphite); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { min-height: 38px; padding: 0 16px; font-size: 14px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--paper); }
.nav-toggle {
  position: relative; display: none; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
/* Two lines that cross into an X while the menu is open. */
.nav-toggle .bar {
  position: absolute; left: 12px; right: 12px; height: 1.8px; border-radius: 1px; background: currentColor;
  transition: top 0.2s var(--ease) 0.2s, transform 0.25s var(--ease);
}
.nav-toggle .bar:first-child { top: 17.5px; }
.nav-toggle .bar:last-child { top: 24.7px; }
.nav-toggle[aria-expanded="true"] .bar { top: 21.1px; transition: top 0.2s var(--ease), transform 0.3s var(--ease) 0.15s; }
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-header.menu-open { background: var(--paper); border-bottom-color: var(--line); }
  /* The panel unrolls from under the header, its links following one by one. */
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(16, 20, 19, 0.18);
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease, visibility 0s linear 0.4s;
  }
  .nav-links.open {
    visibility: visible; opacity: 1; clip-path: inset(0 0 -60px 0);
    transition: clip-path 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease, visibility 0s;
  }
  .nav-links li { opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.25s var(--ease); }
  .nav-links.open li { opacity: 1; transform: none; transition: opacity 0.35s ease, transform 0.45s var(--ease); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.22s; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a.nav-cta { display: flex; justify-content: center; min-height: 50px; margin-top: 16px; padding: 0 22px; border-bottom: 0; font-size: 16px; color: var(--paper); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 144px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
/* Side by side, the hero fills the window below the header and sits centred in
   it; the phone shrinks in steps on shorter screens so all of it fits. */
@media (min-width: 961px) {
  .hero { display: flex; align-items: center; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding: 40px 0; }
  .hero-grid { width: 100%; }
  .hero-visual { min-height: 0; }
}
@media (min-width: 961px) and (max-height: 830px) { .hero .phone { zoom: 0.95; } }
@media (min-width: 961px) and (max-height: 790px) { .hero .phone { zoom: 0.9; } }
@media (min-width: 961px) and (max-height: 750px) { .hero .phone { zoom: 0.84; } }
@media (min-width: 961px) and (max-height: 700px) { .hero .phone { zoom: 0.78; } }
@media (min-width: 961px) and (max-height: 650px) { .hero .phone { zoom: 0.7; } }
@media (min-width: 961px) and (max-height: 600px) { .hero .phone { zoom: 0.64; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .lead { margin-top: 28px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 40px; }
.hero-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-visual .food {
  position: absolute; width: clamp(150px, 17vw, 220px); height: auto; pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(16, 20, 19, 0.16));
}
.hero-visual .food-bowl { right: -8%; bottom: -7%; width: clamp(180px, 21vw, 270px); }
.hero-visual .food-salmon { left: -4%; top: 10%; width: clamp(120px, 13vw, 170px); transform: rotate(-12deg); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 0; padding-top: 24px; }
  .hero-visual .food-bowl { right: 0; }
  .hero-visual .food-salmon { left: 0; }
}
@media (max-width: 520px) {
  .hero-visual .food-salmon { width: 96px; top: 4%; }
  .hero-visual .food-bowl { width: 150px; right: -12px; }
}

/* ---------- Phone mock ---------- */

.phone {
  position: relative; width: min(320px, 82vw); aspect-ratio: 9 / 19.2;
  padding: 12px; border-radius: 52px; background: #0b0d0c;
  box-shadow: 0 0 0 1.5px #2a2f2d inset, 0 40px 80px -24px rgba(16, 20, 19, 0.35), 0 12px 24px -12px rgba(16, 20, 19, 0.25);
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; z-index: 2; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #0b0d0c;
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 41px;
  background: #f2f2f6; color: #111; font-size: 12px; line-height: 1.35;
  padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px;
}
.screen-top { display: flex; align-items: center; justify-content: space-between; }
.date { line-height: 1; }
.date small { display: block; font-size: 9px; font-weight: 600; color: #8a8a8e; letter-spacing: 0.04em; }
.date b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 999px; background: #e3e3e8; font-size: 10.5px; font-weight: 600; }
.seg button { position: relative; z-index: 1; min-width: 62px; padding: 5px 0; border: 0; border-radius: 999px; background: none; font: inherit; color: #555; cursor: pointer; transition: color 0.25s; }
.seg button.on { color: #111; }
.seg-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 999px;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  transition: translate 0.5s cubic-bezier(0.3, 1.3, 0.45, 1), scale 0.32s cubic-bezier(0.3, 1.4, 0.5, 1),
              background-color 0.25s, box-shadow 0.25s, -webkit-backdrop-filter 0.25s, backdrop-filter 0.25s;
}
.seg.rest .seg-thumb { translate: 100% 0; }
/* While it moves, the selection lifts off the track as a lens of Liquid Glass —
   larger than the control, clear, bending what is under it — then settles back. */
.seg.moving .seg-thumb {
  scale: 1.18 1.5;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(1px) saturate(1.9) brightness(1.06);
  backdrop-filter: blur(1px) saturate(1.9) brightness(1.06);
  box-shadow:
    inset 0 0 0 0.6px rgba(255, 255, 255, 0.95),
    inset 1px 1.5px 1.5px rgba(255, 255, 255, 0.6),
    inset -1px -2px 3px rgba(0, 0, 0, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.16);
}
@media (prefers-reduced-motion: reduce) { .seg-thumb { transition: none; } .seg.moving .seg-thumb { scale: 1; } }
.bar i { transition: width 0.6s var(--ease); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.avatar svg { width: 16px; height: 16px; }
.card { background: #fff; border-radius: 18px; padding: 12px; }
.card-title { font-size: 11px; font-weight: 600; color: #8a8a8e; }
.rings-row { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 12px; margin-top: 6px; }
.rings { width: 116px; height: 116px; overflow: visible; }
.macro { display: flex; align-items: baseline; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 0; }
.macro .ni { width: 13px; height: 13px; flex: none; align-self: center; }
.ni { display: inline-block; overflow: visible; }
.ring-icon { --ni-fill: 0; --ni-w: 1px; --ni-hw: 0.8px; }
.macro span { color: #8a8a8e; font-weight: 500; font-size: 10.5px; margin-left: auto; }
.kcal { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid #eee; font-size: 10px; font-weight: 600; letter-spacing: 0.03em; }
.kcal b { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.kcal .flame { width: 11px; height: 11px; }
.kcal span { color: #8a8a8e; font-weight: 500; }
.bar { height: 6px; border-radius: 3px; background: #e5e5ea; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: #ff9500; }
.focus { display: flex; gap: 10px; align-items: flex-start; }
.focus-dot { width: 22px; height: 22px; border-radius: 7px; background: #f4f4f7; flex: none; display: grid; place-items: center; }
.focus-dot svg { width: 12px; height: 12px; }
.focus b { display: block; font-size: 12px; }
.focus p { margin: 2px 0 0; color: #6c6c70; font-size: 10.5px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile-label { font-size: 10px; font-weight: 600; color: #8a8a8e; }
.sec-title { margin: 6px 4px -2px; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: rgba(60, 60, 67, 0.6); }
.tile { display: flex; flex-direction: column; gap: 8px; min-height: 118px; padding: 11px 11px 12px; border-radius: 18px; }
.tile .dots { margin-top: auto; }
.water-row { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.cup { width: 26px; height: 30px; }
.plus { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #30b0c7; font-size: 17px; font-weight: 500; line-height: 1; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.12), inset 0 0 0 0.5px rgba(0,0,0,0.04); }
.spark { width: 100%; height: 34px; }
.stat-row { display: flex; align-items: baseline; gap: 5px; font-size: 10px; font-weight: 600; }
.stat-row b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.stat-row em { font-style: normal; }
.stat-row span { margin-left: auto; color: #8a8a8e; }
.tile-head { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: #8a8a8e; }
.halo { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--t); background: color-mix(in srgb, var(--t) 12%, transparent); }
.halo svg { width: 13px; height: 13px; }
.tile .tile-value { margin-top: 0; font-size: 20px; white-space: nowrap; }
.tile .tile-value small { font-size: 9.5px; }
.dots { display: flex; align-items: center; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.3px solid #c7c7cc; }
.dots i.on { border-color: #ff9500; background: #ff9500; }
.dots span { margin-left: auto; font-size: 9.5px; color: #8a8a8e; font-weight: 600; }
.water { height: 5px; border-radius: 3px; background: color-mix(in srgb, #30b0c7 14%, transparent); overflow: hidden; }
.water i { display: block; height: 100%; border-radius: 3px; background: #30b0c7; }
.sub { font-size: 9.5px; color: #8a8a8e; }
.tile-value { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.meal-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-top: 1px solid #f0f0f2; font-size: 11px; }
.meal-row:first-of-type { border-top: 0; }
.meal-row b { font-weight: 600; }
.meal-row span { color: #8a8a8e; font-variant-numeric: tabular-nums; }
.tile-value small { font-size: 10px; color: #8a8a8e; font-weight: 500; letter-spacing: 0; }

/* ---------- Questions ---------- */

.questions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: q; }
.questions li {
  position: relative; padding: 28px 24px 32px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); counter-increment: q;
}
.questions li::before {
  content: "0" counter(q); display: block; margin-bottom: 40px;
  font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;
}
.questions li:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.questions li:last-child::before { color: var(--mist); }
.questions p { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 960px) { .questions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .questions { grid-template-columns: 1fr; } .questions li::before { margin-bottom: 20px; } }

/* ---------- Flow (how it works) ---------- */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.flow li { position: relative; padding-right: 24px; }
.flow-mark { position: relative; display: flex; align-items: center; height: 72px; margin-bottom: 28px; }
.flow-mark .donut {
  width: 64px; height: 64px; border-radius: 50%;
  border: 18px solid var(--graphite); background: transparent; flex: none;
}
.flow li:last-child .donut { border-color: var(--paper); }
.flow-mark::after {
  content: ""; flex: 1; height: 6px; margin: 0 12px; border-radius: 3px; background: rgba(196, 201, 199, 0.35);
}
.flow li:last-child .flow-mark::after { display: none; }
.flow .h3 { color: var(--paper); }
.flow p { margin: 10px 0 0; color: var(--mist); font-size: 15px; }
.flow small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); opacity: 0.8; }
.flow-example {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  margin-top: clamp(48px, 7vw, 80px); padding: 24px 28px; border-radius: var(--radius);
  background: rgba(247, 248, 246, 0.06); border: 1px solid rgba(247, 248, 246, 0.1);
}
.flow-example .tag {
  padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.flow-example p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--paper); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .flow li:nth-child(2) .flow-mark::after { display: none; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; row-gap: 36px; }
  .flow li .flow-mark::after { display: none; }
  .flow-mark { height: auto; margin-bottom: 18px; }
  .flow-mark .donut { width: 48px; height: 48px; border-width: 14px; }
  .flow-example { grid-template-columns: 1fr; gap: 14px; }
  .flow-example .tag { justify-self: start; }
}

/* ---------- Feature rows ---------- */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(96px, 12vw, 160px); }
.feature.flip .feature-visual { order: -1; }
.feature .lead { margin-top: 20px; }
.points { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.points svg { width: 22px; height: 22px; margin-top: 2px; color: var(--ink); }
.points b { display: block; font-weight: 600; }
.points span { color: var(--graphite); font-size: 15px; }
.feature-visual {
  position: relative; display: grid; place-items: center; min-height: 520px;
  border-radius: 32px; background: #ecedea; overflow: hidden; padding: 40px 24px;
}
.feature-visual.on-white { background: var(--white); border: 1px solid var(--line); }
.feature-visual .food { position: absolute; width: 150px; height: auto; filter: drop-shadow(0 18px 24px rgba(16, 20, 19, 0.16)); pointer-events: none; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-visual { order: 0; }
  .feature-visual { min-height: 0; }
}

/* Mock: Tell nomo */
.ai-stack { position: relative; z-index: 1; width: min(380px, 100%); display: grid; gap: 12px; }
.ai-bar {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(16, 20, 19, 0.08);
  box-shadow: 0 10px 30px -12px rgba(16, 20, 19, 0.25);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 14px; color: #111;
}
.ai-bar .typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-bar .caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; background: #111; vertical-align: -0.15em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ai-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f1f2f0; color: #333; flex: none; }
.ai-icon svg { width: 16px; height: 16px; }
.ai-icon.send { background: #111; color: #fff; }
.ai-card { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 16px 40px -20px rgba(16, 20, 19, 0.3); font-size: 13px; }
.ai-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ai-card header b { font-size: 14px; }
.ai-card header span { font-size: 11px; color: #8a8a8e; }
.ai-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid #f0f0f2; }
.ai-row:first-of-type { border-top: 0; }
.ai-row b { font-weight: 600; }
.ai-row .amt { color: #8a8a8e; font-size: 12px; }
.ai-row .kc { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ai-row .mac { grid-column: 1 / -1; display: flex; gap: 12px; font-size: 11px; color: #6c6c70; }
.ai-row .mac .ni { width: 11px; height: 11px; margin-right: 3px; vertical-align: -2px; --ni-w: 1.1px; --ni-hw: 0.9px; }
.ai-confirm { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.ai-confirm small { color: #8a8a8e; font-size: 11px; }
.ai-confirm span { padding: 8px 14px; border-radius: 999px; background: #111; color: #fff; font-size: 12px; font-weight: 600; }

/* Mock: Activity */
.act-card { position: relative; z-index: 1; width: min(380px, 100%); background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 20px 50px -24px rgba(16, 20, 19, 0.35); font-size: 13px; color: #111; }
.act-head { display: flex; align-items: center; gap: 12px; }
.act-icon { width: 38px; height: 38px; border-radius: 12px; background: #f1f2f0; display: grid; place-items: center; }
.act-icon svg { width: 20px; height: 20px; }
.act-head b { display: block; font-size: 15px; }
.act-head span { font-size: 11.5px; color: #8a8a8e; }
.act-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.act-stats div { background: #f6f6f8; border-radius: 12px; padding: 10px; }
.act-stats small { display: block; font-size: 10px; color: #8a8a8e; font-weight: 600; }
.act-stats b { font-size: 16px; letter-spacing: -0.01em; }
.zone { display: grid; grid-template-columns: 18px 72px 1fr 44px; align-items: center; gap: 8px; padding: 5px 0; font-size: 11.5px; }
.zone i { width: 18px; height: 18px; border-radius: 50%; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.zone .track { height: 6px; border-radius: 3px; background: #efeff2; overflow: hidden; }
.zone .track span { display: block; height: 100%; border-radius: 3px; }
.zone em { font-style: normal; text-align: right; color: #6c6c70; font-variant-numeric: tabular-nums; }
.act-note { margin-top: 14px; padding: 12px; border-radius: 14px; background: #f6f6f8; font-size: 12px; color: #3a3a3c; }
.act-note b { color: #111; }

/* ---------- Capability grid ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap {
  padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; min-height: 220px;
}
.cap-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; margin-bottom: 12px; }
.cap-icon svg { width: 22px; height: 22px; color: var(--ink); }
.cap p { margin: 0; color: var(--graphite); font-size: 15px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } .cap { min-height: 0; } }

/* ---------- Principles ---------- */

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(247, 248, 246, 0.12); border-radius: var(--radius); overflow: hidden; }
.principle { background: var(--ink); padding: clamp(28px, 4vw, 44px); }
.principle small { display: block; margin-bottom: 28px; font-size: 13px; font-weight: 600; color: var(--mist); font-variant-numeric: tabular-nums; }
.principle .h2 { color: var(--paper); }
.principle p { margin: 12px 0 0; color: var(--mist); max-width: 440px; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Trust ---------- */

.trust { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.trust-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.trust-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust-list svg { width: 22px; height: 22px; margin-top: 2px; }
.trust-list b { display: block; font-weight: 600; }
.trust-list span { color: var(--graphite); font-size: 15px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: -6px 0 24px; max-width: 680px; color: var(--graphite); }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.lockup { display: inline-grid; justify-items: center; gap: 18px; margin-bottom: 40px; }
.lockup svg { width: clamp(200px, 30vw, 300px); height: auto; color: var(--paper); }
.lockup span { font-size: clamp(16px, 1.8vw, 20px); color: var(--mist); letter-spacing: -0.005em; }
.cta .h1 { max-width: 760px; margin: 0 auto; }
.cta .lead { max-width: 560px; margin: 20px auto 0; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- Footer ---------- */

.site-footer { padding: 64px 0 40px; background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand svg { height: 22px; width: auto; color: var(--ink); }
.footer-brand p { margin: 14px 0 0; color: var(--graphite); max-width: 280px; }
.footer-col h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--graphite); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom p { margin: 0; max-width: 640px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Legal / support pages ---------- */

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-hero .lead { margin-top: 18px; }
.meta { margin-top: 20px; font-size: 14px; color: var(--muted); }
.draft-note {
  margin-top: 28px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #fbf4e6; border: 1px solid #ecd9ad; color: #5b4514; font-size: 14px;
}
.prose { padding-bottom: clamp(80px, 10vw, 128px); }
.prose h2 { margin: 56px 0 14px; font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; }
.prose h3 { margin: 32px 0 10px; font-size: 17px; }
.prose p, .prose li { color: #2c3230; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 13px; font-weight: 600; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.tbd { padding: 1px 6px; border-radius: 6px; background: #fbf4e6; color: #7a5a12; font-weight: 600; font-size: 0.92em; }
.toc { margin: 32px 0 0; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; font-size: 15px; }
.toc a { color: var(--graphite); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.support-card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.support-card p { margin: 10px 0 0; color: var(--graphite); font-size: 15px; }
.support-card a { font-weight: 600; }
@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .lead { margin: 16px auto 32px; max-width: 420px; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-links, .nav-links li, .nav-toggle .bar { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ai-bar .caret { animation: none; }
}
