/* LookyBox — Apple Liquid Glass system + Looky identity
   Ground #f5f5f7 · unified white surfaces · hairlines · glass only on nav/overlays
   Looky signature: the dock header (NEVER changes) + gold/red used as accent only */

:root {
  /* neutrals — One Medical warmth (Willis palette 2026-08-23) */
  --bg: #ffffff;
  --shell: #f0eee9;
  --shell-2: #e7e5df;
  --surface: #ffffff;
  --hover: #faf9f6;
  --text: #1b2129;
  --text-body: #3a4149;
  --text-2: #5e6670;
  --text-3: #8a9099;
  --faint: #d2d2d7;
  --hairline: rgba(27, 33, 41, 0.09);
  --track: #e5e3de;

  /* accents — teal primary, Amazon-orange CTA, Looky gold stays on the brand */
  --accent: #2e9e8c;
  --accent-deep: #1f7365;
  --looky-gold: #f7f402;
  --looky-gold-ink: #5c5600;
  --cta: #ff9900;
  --cta-deep: #b25e00;
  --live: #2e9e8c;
  --heat: #ff9900;
  --grad-cta: linear-gradient(135deg, #2e9e8c 0%, #16655a 100%);

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-pill: 999px;
  --r-chip: 6px;
  --r-thumb: 12px;
  --r-card: 18px;
  --r-panel: 22px;
  --r-hero: 26px;

  --sh-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --sh-panel: 0 1px 3px rgba(0, 0, 0, 0.05), 0 14px 40px rgba(0, 0, 0, 0.05);
  --sh-lift: 0 12px 32px rgba(0, 0, 0, 0.1);
  --sh-cta: 0 20px 54px rgba(255, 153, 0, 0.3);

  --max-grid: 1080px;
  --pad-x: 22px;
  --sect: clamp(4rem, 3rem + 5vw, 8rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  letter-spacing: 1px;
  word-spacing: 2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { font-weight: 700; line-height: 1.12; }
h1 { letter-spacing: 1px; }
h2 { letter-spacing: 1px; }
h3 { letter-spacing: 0.5px; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--max-grid); margin: 0 auto; padding-inline: var(--pad-x); }

/* ══════════ HEADER + LOOKY DOCK — FIXED, identical on every page ══════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #1b2129;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  color: #f5f5f7;
}
.nav-in { display: flex; align-items: center; gap: 14px; padding-block: 8px; }
.logo {
  font-family: var(--font); font-weight: 600; font-size: 13px;
  letter-spacing: 0.34em; display: flex; align-items: center; gap: 11px;
  white-space: nowrap;
}
.logo .lb-mark { width: 28px; height: 28px; flex: none; overflow: visible; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.25; }
.logo-txt small {
  font-family: var(--mono); font-weight: 400; font-size: 7.5px;
  letter-spacing: 0.18em; color: #9aa1ab; white-space: nowrap;
}
footer .logo-txt small { color: var(--text-3); }
.logo .lb-mark .stroke {
  fill: none; stroke: currentColor; stroke-width: 7;
  stroke-linecap: round; stroke-linejoin: round;
}
.logo .lb-mark .dot {
  fill: var(--looky-gold); stroke: currentColor; stroke-width: 4;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo:hover .lb-mark .dot { transform: translateY(-5px); }
.lkdock { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.lkdock .bar {
  display: flex; gap: 2px; align-items: flex-end;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px; padding: 4px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.lkdock a {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em;
  color: #c9c9cd; padding: 3px 8px 5px; border-radius: 11px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.lkdock a .ic { font-size: 16px; line-height: 1.2; }
.lkdock a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; transform: translateY(-2px); }
.lkdock a.here { background: var(--looky-gold); color: var(--text); }
.nav-cta {
  margin-left: auto; font-family: var(--mono); font-weight: 700; font-size: 11px;
  letter-spacing: 0.05em; color: var(--text); background: var(--cta);
  border-radius: var(--r-pill); padding: 8px 16px;
  white-space: nowrap; transition: transform 0.18s, box-shadow 0.18s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 153, 0, 0.45); }
/* ══════════ end fixed header ══════════ */

/* ---------- hero ---------- */
.hero { padding-block: 22px calc(var(--sect) * 0.7); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: var(--shell);
  /* faint iso-diamond lattice (2:1 tiles, Age-of-Empires style) */
  background-image:
    repeating-linear-gradient(26.57deg, rgba(27, 33, 41, 0.04) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-26.57deg, rgba(27, 33, 41, 0.04) 0 1px, transparent 1px 46px);
  border-radius: var(--r-hero);
  padding: clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.hero-in { position: relative; z-index: 1; }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--surface);
  border-radius: var(--r-pill); padding: 7px 15px; margin-bottom: 22px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.hero h1 { font-size: clamp(30px, 5.4vw, 56px); }
.hero h1 mark { background: none; color: var(--accent); }
.hero-sub {
  margin: 22px 0 8px;
  font-size: clamp(17px, 1rem + 0.4vw, 20px);
  color: var(--text-body); max-width: 34em;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-priv { font-family: var(--mono); font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 30px; }
.hero-priv b { color: var(--live); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 12px 26px; border-radius: var(--r-pill);
  cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  border: none;
}
.btn-red { background: var(--cta); color: var(--text); box-shadow: var(--sh-cta); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(255, 153, 0, 0.4); }
.btn-quiet { background: var(--surface); color: var(--text); box-shadow: var(--sh-card); }
.btn-quiet:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.hero-note { font-family: var(--mono); font-weight: 700; font-size: 12px; color: var(--text-2); margin-top: 14px; }

/* hero visual — the software box on an isometric floor */
.hero-visual { position: relative; display: grid; place-items: center; perspective: 1000px; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  left: 50%; top: 58%;
  margin-left: -360px; margin-top: -360px;
  background-image:
    repeating-linear-gradient(0deg, rgba(46, 158, 140, 0.28) 0 1.5px, transparent 1.5px 48px),
    repeating-linear-gradient(90deg, rgba(46, 158, 140, 0.28) 0 1.5px, transparent 1.5px 48px);
  transform: rotateX(58deg) rotateZ(45deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 72%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 72%);
  pointer-events: none;
}
.hero-visual .swbox, .hero-visual .hero-badge { position: relative; z-index: 1; }
.hero-badge {
  position: absolute; top: -4px; right: 8px; z-index: 2;
  background: var(--surface); color: var(--live);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: var(--r-pill);
  box-shadow: var(--sh-card);
}
.swbox {
  width: min(320px, 70vw); position: relative;
  transform: rotateY(-13deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual:hover .swbox { transform: rotateY(-4deg) rotateX(1deg); }
.swbox-img {
  display: block; width: 100%; height: auto;
  border-radius: 10px;
  box-shadow: var(--sh-panel), 20px 26px 50px rgba(27, 33, 41, 0.22);
}
.swbox-spine {
  position: absolute; top: 0; bottom: 0; left: -22px; width: 22px;
  background: var(--text); border-radius: 6px 0 0 6px;
  transform: rotateY(46deg); transform-origin: right;
}
.swbox-face {
  position: absolute; inset: 0; background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-panel), 18px 22px 44px rgba(0, 0, 0, 0.12);
  display: flex; flex-direction: column; padding: 20px;
}
.swbox-brand {
  font-family: var(--font); font-weight: 600; font-size: 10px;
  letter-spacing: 0.3em; color: var(--text-2);
  display: flex; align-items: center; gap: 7px;
}
.swbox-brand .lb-mark-sm { width: 18px; height: 18px; overflow: visible; }
.swbox-eye {
  margin: auto; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: var(--looky-gold);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.swbox-eye::after {
  content: ""; width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: var(--text); box-shadow: inset -5px -5px 0 var(--accent);
}
.swbox-title { font-size: 21px; font-weight: 700; letter-spacing: 1px; }
.swbox-tag { font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-top: 4px; }
.swbox-sticker {
  position: absolute; top: -14px; left: -16px;
  background: var(--cta); color: var(--text);
  font-family: var(--mono); font-weight: 700; font-size: 10px;
  text-align: center; padding: 10px 12px; border-radius: var(--r-pill);
  transform: rotate(-8deg);
  box-shadow: 0 10px 26px rgba(255, 153, 0, 0.4);
}

/* ---------- feature strip — ONE panel, hairline-divided ---------- */
.feat-strip { padding-bottom: var(--sect); }
.feat-panel {
  background: var(--shell); border-radius: var(--r-panel);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.feat {
  padding: 28px 26px;
  border-left: 1px solid var(--hairline);
}
.feat:first-child { border-left: none; }
.feat .ic { font-size: 22px; }
.feat .t { font-size: 15px; font-weight: 600; margin: 8px 0 4px; letter-spacing: 1px; }
.feat p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ---------- promo elements (One Medical pattern, used in founding band) ---------- */
.promo-pill {
  display: inline-block;
  background: #3b5bdb; color: #fff;
  font-size: 12.5px; font-weight: 600;
  border-radius: var(--r-pill); padding: 5px 14px; margin-bottom: 10px;
}
.promo-line {
  font-size: clamp(20px, 2.8vw, 30px); font-weight: 700; letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}
.promo-line s { opacity: 0.55; font-weight: 500; margin-inline: 4px; }

/* One Medical yellow pill CTA */
.btn-sun { background: #f8d24a; color: var(--text); box-shadow: 0 10px 26px rgba(248, 210, 74, 0.4); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(248, 210, 74, 0.5); }

/* ---------- trust strip ---------- */
.trust-strip { padding-bottom: var(--sect); }
.trust-in {
  display: flex; gap: 10px 14px; flex-wrap: wrap; justify-content: center;
}
.trust-in span {
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  color: var(--text); background: var(--shell);
  border-radius: var(--r-pill); padding: 11px 18px;
}

/* ---------- quote jab + section CTAs ---------- */
.quote-jab {
  margin: 34px auto 0; max-width: 560px; text-align: center;
  font-size: 16px; color: var(--text-body);
}
.quote-jab em { color: var(--text-3); }
.quote-jab b { color: var(--text); font-variant-numeric: tabular-nums; }
.section-cta { text-align: center; margin-top: 26px; }

/* ---------- benefits grid — one panel, hairline cells ---------- */
.ben-panel {
  margin-top: 40px;
  background: var(--surface); border-radius: var(--r-panel);
  border: 1px solid var(--hairline);
  box-shadow: var(--sh-panel); overflow: hidden;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.ben {
  padding: 24px 24px 26px;
  border-left: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
}
.ben:nth-child(3n + 1) { border-left: none; }
.ben:nth-child(-n + 3) { border-top: none; }
.ben .ic { font-size: 20px; display: block; }
.ben b { display: block; font-size: 14.5px; margin: 8px 0 3px; letter-spacing: 0.5px; }
.ben p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ---------- founding band — One Medical teal gradient offer ---------- */
.found-band {
  background: linear-gradient(110deg, #7fd8c8 0%, #3db6a0 55%, #2e9e8c 100%);
  border-radius: var(--r-hero);
  display: grid; grid-template-columns: 1fr auto;
  gap: 30px; align-items: center;
  padding: clamp(28px, 4vw, 44px);
  color: var(--text);
}
.found-band .lead { max-width: 46em; color: rgba(27, 33, 41, 0.78); }
.found-band .promo-line { margin-top: 10px; }

/* ---------- FAQ — One Medical two-column: heading left, accordion right ---------- */
.faq-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 60px); align-items: start;
}
.faq-more {
  display: inline-block; margin-top: 16px;
  color: var(--accent-deep); font-weight: 600; font-size: 14.5px;
  text-decoration: underline;
}
.faq-panel {
  background: var(--surface); border-radius: var(--r-panel);
  border: 1px solid var(--hairline);
  box-shadow: var(--sh-panel); overflow: hidden;
}
.faq-panel details { border-top: 1px solid var(--hairline); }
.faq-panel details:first-child { border-top: none; }
.faq-panel summary {
  cursor: pointer; list-style: none;
  padding: 18px 24px; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.15s;
}
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after {
  content: "+"; font-size: 20px; color: var(--text-3); font-weight: 400;
  transition: transform 0.2s;
}
.faq-panel details[open] summary::after { transform: rotate(45deg); }
.faq-panel summary:hover { background: var(--hover); }
.faq-panel details p {
  padding: 0 24px 20px; color: var(--text-body); font-size: 14.5px; max-width: 60em;
}

/* ---------- sections ---------- */
section { padding-block: 0 var(--sect); }
.sect-k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--text-3); text-transform: uppercase; margin-bottom: 14px;
}
section h2 { font-size: clamp(24px, 3.4vw, 40px); max-width: 24em; }
.lead { margin-top: 14px; color: var(--text-body); max-width: 640px; font-size: 17px; }

/* ---------- the math — two soft panels ---------- */
.math-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-top: 40px; align-items: stretch;
}
/* One Medical two-pane comparison */
.math-card {
  border-radius: var(--r-hero);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 40px);
  display: flex; flex-direction: column;
}
.math-card.bad { background: #eceae4; }
.math-card.good { background: #e3f2ee; }
.pane-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
.pane-sub { margin-top: 8px; color: var(--text-body); font-size: 16px; }
.pane-list { list-style: none; margin: 26px 0 6px; padding: 0; }
.pane-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; font-size: 15px; color: var(--text-body);
}
.pane-list .li-ic {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--surface); border-radius: 50%;
  box-shadow: var(--sh-card); font-size: 17px;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  background: rgba(27, 33, 41, 0.06);
  border-radius: 10px; padding: 10px 16px;
  font-size: 14.5px; color: var(--text-body);
  font-variant-numeric: tabular-nums;
}
.chip b { color: var(--text); }
.chip-good { background: rgba(46, 158, 140, 0.14); }
.math-card .fine { margin-top: 16px; font-size: 12px; color: var(--text-3); }
.math-card .btn { align-self: flex-start; margin-top: 20px; }

/* ---------- shelf — unified panel with hairline rows ---------- */
/* One Medical product spotlight: pill → question → prices → tag → CTA + photo */
.spotlight {
  margin-top: 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.spot-pill {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--accent-deep); border: 1.5px solid var(--accent);
  border-radius: var(--r-chip); padding: 4px 12px; margin-bottom: 14px;
  background: var(--surface);
}
.spot-text h3 { font-size: clamp(24px, 3vw, 34px); }
.spot-sub { margin-top: 10px; color: var(--text-body); font-size: 15.5px; max-width: 34em; }
.spot-price {
  margin-top: 18px; font-size: 17px; color: var(--text-body);
  font-variant-numeric: tabular-nums;
}
.spot-price.alt { margin-top: 4px; }
.spot-price b { font-size: 24px; color: var(--text); }
.spot-price sup { font-size: 12px; font-weight: 700; color: var(--text); }
.no-sub-tag {
  display: inline-block; margin-top: 16px;
  background: rgba(46, 158, 140, 0.14); color: var(--accent-deep);
  font-size: 13.5px; font-weight: 600;
  border-radius: 8px; padding: 9px 14px;
}
.spot-text .fine { margin-top: 12px; font-size: 12px; color: var(--text-3); }
.spot-ctas { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.spot-img img {
  display: block; width: min(340px, 100%); height: auto; margin-inline: auto;
  border-radius: var(--r-card);
  box-shadow: var(--sh-panel), 14px 20px 44px rgba(27, 33, 41, 0.18);
  transform: rotate(1.5deg);
}
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--accent-deep); background: rgba(46, 158, 140, 0.13);
  border-radius: var(--r-pill); padding: 4px 11px;
}
.live-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }

.shelf-panel {
  margin-top: 18px;
  background: var(--surface); border-radius: var(--r-panel);
  border: 1px solid var(--hairline);
  box-shadow: var(--sh-panel);
  overflow: hidden;
}
.shelf-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 26px;
  border-top: 1px solid var(--hairline);
  transition: background 0.15s;
}
.shelf-row:first-child { border-top: none; }
.shelf-row:hover { background: var(--hover); }
.shelf-row .ic {
  width: 44px; height: 44px; display: grid; place-items: center;
  font-size: 22px; background: var(--shell); border-radius: var(--r-thumb);
}
.shelf-row h3 { font-size: 16px; }
.shelf-row p { color: var(--text-2); font-size: 13.5px; margin-top: 2px; }
.soon-pill {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--text-3); background: var(--track);
  border-radius: var(--r-pill); padding: 5px 12px; white-space: nowrap;
}
.shelf-verticals { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.shelf-verticals span {
  font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
  background: var(--shell); border-radius: var(--r-pill);
  padding: 9px 16px;
}

/* ---------- how — One Medical tinted card trio ---------- */
.steps {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step {
  background: #e4eef2; border-radius: var(--r-card);
  padding: 28px 26px;
}
.step:nth-child(2) { background: #e3f2ee; }
.step:nth-child(3) { background: #efece2; }
.step-ic {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--surface); border-radius: var(--r-thumb);
  box-shadow: var(--sh-card); font-size: 22px; margin-bottom: 14px;
}
.step h3 { font-size: 17px; }
.step p { margin-top: 8px; color: var(--text-body); font-size: 14px; }

/* ---------- doctor ---------- */
.doc-panel {
  margin-top: 40px;
  background: var(--surface); border-radius: var(--r-panel);
  border: 1px solid var(--hairline);
  box-shadow: var(--sh-panel);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}
.doc-story { padding: 36px 34px; }
.doc-story p { color: var(--text-body); margin-bottom: 14px; font-size: 15px; }
.doc-story p b { color: var(--text); font-weight: 600; }
.cites { padding: 36px 34px; border-left: 1px solid var(--hairline); background: var(--hover); border-radius: 0 var(--r-panel) var(--r-panel) 0; }
.cites .t {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--text-3); margin-bottom: 12px; text-transform: uppercase;
}
.cites ul { list-style: none; }
.cites li {
  font-size: 13.5px; color: var(--text-2);
  padding: 10px 0; border-top: 1px solid var(--hairline);
}
.cites li:first-of-type { border-top: none; }
.cites li b { color: var(--text); font-weight: 600; }

/* ---------- final ---------- */
.final { text-align: center; }
.final-panel {
  background: var(--grad-cta);
  border-radius: var(--r-hero);
  box-shadow: 0 24px 70px rgba(46, 158, 140, 0.24);
  padding: clamp(44px, 7vw, 80px) 30px;
  color: #fff;
}
.final-panel h2 { color: #fff; margin-inline: auto; }
.final-panel .lead { color: rgba(255, 255, 255, 0.85); margin-inline: auto; }
.final-panel .btn { margin-top: 28px; background: #fff; color: var(--text); font-size: 16px; padding: 14px 32px; }
.final-panel .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2); }
.final-panel .hero-note { color: rgba(255, 255, 255, 0.75); margin-top: 16px; }
.final-panel .hero-note a { text-decoration: underline; color: #fff; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hairline); background: var(--surface); padding: 26px 0 40px; }
.foot-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-in .fine { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); letter-spacing: 0.04em; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) { .lkdock { display: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding-top: 0.5rem; }
  .feat-panel { grid-template-columns: 1fr 1fr; }
  .feat { border-top: 1px solid var(--hairline); }
  .feat:nth-child(-n+2) { border-top: none; }
  .feat:nth-child(odd) { border-left: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid var(--hairline); }
  .step:first-child { border-top: none; }
  .math-grid { grid-template-columns: 1fr; }
  .doc-panel { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .spot-img { order: -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .ben-panel { grid-template-columns: 1fr 1fr; }
  .ben:nth-child(3n + 1) { border-left: 1px solid var(--hairline); }
  .ben:nth-child(odd) { border-left: none; }
  .ben:nth-child(-n + 2) { border-top: none; }
  .found-band { grid-template-columns: 1fr; }
  .cites { border-left: none; border-top: 1px solid var(--hairline); border-radius: 0 0 var(--r-panel) var(--r-panel); }
  .shelf-hero { grid-template-columns: auto 1fr; }
  .shelf-hero .buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swbox, .btn, .lkdock a, .nav-cta, .shelf-row { transition: none; }
}

/* ---------- iso lattice on the other boxes ---------- */
.feat-panel, .math-card.bad, .math-card.good, .step {
  background-image:
    repeating-linear-gradient(26.57deg, rgba(27, 33, 41, 0.036) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-26.57deg, rgba(27, 33, 41, 0.036) 0 1px, transparent 1px 46px);
}
.found-band, .final-panel {
  background-image:
    repeating-linear-gradient(26.57deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-26.57deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 46px),
    linear-gradient(110deg, #7fd8c8 0%, #3db6a0 55%, #2e9e8c 100%);
}
.final-panel {
  background-image:
    repeating-linear-gradient(26.57deg, rgba(255, 255, 255, 0.10) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-26.57deg, rgba(255, 255, 255, 0.10) 0 1px, transparent 1px 46px),
    linear-gradient(135deg, #2e9e8c 0%, #16655a 100%);
}

/* iso floor under the spotlight box, like the hero */
.spot-img { position: relative; perspective: 1000px; }
.spot-img::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  left: 50%; top: 58%;
  margin-left: -280px; margin-top: -280px;
  background-image:
    repeating-linear-gradient(0deg, rgba(46, 158, 140, 0.24) 0 1.5px, transparent 1.5px 44px),
    repeating-linear-gradient(90deg, rgba(46, 158, 140, 0.24) 0 1.5px, transparent 1.5px 44px);
  transform: rotateX(58deg) rotateZ(45deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 72%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 72%);
  pointer-events: none;
}
.spot-img img { position: relative; z-index: 1; }

/* ---------- buy section — product card in the teal panel ---------- */
.buy-panel {
  text-align: left;
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 52px); align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
}
.buy-img img {
  display: block; width: min(320px, 100%); height: auto; margin-inline: auto;
  border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(10, 40, 35, 0.4);
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.buy-img img:hover { transform: rotate(0deg) scale(1.02); }
.buy-panel h2 { text-align: left; }
.buy-name { margin-top: 10px; font-size: 17px; font-weight: 700; color: #fff; }
.buy-name span { font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.buy-list { list-style: none; margin: 18px 0 0; padding: 0; }
.buy-list li {
  padding: 5px 0; font-size: 15px; color: rgba(255, 255, 255, 0.92);
}
.buy-price-row { margin-top: 20px; }
.buy-price {
  font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums;
}
.buy-price sup { font-size: 0.45em; }
.buy-price small {
  display: block; font-family: var(--mono); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--looky-gold);
}
.buy-ctas { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.buy-ctas .btn { margin-top: 0; }
.buy-ctas .btn:not(.btn-red) { background: #fff; color: var(--text); }
.buy-fine { margin-top: 16px; font-size: 11.5px; color: rgba(255, 255, 255, 0.75); }

@media (max-width: 900px) {
  .buy-panel { grid-template-columns: 1fr; text-align: center; }
  .buy-panel h2, .buy-name, .buy-list li { text-align: left; }
  .buy-ctas { justify-content: flex-start; }
}


@media (max-width: 700px) {
  .hero-visual::before { width: 130vw; height: 130vw; margin-left: -65vw; margin-top: -65vw; }
  .spot-img::before { width: 120vw; height: 120vw; margin-left: -60vw; margin-top: -60vw; }
}

/* mobile header: tagline hides, CTA tightens (desktop lockup unchanged) */
@media (max-width: 640px) {
  .logo-txt small { display: none; }
  .logo { letter-spacing: 0.2em; }
  .nav-cta { font-size: 10px; padding: 7px 12px; }
  .nav-in { gap: 10px; }
}

/* ---------- full-demo request form ---------- */
.fd-panel {
  background: var(--surface); border-radius: var(--r-hero);
  border: 1px solid var(--hairline); box-shadow: var(--sh-panel);
  padding: clamp(28px, 4.5vw, 52px);
}
.fd-form { margin-top: 24px; max-width: 640px; }
.fd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.fd-form input {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--shell); border: none; border-radius: 10px;
  padding: 13px 15px; width: 100%;
  transition: box-shadow 0.15s, background 0.15s;
}
.fd-form input::placeholder { color: var(--text-3); }
.fd-form input:focus { outline: none; background: var(--surface); box-shadow: 0 0 0 2.5px var(--accent); }
.fd-form .btn { margin-top: 6px; }
.fd-msg { margin-left: 14px; font-weight: 600; color: var(--accent-deep); }
@media (max-width: 640px) { .fd-row { grid-template-columns: 1fr; } }

/* google sign-in row */
.g-wrap { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.g-or { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* header google sign-in slot */
.g-head { display: flex; align-items: center; margin-left: auto; }
.g-head + .nav-cta { margin-left: 12px; }
.g-user {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #f5f5f7;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px; padding: 5px 12px 5px 6px; white-space: nowrap;
}
.g-user img { width: 22px; height: 22px; border-radius: 50%; }
@media (max-width: 760px) { .g-head { display: none; } }
