/* Lithico homepage — layered on style.css (tokens, nav, footer, buttons).
   Homepage-only so the content pages (about / privacy / terms) keep their
   quieter look. Every animation here is decoration: the page reads fully
   with motion reduced or JavaScript off. */

:root {
  --basalt: #1b1917;
  --basalt-2: #26231f;
  --glow: color-mix(in srgb, var(--color-accent) 55%, transparent);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* `clip`, not `hidden`: hidden makes body a scroll container that focus and
   scrollIntoView can still shift sideways; clip just cuts the decoration off. */
html:has(body.home), body.home { overflow-x: clip; }

/* — nav: glassy, lifts once you scroll — */
.home .site-nav {
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.home .site-nav.is-scrolled { border-bottom-color: var(--color-divider); box-shadow: 0 6px 24px -14px rgba(46, 43, 37, .35); }

/* — shared bits — */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.on-dark { color: var(--color-accent-400); }
.eyebrow.sage { color: var(--color-accent-2-700); }
.display {
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance; margin: 14px 0 18px;
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--color-neutral-700); max-width: 560px; text-wrap: pretty; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.wrap-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hsection { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--color-text); color: #fff; text-decoration: none;
  padding: 12px 24px 12px 18px; border-radius: 16px;
  box-shadow: 0 14px 30px -14px rgba(32, 30, 29, .7);
  transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease;
}
.btn-play:hover { color: #fff; background: #000; transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(32, 30, 29, .8); }
.btn-play svg { flex: none; }
.btn-play .small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; line-height: 1.1; }
.btn-play .big { display: block; font-family: var(--font-heading); font-size: 19px; line-height: 1.15; }
.btn-play.light { background: #fff; color: var(--color-text); }
.btn-play.light:hover { background: var(--color-neutral-100); color: var(--color-text); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; color: var(--color-text); padding: 14px 6px;
}
.btn-ghost svg { transition: transform .25s var(--ease-out); }
.btn-ghost:hover svg { transform: translateY(3px); }

/* — hero — */
.hero-epic {
  position: relative; isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
}
.hero-epic::before { /* topographic contour lines */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23c67139' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M-20 120c80-40 160 30 250 0s170-70 260-20 120 40 140 20'/%3E%3Cpath d='M-20 160c90-40 160 40 250 8s170-60 260-12 120 46 140 26'/%3E%3Cpath d='M-20 200c90-34 170 46 260 14s160-52 250-6 130 50 150 30'/%3E%3Cpath d='M-20 330c70 30 150-40 240-10s180 80 270 40 90-50 130-40'/%3E%3Cpath d='M-20 370c70 34 150-34 240-4s180 84 270 44 90-46 130-34'/%3E%3Cpath d='M-20 410c80 36 160-28 250 2s170 80 260 44 90-40 130-28'/%3E%3Cpath d='M-20 520c100-30 180 20 270-6s160-50 250-14 100 20 120 10'/%3E%3Cpath d='M-20 560c100-26 180 26 270 0s160-46 250-8 100 24 120 14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-epic::after { /* warm glow behind the phone */
  content: ""; position: absolute; z-index: -1;
  width: min(900px, 120vw); aspect-ratio: 1; right: -18%; top: -10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--color-accent-300) 70%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero-title {
  font-size: clamp(44px, 7.4vw, 92px); line-height: .98; letter-spacing: -.03em;
  margin: 18px 0 22px; text-wrap: balance;
}
.hero-title .accent-word {
  color: var(--color-accent);
  background: linear-gradient(100deg, var(--color-accent-600) 10%, var(--color-accent-400) 50%, var(--color-accent-600) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--color-neutral-700); max-width: 520px; margin-bottom: 30px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 13.5px; font-weight: 600; color: var(--color-neutral-700); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { color: var(--color-accent-2-600); }

.hero-stage { position: relative; height: clamp(520px, 52vw, 640px); }
.hero-stage .phone-frame {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(230px, 22vw, 290px); max-width: none; z-index: 3;
  box-shadow: 0 50px 80px -30px rgba(46, 43, 37, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  rotate: -4deg;
}
.orb {
  position: absolute; z-index: 2; border-radius: 50%; overflow: hidden;
  width: var(--s, 110px); aspect-ratio: 1;
  box-shadow: 0 22px 40px -18px rgba(46, 43, 37, .6), 0 0 0 5px var(--color-bg);
  animation: float var(--d, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.orb img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -16px, 0) rotate(3deg); } }
.orb-1 { --s: 132px; left: 0%; top: 6%; --d: 10s; }
.orb-2 { --s: 96px; right: 2%; top: 0%; --d: 8s; --delay: -2s; }
.orb-3 { --s: 118px; right: -2%; top: 58%; --d: 11s; --delay: -4s; }
.orb-4 { --s: 84px; left: 6%; bottom: 4%; --d: 9s; --delay: -1s; }
.orb-5 { --s: 66px; left: 22%; top: 46%; --d: 7s; --delay: -3s; z-index: 4; }
.orb-6 { --s: 58px; right: 20%; bottom: 0%; --d: 8.5s; --delay: -5s; }

.chip {
  position: absolute; z-index: 5;
  background: color-mix(in srgb, #fff 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 18px 40px -18px rgba(46, 43, 37, .5);
  font-size: 13px; animation: float 9s ease-in-out infinite;
}
.chip strong { display: block; font-size: 14px; }
.chip .mini-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--color-accent-700); }
.chip .mini-bar i { display: block; width: 110px; height: 7px; border-radius: 9px; background: var(--color-neutral-300); overflow: hidden; }
.chip .mini-bar i::before { content: ""; display: block; height: 100%; width: var(--w, 52%); border-radius: 9px; background: var(--color-accent); }
.chip-result { left: -4%; top: 64%; --delay: -2s; }
.chip-test { right: -3%; top: 22%; animation-delay: -5s; display: flex; align-items: center; gap: 10px; }
.chip-test .tick {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--color-accent-2-200); color: var(--color-accent-2-800);
  display: grid; place-items: center;
}

/* — strata divider — */
.strata { display: block; width: 100%; height: clamp(46px, 7vw, 90px); }
.strata.flip { transform: scaleY(-1); }

/* — specimen ribbon — */
.ribbon-section { padding: 26px 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.ribbon-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.ribbon-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 10px 0 0; max-width: 640px; text-wrap: balance; }
.ribbon-head p { color: var(--color-neutral-700); max-width: 360px; margin: 0; }
.ribbon { display: flex; gap: 18px; width: max-content; animation: drift 70s linear infinite; padding: 10px 0; }
.ribbon.reverse { animation-direction: reverse; animation-duration: 80s; margin-top: 18px; }
.ribbon-viewport { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-viewport:hover .ribbon { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.specimen {
  flex: none; width: 196px; margin: 0;
  background: #fff; border-radius: 22px; padding: 8px 8px 14px;
  box-shadow: 0 10px 26px -16px rgba(46, 43, 37, .45);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.specimen:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 26px 40px -20px rgba(46, 43, 37, .55); }
.specimen img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.specimen figcaption { padding: 10px 6px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.specimen b { font-size: 14.5px; }
.specimen small { font-size: 11.5px; font-weight: 700; color: var(--color-accent-2-700); white-space: nowrap; }
.photo-credit { font-size: 12.5px; color: var(--color-neutral-600); margin-top: 20px; }

/* — how it works — */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent-300) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: left; }
.step-num {
  width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center;
  background: var(--color-bg); border: 2px solid var(--color-accent-300);
  color: var(--color-accent-700); position: relative; margin-bottom: 18px;
  box-shadow: 0 10px 24px -16px rgba(198, 113, 57, .8);
}
.step-num::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-text); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--color-neutral-700); font-size: 15px; margin: 0; }

/* — interactive demo — */
.demo-section { background: linear-gradient(180deg, var(--color-accent-2-100), color-mix(in srgb, var(--color-accent-2-100) 40%, var(--color-bg))); }
.demo-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo-card {
  background: #fff; border-radius: 30px; padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 40px 70px -40px rgba(46, 43, 37, .55);
  position: relative;
}
.demo-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.demo-card-head h3 { font-size: 22px; margin: 0; }
.demo-badge {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: var(--color-neutral-200); color: var(--color-neutral-700);
  transition: background .4s ease, color .4s ease;
}
.demo-badge[data-state="confirmed"] { background: var(--color-accent-2-200); color: var(--color-accent-2-900); }
.cand { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--color-neutral-200); transition: opacity .5s ease; }
.cand:first-of-type { border-top: 0; }
.cand-name { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.cand-pct { font-weight: 700; color: var(--color-accent-700); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.cand-bar { grid-column: 1 / -1; height: 10px; border-radius: 10px; background: var(--color-neutral-200); overflow: hidden; }
.cand-bar i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: linear-gradient(90deg, var(--color-accent-500), var(--color-accent)); transition: width .9s var(--ease-out); }
.cand.other .cand-bar i { background: var(--color-neutral-500); }
.cand.other .cand-pct { color: var(--color-neutral-700); }
.cand.ruled-out { opacity: .45; }
.cand.ruled-out .cand-name span { text-decoration: line-through; }
.cand .ruled-tag { font-size: 11px; font-weight: 700; color: var(--color-neutral-700); background: var(--color-neutral-200); padding: 2px 8px; border-radius: 999px; display: none; }
.cand.ruled-out .ruled-tag { display: inline-block; }
.demo-note { margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--color-neutral-100); font-size: 14px; color: var(--color-neutral-800); min-height: 72px; }
.demo-steps { display: grid; gap: 12px; margin-top: 26px; }
.demo-step {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  background: rgba(255, 255, 255, .55); border: 2px solid transparent; border-radius: 20px; padding: 14px 16px;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}
.demo-step:hover { background: #fff; transform: translateX(4px); }
.demo-step[aria-pressed="true"] { background: #fff; border-color: var(--color-accent); }
.demo-step .ico { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--color-accent-100); color: var(--color-accent-700); }
.demo-step b { display: block; font-size: 15.5px; }
.demo-step small { color: var(--color-neutral-700); font-size: 13.5px; }
.demo-disclaimer { font-size: 12.5px; color: var(--color-neutral-700); margin-top: 14px; }
.needs-js { display: none; }
.js-ready .needs-js { display: grid; }
.js-ready .mohs-range.needs-js { display: block; }

/* — honesty (dark) — */
.dark {
  background: radial-gradient(1200px 500px at 85% 0%, color-mix(in srgb, var(--color-accent) 26%, transparent), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, color-mix(in srgb, var(--color-accent-2) 24%, transparent), transparent 60%),
              var(--basalt);
  color: #f3ece1;
}
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: color-mix(in srgb, #fff 72%, transparent); }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.outcome {
  position: relative; padding: 30px 26px 28px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .1); overflow: hidden;
}
.outcome::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.outcome .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-bottom: 14px; }
.outcome h3 { font-size: 24px; margin-bottom: 10px; }
.outcome p { color: color-mix(in srgb, #fff 70%, transparent); font-size: 15px; margin: 0; }
.outcome .viz { display: flex; gap: 5px; align-items: end; height: 46px; margin-bottom: 18px; }
.outcome .viz i { flex: 1; border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--c) 30%, transparent); height: var(--h); }
.outcome .viz i.hi { background: var(--c); }
.promise {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center;
  font-size: 14.5px; color: color-mix(in srgb, #fff 78%, transparent);
}
.promise span { display: inline-flex; gap: 8px; align-items: center; }
.promise svg { color: var(--color-accent-400); }

/* — Mohs scale — */
.mohs-card {
  margin-top: 46px; background: #fff; border-radius: 30px; padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 60px -40px rgba(46, 43, 37, .5);
}
.mohs-track { position: relative; height: 16px; border-radius: 16px; margin: 70px 10px 44px;
  background: linear-gradient(90deg, #f3e7d3, #e8c9a4 25%, #d89a68 50%, #b66a3b 72%, #6d3a1c 100%); }
.mohs-ticks { position: absolute; inset: 0; }
.mohs-ticks span { position: absolute; top: 24px; translate: -50% 0; font-size: 12px; font-weight: 700; color: var(--color-neutral-600); text-align: center; line-height: 1.2; }
.mohs-ticks span em { display: block; font-style: normal; font-weight: 600; font-size: 10.5px; color: var(--color-neutral-500); }
.mohs-tools { position: absolute; inset: 0; }
.mohs-tool { position: absolute; bottom: 26px; translate: -50% 0; text-align: center; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mohs-tool::after { content: ""; display: block; width: 2px; height: 14px; margin: 4px auto 0; background: var(--color-text); border-radius: 2px; }
.mohs-tool.low { bottom: 52px; }
.mohs-tool.low::after { height: 40px; }
.mohs-thumb { position: absolute; top: 50%; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 4px solid var(--color-text); box-shadow: 0 6px 14px rgba(0,0,0,.25); pointer-events: none; transition: left .15s ease; }
.mohs-range { width: 100%; margin: 0; position: absolute; inset: -8px 0; opacity: 0; cursor: ew-resize; height: 32px; }
.mohs-readout { display: grid; grid-template-columns: auto 1fr; gap: 18px 26px; align-items: center; margin-top: 10px; }
.mohs-value { font-family: var(--font-heading); font-size: 64px; line-height: 1; color: var(--color-accent); min-width: 2.2ch; }
.mohs-text b { font-size: 17px; display: block; margin-bottom: 4px; }
.mohs-text p { margin: 0; color: var(--color-neutral-700); font-size: 15px; }
.mohs-matches { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.mohs-matches span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--color-neutral-100); font-size: 13px; font-weight: 600; }
.mohs-matches img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* — screens fan — */
.fan { display: flex; justify-content: center; align-items: center; margin-top: 56px; perspective: 1400px; }
.fan figure { margin: 0 -26px; text-align: center; transition: transform .6s var(--ease-out); }
.fan .phone-frame { width: clamp(180px, 20vw, 250px); box-shadow: 0 40px 70px -30px rgba(46, 43, 37, .6); }
.fan figure:nth-child(1) { transform: rotate(-9deg) translateY(30px); }
.fan figure:nth-child(2) { transform: translateY(-10px); z-index: 2; }
.fan figure:nth-child(3) { transform: rotate(9deg) translateY(30px); }
.fan:hover figure:nth-child(1) { transform: rotate(-4deg) translate(-40px, 10px); }
.fan:hover figure:nth-child(3) { transform: rotate(4deg) translate(40px, 10px); }
.fan figcaption { margin-top: 22px; font-weight: 700; font-size: 14px; }
.fan-note { font-size: 12.5px; color: var(--color-neutral-600); margin-top: 40px; }

/* — features bento — */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.tile {
  grid-column: span 2; background: #fff; border-radius: 26px; padding: 26px;
  box-shadow: 0 14px 30px -24px rgba(46, 43, 37, .5); position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(46, 43, 37, .55); }
.tile.wide { grid-column: span 3; }
.tile.feature-photo { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.tile.feature-photo .txt { padding: 26px; }
.tile.feature-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.tile .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--color-accent-100); color: var(--color-accent-700); margin-bottom: 18px; }
.tile .ico.sage { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tile h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.tile p { color: var(--color-neutral-700); font-size: 15px; margin: 0; }
.tile.ink { background: var(--color-text); color: #fff; }
.tile.ink h3 { color: #fff; }
.tile.ink p { color: color-mix(in srgb, #fff 72%, transparent); }
.tile.ink .ico { background: rgba(255,255,255,.1); color: var(--color-accent-300); }

/* — privacy — */
.privacy-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.privacy-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--color-divider); }
.privacy-list li:last-child { border-bottom: 0; }
.privacy-list .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.privacy-list b { display: block; font-size: 16px; margin-bottom: 2px; }
.privacy-list p { margin: 0; color: var(--color-neutral-700); font-size: 14.5px; }
.vault {
  position: sticky; top: 110px; border-radius: 30px; padding: 34px; color: #fff; overflow: hidden;
  background: radial-gradient(500px 300px at 100% 0%, color-mix(in srgb, var(--color-accent-2) 60%, transparent), transparent), var(--color-accent-2-900);
}
.vault h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 14px; }
.vault p { color: color-mix(in srgb, #fff 75%, transparent); }
.vault .btn { border-color: rgba(255,255,255,.5); color: #fff; margin-top: 10px; }
.vault .btn:hover { background: rgba(255,255,255,.1); }

/* — pricing — */
.price-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; margin-top: 50px; align-items: stretch; }
.plan { background: #fff; border-radius: 30px; padding: 34px; box-shadow: 0 20px 40px -32px rgba(46,43,37,.5); display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; margin-bottom: 6px; }
.plan .price { font-family: var(--font-heading); font-size: 46px; line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--color-neutral-700); }
.plan .sub { color: var(--color-neutral-700); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li svg { flex: none; margin-top: 3px; color: var(--color-accent-2-600); }
.plan.pro {
  color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--color-accent) 50%, transparent), transparent 70%), var(--basalt);
  box-shadow: 0 40px 70px -36px rgba(32,30,29,.8);
}
.plan.pro h3 { color: #fff; }
.plan.pro .sub, .plan.pro .price small { color: color-mix(in srgb, #fff 70%, transparent); }
.plan.pro li svg { color: var(--color-accent-400); }
.plan .ribbon-tag { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--color-accent); color: #fff; padding: 6px 12px; border-radius: 999px; }
.plan .alt { font-size: 14px; color: color-mix(in srgb, #fff 75%, transparent); margin-top: -12px; margin-bottom: 22px; }
.plan .btn-play, .plan .btn { align-self: flex-start; }
.fine { margin-top: 26px; font-size: 13.5px; color: var(--color-neutral-700); text-wrap: pretty; }

/* — founder — */
.founder {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  background: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 20px 40px -32px rgba(46,43,37,.5);
}
.founder .avatar { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--color-accent-2-300); font-family: var(--font-heading); font-size: 28px; color: var(--color-accent-2-900); rotate: -6deg; }
.founder blockquote { margin: 0; font-family: var(--font-heading); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.3; text-wrap: pretty; }
.founder p { color: var(--color-neutral-700); margin: 16px 0 0; }

/* — faq — */
.faq-list { margin-top: 40px; }
.faq-list details { border-bottom: 1px solid var(--color-divider); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--color-accent-100); color: var(--color-accent-700); transition: transform .3s var(--ease-out), background .3s ease; }
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.faq-list details p { margin: 0 0 22px; color: var(--color-neutral-700); max-width: 680px; text-wrap: pretty; }

/* — final CTA — */
.finale {
  position: relative; overflow: hidden; border-radius: 40px; color: #fff;
  padding: clamp(40px, 6vw, 80px);
  background: radial-gradient(700px 400px at 0% 100%, rgba(0,0,0,.25), transparent), linear-gradient(135deg, var(--color-accent-600), var(--color-accent) 50%, var(--color-accent-500));
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  box-shadow: 0 50px 80px -46px rgba(140, 73, 26, .9);
}
.finale h2 { color: #fff; font-size: clamp(34px, 5vw, 62px); line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; }
.finale p { color: color-mix(in srgb, #fff 85%, transparent); font-size: 17px; max-width: 460px; }
.finale .row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 26px; }
.finale .row a.plain { color: #fff; font-weight: 700; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; rotate: 8deg; }
.mosaic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.mosaic img:nth-child(3n+2) { translate: 0 22px; }

.home .site-footer { max-width: 1200px; }

/* — responsive — */
@media (max-width: 980px) {
  .hero-grid, .demo-grid, .privacy-split, .finale { grid-template-columns: 1fr; }
  .hero-stage { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .steps::before { display: none; }
  .outcomes { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.feature-photo { grid-column: 1 / -1; }
  .price-wrap { grid-template-columns: 1fr; }
  .vault { position: relative; top: 0; }
  .mosaic { rotate: 0deg; max-width: 420px; }
}
@media (max-width: 860px) {
  .home .site-nav { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .home .site-nav .nav-links { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .home .site-nav .nav-links::-webkit-scrollbar { display: none; }
  .home .site-nav .nav-links a { white-space: nowrap; }
}
@media (max-width: 620px) {
  .home .site-nav .nav-links { display: none; }
  .home .site-nav { padding: 12px 16px; }
  .home .site-nav .nav-cta { font-size: 12.5px; padding: 9px 14px; }
}
@media (max-width: 620px) {
  .hero-stage { height: 470px; }
  .orb-1 { --s: 96px; } .orb-3 { --s: 88px; } .orb-2 { --s: 74px; } .orb-4 { --s: 64px; }
  .chip-result { left: 0; top: 70%; } .chip-test { right: 0; top: 14%; }
  .chip .mini-bar i { width: 80px; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile.feature-photo { grid-template-columns: 1fr; }
  .fan figure { margin: 0 -40px; }
  .fan figure:nth-child(1), .fan figure:nth-child(3) { display: none; }
  .fan .phone-frame { width: 230px; }
  .founder { grid-template-columns: 1fr; }
  .mohs-value { font-size: 48px; }
  .mohs-track { margin: 92px 6px 34px; }
  .mohs-ticks span em { display: none; }
  .mohs-tool { font-size: 10px; white-space: normal; width: 62px; line-height: 1.15; }
  .mohs-tool.low { bottom: 66px; }
  .mohs-tool.low::after { height: 26px; }
  .mohs-readout { grid-template-columns: 1fr; gap: 10px; }
  .specimen { width: 160px; }
}

/* — motion off: everything still, ribbon becomes a scroller — */
@media (prefers-reduced-motion: reduce) {
  .orb, .chip, .hero-title .accent-word { animation: none; }
  .ribbon { animation: none; }
  .ribbon.reverse { display: none; }
  .ribbon-viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .ribbon [aria-hidden="true"] { display: none; }
  .cand-bar i { transition: none; }
}
