/* Smirktag site (index.html). Builder A. Class prefix .s-
   Depends on fonts.css, tokens.css, base.css. No hex/rgb/hsl/named colours here: every colour is var(--tt-*)
   or a color-mix() of tokens. Only transform and opacity animate. Anything 3D or scaled rests at transform: none. */

/* ---------- PROPOSED SHARED ----------
   --s-mask: an opaque mask colour. Masks need an opaque colour and named colours are banned, so masks use var(--tt-ink). */
:root { --s-mask: var(--tt-ink); }

/* ---------- Page-level ---------- */
html { scroll-padding-top: 24px; }
.s-kicker { display: inline-flex; align-items: center; gap: 10px; }
.s-kicker .tt-eyelet { border-color: var(--tt-brand); background: var(--tt-accent); }
.s-sec { position: relative; padding-block: clamp(48px, 6vw, 96px); }
.s-head { max-width: 44rem; }
.s-head .tt-h2 { margin-top: 16px; }
.s-head .tt-lede { margin-top: 20px; }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head--center .tt-lede { margin-inline: auto; }
.s-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.s-split--flip > :first-child { order: 2; }
.s-cta svg { width: 18px; height: 18px; }
.tt-btn { transition: background-color var(--d-fast) ease, border-color var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-instant) ease; }
.tt-btn:active, .s-ctl:active, .s-choice:active { transform: translateY(1px); }
.tt-btn svg { width: 18px; height: 18px; }
.tt-btn--sm svg { width: 16px; height: 16px; }

/* Grain: a static noise tile painted once by site.js from a token colour (no feTurbulence in 3D). */
.s-grain { position: absolute; inset: 0; pointer-events: none; background-image: var(--s-grain, none); background-size: 96px 96px; mix-blend-mode: multiply; opacity: .55; }

/* Section question that leads into the next section */
.s-next { display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; margin: clamp(48px, 6vw, 80px) auto 0; text-decoration: none; color: var(--tt-ink-2); font-family: var(--f-display); font-style: normal; font-weight: 650; font-size: 1.375rem; letter-spacing: -.01em; transition: color var(--d-fast); }
.s-next svg { width: 20px; height: 20px; color: var(--tt-brand); }
.s-next:hover { color: var(--tt-brand); }

/* Thread divider: draws from the centre outward on reveal (transform only) */
.s-divider { height: 24px; }
.s-divider .tt-eyelet { background: var(--tt-accent); }
html.js .s-divider::before { transform-origin: right center; transform: scaleX(0); }
html.js .s-divider::after { transform-origin: left center; transform: scaleX(0); }
html.js .s-divider .tt-eyelet { opacity: 0; transform: scale(.4); }
html.js .s-divider.is-in::before, html.js .s-divider.is-in::after { transform: none; transition: transform var(--d-slow) var(--ease-out); }
html.js .s-divider.is-in .tt-eyelet { opacity: 1; transform: none; transition: opacity var(--d-fast), transform var(--d-mid) var(--ease-pop); }
html.calm .s-divider::before, html.calm .s-divider::after, html.calm .s-divider .tt-eyelet { transform: none; opacity: 1; }


/* ---------- Nav ---------- */
.s-nav { position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-nav); }
.s-nav__in { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); height: 76px; max-width: none; }
.s-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--tt-ink); font-weight: var(--w-semi); font-size: 1.125rem; letter-spacing: -.02em; }
.s-brand__mark { fill: none; stroke: var(--tt-brand); stroke-width: 1.8; stroke-linecap: round; }
.s-brand__mark circle { fill: var(--tt-accent); }
.s-nav__links { display: flex; gap: clamp(16px, 2.2vw, 30px); font-size: .9375rem; }
.s-nav__links a { color: var(--tt-ink-2); text-decoration: none; transition: color var(--d-fast); }
.s-nav__links a:hover { color: var(--tt-brand); }
.s-nav__cta { margin-left: auto; }

/* ---------- Hero ---------- */
.s-hero {
  --tw: clamp(300px, 25vw, 372px);
  --th: calc(var(--tw) * 1.45);
  --tag-top: clamp(120px, 15vh, 160px);
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "copy stage" "next stage";
  column-gap: clamp(24px, 4vw, 64px);
  min-height: max(100svh, 780px);
  padding: 84px var(--gutter) 20px;
}
.s-hero__wash { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(56vw 50vw at 0% 0%, color-mix(in oklab, var(--tt-brand) 20%, transparent), transparent 70%),
    radial-gradient(30vw 24vw at 20% 100%, color-mix(in oklab, var(--tt-accent) 22%, transparent), transparent 70%); }
.s-hero__wash::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in oklab, var(--tt-brand) 30%, transparent) 1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(48% 60% at 18% 40%, var(--s-mask), transparent); mask-image: radial-gradient(48% 60% at 18% 40%, var(--s-mask), transparent); opacity: .5; }
.s-hero__copy { grid-area: copy; align-self: center; padding-left: max(0px, calc((100vw - var(--container) - 2 * var(--gutter)) / 2)); padding-top: 24px; }
.s-hero__kicker { margin-bottom: 26px; }
.s-hero__title { font-size: var(--t-hero); max-width: 9.6ch; }
.s-hero__lede { margin-top: 28px; }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.s-hero__fine { margin-top: 16px; }
.s-flipbtn--phone, .s-hero__links { display: none; }
.s-next--hero { grid-area: next; margin: 24px 0 8px; justify-content: flex-start; padding-left: max(0px, calc((100vw - var(--container) - 2 * var(--gutter)) / 2)); font-size: 1.25rem; }

/* The citron highlighter under "back side." Sweeps in (scaleX) when the tag shows its back. */
.s-hl { position: relative; z-index: 0; white-space: nowrap; }
.s-hl::before { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.06em; bottom: .02em; height: .26em; background: var(--tt-accent); border-radius: .04em; transform-origin: left center; transform: scaleX(0); transition: transform 700ms var(--ease-out) 120ms; }
.s-hero.is-truth .s-hl::before, html:not(.js) .s-hl::before { transform: none; }

/* Intro: no preloader and no hidden first paint (board rule). The copy is readable from the first frame and only
   settles 14 px into place, 80 ms stagger, as pure CSS, so it does not wait for site.js. */
html.js:not(.calm) [data-intro] { animation: s-intro 800ms var(--ease-out) both; }
html.js:not(.calm) [data-intro="1"] { animation-delay: 80ms; }
html.js:not(.calm) [data-intro="2"] { animation-delay: 160ms; }
html.js:not(.calm) [data-intro="3"] { animation-delay: 240ms; }
html.js:not(.calm) [data-intro="4"] { animation-delay: 320ms; }
@keyframes s-intro { from { transform: translateY(14px); } }

/* Stage: the tinted wall the tag hangs against */
.s-stage { grid-area: stage; position: relative; z-index: 1; overflow: hidden; isolation: isolate;
  min-height: calc(var(--tag-top) + var(--th) + 110px); touch-action: pan-y; }
.s-stage__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.s-glow { position: absolute; display: block; border-radius: 50%; }
.s-glow--brand { width: max(620px, 120%); aspect-ratio: 1; left: 50%; top: calc(var(--tag-top) + var(--th) * .45); margin: calc(max(620px, 120%) / -2) 0 0 calc(max(620px, 120%) / -2);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tt-brand) 72%, transparent), color-mix(in oklab, var(--tt-brand) 40%, transparent) 42%, color-mix(in oklab, var(--tt-brand) 12%, transparent) 72%, transparent); }
.s-glow--accent { width: 46%; aspect-ratio: 1; right: 2%; bottom: 0;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tt-accent) 70%, transparent), color-mix(in oklab, var(--tt-accent) 18%, transparent) 60%, transparent);
  opacity: .45; transition: opacity var(--d-slow) var(--ease-out); }
.s-hero.is-truth .s-glow--accent { opacity: .9; }
.s-stage__grain { z-index: -1; opacity: .35; border-radius: inherit; }
.s-stage__pin { position: absolute; left: 50%; top: 18px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--tt-brand); background: var(--tt-accent); z-index: 3; }

/* Depth: a rack of out-of-focus tags behind the hero tag. Decoration only; moved by transform (lamp parallax). */
.s-ghosts { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.s-ghost { position: absolute; display: block; width: calc(var(--tw) * var(--k)); height: calc(var(--tw) * var(--k) * 1.45); transform: rotate(var(--r)); transform-origin: 50% calc(var(--h) * -1); }
.s-ghost::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: var(--h); margin-left: -.75px; background: color-mix(in oklab, var(--tt-brand) 55%, transparent); }
.s-ghost b { position: absolute; inset: 0; clip-path: polygon(24% 0, 76% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); filter: blur(var(--blur)); }
.s-ghost--a { --k: .5; --r: 5deg; --h: calc(var(--tag-top) + 30px); --blur: 2px; left: 3%; top: calc(var(--tag-top) + 30px); opacity: .75; }
.s-ghost--a b { background: linear-gradient(170deg, color-mix(in oklab, var(--tt-paper) 85%, var(--tt-surface)), color-mix(in oklab, var(--tt-paper) 92%, var(--tt-paper-ink))); }
.s-ghost--b { --k: .42; --r: -5deg; --h: calc(var(--tag-top) + 110px); --blur: 3px; right: 2%; top: calc(var(--tag-top) + 110px); opacity: .7; }
.s-ghost--b b { background: linear-gradient(160deg, var(--tt-tag), color-mix(in oklab, var(--tt-tag) 70%, var(--tt-shadow-base))); }
.s-ghost--c { --k: .3; --r: -2deg; --h: calc(var(--tag-top) + 300px); --blur: 4px; right: 18%; top: calc(var(--tag-top) + 300px); opacity: .55; }
.s-ghost--c b { background: var(--tt-accent); }
@media (max-width: 760px) { .s-ghost--a { left: -6%; } .s-ghost--b { right: -6%; } .s-ghost--c { display: none; } }

/* Thread: two strands that twist apart as the tag turns */
.s-thread { position: absolute; left: 0; top: 0; width: 100%; height: 10px; overflow: visible; pointer-events: none; z-index: 2; transform-origin: 50% 0; }
.s-thread path { fill: none; stroke-linecap: round; }
.s-thread__a { stroke: var(--tt-thread); stroke-width: 1.6; }
.s-thread__b { stroke: var(--tt-brand-hi); stroke-width: 1.2; }

/* ---------- The hanging tag (hero, game, install) ---------- */
.s-tag {
  --hole-y: calc(var(--tw) * .13);
  position: absolute; left: 50%; top: var(--tag-top);
  width: var(--tw); height: var(--th); margin-left: calc(var(--tw) / -2);
  perspective: 1500px; z-index: 3;
  cursor: grab; outline: none; touch-action: pan-y;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.s-tag[aria-disabled="true"] { cursor: default; }
.s-tag:focus-visible .s-tag__card { outline: 2px solid var(--tt-brand); outline-offset: 10px; border-radius: 6px; }
.s-tag.is-dragging { cursor: grabbing; }
.s-tag__swing, .s-tag__card { position: absolute; inset: 0; transform-style: flat; }
.s-tag.is-moving .s-tag__swing, .s-tag.is-moving .s-tag__card { transform-style: preserve-3d; }
.s-tag__swing { transform-origin: 50% var(--hole-y); }
.s-tag.is-moving .s-tag__card, .s-tag.is-moving .s-tag__swing { will-change: transform; }

.s-face {
  position: absolute; inset: 0; container-type: inline-size; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  clip-path: polygon(24% 0, 76% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent calc(var(--tw) * .034), var(--s-mask) calc(var(--tw) * .034 + 1px));
          mask: radial-gradient(circle at 50% var(--hole-y), transparent calc(var(--tw) * .034), var(--s-mask) calc(var(--tw) * .034 + 1px));
}
.s-face--front { transform: translateZ(1px); color: var(--tt-tag-front-ink);
  background: linear-gradient(172deg, color-mix(in oklab, var(--tt-tag-front) 80%, var(--tt-surface)), var(--tt-tag-front) 40%, color-mix(in oklab, var(--tt-tag-front) 94%, var(--tt-paper-ink))); }
.s-face--back { transform: rotateY(180deg) translateZ(1px); color: var(--tt-tag-back-ink);
  background: linear-gradient(160deg, var(--tt-tag-back) 0 50%, color-mix(in oklab, var(--tt-tag-back) 84%, var(--tt-shadow-base))); }
.s-face::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--s-grain, none); background-size: 96px 96px; opacity: .5; mix-blend-mode: multiply; }
.s-face--back::before { opacity: .3; }
/* hairline inset rule that follows the chamfer (back face) */
.s-face--back::after { content: ""; position: absolute; inset: 3.2cqi; pointer-events: none; padding: 1px;
  clip-path: polygon(23% 0, 77% 0, 100% 14.4%, 100% 100%, 0 100%, 0 14.4%);
  background: linear-gradient(color-mix(in oklab, var(--tt-tag-back-accent) 80%, transparent), color-mix(in oklab, var(--tt-tag-back-ink) 22%, transparent));
  -webkit-mask: linear-gradient(var(--s-mask) 0 0) content-box, linear-gradient(var(--s-mask) 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(var(--s-mask) 0 0) content-box exclude, linear-gradient(var(--s-mask) 0 0); }
.s-face__eyelet { position: absolute; left: 50%; top: var(--hole-y); width: 13.5cqi; height: 13.5cqi; margin: -6.75cqi 0 0 -6.75cqi; border-radius: 50%; z-index: 1; }
.s-face--front .s-face__eyelet { border: 1.6cqi solid color-mix(in oklab, var(--tt-paper-ink) 13%, var(--tt-paper)); box-shadow: 0 1px 0 color-mix(in oklab, var(--tt-shadow-base) 10%, transparent); }
.s-face--back .s-face__eyelet { border: 1.6cqi solid var(--tt-tag-back-accent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tt-shadow-base) 18%, transparent); }
.s-face__in { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 23cqi 9cqi 8cqi; }
.s-face__shade { position: absolute; inset: 0; z-index: 3; background: var(--tt-shadow-base); opacity: 0; pointer-events: none; }
.s-face__sheen { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.s-face__sheen i { position: absolute; top: -10%; bottom: -10%; left: -50%; width: 200%; display: block; transform: translateX(-60%);
  background: linear-gradient(100deg, transparent 38%, color-mix(in oklab, var(--tt-surface) 12%, transparent) 46%, color-mix(in oklab, var(--tt-surface) 30%, transparent) 50%, color-mix(in oklab, var(--tt-surface) 8%, transparent) 54%, transparent 62%); }
.s-tag.is-rest .s-face__sheen i { transition: transform 1200ms var(--ease-out); }
.s-tag__edge { position: absolute; left: 50%; top: 15%; bottom: 0; width: 2px; margin-left: -1px; transform: rotateY(90deg); background: linear-gradient(var(--tt-paper), var(--tt-brand-hi)); opacity: 0; }

/* At rest the 3D context is removed: transform none = pixel-sharp text at any DPR. */
.s-tag.is-rest .s-tag__card, .s-tag.is-rest .s-tag__swing, .s-tag.is-rest .s-face { transform: none; }
.s-tag.is-rest[data-side="front"] .s-face--back, .s-tag.is-rest[data-side="back"] .s-face--front { visibility: hidden; }

/* Cast shadow on the wall: narrows edge-on */
.s-cast { position: absolute; left: 50%; top: var(--tag-top); width: var(--tw); height: var(--th); margin-left: calc(var(--tw) / -2); z-index: 1;
  transform-origin: 50% 0; pointer-events: none; translate: calc(var(--tw) * .13) calc(var(--tw) * .09); scale: 1.1 1.03;
  background: radial-gradient(58% 50% at 50% 52%, var(--tt-cast), color-mix(in oklab, var(--tt-brand-hi) 10%, transparent) 58%, transparent 76%); }

/* Tag drop (intro / install): lowers on its thread, ends at transform none */
.s-tag.is-dropping { animation: s-lower 600ms var(--ease-out) both; }
.s-thread.is-dropping { animation: s-thread-lower 600ms var(--ease-out) both; }
.s-cast.is-dropping { animation: s-cast-lower 600ms var(--ease-out) both; }
@keyframes s-lower { from { opacity: 0; transform: translateY(-56px); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes s-thread-lower { from { transform: scaleY(var(--drop-k, .7)); } to { transform: none; } }
@keyframes s-cast-lower { from { opacity: 0; transform: translateY(-56px); } to { opacity: 1; transform: none; } }
html.js:not(.calm) .s-hero:not(.is-in) .s-tag--hero, html.js:not(.calm) .s-hero:not(.is-in) .s-cast { opacity: 0; }

/* Hero tag: front (the shop's voice) */
.s-f-top { display: flex; align-items: center; justify-content: space-between; gap: 2cqi; }
.s-f-tiny { font-family: var(--f-mono); font-size: max(10px, 2.9cqi); letter-spacing: .14em; text-transform: uppercase; color: var(--tt-paper-ink-2); }
.s-f-name { margin-top: 2.4cqi; padding-bottom: 4.5cqi; border-bottom: 1px solid color-mix(in oklab, var(--tt-paper-ink) 16%, transparent); font-size: max(12px, 4.4cqi); font-weight: var(--w-medium); line-height: 1.25; letter-spacing: -.01em; }
.s-f-mrp { margin-top: 5cqi; font-size: max(12px, 4.2cqi); color: var(--tt-paper-ink-2); }
.s-f-mrpnum { position: relative; display: inline-block; }
.s-graft-strike { position: absolute; left: -4%; right: -4%; top: 52%; height: max(2px, .7cqi); margin-top: -1px; border-radius: 2px; background: var(--tt-strike); transform-origin: left center; }
.s-f-price { margin-top: 1cqi; font-family: var(--f-ui); font-weight: 650; font-size: 25cqi; line-height: .92; letter-spacing: -.045em; font-variation-settings: normal; }
.s-f-row { display: flex; align-items: center; gap: 3cqi; margin-top: 4.5cqi; }
.s-f-badge { background: var(--tt-shop-red); color: var(--tt-paper); font-weight: var(--w-bold); font-size: max(11px, 4.4cqi); letter-spacing: .04em; padding: 1.4cqi 2.6cqi; border-radius: 1cqi; line-height: 1.1; white-space: nowrap; }
.s-f-tax { font-size: max(10px, 3.4cqi); color: var(--tt-paper-ink-2); }
.s-f-claim { align-self: flex-start; margin-top: 4cqi; padding: 1.6cqi 3cqi; border: 1px solid color-mix(in oklab, var(--tt-shop-red) 45%, transparent); border-radius: var(--r-pill); font-size: max(11px, 3.8cqi); font-weight: var(--w-semi); color: var(--tt-shop-red); white-space: nowrap; }
.s-f-foot { margin-top: auto; }
.s-f-code { display: block; width: 50cqi; height: 7cqi; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--tt-paper-ink) 0 2px, transparent 2px 4px, var(--tt-paper-ink) 4px 5px, transparent 5px 7px, var(--tt-paper-ink) 7px 10px, transparent 10px 12px, var(--tt-paper-ink) 12px 13px, transparent 13px 16px); }

/* Hero tag: back (Smirktag's side) */
.s-b-top { display: flex; align-items: center; justify-content: space-between; gap: 2cqi; }
.s-b-brand { font-family: var(--f-mono); font-size: max(10px, 2.9cqi); letter-spacing: .14em; text-transform: uppercase; color: var(--tt-tag-back-ink-2); }
.s-b-stamp { align-self: flex-start; margin-top: 4cqi; }
.s-b-head { margin-top: 3cqi; margin-bottom: 4cqi; font-size: max(14px, 5.7cqi); font-weight: var(--w-semi); line-height: 1.18; letter-spacing: -.018em; color: var(--tt-tag-back-ink); }
.s-b-chart { position: relative; margin-top: auto; aspect-ratio: 300 / 120; }
.s-b-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s-b-chart__mrp, .s-b-chart__gap { position: absolute; font-size: max(10px, 2.9cqi); line-height: 1.2; color: var(--tt-tag-back-ink-2); white-space: nowrap; }
.s-b-chart__mrp { left: 0; top: 0; }
.s-b-chart__gap { right: 9%; top: 30%; text-align: right; }
.s-b-chart__gap b { display: block; color: var(--tt-tag-back-ink); font-weight: var(--w-semi); font-size: max(12px, 4cqi); }
.s-b-label { margin-top: auto; padding-top: 3cqi; font-family: var(--f-mono); font-size: max(10px, 2.9cqi); letter-spacing: .14em; text-transform: uppercase; color: var(--tt-tag-back-ink-2); }
.s-b-low { display: flex; align-items: center; gap: 1.6cqi; margin-top: 1cqi; color: var(--tt-tag-back-accent); }
.s-b-low svg { width: 7cqi; height: 7cqi; flex: none; stroke-width: 2; }
.s-b-low > .tt-num { font-size: 14cqi; font-weight: var(--w-light); letter-spacing: -.035em; line-height: 1; }
.s-b-date { font-size: max(12px, 4cqi); font-weight: var(--w-medium); color: var(--tt-tag-back-ink); align-self: flex-end; padding-bottom: 1.4cqi; }
.s-b-note { margin-top: 2.4cqi; font-size: max(12px, 3.7cqi); line-height: 1.4; color: var(--tt-tag-back-ink-2); }

/* Charts (tag back + demo) */
.s-c-grid { stroke: var(--tt-chart-grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.s-c-mrp { stroke: var(--tt-chart-mrp); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.s-c-line { fill: none; stroke: var(--tt-chart-line); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s-c-area { fill: var(--tt-chart-fill); }
.s-c-low { fill: var(--tt-chart-low); stroke: var(--tt-ink); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.s-c-brk { fill: none; stroke: var(--tt-ink-3); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.s-c-txt { font: 500 10.5px var(--f-ui); fill: var(--tt-ink-3); font-variant-numeric: tabular-nums; }
.s-c-txt--ink { fill: var(--tt-ink); font-weight: 600; }
.s-c-txt--fake { fill: var(--tt-fake-ink); font-weight: 600; }
.s-face--back .s-c-grid { stroke: color-mix(in oklab, var(--tt-tag-back-ink) 28%, transparent); }
.s-face--back .s-c-mrp { stroke: var(--tt-tag-back-mrp); }
.s-face--back .s-c-line { stroke: var(--tt-tag-back-ink); }
.s-face--back .s-c-area { fill: color-mix(in oklab, var(--tt-tag-back-ink) 14%, transparent); }
.s-face--back .s-c-low { stroke: var(--tt-tag-back-ink); }
.s-face--back .s-c-brk { stroke: var(--tt-tag-back-ink-2); }
.s-graft-line { transform-box: view-box; transform-origin: 0 100%; }

.s-stage__hint { position: absolute; left: 0; right: 0; top: calc(var(--tag-top) + var(--th) + 30px); display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; z-index: 3; color: var(--tt-ink-2); }
.s-stage__hint svg { width: 16px; height: 16px; color: var(--tt-brand); }
html.js:not(.calm) .s-stage__hint { opacity: 0; transition: opacity 400ms; }
html.js:not(.calm) .s-stage.is-hinted:not(.is-touched) .s-stage__hint { opacity: 1; }
.s-stage.is-touched .s-stage__hint { opacity: 0; }

/* ---------- Demo ---------- */
.s-demo::before { content: ""; position: absolute; inset: 10% 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(38vw 30vw at 72% 55%, color-mix(in oklab, var(--tt-brand) 16%, transparent), transparent 70%),
              radial-gradient(16vw 14vw at 96% 92%, color-mix(in oklab, var(--tt-accent) 32%, transparent), transparent 70%); }
.s-demo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.s-demo__head { margin-bottom: 32px; }
.s-demo__head .tt-h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3.125rem); }
.s-demo__main { padding-top: 8px; }
.s-steps { list-style: none; padding: 0; }
.s-step { position: relative; border-top: 1px solid var(--tt-line); padding: 18px 0 20px; }
.s-step:last-child { border-bottom: 1px solid var(--tt-line); }
.s-step__btn { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; width: 100%; text-align: left; color: var(--tt-ink-3); }
.s-step__n { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; }
.s-step__t { font-size: 1.125rem; font-weight: var(--w-semi); letter-spacing: -.012em; color: var(--tt-ink-2); transition: color var(--d-fast); }
.s-step__btn:hover .s-step__t { color: var(--tt-brand); }
.s-step__d { display: none; margin: 8px 0 0 44px; font-size: .9375rem; line-height: 1.5; color: var(--tt-ink-2); }
.s-step.is-on .s-step__t, .s-step.is-done .s-step__t { color: var(--tt-ink); }
.s-step.is-on .s-step__n { color: var(--tt-brand); font-weight: 600; }
.s-step.is-on .s-step__d { display: block; animation: s-fade-up var(--d-mid) var(--ease-out); }
.s-demo.is-all .s-step__d { display: block; animation: none; }
.s-step__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.s-step__bar b { display: block; height: 100%; background: var(--tt-brand); transform-origin: left center; transform: scaleX(0); }
.s-step.is-done .s-step__bar b { opacity: .35; }
@keyframes s-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Share tag (end frame) */
.s-share { margin-top: 36px; }
.s-share__tag { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 18px 20px 18px 54px; max-width: 360px;
  background: linear-gradient(160deg, var(--tt-tag-back) 0 50%, color-mix(in oklab, var(--tt-tag-back) 86%, var(--tt-shadow-base))); color: var(--tt-tag-back-ink);
  clip-path: polygon(0 22%, 9% 0, 100% 0, 100% 100%, 9% 100%, 0 78%); border-radius: 4px; box-shadow: var(--shadow-tag); }
.s-share__eye { position: absolute; left: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 3px solid var(--tt-tag-back-accent); background: var(--tt-bg); }
.s-share__txt { font-size: 1.0625rem; font-weight: var(--w-semi); line-height: 1.3; letter-spacing: -.01em; flex: 1 1 200px; }
.s-share figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }

/* Shop window */
.s-win { margin: 0; background: var(--tt-surface); border-radius: var(--r-2); overflow: hidden; box-shadow: var(--shadow-float), 0 24px 60px -30px color-mix(in oklab, var(--tt-brand) 45%, transparent); }
.s-win__bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--tt-line); }
.s-win__dots { display: flex; gap: 6px; }
.s-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--tt-line-2); }
.s-win__dots i:first-child { background: var(--tt-brand); }
.s-win__dots i:nth-child(2) { background: var(--tt-accent); box-shadow: inset 0 0 0 1px var(--tt-accent-edge); }
.s-win__url { flex: 1; min-width: 0; height: 28px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--tt-bg); color: var(--tt-ink-3); font: 500 12.5px var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-win__body { position: relative; height: 520px; overflow: hidden; background: var(--tt-paper); }
.s-win__page { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.s-shop { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 26px 24px; align-content: start; color: var(--tt-paper-ink); }
.s-shop__img { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; color: var(--tt-paper-ink-2); background: color-mix(in oklab, var(--tt-paper-ink) 7%, var(--tt-paper)); }
.s-shop__img svg { width: 70%; }
.s-shop__name { font-size: 15px; font-weight: var(--w-medium); line-height: 1.35; }
.s-shop__price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.s-shop__off { color: var(--tt-shop-red); font-size: 21px; }
.s-shop__now { font-size: 28px; font-weight: var(--w-semi); letter-spacing: -.02em; }
.s-shop__mrp { margin-top: 2px; font-size: 13px; color: var(--tt-paper-ink-2); }
.s-shop__claim { position: relative; display: inline-flex; margin-top: 14px; padding: 5px 10px; border: 1px solid color-mix(in oklab, var(--tt-shop-red) 50%, transparent); border-radius: 4px; font-size: 12.5px; font-weight: var(--w-semi); color: var(--tt-shop-red); }
.s-shop__strike { position: absolute; left: -6px; right: -6px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--tt-strike); transform-origin: left center; transform: scaleX(0); }
.s-shop__offer { margin-top: 16px; padding: 10px 12px; border: 1px dashed color-mix(in oklab, var(--tt-paper-ink) 25%, transparent); border-radius: 6px; font-size: 12px; line-height: 1.45; color: var(--tt-paper-ink-2); }
.s-shop__offer b { color: var(--tt-paper-ink); font-weight: var(--w-semi); }
.s-shop__buy { display: inline-block; margin-top: 16px; padding: 10px 22px; border-radius: var(--r-pill); background: var(--tt-paper-ink); color: var(--tt-paper); font-size: 13px; font-weight: var(--w-semi); }
.s-shop__rest { padding: 28px 24px; display: grid; align-content: start; gap: 12px; }
.s-shop__rest i { display: block; height: 10px; border-radius: 4px; background: color-mix(in oklab, var(--tt-paper-ink) 7%, transparent); }
.s-shop__rest i:nth-child(1) { width: 45%; } .s-shop__rest i:nth-child(2) { width: 85%; } .s-shop__rest i:nth-child(3) { width: 70%; }
.s-shop__rest i:nth-child(5) { width: 60%; } .s-shop__rest i:nth-child(6) { width: 75%; }
.s-shop__rest b { display: block; height: 96px; margin-top: 6px; border-radius: 10px; background: color-mix(in oklab, var(--tt-paper-ink) 5%, transparent); }

/* Demo step 2: the 30-day check card */
.s-check { position: absolute; right: 76px; bottom: 68px; width: min(320px, 42%); padding: 12px 14px 10px; border-radius: 12px; background: var(--tt-surface); box-shadow: var(--shadow-float); opacity: 0; }
.s-check__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.s-check__n { font-size: 12px; font-weight: var(--w-semi); color: var(--tt-brand); }
.s-check__chart { position: relative; margin-top: 8px; aspect-ratio: 300 / 128; }
.s-check__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s-check__cover { position: absolute; top: -4px; bottom: -4px; left: -2px; right: -8px; background: var(--tt-surface); transform-origin: right center; }

/* Demo step 1: Peep's dock (mock of src/ui/panel Dock: 28 px tuck, 52 px Peep, 36 px actions) */
.s-dock { position: absolute; right: 14px; top: 22px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; }
.s-dock__btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tt-tag); color: var(--tt-tag-ink); box-shadow: 0 0 0 2px var(--tt-tag-chip), var(--shadow-float); }
.s-dock__btn svg { width: 18px; height: 18px; }
.s-dock__tuck { width: 28px; height: 28px; background: #24103F; }
.s-dock__tuck svg { width: 16px; height: 16px; }
.s-dock__peep { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tt-tag-chip); box-shadow: 0 0 0 3px var(--tt-flag-chip-ink), var(--shadow-float); }
.s-dock__face { width: 44px; height: 40px; }
.s-dock__badge { position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--tt-flag-chip-ink); box-shadow: 0 0 0 2px var(--tt-tag-chip); }
.s-dock__say { position: absolute; right: calc(100% + 12px); top: 50%; display: flex; align-items: center; gap: 8px; height: 36px; margin-top: -18px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--tt-tag); color: var(--tt-tag-ink); box-shadow: 0 0 0 2px var(--tt-tag-chip), var(--shadow-float); font-size: 13px; font-weight: var(--w-semi); white-space: nowrap; opacity: 0; }
.s-dock__say::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--tt-tag); transform: rotate(45deg); }
.s-dock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tt-flag-chip-ink); box-shadow: 0 0 0 2px var(--tt-tag-chip); flex: none; }
.s-dock__sub { padding-left: 8px; border-left: 1px solid color-mix(in srgb, var(--tt-tag-ink-2) 45%, transparent); color: var(--tt-tag-ink-2); font-weight: var(--w-medium); }

/* Demo step 4: the verdict panel */
.s-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; z-index: 3; display: flex; flex-direction: column; background: var(--tt-surface); box-shadow: -1px 0 0 var(--tt-line), -30px 0 60px -30px color-mix(in oklab, var(--tt-shadow-base) 35%, transparent); transform: translateX(104%); }
.s-panel__wait { display: none; }
.s-panel__head { padding: 16px 20px 14px; background: var(--tt-tag); color: var(--tt-tag-ink); }
.s-panel__head p { margin-top: 8px; font-size: 14px; font-weight: var(--w-medium); }
.s-panel__rows { padding: 4px 20px 2px; }
.s-prow { padding: 7px 0; border-bottom: 1px solid var(--tt-line); opacity: 0; }
.s-prow .tt-leader { min-height: 26px; align-items: center; font-size: 14px; }
.s-prow .tt-leader > i { transform: translateY(3px); }
.s-prow__d { margin-top: 2px; text-align: right; font-size: 12.5px; color: var(--tt-ink-3); }
.s-loss { padding: 10px 20px 4px; opacity: 0; }
.s-loss__fig { position: relative; display: inline-block; font-size: clamp(3rem, 1.8rem + 2.6vw, 4.5rem); font-weight: var(--w-light); line-height: 1; letter-spacing: -.035em; color: var(--tt-ink); }
.s-loss__fig .tt-num { position: relative; z-index: 1; }
.s-loss__mark { position: absolute; left: -.06em; right: -.08em; top: 48%; bottom: .02em; border-radius: 4px; background: var(--tt-accent); transform-origin: left center; transform: scaleX(0); }
.s-loss__cap { margin-top: 8px; font-size: 14px; color: var(--tt-ink-2); }
.s-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; margin: 14px 20px 16px; padding-top: 12px; border-top: 1px solid var(--tt-line); opacity: 0; }
.s-pair p { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--tt-ink-3); line-height: 1.3; }
.s-pair s, .s-pair b { font-size: 20px; letter-spacing: -.01em; }
.s-pair s { color: var(--tt-ink-2); font-weight: var(--w-medium); text-decoration-color: var(--tt-strike); text-decoration-thickness: 2px; }
.s-pair b { color: var(--tt-ink); font-weight: var(--w-semi); }
.s-pair__arrow { width: 20px; height: 20px; color: var(--tt-brand); margin-bottom: 4px; }

.s-win__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--tt-line); }
.s-win__ctl { display: flex; gap: 8px; flex: none; }
.s-ctl { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--tt-line-2); border-radius: var(--r-pill); background: var(--tt-surface); color: var(--tt-ink-2); font-size: 14px; font-weight: var(--w-medium); transition: border-color var(--d-fast), color var(--d-fast), transform var(--d-instant); }
.s-ctl:hover { border-color: var(--tt-brand); color: var(--tt-brand); }
.s-ctl svg { width: 16px; height: 16px; }
.s-ctl__play { display: none; }
.s-ctl[aria-pressed="true"] .s-ctl__play { display: block; }
.s-ctl[aria-pressed="true"] .s-ctl__pause { display: none; }
.s-share { opacity: 0; }
html:not(.js) .s-share, html:not(.js) .s-check, html:not(.js) .s-pill, html:not(.js) .s-dock__say, html:not(.js) .s-prow, html:not(.js) .s-loss, html:not(.js) .s-pair { opacity: 1; }
html:not(.js) .s-panel { transform: none; }

/* ---------- Game: see "Growth v2" at the end of this file ---------- */
.s-land { animation: s-land var(--d-mid) var(--ease-pop) both; }
@keyframes s-land { from { opacity: 0; transform: scale(1.35) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* ---------- Offers ---------- */
.s-offer { position: relative; padding-top: 118px; max-width: 540px; justify-self: end; width: 100%; }
.s-offer__card { position: absolute; z-index: 0; top: 0; right: 0; width: min(300px, 64%); aspect-ratio: 1.586; border-radius: 16px; padding: 16px 18px; display: grid; grid-template-rows: auto 1fr auto auto; color: var(--tt-tag-ink);
  background: radial-gradient(80% 90% at 100% 0%, color-mix(in oklab, var(--tt-accent) 22%, transparent), transparent 60%), linear-gradient(135deg, var(--tt-tag), color-mix(in oklab, var(--tt-tag) 72%, var(--tt-shadow-base)));
  box-shadow: var(--shadow-float); }
.s-offer__chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--tt-accent), color-mix(in oklab, var(--tt-accent) 70%, var(--tt-tag-ink))); }
.s-offer__bank { align-self: start; justify-self: end; grid-row: 1; font-weight: var(--w-semi); font-size: 14px; }
.s-offer__dots { grid-row: 3; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--tt-tag-ink-2); }
.s-offer__kind { grid-row: 4; font-size: 12px; color: var(--tt-tag-ink-2); }
.s-offer__bill { position: relative; z-index: 1; margin-right: 14%; padding: 22px 24px 20px; }
.s-offer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.s-offer__row { font-size: 15px; }
.s-offer__row--card { padding: 8px 0 10px; border-bottom: 1px solid var(--tt-line); }
.s-offer__row--card .tt-leader > span { color: var(--tt-ink); }
.s-offer__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; font-size: 13px; color: var(--tt-ink-3); }
.s-offer__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.s-offer__total > span:first-child { color: var(--tt-ink-2); font-size: 15px; }
.s-roll { display: inline-flex; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: var(--w-semi); line-height: 1; letter-spacing: -.02em; color: var(--tt-ink); }
.s-roll__cell { display: inline-block; height: 1em; overflow: hidden; }
.s-roll__strip { display: flex; flex-direction: column; }
.s-roll__strip > span { height: 1em; }
.s-offer__still { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--tt-line-2); font-size: 14px; color: var(--tt-ink-2); }

/* ---------- Coupons ---------- */
.s-co { padding: 22px 24px 20px; max-width: 600px; width: 100%; }
.s-co__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-co__field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; margin-top: 14px; }
.s-co__input { position: relative; display: flex; align-items: center; height: 46px; padding: 0 14px; border: 1px solid var(--tt-line-2); border-radius: var(--r-1); background: var(--tt-bg); font: 600 15px var(--f-mono); letter-spacing: .06em; color: var(--tt-ink); }
.s-co__ph { position: absolute; left: 14px; font: 400 14px var(--f-ui); letter-spacing: 0; color: var(--tt-ink-3); }
.s-co__caret { display: inline-block; width: 1.5px; height: 20px; margin-left: 2px; background: var(--tt-brand); opacity: 0; }
.s-co.is-typing .s-co__caret { opacity: 1; }
.s-co__apply { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: var(--r-1); background: var(--tt-paper-ink); color: var(--tt-paper); font-size: 14px; font-weight: var(--w-semi); transition: transform var(--d-instant); }
.s-co__apply.is-press { transform: translateY(1px); }
.s-co__store { grid-column: 1 / -1; min-height: 22px; font-size: 13px; color: var(--tt-ink-2); opacity: 0; }
.s-co__store b { font-weight: var(--w-semi); color: var(--tt-ink); }
.s-co__store.is-in { opacity: 1; transition: opacity var(--d-fast); }
.s-co__list { list-style: none; padding: 0; margin-top: 18px; }
.s-corow .tt-stamp { justify-self: start; }
.s-corow { display: grid; grid-template-columns: 112px minmax(0, 1fr) 132px 124px; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--tt-line); font-size: 14px; }
.s-corow--h { min-height: 0; padding: 0 0 8px; }
.s-corow--h span { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-ink-3); }
.s-corow__code { font: 600 13px var(--f-mono); letter-spacing: .05em; color: var(--tt-ink); }
.s-corow__said { color: var(--tt-ink-3); font-size: 13px; }
.s-corow__tot { color: var(--tt-ink-2); }
html.js .s-corow:not(.s-corow--h) { opacity: 0; transform: translateY(6px); }
html.js .s-corow.is-in { opacity: 1; transform: none; transition: opacity var(--d-fast), transform var(--d-mid) var(--ease-out); }
html.js .s-corow .tt-stamp { opacity: 0; }
html.js .s-corow.is-stamped .tt-stamp { opacity: 1; }
.s-co__end { margin-top: 14px; font-size: 15px; font-weight: var(--w-medium); color: var(--tt-ink); }
html.js .s-co__end { opacity: 0; }
html.js .s-co__end.is-in { opacity: 1; transition: opacity var(--d-mid); }
.s-co__run { margin-top: 14px; }
html.calm .s-corow, html.calm .s-corow .tt-stamp, html.calm .s-co__end { opacity: 1; transform: none; }

/* ---------- Privacy ---------- */
.s-proof { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.s-proof li { display: flex; align-items: baseline; gap: 14px; color: var(--tt-ink-2); font-size: 1.0625rem; }
.s-proof .tt-eyelet { position: relative; top: 1px; background: var(--tt-accent); }
.s-proof b { color: var(--tt-ink); font-weight: var(--w-semi); }
.s-priv { max-width: 580px; width: 100%; justify-self: end; }
.s-priv__card { padding: 22px 24px 22px; }
.s-priv__art { width: 100%; height: auto; overflow: visible; }
.s-priv__browser rect, .s-priv__browser path, .s-priv__browser ellipse { fill: none; stroke: var(--tt-ink-2); stroke-width: 1.5; }
.s-priv__browser circle { fill: var(--tt-line-2); }
.s-priv__browser ellipse, .s-priv__browser path:not(:first-of-type) { stroke: var(--tt-brand); }
.s-priv__cloud path { fill: none; stroke: var(--tt-ink-3); stroke-width: 1.5; stroke-dasharray: 5 6; }
.s-priv__out, .s-priv__back { fill: none; stroke: var(--tt-thread); stroke-width: 2; stroke-linecap: round; }
.s-priv__eye { fill: var(--tt-accent); stroke: var(--tt-brand); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.s-priv__cover { fill: var(--tt-surface); transform-box: fill-box; transform-origin: right center; }
html.js .s-priv__back, html.js .s-priv__eye { opacity: 0; }
html.js .s-priv__eye { transform: scale(.3); }
.s-priv.is-on .s-priv__cover { transform: scaleX(0); transition: transform var(--d-slow) var(--ease-inout); }
.s-priv.is-on .s-priv__back { opacity: 1; transition: opacity 600ms var(--ease-out) 800ms; }
.s-priv.is-on .s-priv__eye { opacity: 1; transform: none; transition: opacity var(--d-fast) 1250ms, transform var(--d-mid) var(--ease-pop) 1250ms; }
html.calm .s-priv__cover { transform: scaleX(0); }
html.calm .s-priv__back, html.calm .s-priv__eye { opacity: 1; transform: none; }
.s-priv__labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; }
.s-priv__labels span:last-child { text-align: right; }
.s-priv__count { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tt-line); }
.s-priv__zero { font-size: 3.5rem; font-weight: var(--w-light); line-height: 1; letter-spacing: -.03em; color: var(--tt-brand); }
.s-priv__zcap { font-size: 15px; color: var(--tt-ink-2); }
.s-priv__check { margin-top: 18px; padding: 20px 22px; border: 1px dashed var(--tt-brand-line); border-radius: var(--r-2); background: var(--tt-brand-soft); }
.s-priv__check p + p { margin-top: 8px; color: var(--tt-ink-2); font-size: 15px; }

/* ---------- Habits ---------- */
.s-zero { margin-top: 32px; padding: 18px 20px; border: 1px dashed var(--tt-line-2); border-radius: var(--r-2); max-width: 30rem; display: grid; justify-items: start; gap: 10px; }
.s-zero__t { color: var(--tt-ink-2); font-size: 15px; }
.s-show { max-width: 540px; width: 100%; }
.s-show__card { position: relative; z-index: 1; padding: 22px 24px; }
.s-show__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-show__hist { margin-top: 18px; }
.s-show__h { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 15px; font-weight: var(--w-medium); }
.s-track { position: relative; padding-bottom: 20px; }
.s-track__tick { position: absolute; top: -3px; left: calc(var(--at) * 100%); width: 2px; height: 12px; margin-left: -1px; border-radius: 1px; background: var(--tt-ink-2); }
.s-track__tick b { position: absolute; top: 15px; left: 50%; width: 3em; margin-left: -1.5em; text-align: center; font-size: 12px; font-weight: var(--w-semi); color: var(--tt-ink-2); }
.s-miles { list-style: none; padding: 0; margin-top: 6px; display: grid; gap: 6px; font-size: 14px; color: var(--tt-ink-2); }
.s-miles li { display: flex; align-items: center; gap: 8px; }
.s-miles svg { width: 16px; height: 16px; flex: none; color: var(--tt-ink-3); opacity: .45; transition: opacity var(--d-fast), color var(--d-fast); }
.s-miles li.is-on svg { color: var(--tt-real-ink); opacity: 1; }
.s-miles b { color: var(--tt-ink); font-weight: var(--w-semi); }
.s-watch { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-1); background: var(--tt-brand-soft); }
.s-watch__i { width: 20px; height: 20px; flex: none; color: var(--tt-brand); margin-top: 1px; }
.s-watch__t { font-weight: var(--w-semi); font-size: 15px; }
.s-watch .tt-small { color: var(--tt-ink-2); margin-top: 2px; }
.s-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tt-line); }
.s-stats dt { font-size: 12.5px; color: var(--tt-ink-3); }
.s-stats dd { margin-top: 4px; font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); font-weight: var(--w-light); letter-spacing: -.03em; line-height: 1; }

/* ---------- Install ---------- */
.s-install { padding-bottom: clamp(48px, 6vw, 88px); }
.s-install__wall { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-3); background: var(--tt-stage); text-align: center; padding: 0 var(--s-5) clamp(48px, 6vw, 80px); }
.s-install__glow { position: absolute; z-index: -1; left: 50%; top: -30%; width: 900px; aspect-ratio: 1; margin-left: -450px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tt-brand) 42%, transparent), color-mix(in oklab, var(--tt-brand) 12%, transparent) 60%, transparent); }
.s-install__stage { --tw: 148px; --th: calc(var(--tw) * 1.42); --tag-top: 70px; position: relative; height: calc(var(--tag-top) + var(--th) + 28px); }
.s-tag--mini { cursor: default; }
.s-mini { align-items: center; justify-content: center; gap: 8px; padding: 26cqi 8cqi 10cqi; text-align: center; }
.s-mini .s-f-badge { font-size: 9cqi; padding: 2cqi 4cqi; border-radius: 2cqi; }
.s-mini__q { font-family: var(--f-display); font-style: normal; font-weight: 720; font-size: 15cqi; line-height: 1; color: var(--tt-paper-ink); }
.s-mini__ok { width: 22cqi; height: 22cqi; color: var(--tt-tag-back-accent); stroke-width: 2; }
.s-mini__w { font-family: var(--f-display); font-weight: 720; font-size: 16cqi; line-height: 1; letter-spacing: -.03em; color: var(--tt-tag-back-ink); }
.s-install .tt-h2 { max-width: 14ch; margin-inline: auto; }
.s-install__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
.s-works { margin-top: 36px; }
.s-works__note { margin-top: 8px; font-size: .8125rem; color: var(--tt-ink-3); }
.s-works__note a { color: var(--tt-ink-2); }

/* ---------- Footer ---------- */
.s-foot { border-top: 1px solid var(--tt-line); padding: 28px 0 40px; }
.s-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.s-foot__in > a:not(.s-brand) { color: var(--tt-ink-2); font-size: 15px; }
.s-foot__in > p { margin-left: auto; }

/* ---------- Sticky install bar ---------- */
.s-sticky { position: fixed; left: 0; right: 0; bottom: 16px; z-index: var(--z-sticky); display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.s-sticky__in { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-float); pointer-events: auto;
  opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out), visibility 0s linear var(--d-mid); }
.s-sticky.is-in .s-sticky__in { opacity: 1; transform: none; visibility: visible; transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out), visibility 0s; }
.s-sticky .tt-eyelet { background: var(--tt-accent); }
.s-sticky__t { font-weight: var(--w-semi); font-size: 15px; white-space: nowrap; }
.s-sticky__x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--tt-ink-2); }
.s-sticky__x:hover { background: var(--tt-surface-2); color: var(--tt-ink); }
.s-sticky__x svg { width: 18px; height: 18px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .s-hero { grid-template-rows: 1fr auto auto; grid-template-areas: "copy stage" "links stage" "next stage"; }
  .s-hero__links { grid-area: links; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: .9375rem; padding-left: 0; }
  .s-hero__links a { color: var(--tt-ink-2); padding: 6px 0; }
  .s-split { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .s-split--flip > :first-child { order: 0; }
  .s-offer, .s-priv, .s-co, .s-show { justify-self: start; }
  .s-nav__links { display: none; }
  .s-demo__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .s-demo__side { display: contents; }
  .s-demo__head { order: 0; margin-bottom: 0; }
  .s-steps { order: 1; }
  .s-demo__main { order: 2; padding-top: 0; }
  .s-share { order: 3; margin-top: 0; }
  .s-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .s-step:last-child { border-bottom: 0; }
  .s-step__btn { grid-template-columns: 1fr; gap: 4px; }
  .s-step__d { margin-left: 0; font-size: .875rem; }
}

/* ---------- Narrow tablet: single-column hero ---------- */
@media (max-width: 900px) {
  .s-hero { --tw: 300px; --tag-top: 64px; display: flex; flex-direction: column; min-height: 0; padding: 88px var(--gutter) 8px; }
  .s-hero__copy { padding: 0; }
  .s-stage { margin-top: 28px; min-height: calc(var(--tag-top) + var(--th) + 72px); }
  .s-stage__hint { top: calc(var(--tag-top) + var(--th) + 24px); }
  .s-hero__links { justify-content: center; margin-top: 22px; }
  .s-next--hero { justify-content: center; margin: 28px auto 0; padding: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .s-nav__in { height: 64px; }
  .s-brand { font-size: 1.0625rem; }
  .s-hero {
    --tw: min(68vw, 262px);
    --tag-top: 64px;
    display: flex; flex-direction: column;
    min-height: 0; padding: 76px var(--gutter) 8px;
  }
  .s-hero__copy { padding: 0; }
  .s-hero__kicker { margin-bottom: 14px; }
  .s-hero__title { font-size: clamp(2.6rem, 11.4vw, 3.25rem); max-width: 9ch; }
  .s-hero__lede { margin-top: 14px; font-size: 15px; letter-spacing: -.01em; line-height: 1.45; }
  .s-hero__cta { margin-top: 18px; }
  .s-hero__cta .s-cta { width: 100%; min-height: 50px; font-size: .96875rem; padding: 0 16px; white-space: nowrap; }
  .s-hero__fine { margin-top: 10px; font-size: .8125rem; }
  .s-stage { margin: 18px calc(var(--gutter) * -1) 0; border-radius: 0; min-height: calc(var(--tag-top) + var(--th) + 64px); }
  .s-stage__pin { top: 12px; }
  .s-stage__hint { top: calc(var(--tag-top) + var(--th) + 22px); }
  .s-glow--brand { width: 560px; margin: -280px 0 0 -280px; }
  .s-flipbtn--phone { display: inline-flex; align-self: center; margin: 16px 0 0; }
  .s-hero__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: .9375rem; }
  .s-hero__links a { color: var(--tt-ink-2); padding: 6px 0; }
  .s-next--hero { justify-content: center; margin: 28px auto 0; padding: 0; }

  .s-split { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .s-split--flip > :first-child { order: 0; }
  .s-next { font-size: 1.25rem; }

  .s-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .s-step { padding: 12px 0 12px; }
  .s-step:last-child { border-bottom: 1px solid var(--tt-line); }
  .s-step__btn { grid-template-columns: 40px 1fr; }
  .s-step__t { font-size: 1rem; }
  .s-step__d { margin: 6px 0 0 44px; }
  .s-win__body { height: auto; }
  .s-win__page { position: relative; display: block; min-height: 440px; }
  .s-shop { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 18px 64px 70px 16px; } /* right gutter: Peep's dock */
  .s-shop__name { font-size: 13.5px; }
  .s-shop__now { font-size: 24px; } .s-shop__off { font-size: 18px; }
  .s-shop__rest { display: none; }
  .s-check { left: 12px; right: 64px; width: auto; bottom: 62px; }
  .s-dock { right: 8px; top: 16px; gap: 6px; }
  .s-panel { position: relative; width: auto; transform: none; box-shadow: none; border-top: 1px solid var(--tt-line); }
  .s-panel__wait { display: grid; place-items: center; position: absolute; inset: 16px; z-index: 0; border: 1px dashed var(--tt-line-2); border-radius: 12px; color: var(--tt-ink-3); font-size: 14px; text-align: center; padding: 16px; }
  .s-panel > :not(.s-panel__wait) { position: relative; z-index: 1; }
  .s-panel__rows { padding-inline: 16px; }
  .s-loss { padding-inline: 16px; }
  .s-pair { margin: 12px 16px 16px; }
  .s-win__cap { flex-direction: column; align-items: stretch; }
  .s-win__ctl .s-ctl { flex: 1; justify-content: center; }
  .s-win__url { font-size: 11.5px; }
  .s-share { margin-top: 0; }

  .s-offer { padding-top: 56px; justify-self: stretch; }
  .s-offer__card { width: 62%; }
  .s-offer__bill { margin-right: 0; padding: 18px 18px 16px; }
  .s-offer__row { font-size: 14px; }
  .s-co { padding: 18px 16px; }
  .s-corow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .s-corow--h { display: none; }
  .s-corow__said { grid-row: 2; }
  .s-corow__tot { grid-row: 2; justify-self: end; }
  .s-corow .tt-stamp { grid-row: 1; grid-column: 2; justify-self: end; }
  .s-priv__card { padding: 16px; }
  .s-priv__labels { font-size: 12px; }
  .s-priv__check { padding: 16px 18px; }
  .s-receipt__slot { margin-inline: 10px; }
  .s-stats { gap: 8px; }
  .s-install__wall { margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding-inline: var(--gutter); }
  .s-install__cta .s-cta { white-space: nowrap; font-size: .96875rem; padding: 0 18px; }
  .s-foot__in > p { margin-left: 0; width: 100%; }
  .s-works li + li::before { content: none; }
  .s-foot { padding-bottom: 96px; }

  .s-sticky { bottom: 0; padding: 0; }
  .s-sticky__in { width: 100%; border-radius: 0; height: calc(56px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom) 16px; gap: 10px; }
  .s-sticky__t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; white-space: normal; } /* wraps, so the close button is never pushed off a phone screen */
}

/* ---------- Reduced motion: calm and complete ---------- */
html.calm .s-hero [data-intro] { animation: none; }
html.calm .s-step__d { display: block; }
html.calm .s-receipt { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .s-hl::before { transition: none; }
}

/* ======================================================================================================
   Growth pass (DECISIONS D10, D11; R9 §1): proof strip, CTA after every section, phone path, honest clock.
   ====================================================================================================== */
/* Proof of the problem: three dated third-party facts, each with its source. */
.s-facts { padding-block: clamp(20px, 3vw, 36px); background: var(--tt-accent-ink); color: var(--tt-tag-ink); } /* fixed aubergine in both themes */
.s-facts__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); margin-block: 0; list-style: none; }
.s-facts li { display: grid; gap: 4px; align-content: start; }
.s-facts b { font-family: var(--f-display); font-weight: 760; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1; letter-spacing: -.035em; color: var(--tt-accent); }
.s-facts span { font-size: 1rem; line-height: 1.4; color: color-mix(in oklab, var(--tt-tag-ink) 88%, transparent); }
.s-facts a { justify-self: start; margin-top: 2px; font-size: .8125rem; color: color-mix(in oklab, var(--tt-tag-ink) 72%, transparent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--tt-tag-ink) 35%, transparent); }
.s-facts a:hover { color: var(--tt-accent); }
.s-facts a { display: inline-block; padding-block: 3px; } /* 26 px target (WCAG 2.5.8) */
.s-facts :focus-visible { outline-color: var(--tt-accent); } /* brand ring is 2.88:1 on aubergine */
@media (max-width: 760px) { .s-facts__in { grid-template-columns: 1fr; gap: 18px; } }

/* CTA row at the end of every section, with the risk-removal line and the open loop to the next section. */
.s-ctarow { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: clamp(36px, 4.5vw, 56px) auto 0; text-align: center; }
.s-ctarow__risk { color: var(--tt-ink-3); }
.s-next--small { margin: 10px auto 0; font-family: var(--f-ui); font-weight: var(--w-semi); font-size: 1rem; }

/* Phone path: the extension installs on desktop only, so phones get "Send it to my laptop". */
.s-laptop-msg { margin-top: 8px; color: var(--tt-real-ink); font-weight: var(--w-semi); }
.s-ctarow .s-laptop-msg, .s-install__cta .s-laptop-msg { text-align: center; }

/* Honest scarcity: history starts on the day you add it. */
.s-install__clock { max-width: 560px; margin: 0 auto 18px; text-align: center; font-size: 1.0625rem; line-height: 1.5; color: var(--tt-ink-2); }
.s-install__clock b { color: var(--tt-ink); }
/* .tt-btn sets display, which beats .u-phone-only; keep phone-only buttons hidden on desktop. */
@media (min-width: 761px) { .tt-btn.u-phone-only { display: none; } }
.s-facts__in { padding: 0; }
.s-sticky__in .tt-btn { flex: none; white-space: nowrap; }
/* v1 does not check the store's "lowest in 30 days" text (prior-price check needs selectors + 20 days, planned),
   so the demo no longer strikes it. The element stays for the demo timeline. */
.s-shop__strike { display: none; }

/* ======================================================================================================
   D12: shared sticky header in flow, feature grid, FAQ, links to inner pages.
   ====================================================================================================== */
.s-hero { padding-top: 16px; min-height: max(calc(100svh - 68px), 720px); }
@media (max-width: 760px) { .s-hero { padding-top: 24px; } }
.s-more { font-weight: var(--w-semi); color: var(--tt-brand); text-decoration: none; border-bottom: 2px solid var(--tt-accent); padding-bottom: 2px; }
.s-more:hover { color: var(--tt-brand-hi); }
.s-ctarow--teaser { margin-top: clamp(28px, 3.5vw, 44px); }

.s-feats { background: var(--tt-brand-tint, color-mix(in oklab, var(--tt-brand) 6%, var(--tt-surface))); }
.s-feats__head { max-width: 720px; }
.s-feats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.s-feat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: var(--tt-surface);
  border: 1px solid var(--tt-line); text-decoration: none; color: var(--tt-ink); box-shadow: 0 1px 0 var(--tt-line);
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast), border-color var(--d-fast); }
.s-feat:hover { transform: translateY(-3px); border-color: var(--tt-brand-line, var(--tt-brand)); box-shadow: 0 14px 34px -18px color-mix(in oklab, var(--tt-brand) 60%, transparent); }
.s-feat__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-feat__meta { font-size: .8125rem; color: var(--tt-ink-3); }
.s-feat__t { margin-top: 6px; font-family: var(--f-display); font-weight: 720; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; }
.s-feat__d { color: var(--tt-ink-2); line-height: 1.55; flex: 1; }
.s-feat__go { font-weight: var(--w-semi); color: var(--tt-brand); font-size: .9375rem; }
@media (max-width: 960px) { .s-feats__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .s-feats__grid { grid-template-columns: 1fr; } }

.s-faqsec__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.s-faqsec .c-faq a, .s-faqsec .tt-lede a { color: var(--tt-brand); }
@media (max-width: 900px) { .s-faqsec__in { grid-template-columns: 1fr; } }

/* ======================================================================================================
   Growth v2 (DECISIONS D18, D19): the game, the cost calculator, motion and colour rhythm.
   Same rules as above: tokens only, transform/opacity animate, everything rests at transform: none.
   ====================================================================================================== */

/* ---------- Game band: the one dark aubergine wall in the page body (fixed in both themes) ---------- */
.s-game { --band: var(--tt-accent-ink); --on: var(--tt-tag-ink); --on-2: color-mix(in oklab, var(--tt-tag-ink) 80%, transparent); --on-line: color-mix(in oklab, var(--tt-tag-ink) 18%, transparent);
  isolation: isolate; overflow: hidden; margin-inline: clamp(0px, 1.6vw, 24px); border-radius: var(--r-3); background: var(--band); color: var(--on);
  padding-block: clamp(64px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.s-game__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.s-game__bg i { position: absolute; border-radius: 50%; }
.s-game__bg i:first-child { width: 900px; height: 900px; left: 50%; top: -420px; margin-left: -450px; background: radial-gradient(closest-side, color-mix(in oklab, var(--tt-brand) 55%, transparent), color-mix(in oklab, var(--tt-brand) 14%, transparent) 60%, transparent); }
.s-game__bg i:last-child { width: 520px; height: 520px; right: -160px; bottom: -220px; background: radial-gradient(closest-side, color-mix(in oklab, var(--tt-accent) 26%, transparent), transparent); }
.s-game__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--on-line) 1px, transparent 1px), linear-gradient(90deg, var(--on-line) 1px, transparent 1px); background-size: 56px 56px; opacity: .22;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, var(--s-mask), transparent); mask-image: radial-gradient(70% 60% at 50% 35%, var(--s-mask), transparent); }
.s-game .tt-h2 { color: var(--on); }
.s-game .tt-h2 em { color: var(--tt-accent); }
.s-game .tt-lede { color: var(--on-2); }
.s-game .s-kicker { color: var(--tt-accent); }
.s-game .s-kicker .tt-eyelet { border-color: var(--tt-accent); background: transparent; }
.s-game :focus-visible { outline-color: var(--tt-accent); }
.s-game .s-next { color: var(--on-2); }
.s-game .s-next:hover, .s-game .s-next svg { color: var(--tt-accent); }
.s-gm__note { margin-top: 18px; text-align: center; color: color-mix(in oklab, var(--tt-tag-ink) 66%, transparent); }
.s-gm__nojs { padding: 32px; text-align: center; }

/* The console: card on the left, controls on the right. Play and result share one grid cell, so nothing shifts. */
.s-gm { display: grid; max-width: 980px; margin: clamp(36px, 5vw, 56px) auto 0; padding: clamp(16px, 2.4vw, 28px); border-radius: calc(var(--r-3) - 4px);
  background: color-mix(in oklab, var(--tt-tag-ink) 6%, transparent); border: 1px solid var(--on-line);
  box-shadow: 0 40px 80px -40px color-mix(in oklab, var(--tt-shadow-base) 80%, transparent), inset 0 1px 0 color-mix(in oklab, var(--tt-tag-ink) 10%, transparent); }
.s-gm__play, .s-gm__end { grid-area: 1 / 1; }
.s-gm__play[hidden], .s-gm__end[hidden] { display: grid !important; visibility: hidden; }
.s-gm__play { display: grid; grid-template-columns: minmax(0, 392px) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 48px); align-items: center; }

/* Stage: a pin and a short thread; the card hangs from it */
.s-gm__stage { position: relative; height: 524px; padding-top: 44px; display: grid; justify-items: center; }
.s-gm__stage::before { content: ""; position: absolute; left: 50%; top: 4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--tt-accent); background: var(--band); z-index: 2; }
.s-gm__stage::after { content: ""; position: absolute; left: 50%; top: 15px; width: 2px; height: 46px; margin-left: -1px; background: linear-gradient(var(--tt-accent), var(--tt-brand)); z-index: 2; }

/* The card. Front = the shop's paper tag; back = Smirktag's orchid side. */
.s-gc { grid-area: 1 / 1; position: relative; width: min(100%, 372px); height: 480px; perspective: 1600px; outline-offset: 6px; border-radius: 22px; -webkit-tap-highlight-color: transparent; }
.s-gc[role="button"] { cursor: pointer; }
.s-gc__in { position: absolute; inset: 0; transition: transform 720ms cubic-bezier(.3, 1.3, .5, 1); }
.s-gc.is-turning .s-gc__in { transform-style: preserve-3d; }
.s-gc__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 30px 22px 18px; border-radius: 22px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.s-gc__face--front { color: var(--tt-paper-ink); box-shadow: var(--shadow-tag), 0 30px 60px -30px color-mix(in oklab, var(--tt-shadow-base) 90%, transparent);
  background: linear-gradient(172deg, color-mix(in oklab, var(--tt-paper) 78%, var(--tt-surface)), var(--tt-paper) 46%, color-mix(in oklab, var(--tt-paper) 94%, var(--tt-paper-ink))); }
.s-gc__face--back { transform: rotateY(180deg); color: var(--tt-tag-back-ink); box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--tt-shadow-base) 90%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--tt-tag-back-ink) 16%, transparent);
  background: radial-gradient(90% 60% at 100% 0%, color-mix(in oklab, var(--tt-accent) 18%, transparent), transparent 60%), linear-gradient(160deg, var(--tt-tag-back) 0 45%, color-mix(in oklab, var(--tt-tag-back) 80%, var(--tt-shadow-base))); }
.s-gc__face::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--s-grain, none); background-size: 96px 96px; opacity: .45; mix-blend-mode: multiply; }
.s-gc:not(.is-turning):not(.is-back) .s-gc__face--back, .s-gc.is-back .s-gc__face--front { visibility: hidden; }
.s-gc.is-back .s-gc__face--back { transform: none; }
.s-gc__eye { position: absolute; left: 50%; top: 10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--band); box-shadow: inset 0 1px 2px color-mix(in oklab, var(--tt-shadow-base) 60%, transparent), 0 0 0 3px color-mix(in oklab, var(--tt-paper-ink) 12%, transparent); }
.s-gc__face--back .s-gc__eye { box-shadow: inset 0 1px 2px color-mix(in oklab, var(--tt-shadow-base) 60%, transparent), 0 0 0 3px var(--tt-tag-back-accent); }
.s-gc__top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.s-gc__tiny, .s-gc__brand { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-paper-ink-2); }
.s-gc__brand { color: var(--tt-tag-back-ink-2); }
.s-gc__name { position: relative; margin-top: 14px; font-size: 1.0625rem; font-weight: var(--w-semi); line-height: 1.3; }
.s-gc__now { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.s-gc__price { font-size: 2.75rem; font-weight: var(--w-semi); letter-spacing: -.035em; line-height: 1; }
.s-gc__badge { background: var(--tt-shop-red); color: var(--tt-paper); font-weight: var(--w-bold); font-size: .8125rem; letter-spacing: .04em; padding: 5px 9px; border-radius: 6px; transform: rotate(-3deg); }
.s-gc__mrp { position: relative; margin-top: 10px; font-size: .9375rem; color: var(--tt-paper-ink-2); }
.s-gc__mrp s { text-decoration-thickness: 1.5px; }
.s-gc__mrp span { margin-left: 6px; font-size: .8125rem; }
.s-gc__claim { position: relative; align-self: flex-start; margin-top: 12px; padding: 4px 10px; border: 1px solid color-mix(in oklab, var(--tt-shop-red) 50%, transparent); border-radius: 6px; font-size: .8125rem; font-weight: var(--w-semi); color: var(--tt-shop-red); }
.s-gc__flip { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8125rem; color: var(--tt-tag-back-ink-2); }
.s-gc__flip svg { width: 16px; height: 16px; }
.s-gc__hist { position: relative; margin-top: auto; padding: 12px 12px 8px; border-radius: 14px; background: color-mix(in oklab, var(--tt-paper-ink) 6%, transparent); }
.s-gc__hl { display: flex; justify-content: space-between; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-paper-ink-2); margin-bottom: 6px; }
.s-gc__hist--back { margin-top: auto; background: color-mix(in oklab, var(--tt-shadow-base) 16%, transparent); }
.s-gc__stamps { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.s-gc__stamps .tt-stamp--on-tag { border-color: transparent; }
.s-gc__why { position: relative; margin-top: 14px; font-size: 1.0625rem; line-height: 1.4; font-weight: var(--w-medium); }
.s-gc__also { position: relative; margin-top: 8px; font-size: .875rem; line-height: 1.4; color: var(--tt-tag-back-ink-2); }

/* Sparkline: front is ink on paper; back adds the highlight of what Smirktag found */
.s-sp { display: block; width: 100%; height: auto; overflow: visible; }
.s-sp__base { stroke: color-mix(in oklab, var(--tt-paper-ink) 18%, transparent); stroke-width: 1; }
.s-sp__mrp { stroke: var(--tt-shop-red); stroke-width: 1.5; stroke-dasharray: 3 4; }
.s-sp__area { fill: color-mix(in oklab, var(--tt-paper-ink) 7%, transparent); }
.s-sp__line { fill: none; stroke: var(--tt-paper-ink); stroke-width: 2; stroke-linejoin: round; }
.s-sp__now { fill: var(--tt-brand); stroke: var(--tt-paper); stroke-width: 2.5; }
.s-sp__t { font: 500 10px var(--f-ui); fill: var(--tt-paper-ink-2); }
.s-sp__t--mrp { fill: var(--tt-shop-red); font-weight: 600; }
.s-sp--back .s-sp__base { stroke: color-mix(in oklab, var(--tt-tag-back-ink) 24%, transparent); }
.s-sp--back .s-sp__mrp { stroke: var(--tt-tag-back-mrp); }
.s-sp--back .s-sp__t--mrp { fill: var(--tt-tag-back-mrp); }
.s-sp--back .s-sp__area { fill: color-mix(in oklab, var(--tt-tag-back-ink) 10%, transparent); }
.s-sp--back .s-sp__line { stroke: var(--tt-tag-back-ink); }
.s-sp--back .s-sp__now { fill: var(--tt-tag-back-accent); stroke: var(--tt-tag-back); }
.s-sp--back .s-sp__t { fill: var(--tt-tag-back-ink-2); }
.s-sp__hike { fill: none; stroke: var(--tt-tag-back-accent); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.s-sp__t--hike { fill: var(--tt-tag-back-accent) !important; font-weight: 700; font-size: 11px; }
.s-sp__gap { fill: none; stroke: var(--tt-tag-back-accent); stroke-width: 2; }

/* The catch: a citron ring bursts from the card once (transform + opacity only) */
.s-gc__burst { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 3px solid var(--tt-accent); opacity: 0; pointer-events: none; transform: scale(.6); }
.s-gc.is-caught .s-gc__burst { animation: s-burst 760ms var(--ease-out) forwards; }
@keyframes s-burst { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
.s-gc.is-caught .s-gc__in { animation: s-bump 420ms var(--ease-pop); }
@keyframes s-bump { 0% { transform: scale(.97); } 100% { transform: none; } }

/* Controls */
.s-gm__panel { display: flex; flex-direction: column; min-width: 0; }
.s-gm__meta { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--on-2); }
.s-gm__count b, .s-gm__score b { color: var(--on); font-weight: var(--w-semi); }
.s-gm__score { margin-left: auto; }
.s-gm__score b { display: inline-block; min-width: 1ch; text-align: right; }
.s-gm__pips { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.s-gm__pips li { width: 22px; height: 6px; border-radius: 3px; background: var(--on-line); transition: background-color var(--d-mid); }
.s-gm__pips li.is-now { background: color-mix(in oklab, var(--tt-tag-ink) 55%, transparent); }
.s-gm__pips li.is-right { background: var(--tt-accent); }
.s-gm__pips li.is-wrong { background: var(--tt-flag-line); }
.s-gm__q { margin-top: clamp(20px, 3vw, 32px); font-family: var(--f-display); font-weight: 720; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.05; letter-spacing: -.03em; }
.s-gm__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.s-gm__btn { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 0 18px; border-radius: 18px; border: 1.5px solid color-mix(in oklab, var(--tt-tag-ink) 28%, transparent);
  background: color-mix(in oklab, var(--tt-tag-ink) 5%, transparent); color: var(--on); font-size: 1.0625rem; font-weight: var(--w-semi); text-align: left;
  transition: background-color var(--d-fast), border-color var(--d-fast), color var(--d-fast), transform var(--d-fast) var(--ease-out), opacity var(--d-mid); }
.s-gm__btn svg { width: 22px; height: 22px; flex: none; }
.s-gm__btn kbd { margin-left: auto; display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--on-line); font: 500 12px var(--f-mono); color: var(--on-2); }
.s-gm__btn:hover:not(:disabled) { background: color-mix(in oklab, var(--tt-tag-ink) 12%, transparent); border-color: var(--tt-accent); transform: translateY(-2px); }
.s-gm__btn:active:not(:disabled) { transform: translateY(1px); }
.s-gm__btn:disabled { cursor: default; opacity: .45; }
.s-gm__btn.is-picked, .s-gm__btn.is-truth { opacity: 1; }
.s-gm__btn.is-right { background: var(--tt-accent); border-color: var(--tt-accent); color: var(--tt-accent-ink); }
.s-gm__btn.is-wrong { background: var(--tt-flag-chip); border-color: var(--tt-flag-chip); color: var(--tt-flag-chip-ink); }
.s-gm__btn.is-truth { border-style: dashed; border-color: var(--tt-accent); }
.s-gm__btn.is-right kbd, .s-gm__btn.is-wrong kbd { border-color: currentColor; color: inherit; }
.s-gm__fb { display: flex; flex-direction: column; align-items: flex-start; min-height: 190px; margin-top: 18px; }
.s-gm__hint { font-size: .9375rem; line-height: 1.45; color: var(--on-2); }
.s-gm__hint[hidden] { display: none; }
.s-gm__res { font-size: 1.0625rem; line-height: 1.45; color: var(--on-2); }
.s-gm__res b { color: var(--on); font-weight: var(--w-bold); }
.s-gm__res.is-right b { color: var(--tt-accent); }
.s-gm__res.is-wrong b { color: var(--tt-flag-chip); }
.s-gm__rules { display: grid; gap: 8px; margin-top: 12px; }
.s-gm__rule { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.45; color: var(--on-2); }
.s-gm__rule svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--tt-accent); }
.s-gm__rule b { color: var(--on); font-weight: var(--w-semi); margin-right: 2px; }
.s-gm__streak { display: inline-flex; align-items: center; height: 24px; margin-left: 6px; padding: 0 9px; border-radius: var(--r-pill); background: var(--tt-accent); color: var(--tt-accent-ink); font-size: .8125rem; font-weight: var(--w-bold); vertical-align: 1px; }
.s-gm__res:not(:empty) { animation: s-fade-up 200ms cubic-bezier(.2, .8, .2, 1); }
.s-gm__next { margin-top: auto; }
.s-gm__rules { margin-bottom: 18px; }
#gm { scroll-margin-top: 88px; }
.s-gm__next:disabled { visibility: hidden; }
.s-gm__next svg { width: 18px; height: 18px; }

/* Result */
.s-gm__end { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 48px); align-items: center; }
.s-gm__elabel { color: var(--tt-accent); }
.s-gm__big { margin-top: 8px; font-family: var(--f-display); font-weight: 760; font-size: clamp(5rem, 3rem + 7vw, 9rem); line-height: .9; letter-spacing: -.05em; color: var(--tt-accent); }
.s-gm__big:focus { outline: none; }
.s-gm__big .tt-num { font-family: inherit; }
.s-gm__of { color: color-mix(in oklab, var(--tt-tag-ink) 40%, transparent); }
.s-gm__line { margin-top: 14px; font-size: 1.125rem; line-height: 1.45; color: var(--on); max-width: 36ch; }
.s-gm__recap { display: grid; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--on-2); }
.s-gm__recap li { display: flex; align-items: center; gap: 10px; }
.s-gm__recap svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; }
.s-gm__recap .is-right svg { background: var(--tt-accent); color: var(--tt-accent-ink); }
.s-gm__recap .is-wrong svg { background: var(--tt-flag-chip); color: var(--tt-flag-chip-ink); }
.s-gm__recap b { color: var(--on); font-weight: var(--w-semi); margin-right: 4px; }
.s-gm__share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.s-gm__again { border-color: color-mix(in oklab, var(--tt-tag-ink) 30%, transparent); color: var(--on); background: transparent; }
.s-gm__again:hover { border-color: var(--tt-accent); }
.s-gm__shared { min-height: 1.5em; margin-top: 10px; font-size: .9375rem; font-weight: var(--w-semi); color: var(--tt-accent); overflow-wrap: anywhere; }
.s-gm__cta { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-2); background: var(--tt-surface); color: var(--tt-ink); box-shadow: var(--shadow-float); }
.s-gm__cta :focus-visible { outline-color: var(--tt-brand); }
.s-gm__cta-t { margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; }
.s-gm__loss { margin: 14px 0 20px; font-size: 1rem; line-height: 1.5; color: var(--tt-ink-2); }
.s-gm__loss b { color: var(--tt-ink); }
.s-gm__risk { margin-top: 10px; color: var(--tt-ink-3); }
.s-gm__cta .s-laptop-msg { margin-top: 10px; }

@media (max-width: 860px) {
  .s-gm__play, .s-gm__end { grid-template-columns: minmax(0, 1fr); }
  .s-gm__stage { height: auto; }
  .s-gm__play[hidden], .s-gm__end[hidden] { display: none !important; } /* stacked heights differ too much; the swap follows a tap */
  .s-gm__fb { min-height: 200px; }
}
@media (max-width: 760px) {
  .s-game { margin-inline: 0; border-radius: 0; }
  .s-gm { padding: 14px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .s-gc { height: 452px; }
  .s-gm__stage { padding-top: 40px; }
  .s-gm__fb { min-height: 150px; }
  .s-gm__btns { gap: 10px; margin-top: 16px; }
  .s-gm__btn { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
  .s-gc__face { padding: 28px 18px 16px; }
  .s-gc__price { font-size: 2.375rem; }
  .s-gm__btn { min-height: 72px; padding: 8px 10px; font-size: 1rem; }
  .s-gm__btn kbd { display: none; }
  .s-gm__q { margin-top: 18px; }
  .s-gm__meta { gap: 10px; font-size: .875rem; }
  .s-gm__pips li { width: 16px; }
  .s-gm__end .tt-btn { width: 100%; }
}
@media (hover: none) { .s-gm__btn kbd { display: none; } }
html.calm .s-gc__in { transition: none; }
html.calm .s-gc.is-caught .s-gc__burst, html.calm .s-gc.is-caught .s-gc__in { animation: none; }

/* ---------- Cost calculator ---------- */
.s-cost { background: radial-gradient(50vw 40vw at 0% 30%, color-mix(in oklab, var(--tt-accent) 16%, transparent), transparent 70%); }
.s-cost__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.s-cost__priv { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--tt-ink-2); }
.s-cost__priv svg { width: 18px; height: 18px; color: var(--tt-real-ink); }
.s-calc { padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-float), 0 30px 60px -36px color-mix(in oklab, var(--tt-brand) 50%, transparent); }
.s-calc__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.s-calc__top .tt-sample[hidden] { display: none; }
.s-calc__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.s-calc__hint { display: block; margin-top: 4px; font-size: .75rem; color: var(--tt-ink-3); }
.s-calc__f { min-width: 0; }
.s-calc__f label { display: block; font-size: .875rem; font-weight: var(--w-semi); color: var(--tt-ink-2); margin-bottom: 6px; }
.s-calc__in { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--tt-line-2); background: var(--tt-bg); font-size: 1.375rem; font-weight: var(--w-semi); transition: border-color var(--d-fast); }
.s-calc__in:focus-within { border-color: var(--tt-brand); box-shadow: 0 0 0 4px var(--tt-brand-soft); }
.s-calc__in > span { color: var(--tt-ink-3); }
.s-calc__in input { flex: 1; width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; color: var(--tt-ink); font-variant-numeric: tabular-nums; outline: none; }
.s-calc__in input[aria-invalid="true"] { color: var(--tt-fake-ink); }
.s-calc__err { min-height: 1.4em; margin-top: 6px; font-size: .875rem; color: var(--tt-fake-ink); }
.s-calc__claim { font-size: 1.0625rem; color: var(--tt-ink-2); }
.s-calc__claim b { color: var(--tt-ink); }
.s-calc__cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.s-calc__case { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--tt-surface-2); }
.s-calc__bars { position: relative; width: 100%; height: 10px; margin-top: 14px; border-radius: 5px; overflow: hidden; }
.s-calc__bar { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; }
.s-calc__bar--claim { background: repeating-linear-gradient(135deg, var(--tt-fake-soft) 0 6px, color-mix(in oklab, var(--tt-fake) 26%, transparent) 6px 9px); }
.s-calc__bar--real { background: var(--tt-real); transform: scaleX(var(--p, 0)); transition: transform 700ms var(--ease-out); }
.s-calc__fig { margin-top: 12px; display: grid; gap: 2px; }
.s-calc__figk { font-size: .8125rem; color: var(--tt-ink-3); }
.s-calc__fig b { font-size: 1.75rem; font-weight: var(--w-semi); letter-spacing: -.02em; color: var(--tt-ink); }
.s-calc__cap { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--tt-ink-2); }
.s-calc__assume { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--tt-line-2); font-size: .8125rem; line-height: 1.5; color: var(--tt-ink-3); }
.s-calc__assume b { color: var(--tt-ink-2); }
.s-cost__loss { max-width: 40rem; font-size: 1.125rem; line-height: 1.5; color: var(--tt-ink-2); margin-bottom: 8px; }
.s-cost__loss b { color: var(--tt-ink); }
@media (max-width: 1100px) { .s-cost__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .s-calc__form, .s-calc__cases { grid-template-columns: minmax(0, 1fr); } .s-calc__in { font-size: 1.375rem; } }
html.calm .s-calc__bar--real { transition: none; }

/* ---------- Scrubber: a tinted wall, the chart card, a native range on top ---------- */
.s-scrub { margin-inline: clamp(0px, 1.6vw, 24px); border-radius: var(--r-3); background: radial-gradient(60% 80% at 100% 100%, color-mix(in oklab, var(--tt-brand) 14%, transparent), transparent 70%), var(--tt-stage); }
.s-scrub__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.s-scrub__card { padding: clamp(18px, 2.6vw, 28px); box-shadow: var(--shadow-float), 0 30px 60px -36px color-mix(in oklab, var(--tt-brand) 55%, transparent); }
.s-scrub__top { display: flex; justify-content: space-between; align-items: center; }
.s-scrub__read { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; min-height: 92px; margin-top: 14px; }
.s-scrub__date { font: 500 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tt-ink-3); grid-column: 1 / -1; }
.s-scrub__price { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: var(--w-semi); letter-spacing: -.03em; line-height: 1.1; transition: color var(--d-fast); }
.s-scrub.is-hike .s-scrub__price { color: var(--tt-fake-ink); }
.s-scrub__note { font-size: .9375rem; line-height: 1.4; color: var(--tt-ink-2); }
.s-scrub.is-hike .s-scrub__note { color: var(--tt-fake-ink); font-weight: var(--w-semi); }
.s-scrub__plot { position: relative; height: 220px; margin-top: 10px; overflow: hidden; border-radius: 12px; background: linear-gradient(var(--tt-line) 1px, transparent 1px) 0 0 / 100% 25%, var(--tt-bg); }
.s-scrub__plot:has(.s-scrub__range:focus-visible) { outline: 2px solid var(--tt-brand); outline-offset: 3px; }
.s-scrub__track { position: absolute; inset: 0 16px; }
.s-scrub__svg { position: absolute; left: 0; top: 12%; width: 100%; height: 82%; overflow: visible; }
.s-scrub__area { fill: var(--tt-brand-soft); }
.s-scrub__line { fill: none; stroke: var(--tt-ink); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s-scrub__hike { fill: none; stroke: var(--tt-fake); stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity var(--d-mid); }
.s-scrub.is-hike .s-scrub__hike, .s-scrub.is-sale .s-scrub__hike { opacity: 1; }
/* The future is veiled: a panel that slides right with the cursor */
.s-scrub__cover { position: absolute; inset: 0 -16px 0 0; background: linear-gradient(90deg, color-mix(in oklab, var(--tt-bg) 70%, transparent), var(--tt-bg) 24px); pointer-events: none; }
.s-scrub__cursor { position: absolute; inset: 0; pointer-events: none; }
.s-scrub__cursor i { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--tt-brand); }
.s-scrub__cursor i::after { content: ""; position: absolute; left: 50%; top: calc(12% + var(--y, 50%) * .82); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--tt-accent); border: 3px solid var(--tt-brand); box-shadow: 0 4px 12px -2px color-mix(in oklab, var(--tt-brand) 60%, transparent); }
.s-scrub__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: var(--w-semi); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, -150%) scale(.85); transition: opacity var(--d-fast), transform var(--d-mid) var(--ease-pop); }
.s-scrub__chip.is-on { opacity: 1; transform: translate(-50%, -150%); }
.s-scrub__chip--low { transform: translate(-50%, 40%) scale(.85); }
.s-scrub__chip--low.is-on { transform: translate(-50%, 40%); }
.s-scrub__chip--low { background: var(--tt-accent); color: var(--tt-accent-ink); box-shadow: inset 0 0 0 1px var(--tt-accent-edge); }
.s-scrub__chip--hike { background: var(--tt-fake-ink); color: var(--tt-brand-ink); }
.s-scrub__chip--sale { background: var(--tt-ink); color: var(--tt-bg); transform: translate(-100%, 70%) scale(.85); }
.s-scrub__chip--sale.is-on { transform: translate(-100%, 70%); }
.s-scrub__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.s-scrub__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 220px; }
.s-scrub__range::-moz-range-thumb { width: 44px; height: 220px; border: 0; }
.s-scrub__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--tt-ink-3); }
@media (max-width: 1100px) { .s-scrub__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .s-scrub { margin-inline: 0; border-radius: 0; } .s-scrub__plot { height: 190px; } .s-scrub__chip { font-size: 11.5px; height: 24px; padding: 0 7px; } }
html.calm .s-scrub__chip, html.calm .s-scrub__hike { transition: none; }

/* ---------- Number tickers (facts strip): the real figure is in the HTML; the moving copy is hidden from AT ---------- */
.s-facts b span { font-size: inherit; line-height: inherit; color: inherit; }
.s-tick { display: inline-block; text-align: left; font-variant-numeric: tabular-nums; }

/* ---------- Hover peek on the closing tag ---------- */
.s-install__stage { cursor: pointer; }

/* ---------- Scroll-driven entrances: only where the browser supports view timelines, never under reduced motion ---------- */
@supports (animation-timeline: view()) {
  html.js:not(.calm) .s-feats .s-feat.tt-reveal { opacity: 1; transform: none; transition: none;
    animation: s-deal linear both; animation-timeline: view(); animation-range: entry 5% entry 85%; }
  html.js:not(.calm) .s-feats .s-feat:nth-child(3n+2) { animation-range: entry 12% entry 92%; }
  html.js:not(.calm) .s-feats .s-feat:nth-child(3n) { animation-range: entry 19% entry 99%; }
  html.js:not(.calm) .s-game, html.js:not(.calm) .s-scrub { animation: s-wall linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  html.js:not(.calm) .s-hero__wash { animation: s-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
}
@keyframes s-deal { from { opacity: 0; transform: translateY(40px) rotate(-2.5deg); } to { opacity: 1; transform: none; } }
@keyframes s-wall { from { transform: scale(.94); } to { transform: none; } }
@keyframes s-drift { from { transform: none; } to { transform: translateY(18vh); opacity: .4; } }

/* ---------- Peep (DECISIONS D32): shared rig classes and keyframes live in chrome.css ---------- */
/* Hero: on the stage floor, bottom left, side-eyeing the tag. Above the ghost tags, under the tag, no pointer events,
   so dragging the tag works through him. First visit (html.peep-intro, set by boot.js before first paint): he rises
   in from the stage's bottom edge (the stage clips him), blinks, raises the brow and settles, all within 1 s.
   The copy and CTA never wait for him. Later a slow blink, a few times, paused off-screen (site.js). */
.s-peep { position: absolute; left: clamp(4px, 2vw, 26px); bottom: -3px; width: clamp(96px, 12vw, 160px); z-index: 1; }
html.js:not(.calm) .s-peep .c-peep__lid { animation: c-pp-blinks 5.4s 2.6s 5; }
html.js:not(.calm) .s-peep.is-off .c-peep__lid { animation-play-state: paused; }
html.peep-intro:not(.calm) .s-peep > svg { animation: s-peep-in 440ms var(--ease-out) both; }
html.peep-intro:not(.calm) .s-peep .c-peep__lid { animation: c-pp-blink 150ms 460ms var(--ease-inout), c-pp-blinks 5.4s 3.4s 5; }
html.peep-intro:not(.calm) .s-peep .c-peep__brow { animation: c-pp-brow 380ms 600ms var(--ease-inout); }
@keyframes s-peep-in { from { transform: translateY(82%); } to { transform: none; } }

/* Game: Peep sits beside the question. He glances at the choice under the pointer or focus, then reacts:
   gotcha (brow up) for a fake caught, thumbs for a real deal called, a flat side-eye at the right answer when wrong. */
.s-gm__ask { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 16px); margin-top: clamp(14px, 2vw, 24px); }
.s-gm__ask .s-gm__q { margin-top: 0; min-width: 0; }
.s-gm__peep { flex: none; width: clamp(80px, 7.6vw, 100px); margin: -6px 0 -4px -6px; }
.s-gm__peep > svg { display: none; }
.s-gm__peep:not(.is-got, .is-ok) > .c-peep__svg--sideeye, .s-gm__peep.is-got > .c-peep__svg--gotcha, .s-gm__peep.is-ok > .c-peep__svg--thumbs { display: block; }
.s-gm__peep .c-peep__pupil, .s-gm__peep .c-peep__lid { transition: transform var(--d-fast) var(--ease-out); }
.s-gm__peep.is-look-l .c-peep__pupil { transform: translateX(-14px); }
.s-gm__peep.is-look-r .c-peep__pupil { transform: translate(2px, 3px); }
.s-gm__peep.is-no .c-peep__lid { transform: translateY(6px); }
html:not(.calm) .s-gm__peep.is-react > svg { transform-origin: 50% 90%; animation: c-pp-pop 420ms var(--ease-pop); }
html:not(.calm) .s-gm__peep.is-got .c-peep__brow { animation: c-pp-brow 900ms 160ms var(--ease-inout); }
html.calm .s-gm__peep .c-peep__pupil { transform: none; }
/* Result: gotcha for 3 or more, thumbs below that (never a mocking face for a low score). Floats beside the score. */
.s-gm__endpeep { float: right; width: clamp(112px, 13vw, 168px); height: auto; margin: 0 0 4px 12px; }
@media (max-width: 760px) {
  .s-peep { width: 78px; left: 2px; }
  .s-gm__ask { margin-top: 14px; }
  .s-gm__peep { width: 72px; margin-left: -4px; }
  .s-gm__q { font-size: 1.625rem; }
  .s-gm__endpeep { width: 108px; }
}

/* FAQ: Peep (D32) peeks over the list's top edge and glances at whichever question opens (peep.js data-peep-glance). */
.s-faqsec .c-faq { position: relative; }
.c-peep.s-faq__peep { position: absolute; bottom: 100%; right: 64px; width: 76px; }
@media (max-width: 900px) { .s-faqsec .c-faq { margin-top: 20px; } .c-peep.s-faq__peep { right: 52px; } }

/* "Works on": store names as Smirktag price tags on an endless strip (names only, in our type: nominative use; no
   store logos, colours or look-alikes, and the line below says Smirktag is independent). Pauses on hover/focus;
   static and wrapped under reduced motion. */
.s-works__count { margin-left: 8px; color: var(--tt-ink-2); letter-spacing: .04em; }
.s-mq { --gap: 14px; display: flex; gap: var(--gap); margin-top: 14px; overflow: hidden; padding-block: 14px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.s-mq__row { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--gap); flex: none; animation: s-mq 46s linear infinite; }
.s-mq:hover .s-mq__row, .s-mq:focus-within .s-mq__row { animation-play-state: paused; }
@keyframes s-mq { to { transform: translateX(calc(-100% - var(--gap))); } }
.s-chip { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 30px; flex: none; white-space: nowrap;
  border-radius: 10px 12px 12px 10px; background: var(--tt-surface); box-shadow: 0 0 0 1.5px var(--tt-brand-line), var(--shadow-1);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); transform-origin: 14px 50%; transition: rotate 380ms var(--ease-pop), translate 380ms var(--ease-pop); }
.s-chip::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--tt-bg, #FBF6FE); box-shadow: inset 0 0 0 1.5px var(--tt-brand-line); }
.s-chip__n { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: var(--tt-ink); }
.s-chip__s { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tt-ink-3); }
.s-chip.is-live { background: var(--tt-brand); box-shadow: var(--shadow-2); }
.s-chip.is-live .s-chip__n { color: #fff; }
.s-chip.is-live .s-chip__s { padding: 3px 7px; border-radius: 6px; background: var(--tt-accent); color: var(--tt-ink); }
.s-chip.is-live .s-chip__s::before { content: "✓ "; }
.s-chip.is-live::before { box-shadow: none; }
html:not(.calm) .s-chip:hover { rotate: -4deg; translate: 0 -3px; }
html.calm .s-mq { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
html.calm .s-mq__row { animation: none; flex-wrap: wrap; justify-content: center; }
html.calm .s-mq__row[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: reduce) { .s-mq__row { animation: none; flex-wrap: wrap; justify-content: center; } .s-mq__row[aria-hidden="true"] { display: none; } }

/* Store band right under the hero: the first thing after the promise is where it works. Full-bleed strip. */
.s-band { padding: clamp(20px, 3vw, 32px) 0 clamp(16px, 2.4vw, 24px); background: var(--tt-surface); border-block: 1px solid var(--tt-line); }
.s-band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.s-band__link { font-size: .875rem; font-weight: var(--w-semi); color: var(--tt-brand); }
.s-band .s-mq { margin-top: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.s-band__note { margin-top: 4px; font-size: .8125rem; color: var(--tt-ink-3); }
