/* ==========================================================================
   TheWoodshopGuide - styles.css
   Mobile-first. Light theme with walnut "premium" bands, plus a full
   dark-mode token set (prefers-color-scheme).

   Shape system (used everywhere):
     --r-sm 10px  -> buttons, chips, inputs, small badges
     --r    16px  -> cards, media, panels
     circles      -> avatars, play button, seal, round icon buttons only
   Z-index scale:
     1 content layers | 40 header | 50 buy bar / back-to-top | 60 tape | 100 dialogs (top layer)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette (from the brief) */
  --walnut: #3B2416;
  --sawdust: #F5EBDD;
  --oak: #C8894B;
  --forest: #2F5D3A;
  --amber: #F2A23A;
  --amber-hover: #E08A1E;

  /* Semantic tokens: light */
  --bg: #F5EBDD;
  --bg-2: #EEDFC9;
  --surface: #FCF7F0;
  --ink: #2B1B10;
  --ink-2: #5B4535;
  --ink-3: #75604F;
  --line: rgba(59, 36, 22, .13);
  --line-2: rgba(59, 36, 22, .26);
  --accent-ink: #8A5523;          /* oak, darkened for text contrast */
  --trust: #2F5D3A;               /* forest */
  --trust-tint: rgba(47, 93, 58, .09);
  --grid: rgba(59, 36, 22, .055);
  --grid-strong: rgba(59, 36, 22, .09);
  --chip-bg: #F3E2CB;
  --focus: #2B1B10;

  /* Deep (walnut) sections */
  --deep-bg: #3B2416;
  --deep-bg-2: #4A2F1D;
  --deep-ink: #F7EEE2;
  --deep-ink-2: #DCC9B2;
  --deep-line: rgba(247, 238, 226, .16);
  --footer-bg: #2A190E;

  --shadow: 0 1px 2px rgba(59, 36, 22, .06), 0 10px 28px -12px rgba(59, 36, 22, .28);
  --shadow-lg: 0 2px 4px rgba(59, 36, 22, .08), 0 24px 60px -24px rgba(59, 36, 22, .45);

  --r-sm: 10px;
  --r: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Roboto Slab", Rockwell, "Rockwell Nova", "Roboto Slab Fallback", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C130D;
    --bg-2: #22170F;
    --surface: #2A1D14;
    --ink: #F3E8D8;
    --ink-2: #CDB9A1;
    --ink-3: #A99079;
    --line: rgba(245, 235, 221, .11);
    --line-2: rgba(245, 235, 221, .22);
    --accent-ink: #E4AA6C;
    --trust: #86C495;
    --trust-tint: rgba(134, 196, 149, .1);
    --grid: rgba(245, 235, 221, .035);
    --grid-strong: rgba(245, 235, 221, .06);
    --chip-bg: #3A2819;
    --focus: #F5EBDD;

    --deep-bg: #120B07;
    --deep-bg-2: #1E140D;
    --footer-bg: #0D0805;

    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 30px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 28px 60px -24px rgba(0, 0, 0, .8);
  }
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.num { font-variant-numeric: tabular-nums lining-nums; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--amber); color: #2B1B10; padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 48px); } }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 40px; height: 40px; stroke-width: 1.5; }

/* ---------- 3. Typography helpers ---------- */
h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.9rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.eyebrow { font: 700 .8rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 1rem; }
.fine-print { margin-top: 1.25rem; font-size: .85rem; color: var(--ink-3); }
.fine-print--light { color: var(--deep-ink-2); }
.media-note { margin-top: .7rem; font-size: .85rem; color: var(--ink-3); }
.label-note { margin-top: .6rem; font-size: .92rem; color: var(--ink-2); }
.center-title { text-align: center; margin-bottom: 2.5rem; }

/* Hand-drawn underline (SVG is injected by main.js into every .mark) */
.mark { position: relative; white-space: nowrap; }
.mark .scribble { position: absolute; left: -3%; width: 106%; bottom: -.2em; height: .34em; overflow: visible; pointer-events: none; }
.mark .scribble path { fill: none; stroke: var(--oak); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .mark .scribble path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) .25s; }
.motion .mark.drawn .scribble path { stroke-dashoffset: 0; }
.sec--walnut .mark .scribble path { stroke: var(--amber); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 18px -8px rgba(224, 138, 30, .7);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.45em; border: 0; border-radius: var(--r-sm);
  font: 650 1rem/1 var(--font-body); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, filter .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2; }
.btn--primary { background: var(--amber); color: #2B1B10; box-shadow: var(--btn-shadow); }
.btn--primary:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn:active { transform: scale(.97); filter: brightness(.96); transition: transform 100ms ease-out, filter 100ms ease-out; }
.btn--lg { font-size: 1.0625rem; padding: 1.1em 1.85em; }
.btn--sm { font-size: .9rem; padding: .72em 1.05em; }
.btn--block { width: 100%; }
/* Pulses three times to draw the eye, then rests (no endless looping motion) */
.motion .btn--pulse { animation: pulse 2.8s var(--ease) 1.4s 3; }
@keyframes pulse {
  0% { box-shadow: var(--btn-shadow), 0 0 0 0 rgba(242, 162, 58, .55); }
  70%, 100% { box-shadow: var(--btn-shadow), 0 0 0 16px rgba(242, 162, 58, 0); }
}
.btn--pulse:hover { animation-play-state: paused; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink);
  transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.92); transition-duration: 100ms; }
.icon-btn[aria-pressed="true"] { background: var(--walnut); color: var(--sawdust); border-color: var(--walnut); }
.link-btn { background: none; border: 0; padding: .5rem; color: var(--ink-2); text-decoration: underline; font-size: .92rem; }

/* ---------- 5. Tape-measure reading progress ---------- */
.tape { position: fixed; inset: 0 0 auto 0; height: 14px; z-index: 60; pointer-events: none; overflow: hidden; }
.tape__blade {
  position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(#F7C548, #EDB431); box-shadow: 0 1px 3px rgba(43, 27, 16, .35);
  will-change: transform; overflow: hidden;
}
.tape__blade::after { /* the metal hook at the end of the tape */
  content: ""; position: absolute; right: 0; top: 0; width: 5px; height: 100%;
  background: linear-gradient(90deg, #9A9A9A, #E3E3E3 45%, #8B8B8B);
}
.tape__ticks {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #2B1B10 1.5px, transparent 1.5px) 0 0 / 64px 9px repeat-x,
    linear-gradient(90deg, #2B1B10 1px, transparent 1px) 32px 0 / 64px 7px repeat-x,
    linear-gradient(90deg, #2B1B10 1px, transparent 1px) 16px 0 / 32px 5px repeat-x,
    linear-gradient(90deg, rgba(43, 27, 16, .7) 1px, transparent 1px) 8px 0 / 16px 3px repeat-x;
}
.tape__ticks span { position: absolute; bottom: 0; font: 700 8px/1 var(--font-body); color: #2B1B10; transform: translateX(3px); }
.tape__ticks span.is-foot { color: #B3261E; }
@supports (animation-timeline: scroll()) {
  .tape__blade { animation: tape-out linear both; animation-timeline: scroll(root block); }
  @keyframes tape-out { from { transform: translateX(-100%); } to { transform: translateX(0); } }
}

/* ---------- 6. Disclosure bar + header ---------- */
.disclosure-bar { background: var(--deep-bg); color: var(--deep-ink-2); font-size: .8125rem; line-height: 1.45; padding: .55rem 0; text-align: center; }
.disclosure-bar a { color: var(--deep-ink); font-weight: 600; }
.disclosure-bar p { padding-top: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(43, 27, 16, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.12rem/1 var(--font-display); letter-spacing: -.01em; }
.brand__name span { color: var(--accent-ink); }
.brand--light { color: var(--deep-ink); }
.brand--light .brand__name span { color: var(--oak); }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__actions .btn { display: none; }
@media (min-width: 560px) { .site-header__actions .btn { display: inline-flex; } }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); }
.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
.site-nav.is-open { display: block; }
.site-nav ul { width: min(1200px, 100% - 32px); margin-inline: auto; padding: .5rem 0 1rem; }
.site-nav a { display: block; padding: .8rem .25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav li:last-child a { border-bottom: 0; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: .25rem; width: auto; padding: 0; }
  .site-nav a { border: 0; padding: .5rem .8rem; border-radius: var(--r-sm); font-size: .95rem; color: var(--ink-2); transition: color .2s, background-color .2s; }
  .site-nav a:hover, .site-nav a.is-active { color: var(--ink); background: var(--bg-2); }
}

/* ---------- 7. Sections ---------- */
.sec { padding-block: clamp(4rem, 2.5rem + 6vw, 7rem); position: relative; }
.sec--alt { background: var(--bg-2); }
.sec--blueprint {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.sec--walnut { background: var(--deep-bg); color: var(--deep-ink); isolation: isolate; --focus: #F5EBDD; }
.sec--walnut::before { /* subtle walnut grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.09' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.85 0 0 0 0 0.62 0 0 0 0 0.42 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 640px 640px; mix-blend-mode: soft-light;
}
.sec--walnut p { color: var(--deep-ink-2); }
.sec--walnut .icon-btn { background: transparent; color: var(--deep-ink); border-color: var(--deep-line); }

.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sec-head > p { margin-top: 1rem; color: var(--ink-2); font-size: 1.1rem; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }

/* Scroll reveal */
.motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---------- 8. Hero ---------- */
.hero { padding: clamp(1.75rem, 1rem + 3vw, 4rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); position: relative; }
.hero__grid { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; } }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.7rem); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; }
.hero__title-visual { display: block; }
.hero__br { display: none; }
@media (min-width: 480px) { .hero__br { display: inline; } }
.rotator, .motion .hero__title-visual .rotator.w { display: inline-grid; vertical-align: bottom; color: var(--accent-ink); }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(.45em); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-.45em); }
.motion .hero__title-visual .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: word-in .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 85ms + 120ms); }
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero__sub { margin-top: 1.25rem; font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); max-width: 36ch; }
.hero__cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero__price { display: flex; flex-direction: column; line-height: 1.1; }
.hero__price strong { font: 800 2rem/1 var(--font-display); }
.hero__price span { font-size: .9rem; color: var(--ink-2); margin-top: .2rem; }
.hero__assure { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--ink-2); }
.hero__assure li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__assure .icon { color: var(--trust); width: 1.1em; height: 1.1em; stroke-width: 2; }
.hero__media { position: relative; }
.hero__media::before { /* offset blueprint panel behind the video */
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--r); z-index: -1;
  border: 1.5px solid var(--oak);
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: 16px 16px;
}
.hero__media { isolation: isolate; }

.featured-strip {
  margin-top: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); padding: 1rem 1.25rem; border-radius: var(--r);
  background: #FCF7F0; border: 1px solid rgba(59, 36, 22, .12);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.featured-strip p { font-size: .85rem; color: #6A5443; }
.featured-strip img { width: min(100%, 720px); }
@media (min-width: 768px) { .featured-strip { flex-direction: row; justify-content: center; gap: 2rem; } .featured-strip p { white-space: nowrap; } }

/* ---------- 9. Video facade ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #140D08; box-shadow: var(--shadow-lg); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__facade { position: absolute; inset: 0; padding: 0; border: 0; background: none; display: block; width: 100%; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.video__facade:hover img { transform: scale(1.03); filter: brightness(.92); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--amber); color: #2B1B10; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease);
}
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(242, 162, 58, .8); opacity: 0; }
.motion .video__play::before { animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.video__facade:hover .video__play { transform: scale(1.08); }

/* ---------- 10. Problem bento ---------- */
.pain-grid { display: grid; gap: 1rem; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; }
.pain .icon--lg { color: var(--accent-ink); margin-bottom: .35rem; }
.pain p { color: var(--ink-2); font-size: 1rem; }
.pain--photo { position: relative; padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.pain--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pain--accent { background: var(--deep-bg); border-color: transparent; color: var(--deep-ink); }
.pain--accent p { color: var(--deep-ink-2); }
.pain .pain__big { font: 800 3rem/1 var(--font-display); color: var(--amber); margin-bottom: .25rem; }
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pain--photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .pain--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto auto; }
  .pain--photo { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; min-height: 420px; }
  .pain-grid > :nth-child(2) { grid-column: 3; grid-row: 1; }
  .pain-grid > :nth-child(3) { grid-column: 4; grid-row: 1; }
  .pain-grid > :nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
  .pain-grid > :nth-child(5) { grid-column: 1; grid-row: 3; }
  .pain-grid > :nth-child(6) { grid-column: 2 / 4; grid-row: 3; }
  .pain-grid > :nth-child(7) { grid-column: 4; grid-row: 3; }
}

/* ---------- 11. Real problem + compare slider ---------- */
.real { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 1024px) { .real { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.sec-head--left { margin-bottom: 2rem; }
.defects { display: grid; gap: 1.4rem; }
.defects li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.defects .icon--lg { width: 52px; height: 52px; padding: 11px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); color: var(--accent-ink); }
.defects h3 { margin-bottom: .3rem; }
.defects p { color: var(--ink-2); }

.compare { --pos: 50%; position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; background: #2B1B10; }
.compare__img { width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; transform: translateX(-50%);
  background: #FCF7F0; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35);
}
.compare__handle::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  border-radius: 50%; background: #FCF7F0; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.compare__handle .icon { max-width: none; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: #2B1B10; stroke-width: 2.4; z-index: 1; }
.compare__handle .icon:first-child { left: -19px; }
.compare__handle .icon:last-child { left: 4px; }
.compare__tag { position: absolute; top: 14px; padding: .4rem .7rem; border-radius: var(--r-sm); font-size: .8rem; font-weight: 700; background: rgba(28, 19, 13, .78); color: #F7EEE2; pointer-events: none; }
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; background: rgba(47, 93, 58, .92); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.verdict {
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); max-width: 34ch; padding-left: 1.25rem; border-left: 4px solid var(--oak);
  font: 600 clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem)/1.3 var(--font-display);
}
.verdict strong { color: var(--accent-ink); font-weight: 800; }

/* ---------- 12. Timeline ---------- */
.timeline__nav { display: flex; gap: .5rem; overflow-x: auto; padding: 2px 2px 1rem; scrollbar-width: none; position: relative; }
.timeline__nav::-webkit-scrollbar { display: none; }
.timeline__nav button {
  flex: 0 0 auto; padding: .55rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color .25s, color .25s, border-color .25s;
}
.timeline__nav button[aria-selected="true"] { background: var(--walnut); color: var(--sawdust); border-color: var(--walnut); }
@media (prefers-color-scheme: dark) { .timeline__nav button[aria-selected="true"] { background: var(--oak); color: #1C130D; border-color: var(--oak); } }
.timeline__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 330px); gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: .5rem 2px 1.25rem;
  scrollbar-width: thin; scrollbar-color: var(--oak) transparent; overscroll-behavior-x: contain;
}
.tl-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.tl-card.is-current { box-shadow: var(--shadow); transform: translateY(-4px); }
.tl-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.tl-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tl-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.tl-card__year { font: 700 .95rem/1.2 var(--font-display); color: var(--accent-ink); }
.tl-card__body > p:last-child { color: var(--ink-2); font-size: .98rem; }
.tl-card--text { background-color: var(--surface); background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px); background-size: 24px 24px; justify-content: center; }
.tl-card--text .tl-card__body { padding: 1.75rem 1.5rem; }
.tl-card--text .icon--xl { color: var(--accent-ink); margin-bottom: .75rem; }
.tl-card__big { font: 800 3.4rem/1 var(--font-display); color: var(--accent-ink); margin-bottom: .5rem; }
.timeline__controls { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.timeline__progress { flex: 1; height: 2px; background: var(--line); position: relative; }
.timeline__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--oak); transition: width .3s var(--ease); }

/* ---------- 13. Product (walnut) ---------- */
.product { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .product { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }
.product__media img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.product__copy h2 { margin-bottom: 1.1rem; }
.praise { margin-top: 1.75rem; padding: 1.1rem 0 1.1rem 1.25rem; border-left: 3px solid var(--oak); }
.praise p { font: 600 1.15rem/1.45 var(--font-display); color: var(--deep-ink) !important; }
.praise footer { margin-top: .5rem; font-size: .85rem; color: var(--deep-ink-2); }
.featured-chip { margin-top: 1.5rem; display: inline-block; padding: .7rem 1rem; border-radius: var(--r-sm); background: #FCF7F0; }
.featured-chip img { width: min(340px, 72vw); }

/* ---------- 14. Feature tabs ---------- */
.tabs__list { display: flex; gap: .5rem; overflow-x: auto; padding: 3px 3px .5rem; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.05rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background-color .25s, color .25s, border-color .25s;
}
.tabs__list button:hover { color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--walnut); color: var(--sawdust); border-color: var(--walnut); }
@media (prefers-color-scheme: dark) { .tabs__list button[aria-selected="true"] { background: var(--oak); color: #1C130D; border-color: var(--oak); } }
.tabs__panel { display: grid; gap: 2rem; align-items: center; margin-top: 1.75rem; }
@media (min-width: 1024px) { .tabs__panel { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.motion .tabs__panel { animation: panel-in .55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.tabs__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.tabs__media img { width: 100%; height: 100%; object-fit: cover; }
.tabs__copy h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .8rem; }
.tabs__copy > p { color: var(--ink-2); font-size: 1.08rem; }
.ticks { margin-top: 1.25rem; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--trust); stroke-width: 2.2; margin-top: .2em; }

.search-demo { margin-top: 1.5rem; }
.search-demo__bar { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--surface); border: 1.5px solid var(--line-2); font-size: 1.05rem; min-height: 54px; }
.search-demo__bar .icon { color: var(--ink-3); }
.search-demo__caret { width: 2px; height: 1.2em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-demo__results { margin-top: .6rem; display: grid; gap: .4rem; }
.search-demo__results li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.search-demo__results span { font-size: .8rem; font-weight: 600; color: var(--trust); }
.motion .search-demo__results li { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.motion .search-demo.is-done .search-demo__results li { opacity: 1; transform: none; }
.motion .search-demo.is-done .search-demo__results li:nth-child(2) { transition-delay: .1s; }
.motion .search-demo.is-done .search-demo__results li:nth-child(3) { transition-delay: .2s; }

/* ---------- 15. Monthly flow ---------- */
.flow { display: grid; gap: 2rem; position: relative; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .flow::before { /* connecting line, drawn on reveal */
    content: ""; position: absolute; top: 32px; left: 64px; right: calc(33.33% - 64px + 2.5rem); height: 2px;
    background: repeating-linear-gradient(90deg, var(--oak) 0 10px, transparent 10px 18px);
    transform-origin: left; transform: scaleX(1); transition: transform 1.4s var(--ease) .2s;
  }
  .motion .flow::before { transform: scaleX(0); }
  .motion .flow.is-drawn::before { transform: scaleX(1); }
}
.flow__step { position: relative; }
.flow__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--walnut); color: var(--amber); margin-bottom: 1.1rem; box-shadow: 0 0 0 6px var(--bg); }
.flow__step h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.flow__step p { color: var(--ink-2); max-width: 32ch; }
.request {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: grid; gap: 1.25rem; align-items: center;
  padding: 1.75rem; border-radius: var(--r); border: 2px dashed var(--oak); background: var(--surface);
}
@media (min-width: 900px) { .request { grid-template-columns: auto 1fr auto; gap: 1.75rem; } }
.request__icon { color: var(--accent-ink); }
.request h3 { margin-bottom: .3rem; }
.request p { color: var(--ink-2); }
.request__examples { display: flex; flex-wrap: wrap; gap: .5rem; }
.request__examples li { padding: .55rem .85rem; border-radius: var(--r-sm); background: var(--chip-bg); font-weight: 600; font-size: .92rem; }

/* ---------- 16. Category explorer ---------- */
.explorer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); }
.seg button, .seg label span { display: inline-block; padding: .55rem .85rem; border: 0; border-radius: 7px; background: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color .25s, color .25s; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--walnut); color: var(--sawdust); }
@media (prefers-color-scheme: dark) { .seg button[aria-pressed="true"] { background: var(--oak); color: #1C130D; } }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .92rem; }
.quick span { color: var(--ink-3); margin-right: .25rem; }
.quick button { padding: .45rem .75rem; border-radius: var(--r-sm); border: 1px dashed var(--line-2); background: none; font-weight: 600; color: var(--ink); }
.quick button:hover { border-style: solid; background: var(--surface); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; align-items: start; }
@media (min-width: 1200px) { .cats { grid-template-columns: repeat(5, 1fr); } }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: opacity .35s, transform .35s var(--ease), box-shadow .35s; }
.cat:hover { box-shadow: var(--shadow); }
.cat.is-empty { opacity: .45; }
.cat.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 162, 58, 0); } 25% { box-shadow: 0 0 0 4px rgba(242, 162, 58, .9); } }
.cat__btn { position: relative; display: grid; width: 100%; padding: 0 0 1rem; border: 0; background: none; text-align: left; }
.cat__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.cat__btn:hover img { transform: scale(1.04); }
.cat__name { padding: .9rem 2.75rem 0 1rem; font: 700 1.05rem/1.25 var(--font-display); }
.cat__count { padding: .2rem 1rem 0; font-size: .88rem; font-weight: 600; color: var(--accent-ink); }
.cat__eg { padding: .35rem 2.9rem 0 1rem; font-size: .85rem; color: var(--ink-3); transition: opacity .3s; }
.cat__eg.is-swapping { opacity: 0; }
.cat__plus { position: absolute; right: .9rem; bottom: 1.05rem; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--chip-bg); color: var(--ink); transition: transform .35s var(--ease); }
.cat.open .cat__plus { transform: rotate(45deg); }
.cat__list { display: flex; flex-wrap: wrap; gap: .4rem; max-height: 0; padding: 0 1rem; overflow: hidden; transition: max-height .45s var(--ease), padding .45s var(--ease); }
.cat.open .cat__list { max-height: 16rem; padding: .1rem 1rem 1.1rem; }
.cat__list li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .6rem; border-radius: 8px; background: var(--chip-bg); font-size: .85rem; font-weight: 500; }
.cat__list li::after { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cat__list li[data-l="b"]::after { content: "Beginner"; color: var(--trust); }
.cat__list li[data-l="i"]::after { content: "Intermediate"; color: var(--accent-ink); }
.cat__list li[data-l="a"]::after { content: "Advanced"; color: #9E3624; }
@media (prefers-color-scheme: dark) { .cat__list li[data-l="a"]::after { color: #F08A75; } }
.cat__list li.off { display: none; }

/* Marquee */
.marquee { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; padding-inline: 16px; }
.marquee__track img { height: clamp(150px, 18vw, 210px); width: auto; border-radius: var(--r-sm); object-fit: cover; }
.no-js .marquee, .marquee.is-static { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
.motion .marquee.is-running .marquee__track { animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 17. Numbers (walnut) ---------- */
.numbers__title { margin-bottom: 2.5rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat + .stat { border-left: 1px solid var(--deep-line); padding-left: 1.5rem; } }
.stat { display: flex; flex-direction: column-reverse; gap: .3rem; }
.stat dd { font: 800 clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem)/1 var(--font-display); color: var(--deep-ink); letter-spacing: -.02em; }
.stat dt { color: var(--deep-ink-2); font-size: .95rem; }
.any { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); display: grid; gap: 1.75rem; padding-top: 2.5rem; border-top: 1px solid var(--deep-line); }
@media (min-width: 900px) { .any { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.any article { display: grid; gap: .5rem; }
.any .icon--lg { color: var(--amber); margin-bottom: .3rem; }

/* ---------- 18. Testimonials carousel ---------- */
.carousel__controls { display: flex; gap: .5rem; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 370px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 1rem; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.tcard { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 220px; padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tcard__text { font: 600 1.18rem/1.4 var(--font-display); }
.tcard__who { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--ink-2); }
.tcard__who strong { display: block; color: var(--ink); font-size: .98rem; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--chip-bg); color: var(--accent-ink); font-weight: 700; font-size: .9rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.carousel__progress { height: 2px; background: var(--line); position: relative; margin-top: .25rem; }
.carousel__progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--oak); transition: transform .3s var(--ease); }

/* ---------- 19. Masonry (Facebook) ---------- */
.masonry { columns: 1; column-gap: 1rem; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }
.masonry li { break-inside: avoid; margin-bottom: 1rem; }
@media (max-width: 639px) { .masonry.is-collapsed li:nth-child(n+4) { display: none; } }
.masonry-more { display: none; margin-top: .5rem; width: 100%; }
@media (max-width: 639px) { .masonry-more { display: inline-flex; } }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { background: var(--surface); }
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.zoom img { width: 100%; transition: transform .6s var(--ease); }
.zoom:hover img { transform: scale(1.03); }
.zoom__icon { position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(28, 19, 13, .7); color: #fff; opacity: 0; transition: opacity .3s; }
.zoom:hover .zoom__icon, .zoom:focus-visible .zoom__icon { opacity: 1; }

/* ---------- 20. Videos ---------- */
.videos { display: grid; gap: 2rem; }
@media (min-width: 900px) { .videos { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.videos figcaption { margin-top: .9rem; font: 700 1.15rem/1.3 var(--font-display); }

/* ---------- 21. Customer builds (bento) ---------- */
.built { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.built li { aspect-ratio: 1; }
.built .built__a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.built .zoom { height: 100%; box-shadow: none; }
.built img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .built { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 1rem; }
  .built li, .built .built__a { aspect-ratio: auto; }
  .built__a { grid-column: 1 / 3 !important; grid-row: 1 / 3; }
  .built__b { grid-column: 3; grid-row: 1; }
  .built__c { grid-column: 4; grid-row: 1 / 3; }
  .built__d { grid-column: 3; grid-row: 2; }
  .built__e { grid-column: 1; grid-row: 3; }
  .built__f { grid-column: 2; grid-row: 3; }
  .built__g { grid-column: 3 / 5; grid-row: 3 / 5; }
  .built__h { grid-column: 1 / 3; grid-row: 4; }
}
.mid-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.mid-cta p { font: 700 1.25rem/1.3 var(--font-display); }

/* ---------- 22. Story ---------- */
.story { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; } }
.story__media { padding: .8rem .8rem 2.6rem; background: var(--surface); border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotate(-1.6deg); max-width: 540px; }
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.story__copy h2 { margin-bottom: 1.25rem; }
.story__copy > p:not(.story__moral):not(.fine-print) { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 1rem; max-width: 58ch; }
.story__moral { font: 700 clamp(1.25rem, 1.05rem + .8vw, 1.6rem)/1.3 var(--font-display); color: var(--accent-ink); margin-top: 1.5rem; }

/* ---------- 23. Start building (walnut checklist) ---------- */
.start { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .start { grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: start; } .start h2 { grid-row: 1 / 3; } .start .btn { justify-self: start; } }
.start h2 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem); line-height: 1.05; }
.checklist { display: grid; gap: 1.05rem; }
.checklist li { display: flex; gap: .9rem; align-items: center; font-size: 1.12rem; color: var(--deep-ink); }
.checklist__box { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--oak); }
.checklist__box svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.checklist__box path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .checklist__box path { stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease); }
.motion .checklist li.checked .checklist__box path { stroke-dashoffset: 0; }
.motion .checklist__box { transition: background-color .4s, border-color .4s; }
.checklist li.checked .checklist__box { background: rgba(242, 162, 58, .14); }

/* ---------- 24. Bonuses ---------- */
.bonuses { display: grid; gap: 1.75rem; padding-top: .75rem; }
@media (min-width: 768px) { .bonuses { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } }
.bonus { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: .4rem 1.2rem; padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.bonus > :not(.bonus__icon):not(.bonus__badge) { grid-column: 2; }
.bonus__icon { grid-row: 1 / 4; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--walnut); color: var(--amber); }
.bonus__badge { position: absolute; top: -11px; right: 1.25rem; padding: .3rem .65rem; border-radius: 8px; background: var(--forest); color: #F7EEE2; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bonus h3 { font-size: 1.2rem; }
.bonus__n { display: block; margin-bottom: .2rem; font: 700 .8rem/1.2 var(--font-body); color: var(--accent-ink); letter-spacing: .02em; }
.bonus p { color: var(--ink-2); font-size: .98rem; }
.bonus__value { margin-top: .4rem; display: flex; align-items: baseline; gap: .6rem; }
.bonus__value s { color: var(--ink-3); font-weight: 600; }
.bonus__value span { color: var(--trust); font-weight: 800; }
.updates { margin-top: 1.5rem; display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--trust-tint); border-left: 4px solid var(--trust); }
.updates .icon--lg { color: var(--trust); }

/* ---------- 25. Calculator + plans ---------- */
.calc { display: grid; gap: 1.75rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; } }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; margin-bottom: .9rem; }
.calc__label output { font: 800 1.9rem/1 var(--font-display); color: var(--accent-ink); }
.calc input[type="range"] {
  --fill: 19%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--oak) var(--fill), var(--line-2) var(--fill)); }
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--line-2); }
.calc input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--oak); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--amber); border: 3px solid var(--walnut); box-shadow: 0 3px 10px rgba(43, 27, 16, .3); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 3px solid var(--walnut); }
.calc__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-3); margin-top: .3rem; }
.calc__price { border: 0; padding: 0; margin: 1.6rem 0 0; }
.calc__price legend { font-weight: 600; margin-bottom: .7rem; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg input:checked + span { background: var(--walnut); color: var(--sawdust); }
@media (prefers-color-scheme: dark) { .seg input:checked + span { background: var(--oak); color: #1C130D; } }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc__result { padding: 1.5rem; border-radius: var(--r-sm); background: var(--bg-2); }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; color: var(--ink-2); }
.calc__row strong { color: var(--ink); font-size: 1.1rem; }
.calc__save { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .6rem; padding-top: .9rem; border-top: 1px solid var(--line-2); font-weight: 600; }
.calc__save strong { font: 800 clamp(2rem, 1.6rem + 1.5vw, 2.6rem)/1 var(--font-display); color: var(--trust); }
.calc__save.is-negative strong { color: var(--accent-ink); }
.calc__note { margin-top: .9rem; font-size: .88rem; color: var(--ink-2); }

.plans { margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; max-width: 900px; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { .plans { grid-template-columns: .9fr 1.1fr; } }
.plan { position: relative; padding: 2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 1.2rem; }
.plan__price { margin: .6rem 0 .4rem; font: 800 3rem/1 var(--font-display); letter-spacing: -.02em; }
.plan__price span { margin-left: .4rem; font: 500 .95rem var(--font-body); color: var(--ink-2); letter-spacing: 0; }
.plan > p:not(.plan__price) { color: var(--ink-2); font-size: .95rem; }
.plan__list { margin: 1.25rem 0 1.5rem; display: grid; gap: .55rem; }
.plan__list li { display: flex; gap: .55rem; align-items: center; }
.plan__list .icon { color: var(--trust); stroke-width: 2.2; }
.plan--muted { background: transparent; }
.plan--muted h3, .plan--muted .plan__price { color: var(--ink-3); }
.plan--muted .plan__list { margin-bottom: 0; color: var(--ink-3); }
.plan--muted .plan__list .icon { color: var(--ink-3); }
.plan--best { border: 2px solid var(--amber); box-shadow: var(--shadow-lg); padding: 2.4rem 2rem 2rem; }
.plan__flag { position: absolute; top: -13px; left: 2rem; padding: .35rem .75rem; border-radius: 8px; background: var(--forest); color: #F7EEE2; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 26. Value stack (walnut) ---------- */
.stack { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .stack { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } .stack__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.stack__media { margin-top: 2rem; }
.stack__media img { width: 100%; filter: drop-shadow(0 26px 36px rgba(0, 0, 0, .45)); }
.stack__card { padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--r); background: var(--deep-bg-2); border: 1px solid var(--deep-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.stack__list { display: grid; gap: .15rem; }
.stack__list li { display: flex; align-items: baseline; gap: .6rem; padding: .5rem 0; color: var(--deep-ink); }
.stack__list li span { order: 1; }
.stack__list li::after { content: ""; order: 2; flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--deep-line); transform: translateY(-.3em); }
.stack__list li b { order: 3; white-space: nowrap; font-weight: 650; color: var(--deep-ink); }
.stack__list li b:not(.num) { color: #DDA672; font-weight: 600; font-size: .92rem; }
.motion .stack__list li { opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.motion .stack__list li.is-on { opacity: 1; transform: none; }
.stack__total { margin: 1.5rem 0 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--deep-line); display: grid; gap: .5rem; }
.stack__was { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; color: var(--deep-ink-2) !important; }
.stack__strike { position: relative; font-weight: 700; color: var(--deep-ink); }
.stack__strike::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 2px; background: var(--amber); transform-origin: left; transform: scaleX(1); }
.motion .stack__strike::after { transform: scaleX(0); transition: transform .6s var(--ease); }
.motion .stack__card.is-struck .stack__strike::after { transform: scaleX(1); }
.stack__now { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--deep-ink) !important; font-weight: 600; }
.stack__now strong { font: 800 clamp(2.6rem, 2rem + 2vw, 3.4rem)/1 var(--font-display); color: var(--amber); margin-left: auto; }
.stack__now span { color: var(--deep-ink-2); font-size: .95rem; }
.motion .stack__now { opacity: 0; transform: scale(.94); transform-origin: right center; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion .stack__card.is-revealed .stack__now { opacity: 1; transform: none; }
.pay { margin-top: 1.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.pay li { padding: .35rem .65rem; border-radius: 7px; border: 1px solid var(--deep-line); font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--deep-ink-2); background: rgba(255, 255, 255, .04); }
.stack__secure { margin-top: .8rem; display: flex; justify-content: center; align-items: center; gap: .4rem; font-size: .88rem; }

/* ---------- 27. Guarantee seal ---------- */
.guarantee { display: grid; gap: 2.5rem; justify-items: center; text-align: center; max-width: 960px; }
@media (min-width: 768px) { .guarantee { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 3.5rem; align-items: center; } }
.seal { position: relative; width: 230px; height: 230px; }
.seal__ring { width: 100%; height: 100%; }
.seal__ring text { font: 800 13px/1 var(--font-body); letter-spacing: .12em; fill: var(--trust); }
.motion .seal__ring { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal__core { position: absolute; inset: 34px; border-radius: 50%; background: var(--forest); color: #F7EEE2; display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 6px rgba(247, 238, 226, .15), 0 18px 40px -16px rgba(47, 93, 58, .7); }
.seal__core span { font: 800 4.2rem/.9 var(--font-display); }
.seal__core small { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.guarantee__copy h2 { margin-bottom: 1rem; }
.guarantee__copy p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: .75rem; max-width: 52ch; }

/* ---------- 28. Instant access ---------- */
.access { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .access { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.access__copy h2 { margin-bottom: 1rem; }
.access__copy > p { color: var(--ink-2); font-size: 1.08rem; }
.access__list { margin-top: 1.75rem; display: grid; gap: 1.1rem; }
.access__list li { display: flex; gap: .9rem; align-items: flex-start; }
.access__list .icon--lg { color: var(--accent-ink); }
.access__list strong { display: block; }
.access__list span { color: var(--ink-2); }
.browser { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-lg); }
.browser__bar { display: flex; gap: 6px; align-items: center; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 29. Reminders ---------- */
.reminders { max-width: 760px; margin-inline: auto; display: grid; gap: 1.75rem; }
.reminders li { display: grid; grid-template-columns: 72px 1fr; gap: .25rem 1.25rem; align-items: center; }
.reminders .icon--xl { grid-row: 1 / 3; width: 72px; height: 72px; padding: 16px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); color: var(--accent-ink); }
.reminders p { color: var(--ink-2); }

/* ---------- 30. FAQ ---------- */
.faq { max-width: 860px; }
.faq__search { margin-bottom: 1.5rem; }
.faq__search label { display: block; font-weight: 600; margin-bottom: .5rem; }
.faq__input { position: relative; }
.faq__input .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.faq__input input { width: 100%; padding: .95rem 1rem .95rem 2.9rem; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); font-size: 1rem; }
.faq__input input::placeholder { color: var(--ink-3); opacity: 1; }
.faq__input input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: transparent; }
.faq__count { margin-top: .5rem; font-size: .85rem; color: var(--ink-2); }
.faq__list details { border-bottom: 1px solid var(--line-2); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .icon { transition: transform .3s var(--ease); color: var(--accent-ink); }
.faq__list details[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 66ch; }
.motion .faq__list details[open] .faq__a { animation: panel-in .4s var(--ease); }
.faq__list mark { background: rgba(242, 162, 58, .35); color: inherit; border-radius: 3px; padding: 0 .1em; }
.faq__empty { padding: 1.5rem 0; color: var(--ink-2); }

/* ---------- 31. Closing ---------- */
.closing__inner { max-width: 820px; text-align: center; }
.closing h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); margin-bottom: 1.25rem; }
.closing .lead { color: var(--deep-ink-2); }
.closing__chips { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.closing__chips li { padding: .5rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--deep-line); font-weight: 600; font-size: .92rem; color: var(--deep-ink); }
.closing__cta { margin-top: 2.25rem; display: grid; justify-items: center; gap: .85rem; }
.closing__cta p { font-size: .95rem; }
.closing__cta strong { color: var(--deep-ink); }

/* ---------- 32. Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--deep-ink-2); padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom)); font-size: .85rem; line-height: 1.6; --focus: #F5EBDD; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--deep-line); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__links a { color: var(--deep-ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .3rem 0; display: inline-block; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__legal { padding-top: 1.75rem; display: grid; gap: .8rem; max-width: 900px; }
.site-footer__legal a { color: var(--deep-ink); }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); } }

/* ---------- 33. Mobile buy bar + back to top ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .65rem 16px calc(.65rem + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line-2); box-shadow: 0 -10px 30px -16px rgba(43, 27, 16, .45);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar p { display: flex; flex-direction: column; line-height: 1.25; font-size: .82rem; color: var(--ink-2); }
.buybar p strong { color: var(--ink); font-size: .9rem; }
.buybar p .num { font: 800 1rem/1.2 var(--font-display); color: var(--ink); }
.buybar .btn { flex: 0 0 auto; }
@media (min-width: 768px) { .buybar { display: none; } }
@media (max-width: 359px) { .buybar .btn .icon { display: none; } }

.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--walnut); color: var(--sawdust); box-shadow: 0 0 0 2px rgba(245, 235, 221, .55), var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), bottom .45s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-color-scheme: dark) { .to-top { background: var(--oak); color: #1C130D; } }
@media (max-width: 767px) { .to-top.lifted { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- 34. Dialogs: exit modal + lightbox ---------- */
.modal { width: min(500px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal::backdrop { background: rgba(20, 12, 7, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal__close-form { position: absolute; top: 10px; right: 10px; z-index: 1; }
.modal__media { background: var(--bg-2); padding: 1.25rem 1.5rem .5rem; }
.modal__media img { width: 100%; max-height: 210px; object-fit: contain; }
.modal__body { padding: 1.25rem 1.5rem 1.25rem; text-align: center; }
.modal__body h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.modal__body p { color: var(--ink-2); margin-bottom: 1.25rem; }
.modal__body form { margin-top: .5rem; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 9, 5, .95); color: #F7EEE2; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: .75rem; padding: 64px 16px; }
.lightbox__figure img { max-width: min(92vw, 1100px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: var(--r-sm); object-fit: contain; }
.lightbox__figure figcaption { font-size: .92rem; color: #DCC9B2; text-align: center; }
.lightbox .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; }

/* ---------- 35. Legal / inner pages ---------- */
.page { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 5rem; }
.page__inner { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); margin-bottom: .6rem; }
.page .updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 2.5rem; }
.page h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: .9rem; }
.page ul { list-style: disc; padding-left: 1.25rem; margin: .75rem 0; display: grid; gap: .4rem; }
.page a { color: var(--accent-ink); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 2rem; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.form { display: grid; gap: 1.25rem; margin-top: 2rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; }
.field .help { font-size: .85rem; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); font-size: 1rem; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field .error { font-size: .85rem; color: #A3271B; font-weight: 600; }
@media (prefers-color-scheme: dark) { .field .error { color: #F49A8A; } }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }

/* ---------- 36. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tape__blade { transition: none; }
}

/* ==========================================================================
   37. Fluid interface layer (Apple-style materials, motion and type)
   Works with js/fluid.js. Springs live in JS; CSS only holds materials,
   press feedback and states.
   ========================================================================== */
:root {
  --material-edge: rgba(255, 255, 255, .55);
  --spring-out: cubic-bezier(.2, .9, .25, 1); /* approximates a critically damped spring for non-gesture CSS transitions */
}
@media (prefers-color-scheme: dark) { :root { --material-edge: rgba(255, 255, 255, .08); } }

/* ---------- Typography: size-specific tracking and leading ---------- */
body { font-optical-sizing: auto; }
.hero__title { letter-spacing: -.028em; line-height: 1.04; }
h2 { letter-spacing: -.022em; line-height: 1.1; }
.closing h2 { letter-spacing: -.026em; line-height: 1.05; }
h3 { letter-spacing: -.008em; line-height: 1.25; }
.media-note, .fine-print, .faq__count, .disclosure-bar, .site-footer, .compare__tag { letter-spacing: .008em; }

/* ---------- Header: translucent material + scroll edge effect (no hard divider) ---------- */
.site-header {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0;
}
.site-header.is-scrolled { box-shadow: none; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; pointer-events: none;
  background: linear-gradient(color-mix(in srgb, var(--ink) 9%, transparent), transparent);
  opacity: 0; transition: opacity .35s ease;
}
.site-header.is-scrolled::after { opacity: 1; }

/* Mobile menu: a floating card that grows out of the menu button */
@media (max-width: 1023px) {
  .site-nav {
    display: block; left: 12px; right: 12px; top: calc(100% + 8px);
    border: 1px solid var(--line); border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform-origin: calc(100% - 26px) -10px;
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.94); filter: blur(4px);
    transition: opacity .2s ease, transform .3s var(--spring-out), filter .2s ease, visibility 0s .3s;
  }
  .site-nav.is-open {
    opacity: 1; visibility: visible; transform: none; filter: none;
    transition: opacity .18s ease, transform .42s var(--spring-out), filter .24s ease, visibility 0s;
  }
  .site-nav ul { width: auto; padding: .35rem 1.1rem .45rem; }
  .site-nav a { padding: .85rem .1rem; }
}
.nav-toggle { transition: transform .1s ease-out, background-color .2s; -webkit-tap-highlight-color: transparent; }
.nav-toggle:active { transform: scale(.92); }

/* ---------- Press feedback: instant, on pointer-down ---------- */
.cat__btn, .tabs__list button, .timeline__nav button, .zoom, .seg button, .seg label span { -webkit-tap-highlight-color: transparent; }
.cat__btn:active, .tabs__list button:active, .timeline__nav button:active { transform: scale(.98); transition: transform 100ms ease-out; }
.zoom:active { transform: scale(.985); transition: transform 100ms ease-out; }
.seg button:active, .seg label span:active { transform: scale(.95); transition: transform 100ms ease-out, color .25s; }

/* ---------- Compare slider: direct manipulation ---------- */
.compare.is-fluid { cursor: ew-resize; -webkit-tap-highlight-color: transparent; }
.compare.is-fluid .compare__range { pointer-events: none; }
.compare__handle::before { transition: transform .3s var(--spring-out), box-shadow .3s; }
.compare.is-grabbed { cursor: grabbing; }
.compare.is-grabbed .compare__handle::before { transform: scale(1.14); box-shadow: 0 12px 28px rgba(0, 0, 0, .42); transition-duration: .12s; }

/* ---------- Product box: tilt ---------- */
.product__media[data-tilt] { perspective: 1100px; }
.product__media[data-tilt] img { will-change: transform; transform-origin: 50% 55%; }

/* ---------- Drag-to-scroll tracks (mouse) ---------- */
@media (hover: hover) and (pointer: fine) { [data-drag-scroll] { cursor: grab; } }
[data-drag-scroll] img { -webkit-user-drag: none; }
[data-drag-scroll].is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; -webkit-user-select: none; user-select: none; }
[data-drag-scroll].is-dragging > * { pointer-events: none; }

/* ---------- Segmented controls: sliding thumb ---------- */
.seg { position: relative; }
.seg__thumb {
  position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 7px; pointer-events: none;
  background: var(--walnut); box-shadow: 0 1px 2px rgba(43, 27, 16, .22), 0 6px 14px -6px rgba(43, 27, 16, .45);
  will-change: transform;
}
@media (prefers-color-scheme: dark) { .seg__thumb { background: var(--oak); } }
.seg.has-thumb button, .seg.has-thumb label span { position: relative; z-index: 1; }
.seg.has-thumb button[aria-pressed="true"], .seg.has-thumb input:checked + span { background: transparent; }

/* ---------- FAQ: answers grow open instead of popping (where supported) ---------- */
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__list details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .45s var(--spring-out), content-visibility .45s allow-discrete;
  }
  .faq__list details[open]::details-content { block-size: auto; }
  .motion .faq__list details[open] .faq__a { animation: none; }
  .faq__list .faq__a { opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .45s var(--spring-out); }
  .faq__list details[open] .faq__a { opacity: 1; transform: none; }
}

/* ---------- Floating chrome: buy bar + back-to-top as materials ---------- */
.buybar {
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--material-edge);
  transition: transform .5s var(--spring-out);
}
.to-top:active { transform: scale(.92); transition-duration: .1s; }

/* ---------- Lightbox: driven by springs in fluid.js ---------- */
html.lb-open { overflow: hidden; scrollbar-gutter: stable; }
.lightbox { --lb-o: 1; background: rgba(15, 9, 5, calc(.95 * var(--lb-o))); touch-action: none; overscroll-behavior: contain; -webkit-user-select: none; user-select: none; }
.lightbox__figure img { max-width: none; max-height: none; will-change: transform; -webkit-user-drag: none; cursor: grab; }
.lightbox.is-dragging .lightbox__figure img { cursor: grabbing; }
.lightbox figcaption, .lightbox .icon-btn { opacity: var(--lb-o); }
.lightbox .icon-btn { -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); background: rgba(255, 255, 255, .12); }

/* ---------- Exit popup: materializing card / bottom sheet on phones ---------- */
.modal { --sheet-o: 1; will-change: transform; }
.modal::backdrop { opacity: var(--sheet-o, 1); }
.sheet__grabber { display: none; }
@media (max-width: 639px) {
  .modal {
    width: 100%; max-width: 100%; margin: auto 0 0; max-height: calc(100dvh - 24px);
    border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); touch-action: none;
  }
  .sheet__grabber {
    display: block; position: absolute; z-index: 2; top: 8px; left: 50%; width: 38px; height: 5px; margin-left: -19px;
    border-radius: 3px; background: rgba(59, 36, 22, .28);
  }
  .modal__media { padding-top: 1.75rem; }
}
@media (max-width: 639px) and (prefers-color-scheme: dark) { .sheet__grabber { background: rgba(247, 238, 226, .3); } }

/* ---------- Accessibility: transparency, contrast, motion ---------- */
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .buybar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lightbox .icon-btn, .modal::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lightbox .icon-btn { background: #2B1B10; }
}
@media (prefers-contrast: more) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--ink); }
  .site-header::after { display: none; }
  .buybar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 1px solid var(--ink); }
  .site-nav { background: var(--surface); border-color: var(--ink); }
  .seg__thumb { box-shadow: none; outline: 1px solid var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav, .site-nav.is-open { transform: none !important; filter: none !important; }
  .btn:active, .cat__btn:active, .zoom:active, .seg button:active, .seg label span:active { transform: none; }
  .faq__list .faq__a { transform: none !important; }
}

/* ==========================================================================
   38. Visual + structural refinements (UI/UX pass)
   - Section eyebrows with a ruler tick, for faster scanning
   - Stronger section rhythm in dark mode
   - Edge fades that signal horizontal scroll
   - Numbered flow steps, richer testimonial cards, card hover states
   - Mobile: full-width hero CTA, recommended plan first
   ========================================================================== */

/* ---------- Eyebrows: small ruler tick before the label ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before {
  content: ""; flex: 0 0 22px; height: 8px;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(90deg, currentColor 1.5px, transparent 1.5px) 0 0 / 7px 100% repeat-x;
  opacity: .75;
}
.sec-head .eyebrow, .story__copy .eyebrow, .guarantee__copy .eyebrow, .access__copy .eyebrow, .stack__intro .eyebrow { margin-bottom: .85rem; }
.sec--walnut .eyebrow { color: var(--amber); }
.center-title + * { margin-top: 0; }
.sec-head > p:not(.eyebrow) { max-width: 60ch; }
.numbers__title { margin-top: 0; }
@media (max-width: 767px) { .guarantee .eyebrow { justify-content: center; } }

/* ---------- Section rhythm in dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-2: #261910;
    --deep-bg: #0E0805;
    --deep-bg-2: #1A110B;
  }
  .sec--alt, .sec--walnut { box-shadow: inset 0 1px 0 rgba(245, 235, 221, .06), inset 0 -1px 0 rgba(245, 235, 221, .06); }
  .sec--walnut::before { opacity: .7; }
  .pain, .tl-card, .tcard, .bonus, .cat, .plan:not(.plan--muted), .calc, .mid-cta, .request { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
}

/* ---------- Horizontal tracks: fade the trailing edge so overflow reads as "scroll" ---------- */
.timeline__track, .carousel__track {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
.timeline__track.at-end, .carousel__track.at-end { -webkit-mask-image: none; mask-image: none; }

/* ---------- Monthly flow: numbered steps ---------- */
.flow { counter-reset: step; }
.flow__step { counter-increment: step; }
.flow__step h3::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: .3rem;
  font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; color: var(--accent-ink);
}

/* ---------- Testimonial cards: quote mark + clearer hierarchy ---------- */
.tcard { position: relative; overflow: hidden; }
.tcard::before {
  content: "\201C"; position: absolute; top: -.35rem; right: 1rem;
  font: 800 6rem/1 var(--font-display); color: var(--oak); opacity: .18; pointer-events: none;
}
.tcard__text { position: relative; }
.tcard__who { padding-top: 1.1rem; border-top: 1px solid var(--line); }

/* ---------- Hover lift for cards (pointer devices only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .pain:not(.pain--photo), .bonus, .tcard, .tl-card, .plan {
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  }
  .pain:not(.pain--photo):hover, .bonus:hover, .tcard:hover {
    transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2);
  }
  .bonus:hover .bonus__icon { transform: rotate(-4deg) scale(1.04); }
  .bonus__icon { transition: transform .35s var(--ease); }
  .plan--best:hover { transform: translateY(-3px); }
}

/* ---------- Pricing: best-value card gets a warm glow; first on phones ---------- */
.plan--best { background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 9%, var(--surface)), var(--surface) 45%); }
.plan--best .plan__price { color: var(--ink); }
@media (max-width: 767px) {
  .plans .plan--best { order: -1; }
  .plans { gap: 2rem; }
}

/* ---------- Hero on phones: full-width CTA, price inline beside its label ---------- */
@media (max-width: 559px) {
  .hero__cta { gap: .9rem; }
  .hero__cta .btn { width: 100%; }
  .hero__price { flex-direction: row; align-items: baseline; gap: .55rem; }
  .hero__price strong { font-size: 1.75rem; }
  .hero__price span { margin-top: 0; }
  .hero__assure { flex-direction: column; gap: .45rem; }
}

/* ---------- Phones: back-to-top a little smaller so it covers less content ---------- */
@media (max-width: 767px) {
  .to-top { width: 44px; height: 44px; right: 12px; }
}

/* ---------- Bonus value: make "Free" read as a pill ---------- */
.bonus__value span { padding: .15rem .55rem; border-radius: 6px; background: var(--trust-tint); font-size: .85rem; letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) {
  .pain:hover, .bonus:hover, .tcard:hover, .plan--best:hover { transform: none !important; }
}

/* Hero: the offset blueprint panel frames only the video, not the caption below it */
.hero__media::before { inset: 18px -14px auto 18px; aspect-ratio: 16 / 9; }
.hero__media .media-note { margin-top: 1.75rem; }

/* ---------- Testimonial cards v2: headline + full quote, accent bar on top ---------- */
.carousel__track { grid-auto-columns: min(88%, 440px); gap: 1.25rem; padding-top: 8px; }
.tcard {
  justify-content: flex-start; gap: 0; min-height: 0; padding: 1.9rem 1.75rem 1.6rem;
  border-radius: var(--r); box-shadow: var(--shadow);
}
.tcard::after { /* warm accent bar along the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #D9692B, var(--oak) 45%, var(--amber));
}
.tcard::before { top: .2rem; right: 1.1rem; font-size: 5rem; opacity: .22; }
.tcard__title { position: relative; padding-right: 2.5rem; font: 700 clamp(1.15rem, 1.05rem + .35vw, 1.3rem)/1.3 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.tcard__text { margin-top: .9rem; }
.tcard__text p { font: italic 400 1rem/1.65 var(--font-body); color: var(--ink-2); }
.tcard__who { margin-top: auto; padding-top: 1.25rem; }
.tcard__text { margin-bottom: 1.4rem; }
.tcard__who strong { font-family: var(--font-display); font-size: 1.02rem; }
.tcard__who > span:last-child { display: grid; gap: .1rem; }
.avatar { width: 48px; height: 48px; flex-basis: 48px; color: #FCF7F0; font-family: var(--font-display); font-size: .95rem; }
.tcard:nth-child(4n+1) .avatar { background: #8A5523; }
.tcard:nth-child(4n+2) .avatar { background: #2F5D3A; }
.tcard:nth-child(4n+3) .avatar { background: #B4552A; }
.tcard:nth-child(4n+4) .avatar { background: #5B4535; }
.avatar:has(img) { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line-2); }

/* ---------- Facebook comments: wide screenshots read best in two columns ---------- */
.masonry[data-gallery="fb"] { columns: auto; display: grid; gap: 1rem; }
@media (min-width: 900px) { .masonry[data-gallery="fb"] { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.masonry[data-gallery="fb"] li { margin: 0; }
.masonry[data-gallery="fb"] .zoom { background: #fff; border: 1px solid var(--line); }

.video video { object-fit: contain; background: #000; }

/* Video duration chip on facades */
.video__len { position: absolute; right: 12px; top: 12px; padding: .25rem .5rem; border-radius: 6px; background: rgba(20, 13, 8, .78); color: #F7EEE2; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }

/* ---------- Timeline tabs: period kicker + specific label ---------- */
.timeline__nav { gap: .6rem; }
.timeline__nav button { display: grid; gap: .2rem; text-align: left; padding: .65rem 1rem .7rem; line-height: 1.2; }
.tl-tab__k { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.tl-tab__l { font-size: .92rem; font-weight: 600; white-space: nowrap; }
.timeline__nav button[aria-selected="true"] .tl-tab__k { color: inherit; opacity: .75; }
@media (min-width: 1024px) {
  .timeline__nav { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; }
  .timeline__nav button { align-content: start; }
  .tl-tab__l { white-space: normal; }
}

/* ---------- Timeline: stat overlay on the "25 years" image ---------- */
.tl-card__media--stat { position: relative; }
.tl-card__stat {
  position: absolute; left: 12px; bottom: 12px; display: flex; align-items: baseline; gap: .4rem;
  padding: .45rem .75rem; border-radius: var(--r-sm);
  background: rgba(28, 19, 13, .86); color: #F7EEE2; font-size: .85rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tl-card__stat .num { font: 800 1.5rem/1 var(--font-display); color: var(--amber); }

/* ---------- Pricing: a single, centered lifetime card ---------- */
.plans { grid-template-columns: minmax(0, 500px) !important; justify-content: center; margin-top: 0; }
#pricing .sec-head { margin-inline: auto; text-align: center; }
#pricing .sec-head .eyebrow { justify-content: center; }
#pricing .sec-head > p:not(.eyebrow) { margin-inline: auto; }
#pricing > .container > .fine-print { text-align: center; }

/* ---------- Bonuses with product shots ---------- */
/* Scoped under .bonuses so these beat the original icon-layout rules in section 24 */
.bonuses .bonus { grid-template-columns: 1fr; gap: .45rem; padding: 1.25rem 1.25rem 1.5rem; align-content: start; }
.bonuses .bonus > :not(.bonus__badge) { grid-column: 1; }
.bonus__media {
  margin: 0 0 .9rem; display: grid; place-items: center; aspect-ratio: 4 / 3;
  border-radius: var(--r-sm); background: linear-gradient(180deg, #F7F5F2, #E9E6E1); overflow: hidden;
}
.bonus__media img { width: auto; height: 88%; max-width: 88%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(43, 27, 16, .18)); transition: transform .5s var(--ease); }
@media (min-width: 640px) and (max-width: 767px), (min-width: 1100px) {
  .bonuses .bonus { grid-template-columns: 200px 1fr; column-gap: 1.4rem; padding: 1.4rem; align-items: start; }
  .bonuses .bonus > .bonus__media { grid-column: 1; grid-row: 1 / 6; margin: 0; aspect-ratio: 1 / 1.05; }
  .bonuses .bonus > :not(.bonus__badge):not(.bonus__media) { grid-column: 2; }
  .bonuses .bonus h3 { margin-top: .4rem; }
}
@media (hover: hover) and (pointer: fine) { .bonus:hover .bonus__media img { transform: scale(1.04) rotate(-1deg); } }

/* Videos: both items aligned on the same baseline */
.videos { align-items: start; }

/* Eyebrow: plain block + inline ruler tick (avoids inline-flex text wrapping quirks in Safari) */
.eyebrow { display: block; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: .2em; width: 22px; height: 8px; margin-right: .6rem; }

/* ==========================================================================
   39. Consistency fixes (UI/UX audit)
   ========================================================================== */

/* Phones: the buy bar already gives a persistent action, and the floating
   back-to-top button was landing on top of the timeline/carousel controls. */
@media (max-width: 767px) { .to-top { display: none; } }

/* Category cards: reserve two lines for the name so counts, examples and
   the + button line up across a row ("Storage & Organization" wraps). */
@media (min-width: 480px) { .cat__name { min-height: calc(2 * 1.25em + .9rem); } }

/* Difficulty filter: keep all four options on one row on phones */
@media (max-width: 559px) {
  .explorer__bar .seg { display: flex; flex-wrap: nowrap; width: 100%; }
  .explorer__bar .seg button { flex: 1 1 auto; padding-inline: .5rem; text-align: center; }
}

/* Hero without the video: one centered column */
.hero__grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.hero__copy { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero__sub { margin-inline: auto; max-width: 42ch; }
.hero__cta, .hero__assure { justify-content: center; }
@media (min-width: 560px) { .hero__price { text-align: left; } }
@media (max-width: 559px) { .hero__assure { align-items: center; } }


/* ---------- Verdict (pros / cons / not for) ---------- */
.takes { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .takes { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.takes__col { padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.takes__col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; margin-bottom: 1rem; }
.takes__col--pro h3 .icon { color: var(--trust); stroke-width: 2.4; }
.takes__col--con h3 .icon { color: var(--accent-ink); stroke-width: 2.2; }
.takes__col ul, .notfor ul { display: grid; gap: .7rem; }
.takes__col li, .notfor li { font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.55; position: relative; padding-left: 1.15rem; color: var(--ink-2); }
.takes__col li::before, .notfor li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--oak); }
.takes__col--pro li::before { background: var(--trust); }
.notfor { margin-top: 1.5rem; padding: 1.6rem; border-radius: var(--r); border: 2px dashed var(--line-2); }
.notfor h3 { font-size: 1.2rem; margin-bottom: .9rem; }

/* SEO: the keyword H1 uses the eyebrow style; the rotating headline is now a <p> */
h1.eyebrow { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-wrap: wrap; }
p.hero__title { margin: 0; font-family: var(--font-display); text-wrap: balance; }
