/* ============================================================
   Kenki - Website Stylesheet
   Vanilla CSS. No build step. Drop-in ready for STRATO FTP.

   THEME: dark-primary (mirrors the app), light as the auto/manual
   alternate. One accent locked across the page = SAGE GREEN for every
   interactive element. Tan + peach are reserved for data/macro
   visuals and the training domain only (this mirrors the product's
   own color semantics: nutrition = green, training/carbs = tan, fat
   = peach). Never used for buttons/links.

   SHAPE SCALE (locked): chips 8px · inputs/small 12px · cards 22px ·
   big blocks 28px · interactive buttons = full pill.
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-variable.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/CabinetGrotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/CabinetGrotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/CabinetGrotesk-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- DARK THEME (default, matches the app) ---- */
  --bg:        #0b0c0a;
  --bg-1:      #101210;
  --surface:   #181a15;
  --surface-2: #20231d;
  --line:        rgba(236, 237, 230, 0.09);
  --line-strong: rgba(236, 237, 230, 0.16);
  --text:      #ECEDE6;
  --text-dim:  #9aa093;
  --text-faint:#6b7165;

  --sage:        #8FBDA2;   /* the single interactive accent */
  --sage-bright: #ABD6BD;
  --sage-deep:   #6fa288;
  --sage-ink:    #0b0c0a;   /* text on sage fills */
  --sage-wash:   rgba(143, 189, 162, 0.14);

  --tan:   #D4AE76;         /* data / training domain only */
  --peach: #E0A88B;         /* data / fat macro only */
  --tan-wash: rgba(212, 174, 118, 0.13);

  --shadow-rest:  0 1px 2px rgba(0,0,0,0.30), 0 16px 40px -20px rgba(0,0,0,0.55);
  --shadow-float: 0 2px 6px rgba(0,0,0,0.35), 0 40px 80px -32px rgba(0,0,0,0.7);
  --bezel: #060705;

  /* ---- Type ---- */
  --f-display: "Cabinet Grotesk", "Geist", system-ui, sans-serif;
  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  /* ---- Shape ---- */
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --nav-h: 68px;
}

/* Light tokens - applied when the OS prefers light AND the user has
   not forced dark, OR when the user manually picks light. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:        #F4F5F1;
    --bg-1:      #ECEEE7;
    --surface:   #FCFCFA;
    --surface-2: #F2F4ED;
    --line:        rgba(20, 24, 15, 0.10);
    --line-strong: rgba(20, 24, 15, 0.17);
    --text:      #16180F;
    --text-dim:  #535847;
    --text-faint:#797e6c;

    --sage:        #4F7A64;
    --sage-bright: #3d6450;
    --sage-deep:   #3d6450;
    --sage-ink:    #FCFCFA;
    --sage-wash:   rgba(79, 122, 100, 0.12);

    --tan:   #9C7434;
    --peach: #BC7253;
    --tan-wash: rgba(156, 116, 52, 0.12);

    --shadow-rest:  0 1px 2px rgba(20,24,15,0.05), 0 18px 40px -22px rgba(20,24,15,0.18);
    --shadow-float: 0 2px 6px rgba(20,24,15,0.06), 0 36px 70px -30px rgba(20,24,15,0.26);
    --bezel: #0a0b08;
  }
}
:root[data-theme="light"] {
  --bg:        #F4F5F1;
  --bg-1:      #ECEEE7;
  --surface:   #FCFCFA;
  --surface-2: #F2F4ED;
  --line:        rgba(20, 24, 15, 0.10);
  --line-strong: rgba(20, 24, 15, 0.17);
  --text:      #16180F;
  --text-dim:  #535847;
  --text-faint:#797e6c;
  --sage:        #4F7A64;
  --sage-bright: #3d6450;
  --sage-deep:   #3d6450;
  --sage-ink:    #FCFCFA;
  --sage-wash:   rgba(79, 122, 100, 0.12);
  --tan:   #9C7434;
  --peach: #BC7253;
  --tan-wash: rgba(156, 116, 52, 0.12);
  --shadow-rest:  0 1px 2px rgba(20,24,15,0.05), 0 18px 40px -22px rgba(20,24,15,0.18);
  --shadow-float: 0 2px 6px rgba(20,24,15,0.06), 0 36px 70px -30px rgba(20,24,15,0.26);
  --bezel: #0a0b08;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
::selection { background: var(--sage); color: var(--sage-ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

/* Faint film grain for materiality (fixed, pointer-events-none) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.02;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* --- LAYOUT CONTAINERS --- */
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 44px); }
.wrap-tight { max-width: 820px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 44px); }
section { padding-block: clamp(72px, 11vh, 132px); }

/* --- TYPOGRAPHY --- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--sage); opacity: 0.55; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.0; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.18; letter-spacing: -0.015em; font-weight: 700; }
.accent { color: var(--sage); }
.accent-tan { color: var(--tan); }
p { margin: 0; max-width: 62ch; }
.lede { font-size: clamp(1.04rem, 1.35vw, 1.18rem); color: var(--text-dim); line-height: 1.55; }

/* --- NAV --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: none; box-shadow: var(--shadow-rest); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; margin-left: auto; }
.nav-links a { color: var(--text-dim); transition: color 0.2s var(--ease); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px;
  background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 8px; }

/* Theme toggle + language switcher */
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--spring);
}
.icon-btn:hover { color: var(--text); border-color: var(--sage); background: var(--sage-wash); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }
/* Icon swap is driven by JS: .theme-toggle gets .show-sun (effective dark,
   so the control offers "go light") or .show-moon (effective light). */
.theme-toggle .sun, .theme-toggle .moon { display: none; }
.theme-toggle.show-sun .sun { display: block; }
.theme-toggle.show-moon .moon { display: block; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-dim); font-size: 13px; font-family: var(--f-mono); letter-spacing: 0.04em; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.lang-btn:hover { color: var(--text); border-color: var(--sage); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); padding: 6px; min-width: 168px;
  box-shadow: var(--shadow-float); display: none; flex-direction: column; gap: 2px; z-index: 120;
}
.lang.is-open .lang-menu { display: flex; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 11px; border-radius: 8px; font-size: 14px; color: var(--text-dim); text-align: left; width: 100%;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu button[aria-current="true"] { color: var(--sage); }
.lang-menu button .tick { opacity: 0; }
.lang-menu button[aria-current="true"] .tick { opacity: 1; }

.nav-cta { margin-left: 2px; }
.hamburger { display: none; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px clamp(20px, 4vw, 44px) 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.mobile-menu a { padding: 12px 4px; color: var(--text-dim); font-size: 15px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; margin-top: 10px; justify-content: center; color: var(--sage-ink); }
.nav.is-mobile-open .mobile-menu { display: flex; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: grid; }
}
@media (max-width: 560px) {
  .nav .nav-cta { display: none; }
}
@media (min-width: 881px) { .mobile-menu { display: none !important; } }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.2s var(--spring), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary { background: var(--sage); color: var(--sage-ink); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--sage) 60%, transparent); }
.btn-primary:hover { transform: translateY(-1px); background: var(--sage-bright); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--sage-wash); border-color: var(--sage); }
.btn-arrow::after { content: "\2192"; transition: transform 0.3s var(--spring); }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* store buttons */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px 11px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); transition: border-color 0.2s var(--ease), transform 0.2s var(--spring), background 0.2s var(--ease); }
.store-btn:hover { border-color: var(--sage); transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; flex: none; color: var(--text); }
.store-btn .s-small { font-size: 10px; color: var(--text-faint); line-height: 1; font-family: var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.store-btn .s-big { font-size: 15px; font-weight: 600; line-height: 1.15; }
.store-btn .s-txt { display: flex; flex-direction: column; gap: 3px; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px;
  padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(60px, 9vh, 110px);
}
.hero-glow {
  position: absolute; inset: -10% 30% 30% -10%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sage) 30%, transparent), transparent 60%);
  filter: blur(70px); opacity: 0.7; animation: float 11s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-10px,-18px) scale(1.05);} }
.hero-copy > * + * { margin-top: 22px; }
.hero h1 { max-width: 14ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px !important; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 40px; margin-top: 40px !important; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta-item { display: flex; flex-direction: column; gap: 5px; }
.hero-meta-item strong { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-meta-item span { font-size: 11px; color: var(--text-faint); font-family: var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 36px; min-height: auto; padding-top: 48px; padding-bottom: 64px; }
  .hero h1 { max-width: 18ch; }
}

/* --- PHONE CLUSTER --- */
.phones { position: relative; width: 100%; aspect-ratio: 5/6; max-width: 540px; margin-left: auto; }
.phone {
  position: absolute; margin: auto; width: 62%; aspect-ratio: 610/1356;
  background: var(--bezel); border-radius: 38px; padding: 6px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.06), var(--shadow-float);
  transition: transform 0.7s var(--ease);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 32px; }
.phone-a { left: 0; top: 3%; z-index: 2; transform: rotate(-4deg); }
.phone-a:hover { transform: rotate(-2deg) translateY(-6px); }
.phone-b { right: 0; bottom: 0; width: 50%; z-index: 1; transform: rotate(6deg); }
.phone-b:hover { transform: rotate(4deg) translateY(-6px); }
@media (max-width: 940px) { .phones { max-width: 420px; margin: 0 auto; aspect-ratio: 6/5; }
  .phone-a { width: 50%; top: 0; left: 4%; } .phone-b { width: 40%; right: 4%; bottom: 4%; } }
@media (max-width: 540px) { .phones { max-width: 340px; aspect-ratio: 5/4; } .phone-a { width: 50%; } .phone-b { width: 41%; } }

/* Two-phone before/after cluster reused inside a feature split column.
   Portrait phones (610/1356) are tall, so the container must be tall enough
   to contain phone-a fully (width 60% -> height = 0.6*W*1356/610 ~= 2/3 W). */
.split-media .phones.duo { margin: 0 auto; max-width: 380px; aspect-ratio: 2/3; }
.split-media .phones.duo .phone-a { width: 60%; left: 0; top: 4%; }
.split-media .phones.duo .phone-b { width: 50%; right: 0; bottom: 0; }

/* --- METRIC / TRUST STRIP --- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 18px 44px; align-items: center; padding-block: 28px; }
.strip-item { display: flex; flex-direction: column; gap: 3px; }
.strip-item b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.strip-item span { font-size: 12px; color: var(--text-dim); }
.strip-note { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }

/* --- SECTION HEAD --- */
.section-head { max-width: 720px; }
.section-head > * + * { margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* --- FEATURE SPLIT (pillars) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-copy > * + * { margin-top: 18px; }
.split-copy h2 { max-width: 16ch; }
.split-media { position: relative; display: flex; justify-content: center; }
.split-media .phone-solo {
  width: min(300px, 78%); aspect-ratio: 610/1356; background: var(--bezel);
  border-radius: 40px; padding: 7px; box-shadow: var(--shadow-float); position: relative; z-index: 1;
}
.split-media .phone-solo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 34px; }
.split-media .media-glow {
  position: absolute; inset: 6% 12%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--glow, var(--sage-wash)), transparent 70%); filter: blur(50px);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
}

/* feature bullets */
.feat-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.feat-points li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.feat-points .fp-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--sage-wash); color: var(--sage); display: grid; place-items: center; flex: none; margin-top: 2px; }
.feat-points .fp-ic svg { width: 16px; height: 16px; }
.feat-points b { font-weight: 600; font-size: 15px; }
.feat-points p { font-size: 14px; color: var(--text-dim); margin-top: 2px; }

/* --- SHOWCASE (gotcha deep dives: full-width) --- */
.showcase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
/* Smart-Logging is a nutrition-domain gotcha -> sage step numbers (training stays tan). */
.sl-show .ladder .lnum { color: var(--sage); }
/* Premium badge: a sage variant of the .tag pill, used on paid features. */
.tag-premium { color: var(--sage); border-color: color-mix(in srgb, var(--sage) 55%, var(--line-strong)); background: var(--sage-wash); }
/* Demoted feature headings inside the "everyday" retention layer. */
.sub-h { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.022em; font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.08; max-width: 16ch; }
/* Breathing room when a section-head is immediately followed by a feature block. */
.section-head + .split, .section-head + .showcase, .section-head + .band { margin-top: clamp(34px, 5vw, 58px); }
.showcase-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.showcase-media { position: relative; padding: clamp(32px, 5vw, 60px); display: grid; place-items: center; background: var(--bg-1); }
.showcase-media .phone-solo { width: min(280px, 80%); aspect-ratio: 610/1356; background: var(--bezel); border-radius: 38px; padding: 7px; box-shadow: var(--shadow-float); }
.showcase-media .phone-solo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 32px; }
.showcase-body { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.showcase-body > * + * { margin-top: 16px; }
.ladder { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; }
.ladder li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.ladder .lnum { font-family: var(--f-mono); font-size: 12px; color: var(--tan); letter-spacing: 0.06em; padding-top: 3px; }
.ladder b { font-weight: 600; font-size: 15.5px; }
.ladder p { font-size: 14px; color: var(--text-dim); margin-top: 3px; }
@media (max-width: 860px) { .showcase-grid { grid-template-columns: 1fr; } }

/* --- CONTRAST BAND (fasting) --- */
.band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -10%; top: -30%; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, var(--tan-wash), transparent 65%); filter: blur(50px); pointer-events: none; }
.band-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.band-grid .phone-solo { width: min(260px, 72%); aspect-ratio: 610/1356; background: var(--bezel); border-radius: 38px; padding: 7px; box-shadow: var(--shadow-float); margin: 0 auto; }
.band-grid .phone-solo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 32px; }
.band-copy > * + * { margin-top: 16px; }
.phase-row { display: flex; gap: 8px; margin-top: 24px; }
.phase-row .ph { flex: 1; height: 6px; border-radius: 999px; background: var(--line-strong); }
.phase-row .ph.on { background: linear-gradient(90deg, var(--tan), var(--peach)); }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } .band-grid .split-media, .band-grid .phone-wrap { order: -1; } }

/* --- SIDE FEATURES (2-up, secondary) --- */
.side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 3vw, 36px); align-items: center; transition: transform 0.4s var(--ease), border-color 0.3s var(--ease); }
.side-card:hover { transform: translateY(-3px); border-color: var(--sage); }
.side-card .sc-body { display: flex; flex-direction: column; gap: 10px; }
.side-card .sc-body p { font-size: 14px; color: var(--text-dim); }
.side-card .sc-media { display: flex; justify-content: center; flex: none; }
.side-card .sc-media img { width: clamp(140px, 15vw, 184px); height: auto; border-radius: 22px; border: 5px solid var(--bezel); box-shadow: var(--shadow-float); }
.tag { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 760px) { .side-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .side-card { grid-template-columns: 1fr; }
  .side-card .sc-media { justify-content: center; margin-top: 4px; }
  .side-card .sc-media img { width: clamp(170px, 54vw, 220px); }
}

/* --- FLOW / HOW IT WORKS --- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.flow-step { background: var(--surface); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: background 0.3s var(--ease); }
.flow-step:hover { background: var(--surface-2); }
.flow-step .num { font-family: var(--f-mono); font-size: 12px; color: var(--sage); letter-spacing: 0.12em; }
.flow-step h3 { font-size: 1.25rem; }
.flow-step p { font-size: 14px; color: var(--text-dim); }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }

/* --- PRIVACY / STATEMENT --- */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.privacy-item { display: flex; flex-direction: column; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.privacy-item .pi-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--sage-wash); color: var(--sage); display: grid; place-items: center; }
.privacy-item .pi-ic svg { width: 18px; height: 18px; }
.privacy-item b { font-weight: 600; font-size: 15px; }
.privacy-item p { font-size: 13.5px; color: var(--text-dim); }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .privacy-grid { grid-template-columns: 1fr; } }

/* --- PRICING --- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.price-card.featured { border-color: var(--sage); box-shadow: var(--shadow-float); position: relative; }
.price-card.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--sage), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.6; }
.price-pill { position: absolute; top: -12px; right: 24px; background: var(--sage); color: var(--sage-ink); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.price-card h3 { font-size: 1.15rem; }
.price-tag { display: flex; align-items: baseline; gap: 7px; font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; }
.price-tag strong { font-size: 3rem; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.price-tag span { font-size: 1rem; color: var(--text-dim); font-family: var(--f-sans); font-weight: 400; }
.price-sub { font-size: 13px; color: var(--text-faint); margin-top: -8px; }
.feat-list { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.feat-list li { position: relative; padding-left: 26px; color: var(--text-dim); }
.feat-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

/* --- FAQ --- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.22rem); letter-spacing: -0.01em; color: var(--text); }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform 0.3s var(--spring), background 0.3s var(--ease), border-color 0.3s var(--ease); }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--sage-wash); border-color: var(--sage); color: var(--sage); }
.faq-body { padding: 0 52px 24px 0; color: var(--text-dim); font-size: 15px; max-width: 70ch; }
.faq-body a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

/* --- CTA BLOCK --- */
.cta-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-block::before { content: ""; position: absolute; right: -12%; top: -50%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, color-mix(in srgb, var(--sage) 30%, transparent), transparent 62%); filter: blur(46px); pointer-events: none; }
.cta-block .ct-copy { position: relative; }
.cta-block h2 { max-width: 16ch; }
.cta-block p { color: var(--text-dim); max-width: 46ch; margin-top: 14px; }
.cta-actions { position: relative; justify-self: end; }
@media (max-width: 760px) { .cta-block { grid-template-columns: 1fr; padding: 34px; } .cta-actions { justify-self: start; } }

/* --- FOOTER --- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--text-dim); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--sage); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-blurb { color: var(--text-dim); font-size: 14px; max-width: 34ch; }
.footer-note { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-faint); font-weight: 400; text-transform: none; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-faint); font-family: var(--f-mono); letter-spacing: 0.05em; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* --- LEGAL PAGES --- */
.legal-hero { padding: clamp(64px, 10vh, 120px) 0 clamp(32px, 5vh, 64px); border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.legal-hero .updated { margin-top: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.legal-content { padding: 52px 0 90px; font-size: 16px; line-height: 1.65; color: var(--text-dim); }
.legal-content h2 { font-size: 1.4rem; color: var(--text); margin: 44px 0 12px; font-family: var(--f-display); font-weight: 700; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.08rem; color: var(--text); margin: 26px 0 8px; font-family: var(--f-sans); font-weight: 600; letter-spacing: -0.01em; }
.legal-content p { max-width: 70ch; margin-bottom: 14px; }
.legal-content ul { max-width: 70ch; padding-left: 20px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--sage); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.legal-content strong { color: var(--text); }
.legal-content .address-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin: 18px 0; font-variant-numeric: tabular-nums; color: var(--text-dim); }
.legal-content .address-block strong { color: var(--text); }
.legal-content .callout { background: var(--sage-wash); border-left: 3px solid var(--sage); border-radius: 8px; padding: 16px 20px; margin: 20px 0; color: var(--text); font-size: 14.5px; }
.legal-content .callout strong { color: var(--sage); }
.legal-content .callout ul { margin-top: 10px; margin-bottom: 0; }

/* --- 404 --- */
.nf { min-height: calc(100dvh - var(--nav-h)); display: grid; place-items: center; padding: 80px 0; }
.nf-inner { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.nf-code { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); letter-spacing: -0.06em; line-height: 0.8; color: var(--text); }
.nf-code em { font-style: normal; color: var(--sage); }

/* --- REVEAL ON SCROLL --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

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