/* AutoBoost For Creator — draft A, "The tag rack".
   One idea: commission is a price tag. Four card-stock hang tags hang from a metal rail that runs back into depth; turn
   the rack and the next tag slides forward, faces you, and a green marker strikes the open rate and writes the
   AutoBoost rate. Signature: the marker strike — used only where a rate or earnings go up.
   Light comes from the top left everywhere; shadows are neutral; every 3D object has an edge. */

@font-face { font-family: "Inter"; src: url("/site/fonts/inter-latin.woff2?v=c9407645") format("woff2"); font-weight: 300 700; font-display: swap; }
/* Caveat (SIL OFL 1.1, fonts/Caveat-OFL.txt): the logo's "For Creator" and the marker hand. */
@font-face { font-family: "ABC Marker"; src: url("/site/fonts/caveat-latin.woff2?v=7a0049db") format("woff2"); font-weight: 400 700; font-display: block; }

:root {
  /* Paper palette */
  --page: #f3f1ec;
  --card: #fbfaf7;
  --well: #ebe7de;
  --ink: #161514;
  --ink-2: rgb(22 21 20 / .68);
  --ink-3: rgb(22 21 20 / .56);
  --line: rgb(22 21 20 / .1);
  --line-2: rgb(22 21 20 / .18);
  --mark: #2a7e54;
  --chip-bg: #d3f1de;
  --chip-fg: #206442;
  --gain: #206442;
  --focus: #2a7e54;
  /* Greens */
  --g-50: #ebfaf0; --g-100: #d3f1de; --g-200: #ade3c2; --g-300: #7ecfa1; --g-400: #57b884;
  --g-500: #389c6a; --g-600: #2a7e54; --g-700: #206442; --g-800: #1a4a32; --g-900: #113020;
  /* Light and shadow channels (neutral only) */
  --sh: 22 21 20;
  --hi: 255 255 255;
  --page-rgb: 243 241 236;
  /* Materials, lit from the top left */
  --paper-hi: #fefdfa;          /* card stock, lit corner */
  --paper: #f8f5ee;             /* card stock */
  --paper-lo: #eee9df;          /* card stock, far corner */
  --edge-1: #e2ddd2;            /* card stock seen from the side */
  --edge-2: #cbc4b6;
  --edge-3: #b3aa99;            /* the far side of thick lettering */
  --ring: #ece6da; --ring-hi: #fbf9f4; --ring-lo: #d6cfc1;
  --cord: #a39c8f;
  --peg-hi: #f1e6cf; --peg: #dcc8a2; --peg-lo: #c0a77c;   /* a light wooden clothes peg */
  --metal-hi: #fbfaf8; --metal: #c9c5bd; --metal-lo: #8f8a81;
  --receipt: #fdfcf9; --receipt-lo: #e9e5dc;
  --term-top: #f4f2ed; --term-front: #e7e3da; --term-side: #d4cec2; --term-key: #dcd7cd;
  --shell-1: #f2efe9; --shell-2: #e0dbd1;
  --pro-bg: linear-gradient(150deg, var(--g-900), var(--g-800) 45%, var(--g-700));
  --pro-ink: #f0faf4;
  --pro-ink-2: rgb(240 250 244 / .8);
  --pro-edge-1: #123522; --pro-edge-2: #0b2416;
  --backdrop: #e6e2d9;          /* the table the scenes are stacked on, seen round a scene as it steps back */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "ABC Marker", "Inter", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-sm: 8px; --r-btn: 12px; --r-card: 16px; --r-panel: 24px;
  --pad: 20px;
  --nav-h: 64px; --scene-r: 24px; --scene-pad: 40px;
}
@media (min-width: 720px) { :root { --pad: 32px; --scene-r: 32px; --scene-pad: 64px; } }
@media (min-width: 1024px) { :root { --pad: 40px; --nav-h: 72px; --scene-pad: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
/* Scroll anchoring is off: the scene system keeps the page in place itself after a re-measure (site.js, spot/land),
   and an anchor picked inside a pinned or moving scene would shift the page under it. */
/* overflow-x: hidden on the root goes to the viewport (the root itself never becomes a scroller, so nothing sticky
   loses the viewport): Safari before 16 drops body's overflow-x: clip, and this keeps the page from scrolling sideways
   there. Elsewhere it changes nothing: body's clip already stops anything reaching past the page. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; overflow-anchor: none; overflow-x: hidden; }
/* a Spanish page waits for its strings (set in the head, cleared by site.js, or after 2.5s whatever happens) */
html.lang-wait body { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.5 var(--font); font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
s { text-decoration: none; }
b { font-weight: 600; }
svg { display: block; }
.num { font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; border-radius: var(--r-sm); background: var(--ink); color: var(--page); font-weight: 500; }
.skip:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-sm { height: 44px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--ink); color: var(--page); box-shadow: 0 1px 2px rgb(var(--sh) / .2), inset 0 1px 0 rgb(var(--hi) / .14); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--page)); }
.btn-secondary { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: rgb(var(--sh) / .04); }

/* ---------- Lockup (bolt, AUTOBOOST stencil, "For Creator") ---------- */
.lockup {
  --mark-size: 30px; --word-h: 13px; --for-size: 19px;
  display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "mark word" "mark for";
  column-gap: 12px; row-gap: 4px; align-items: center; line-height: 1; flex: 0 0 auto;
}
a.lockup { min-height: 44px; align-content: center; }
.lockup-mark {
  grid-area: mark; width: var(--mark-size); height: var(--mark-size); background: var(--mark);
  -webkit-mask: url("/site/img/autoboost-mark.svg?v=0ae11e3f") center / contain no-repeat; mask: url("/site/img/autoboost-mark.svg?v=0ae11e3f") center / contain no-repeat;
}
.lockup-word {
  grid-area: word; align-self: end; height: var(--word-h); aspect-ratio: 988.4 / 121.5; background: var(--ink);
  -webkit-mask: url("/site/img/autoboost-wordmark.svg?v=b3e001f4") center / contain no-repeat; mask: url("/site/img/autoboost-wordmark.svg?v=b3e001f4") center / contain no-repeat;
}
.lockup-for { grid-area: for; align-self: start; font: 600 var(--for-size) / .9 var(--hand); color: var(--mark); white-space: nowrap; }

/* ---------- Navigation ----------
   Solid paper at every width: the scenes turning, dimming and growing under a see-through bar read as clutter, and a
   backdrop-filter would also become the containing block of the fixed phone menu. */
.nav { position: sticky; top: 0; z-index: 50; background: var(--page); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.nav.is-scrolled::after { opacity: 1; }
.nav-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.nav-links { display: none; }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-login { display: none; }
.btn-nav { height: 44px; padding: 0 16px; font-size: 14px; }
/* "Regístrate" leaves the 360 bar about 8px to spare; 12px padding gives it 16 */
@media (max-width: 399px) { .btn-nav:lang(es) { padding: 0 12px; } }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn); color: var(--ink); transition: background-color .16s var(--ease); }
.menu-btn:hover { background: rgb(var(--sh) / .05); }
.menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.menu-btn path { transition: transform .2s var(--ease); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
/* the phone menu: a sheet under the bar over a light veil, both fixed, so opening it never moves the page; the veil
   covers every scene and takes their taps, and the sheet scrolls on its own if it is taller than the screen */
.menu {
  position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; overflow-y: auto; overscroll-behavior: contain;
  background: rgb(var(--page-rgb) / .72); -webkit-tap-highlight-color: transparent;
}
.menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; border-top: 1px solid var(--line); background: var(--page); box-shadow: 0 16px 24px rgb(var(--sh) / .08); }
.menu a { display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu .menu-login { color: var(--ink-2); }
.menu:not([hidden]) { animation: veil .24s var(--ease); }
.menu:not([hidden]) .wrap { animation: drop .24s var(--ease); }
@keyframes veil { from { opacity: 0; } }
@keyframes drop { from { transform: translateY(-8px); } }
/* while the menu is open the page under it holds still (the root's overflow goes to the viewport, so nothing sticky
   loses its scroller) */
html.menu-open { overflow: hidden; }

/* the language switch: EN / ES in the bar from 1024, English / Español in the phone menu */
.lang { display: inline-flex; flex: 0 0 auto; padding: 4px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button { position: relative; height: 28px; padding: 0 8px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; color: var(--ink-2); transition: background-color .16s var(--ease), color .16s var(--ease); }
.lang button::after { content: ""; position: absolute; inset: -8px 0; } /* a 44px tall target */
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(var(--sh) / .12), inset 0 0 0 1px var(--line); }
.nav-end > .lang { display: none; }
.menu-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding-top: 4px; font-size: 15px; color: var(--ink-2); }
.menu-lang .lang button { height: 36px; padding: 0 12px; font-size: 15px; }
.menu-lang .lang button::after { inset: -4px 0; }

@media (min-width: 1024px) {
  .nav-in { height: 72px; gap: 32px; }
  .lockup { --mark-size: 32px; --word-h: 14px; --for-size: 21px; }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a { padding: 8px 12px; border-radius: var(--r-sm); font-size: 15px; color: var(--ink-2); transition: color .16s var(--ease), background-color .16s var(--ease); }
  .nav-links a:hover { color: var(--ink); background: rgb(var(--sh) / .05); }
  .nav-end { gap: 20px; }
  .nav-end > .lang { display: inline-flex; }
  /* 44px tall targets for the bar's text links and its 40px button (an iPad in landscape is a touch screen) */
  .nav-links a, .nav-login, .btn-nav { position: relative; }
  .nav-links a::after, .nav-login::after, .btn-nav::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; margin-top: -22px; }
  .nav-login { display: inline-flex; font-size: 15px; color: var(--ink-2); padding: 8px 4px; transition: color .16s var(--ease); }
  .nav-login:hover { color: var(--ink); }
  .btn-nav { height: 40px; }
  .menu-btn, .menu { display: none !important; }
}
/* 1024–1279: the Spanish bar (longer links, "Inicia sesión", "Regístrate") is about 990px at the spacing above, in a
   944px row; tighter link padding and gaps bring it to about 900px in both languages */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-in { gap: 20px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px; }
  .nav-end { gap: 12px; }
}

/* ---------- Type ---------- */
h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
p, dd, dt, li, summary { text-wrap: pretty; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
@media (min-width: 1024px) { .lead { font-size: 18px; } }
.fine { font-size: 13px; line-height: 20px; color: var(--ink-3); }
.tag-example { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; background: rgb(var(--sh) / .06); color: var(--ink-2); font: 500 11px/1 var(--font); vertical-align: 2px; letter-spacing: 0; white-space: nowrap; }
.rate { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; }
.rate-open { background: rgb(var(--sh) / .07); color: var(--ink-2); }
.rate-ab { background: var(--chip-bg); color: var(--chip-fg); }

.section-head { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 1024px) { .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 40px; margin-bottom: 48px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 720px) { .split { gap: 40px; } }
.split-copy { display: grid; gap: 20px; align-content: start; min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split-rev .split-copy { order: 2; }
}

/* ---------- Scenes ----------
   Every part of main is a scene: at least one screen tall, its own tone, a rounded top edge with a hairline and a soft
   shadow thrown up onto the scene it covers. Without site.js (and with reduced motion) they are panels stacked in the
   page, each overlapping the last by its corner radius. With site.js each scene sits in a lane (a transparent, taller
   containing block) and is sticky at both ends: top keeps a tall scene pinned once its bottom meets the viewport's,
   bottom holds the next scene at the nav line while its entrance plays. Lane sizes and pin offsets are written by
   site.js from measured heights; --room (in screens) is the extra scroll an entrance gets. */
main { overflow: clip; background: var(--backdrop); }
.scene {
  --tone: var(--page); --room: 0;
  position: relative; z-index: 0; display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100svh - var(--nav-h)); padding: var(--scene-pad) 0;
  border-radius: var(--scene-r) var(--scene-r) 0 0; background: var(--tone);
  box-shadow: inset 0 1px 0 var(--line), 0 -12px 32px -16px rgb(var(--sh) / .14);
}
.scene + .scene { margin-top: calc(var(--scene-r) * -1); }
.scene-in { position: relative; width: 100%; min-width: 0; }
.scene-bg, .scene-dim, .scene-win { position: absolute; pointer-events: none; }
.scene-bg, .scene-dim { inset: 0; border-radius: inherit; }
/* With the iOS toolbar hidden the screen is 100lvh, but scenes are measured in 100svh: a scene one screen tall would
   leave a strip of the backdrop under it. Its tone (and its dimmer) run that far below its box, under the next scene,
   which covers them; main clips the last one. */
@supports (height: 100lvh) { .scene-bg, .scene-dim { bottom: calc(100svh - 100lvh); } }
.scene-bg { z-index: -1; background: var(--tone); box-shadow: inset 0 1px 0 var(--line), 0 0 0 1px var(--line), 0 -12px 32px -16px rgb(var(--sh) / .14); }
.scene-dim { z-index: 20; background: rgb(var(--sh)); opacity: 0; }
.scene-win { left: 50%; top: 0; z-index: -1; background: var(--tone); opacity: 0; }
/* what makes the two windows read as a phone and a membership card while they are small; fades as they grow */
.scene-win::before { content: ""; position: absolute; opacity: var(--wf, 0); }
.scene-win-window::before { left: 50%; top: calc(var(--ww) * .045); width: calc(var(--ww) * .26); height: calc(var(--ww) * .07); margin-left: calc(var(--ww) * -.13); border-radius: calc(var(--ww) * .035); background: var(--ink); }
.scene-win-card::before {
  left: calc(var(--ww) * .055); top: calc(var(--ww) * .05); width: calc(var(--ww) * .075); height: calc(var(--ww) * .075); background: var(--g-200);
  -webkit-mask: url("/site/img/autoboost-mark.svg?v=0ae11e3f") center / contain no-repeat; mask: url("/site/img/autoboost-mark.svg?v=0ae11e3f") center / contain no-repeat;
}
.scenes-on .scene {
  position: sticky; background: none; box-shadow: none; transform-origin: 50% 100%;
  top: min(var(--nav-h), calc(100vh - var(--h, 100vh))); bottom: calc(100vh - var(--nav-h) - var(--h, 100vh));
}
/* dvh follows a phone's toolbar, so a pinned scene's bottom stays on the screen's bottom edge as the toolbar slides */
@supports (height: 100dvh) {
  .scenes-on .scene { top: min(var(--nav-h), calc(100dvh - var(--h, 100dvh))); bottom: calc(100dvh - var(--nav-h) - var(--h, 100dvh)); }
}
.svh-probe { position: absolute; left: 0; top: 0; width: 1px; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
[tabindex="-1"]:focus { outline: none; }
.lane { position: relative; pointer-events: none; overflow-x: clip; }
.lane > .scene { pointer-events: auto; }
.lane > .scene.is-entering { pointer-events: none; }
.lane > .scene.is-entering > .scene-win { pointer-events: auto; }
.lane-gap { display: block; }
/* Calm mode (site.js: phones and tablets, windows under 720px, reduced motion): the lanes may stay in the DOM, but they
   take no part in layout, so the scenes stack as panels, each overlapping the last by its corner radius, as they do
   without site.js. Nothing is sticky (that needs .scenes-on) and the window and card overlays are gone. */
html:not(.scenes-on) .lane { display: contents; }
html:not(.scenes-on) .lane-gap, html:not(.scenes-on) .scene-win { display: none; }
html:not(.scenes-on) .lane + .lane > .scene { margin-top: calc(var(--scene-r) * -1); }
/* The root's scroll padding (80px) leaves a little room above an anchored heading; a scene's own top goes right to the
   nav line, so its scroll margin takes the difference back (for anchors to scenes and for snapping). */
html:not(.scenes-on) .scene { scroll-margin-top: calc(var(--nav-h) - 80px); }
/* Calm mode pages too: one swipe moves to the next scene and settles with its top at the nav line (mandatory, and
   snap-stop so a hard flick can't skip one). A scene taller than the screen is one snap area larger than the
   snapport, so inside it the page scrolls freely and the next swipe past its end turns to the next scene. The foot of
   the page is a resting place too. Not with reduced motion (snapping is motion the user didn't make). */
html.snap-calm { scroll-snap-type: y mandatory; }
html.snap-calm .scene { scroll-snap-align: start; scroll-snap-stop: always; }
html.snap-calm .footer { scroll-snap-align: end; }
/* a scene that is covered or parked keeps still: its own CSS loops pause (site.js stops its frame work) */
.is-asleep *, .is-asleep *::before, .is-asleep *::after { animation-play-state: paused !important; }

/* tones, neighbours always different; the Pro scene is the one contained dark moment */
.hero { --tone: var(--page); border-radius: 0; }
.scene-proof { --tone: var(--card); }
.math { --tone: var(--well); --scene-r: 0px; }
.how { --tone: var(--page); }
.earn { --tone: var(--g-50); }
.videos { --tone: var(--card); }
.say { --tone: var(--well); }
.pro { --tone: var(--pro-bg); }
.faq { --tone: var(--card); }
.final { --tone: var(--g-50); }
/* The static parts of the entrances (site.js scrubs their transforms and opacity). */
/* proof: card stock, with a lit top edge a touch thicker than a hairline */
.scene-proof > .scene-bg { box-shadow: inset 0 1px 0 rgb(var(--hi)), inset 0 2px 0 var(--line), 0 0 0 1px var(--line), 0 -12px 32px -16px rgb(var(--sh) / .14); }
/* the receipt: its top edge is torn paper, cut by a static mask (no corner radius) */
.math > .scene-bg, .math > .scene-dim {
  -webkit-mask: conic-gradient(from -45deg at 50% 8px, transparent 90deg, var(--ink) 0) 0 0 / 16px 100%;
  mask: conic-gradient(from -45deg at 50% 8px, transparent 90deg, var(--ink) 0) 0 0 / 16px 100%;
}
@media (max-width: 719px) {
  .math > .scene-bg, .math > .scene-dim {
    -webkit-mask: conic-gradient(from -45deg at 50% 6px, transparent 90deg, var(--ink) 0) 0 0 / 12px 100%;
    mask: conic-gradient(from -45deg at 50% 6px, transparent 90deg, var(--ink) 0) 0 0 / 12px 100%;
  }
}
/* a turning scene never shows its back, so it can't be seen mirrored */
.how.scene, .earn.scene { -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* Scroll room per entrance (screens; scenes mode only, so 720px and up): none for the two plain slides, more where the
   entrance has more to show. With snapping, a wheel notch plays a whole transition in the browser's snap animation
   whatever its length, so the room only sets how far a trackpad travels through it: short, so a swipe feels decisive. */
.math, .say, .final { --room: .2; }
.how, .earn { --room: .25; }
.videos, .pro { --room: .3; }

/* Snapping in scenes mode (the maths is in site.js, above measureScenes): the page rests only on a scene, never inside
   a transition. The sticky scenes can't be snap targets, so each has an invisible marker in document coordinates, in a
   zero-size box at the top of body: out of flow, no width to speak of, never hit by the pointer, never read out. */
html.scenes-on { scroll-snap-type: y mandatory; }
.snaps { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.snap { position: absolute; left: 0; top: 0; width: 1px; height: 0; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
html:not(.scenes-on) .snaps { display: none; }

/* ---------- The signature: the marker strike ----------
   A wipe made of two opposite translations (window and content), so the stroke and the handwriting appear left to
   right with transforms only. .is-unmarked = not yet written; .is-marking = being written. */
.wipe { display: inline-block; overflow: hidden; vertical-align: bottom; margin: -.12em -.14em; transition: transform .5s var(--ease); }
.wipe > .wipe-c { display: block; padding: .12em .14em; transition: transform .5s var(--ease); }
.is-unmarked .wipe { transform: translateX(-101%); transition: none; }
.is-unmarked .wipe > .wipe-c { transform: translateX(101%); transition: none; }
.is-marking .strike, .is-marking .strike > .wipe-c { transition-duration: .32s; }
.is-marking .marker, .is-marking .marker > .wipe-c { transition-duration: .64s; transition-delay: .28s; }
.struck { position: relative; display: inline-block; }
.strike { position: absolute; left: -14%; top: 6%; width: 128%; height: 88%; margin: 0; }
.strike > .wipe-c { width: 100%; height: 100%; padding: 0; }
.strike svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--g-700); stroke-width: 3.5; stroke-linecap: round; }
.marker { font-family: var(--hand); font-weight: 600; line-height: .9; color: var(--g-700); white-space: nowrap; letter-spacing: 0; }
.marker-upto { font-size: .42em; font-weight: 600; }

/* ---------- Hero ---------- */
.hero.scene { padding: 16px 0 24px; overflow-x: clip; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hero-copy { min-width: 0; }
.hero-sub { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
/* Spanish: "Más por cada venta." is about 9.1em wide, so the headline takes the size that keeps each sentence on one
   line in its column (cqi = 1% of the copy column): 34px at 360, 40px at 1024, 48px from 1280. Where container units
   are unknown it keeps the English size and wraps (the &nbsp; keeps "cada venta." together). */
.hero-copy { container-type: inline-size; }
.hero h1:lang(es) { font-size: min(clamp(40px, 6.2vw, 76px), 10.6cqi); }
/* the two buttons stay side by side while they fit (they wrap, full width, only below that); below 560 they fill the
   row anyway, so 16px padding only lets "Regístrate gratis" and "Ver productos" share it at 360 */
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.actions .btn { flex: 1 1 auto; }
.actions .btn-lg { padding: 0 16px; }
@media (min-width: 560px) { .actions { gap: 12px; } .actions .btn { flex: 0 0 auto; } .actions .btn-lg { padding: 0 24px; } }
@media (min-width: 720px) { .hero.scene { padding: 24px 0 40px; } .hero-in { gap: 16px; } .hero-sub { margin-top: 20px; } .actions { margin-top: 28px; } }
@media (min-width: 1024px) {
  .hero.scene { padding: 16px 0 40px; }
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
  .hero h1 { font-size: clamp(48px, 4.8vw, 68px); }
  .hero h1:lang(es) { font-size: min(clamp(48px, 4.8vw, 68px), 10.6cqi); }
  .hero-sub { font-size: 19px; margin-top: 24px; }
  .actions { margin-top: 36px; }
}

/* The rack. JS places the rail, the four slots along it and the pendulum swing of each tag; CSS sets the camera.
   --rk-sp (slot spacing, in tag widths), --rk-angle (rail angle into depth) and --rk-rot (yaw of a tag that waits
   at the back) are read by JS once per resize. */
.rack-area { position: relative; min-width: 0; }
.rack-view {
  --tw: min(74vw, 280px); --string: 28px; --hole-y: 24px;
  --rack-x: calc(4vw + var(--tw) / 2); --rack-y: 56px;
  --rk-sp: .6; --rk-angle: 52; --rk-rot: 24;
  position: relative; height: calc(var(--rack-y) + var(--string) + var(--tag-h, 352px) + 24px);
  margin: 0 calc(var(--pad) * -1);
  perspective: 800px; perspective-origin: calc(var(--rack-x) + 56px) calc(var(--rack-y) - 184px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
  border-radius: var(--r-card);
}
.rack-view.is-dragging { cursor: grabbing; }
.rack-view:focus-visible { outline-offset: -2px; }
@media (min-width: 720px) {
  .rack-view {
    --tw: 320px; --string: 36px; --hole-y: 28px;
    --rack-x: calc(50% - 120px); --rack-y: 72px;
    --rk-sp: .8; --rk-angle: 58; --rk-rot: 20;
    margin: 0; perspective: 1200px; perspective-origin: calc(var(--rack-x) + 80px) calc(var(--rack-y) - 48px);
  }
}
@media (min-width: 1024px) {
  .rack-view {
    --tw: 312px; --string: 40px;
    --rack-x: calc(var(--tw) / 2 + 24px); --rack-y: 80px;
    --rk-sp: .82; --rk-angle: 57; --rk-rot: 20;
    perspective: 1300px; perspective-origin: calc(var(--rack-x) + 100px) calc(var(--rack-y) - 40px);
  }
}
@media (min-width: 1280px) { .rack-view { --tw: 340px; } }
@media (min-width: 720px) { .rail-drop { top: -72px; height: 72px; } }
@media (min-width: 1024px) { .rail-drop { top: -160px; height: 160px; } }

.rack { position: absolute; left: var(--rack-x); top: var(--rack-y); width: 0; height: 0; transform-style: preserve-3d; transform-origin: 0 200px -300px; }
.slot, .swing { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }

/* rod, end caps and the two hangers up to the ceiling */
.rail { position: absolute; left: 0; top: -3px; width: 400px; height: 6px; transform-origin: 0 50%; }
.rod { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(to bottom, var(--metal-hi), var(--metal) 40%, var(--metal-lo) 85%, var(--metal) 100%); box-shadow: 0 2px 3px rgb(var(--sh) / .14); }
.rail-cap { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, var(--metal-hi), var(--metal) 46%, var(--metal-lo)); box-shadow: 0 1px 2px rgb(var(--sh) / .2); }
.rail-drop { position: absolute; left: -1.5px; top: -40px; width: 3px; height: 40px; background: linear-gradient(to top, var(--metal-lo), rgb(var(--sh) / 0)); opacity: .7; }

/* the string: a loop of two strands from the rail down to the punched hole */
.string { position: absolute; left: -4px; top: 0; width: 8px; height: calc(var(--string) + var(--hole-y)); transform: translateZ(1px); pointer-events: none; }
.string i { position: absolute; left: 3.25px; top: 0; width: 1.5px; height: 100%; border-radius: 1px; background: var(--cord); transform-origin: 50% 0; }
.string i:first-child { transform: rotate(4deg); }
.string i:last-child { transform: rotate(-4deg); }

/* The tag: card stock with a chamfered top, a punched hole and two perforation notches cut through every layer. */
.tag {
  --chamfer: 22px; --hole-r: 7px; --notch: 8px; --perf-y: 200px;
  position: absolute; left: calc(var(--tw) / -2); top: var(--string); width: var(--tw);
  transform-style: preserve-3d; color: var(--ink);
}
/* The outline is one clip-path: the chamfered top and, on each side, the perforation notch as a half circle of nine
   points (--nA/B/C are the notch radius times sin 22.5°, 45°, 67.5°). The punched hole is the one mask layer. With a
   single layer nothing depends on mask compositing (-webkit-mask-composite in older Safari vs mask-composite), so the
   hole and the notches look the same in every engine. */
.tag-face, .tag-layer {
  --nA: calc(var(--notch) * .3827); --nB: calc(var(--notch) * .7071); --nC: calc(var(--notch) * .9239);
  clip-path: polygon(
    var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
    100% calc(var(--perf-y) - var(--notch)), calc(100% - var(--nA)) calc(var(--perf-y) - var(--nC)),
    calc(100% - var(--nB)) calc(var(--perf-y) - var(--nB)), calc(100% - var(--nC)) calc(var(--perf-y) - var(--nA)),
    calc(100% - var(--notch)) var(--perf-y), calc(100% - var(--nC)) calc(var(--perf-y) + var(--nA)),
    calc(100% - var(--nB)) calc(var(--perf-y) + var(--nB)), calc(100% - var(--nA)) calc(var(--perf-y) + var(--nC)),
    100% calc(var(--perf-y) + var(--notch)), 100% 100%, 0 100%,
    0 calc(var(--perf-y) + var(--notch)), var(--nA) calc(var(--perf-y) + var(--nC)), var(--nB) calc(var(--perf-y) + var(--nB)),
    var(--nC) calc(var(--perf-y) + var(--nA)), var(--notch) var(--perf-y), var(--nC) calc(var(--perf-y) - var(--nA)),
    var(--nB) calc(var(--perf-y) - var(--nB)), var(--nA) calc(var(--perf-y) - var(--nC)), 0 calc(var(--perf-y) - var(--notch)),
    0 var(--chamfer));
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), var(--ink) calc(var(--hole-r) + .5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), var(--ink) calc(var(--hole-r) + .5px));
  border-radius: 0 0 14px 14px;
}
.tag-layer { position: absolute; inset: 0; background: var(--edge-1); transform: translateZ(-1.5px); }
.tag-layer:nth-child(2) { background: color-mix(in srgb, var(--edge-1), var(--edge-2)); transform: translateZ(-3px); }
.tag-layer:nth-child(3) { background: var(--edge-2); transform: translateZ(-4.5px); }
@media (max-width: 719px) {
  .tag-layer:nth-child(n+2), .card-layer:nth-child(n+2), .slab i:nth-child(odd), .ph-layer:nth-child(odd), .mc-layer:nth-child(odd) { display: none; }
  .tag-layer:first-child, .card-layer:first-child { background: color-mix(in srgb, var(--edge-1), var(--edge-2)); transform: translateZ(-3px); }
}
.tag-face {
  position: relative; display: flex; flex-direction: column;
  padding: calc(var(--hole-y) + 28px) 18px 16px;
  background: linear-gradient(158deg, var(--paper-hi), var(--paper) 42%, var(--paper-lo));
  box-shadow: inset 0 1px 0 rgb(var(--hi) / .9), inset 0 0 0 1px rgb(var(--sh) / .04);
}
.tag-ring {
  position: absolute; left: 50%; top: var(--hole-y); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: radial-gradient(circle, var(--ring-lo) 0 calc(var(--hole-r) + 1px), var(--ring-hi) calc(var(--hole-r) + 2px), var(--ring) 70%, var(--ring-lo));
  box-shadow: 0 1px 1px rgb(var(--sh) / .12);
}
/* phones: a 48px thumbnail and a 14px name, so the longest name stays on one line from 360 up (its column is 170px
   there): "Hydrating leave-in mist" is about 154px in Inter 600 at 14px, "Aceite reparador capilar" about 160px;
   balance keeps any wrap from leaving one word alone */
.tag-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.tag-head img { width: 48px; height: 48px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgb(var(--hi)); }
.tag-id { min-width: 0; }
.tag-name { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.tag-meta { margin-top: 4px; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.tag-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.tag-row > span:first-child { white-space: nowrap; }
.tag-price { margin-top: 16px; }
.tag-price .num { font-size: 15px; font-weight: 500; color: var(--ink); }
.tag-perf { position: relative; display: block; height: 1px; margin: 16px -18px 0; background-image: linear-gradient(to right, var(--line-2) 50%, rgb(var(--sh) / 0) 50%); background-size: 6px 1px; }
.tag-open { margin-top: 16px; }
.tag-open s { font-size: 26px; line-height: 32px; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; }
.tag-ab { margin-top: 4px; min-height: 52px; }
.tag-ab .marker { font-size: calc(var(--tw) * .165); }
.tag-sale { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.tag-sale > .num { color: var(--ink); white-space: nowrap; }
.tag-sale s { color: var(--ink-3); }
.tag-sale .arrow { display: inline-block; width: 12px; height: 12px; margin: 0 4px; vertical-align: -1px; color: var(--ink-3); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tag-sale b { color: var(--gain); }
.tag-same { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--ink-3); text-align: center; }
/* light: an overall shade that follows the tag's angle to the light, and a soft sheen that slides across */
.tag-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tag-shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgb(var(--sh) / .3), rgb(var(--sh) / .6)); opacity: 0; }
.tag-sheen { position: absolute; top: -10%; bottom: -10%; left: 0; width: 70%; background: linear-gradient(100deg, rgb(var(--hi) / 0) 20%, rgb(var(--hi) / .5) 50%, rgb(var(--hi) / 0) 80%); opacity: .55; transform: translateX(-40%); }
/* the soft shadow each tag throws behind it (light from the top left) */
.tag-cast { position: absolute; left: calc(var(--tw) / -2 + 12px); top: calc(var(--string) + 20px); width: calc(var(--tw) - 24px); height: calc(var(--tag-h, 372px) - 32px); border-radius: 24px; background: rgb(var(--sh) / .08); box-shadow: 0 0 40px 16px rgb(var(--sh) / .08); transform: translate3d(20px, 24px, -48px); pointer-events: none; }

@media (min-width: 720px) {
  .tag { --chamfer: 26px; --hole-r: 8px; --notch: 9px; }
  .tag-face { padding: calc(var(--hole-y) + 32px) 22px 20px; }
  .tag-ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
  .tag-head { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .tag-head img { width: 64px; height: 64px; }
  .tag-name { font-size: 16px; line-height: 20px; }
  .tag-row { font-size: 14px; }
  .tag-ab .marker { font-size: calc(var(--tw) * .18); }
  .tag-perf { margin: 16px -22px 0; }
  .tag-open s { font-size: 28px; }
  .tag-ab { min-height: 60px; }
}

/* the caption under the rack: a quiet line, under the front tag */
.rack-note { max-width: 30rem; margin-top: 4px; text-align: center; text-wrap: balance; }
@media (min-width: 720px) and (max-width: 1023px) { .rack-note { text-align: left; padding-left: max(0px, calc(50% - 280px)); } }
@media (min-width: 1024px) { .rack-note { text-align: left; padding-left: 20px; } }

/* ---------- What a few points add up to: the terminal ---------- */
.picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px 6px 6px; border-radius: var(--r-btn);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; text-align: left;
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease);
}
.pick img { width: 36px; height: 36px; border-radius: var(--r-sm); flex: 0 0 auto; }
.pick:hover { background: var(--page); }
.pick:active { transform: scale(.98); }
.pick[aria-pressed="true"] { background: var(--g-50); color: var(--g-800); box-shadow: inset 0 0 0 1.5px var(--g-600); }
@media (min-width: 560px) { .picker { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pick { flex-direction: column; align-items: flex-start; padding: 8px 12px 12px 8px; } }
@media (min-width: 1024px) { .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pick { flex-direction: row; align-items: center; padding: 6px 12px 6px 6px; } }

.sales { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sales-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.sales-top output { font-size: 20px; font-weight: 600; color: var(--ink); }
.range { --fill: 9%; width: 100%; height: 44px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--g-600) var(--fill), rgb(var(--sh) / .12) var(--fill)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgb(var(--sh) / .12); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--g-600); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px rgb(var(--sh) / .16), 0 2px 6px rgb(var(--sh) / .18); }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px rgb(var(--sh) / .16), 0 2px 6px rgb(var(--sh) / .18); }

/* The scene: a small receipt printer seen from above-right, the receipt rising out of its top slot. The receipt sits in
   its own window (.feed) whose bottom edge is the slot, so the paper is clipped exactly where it enters the body. */
.till {
  --tm-w: 270px; --tm-h: 84px; --tm-d: 128px; --pw: 236px; --feed-h: 380px; --tail: 24px;
  position: relative; min-width: 0; height: calc(var(--feed-h) + var(--tm-h) + 64px);
  perspective: 1100px; perspective-origin: 50% 36%;
}
@media (min-width: 720px) { .till { --tm-w: 320px; --tm-h: 96px; --tm-d: 148px; --pw: 248px; height: calc(var(--feed-h) + var(--tm-h) + 120px); } }
.till-scene { position: absolute; left: 50%; top: calc(var(--feed-h) + 32px); width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-20deg); }
.term { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.term > span { position: absolute; }
.term-top, .term-lip, .term-side { display: block; }
.term-front {
  left: calc(var(--tm-w) / -2); top: 0; width: var(--tm-w); height: var(--tm-h); border-radius: 4px 4px 12px 12px;
  transform: translateZ(calc(var(--tm-d) / 2));
  background: linear-gradient(170deg, var(--term-front), color-mix(in srgb, var(--term-front), var(--term-side) 45%));
  box-shadow: inset 0 1px 0 rgb(var(--hi) / .8), inset 0 -2px 0 rgb(var(--sh) / .06);
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
}
/* The top in two halves, behind (.term-top, before the paper in the page) and in front (.term-lip) of the paper, each
   hinged on the slot line: the paper stands between them and never cuts through a face, so the drawing order is right
   without relying on the browser splitting intersecting planes (Chrome does, Safari draws one over the other). */
.term-top, .term-lip { position: absolute; left: calc(var(--tm-w) / -2); width: var(--tm-w); height: calc(var(--tm-d) / 2); }
.term-top {
  top: calc(var(--tm-d) / -2); transform-origin: 50% 100%; transform: rotateX(90deg); border-radius: 12px 12px 0 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--term-top), var(--term-front) 40%), color-mix(in srgb, var(--term-top), var(--term-front) 20%));
  box-shadow: inset 0 1px 0 rgb(var(--hi) / .5), inset 1px 0 0 rgb(var(--hi) / .5), inset -1px 0 0 rgb(var(--hi) / .5);
}
.term-lip {
  top: 0; transform-origin: 50% 0; transform: rotateX(90deg); border-radius: 0 0 4px 4px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--term-top), var(--term-front) 20%), var(--term-top));
  box-shadow: inset 0 -1px 0 rgb(var(--hi) / .5), inset 1px 0 0 rgb(var(--hi) / .5), inset -1px 0 0 rgb(var(--hi) / .5);
}
.term-side {
  left: calc(var(--tm-w) / 2 - var(--tm-d) / 2); top: 0; width: var(--tm-d); height: var(--tm-h); border-radius: 4px 4px 12px 12px;
  transform: rotateY(90deg);
  background: linear-gradient(to right, var(--term-side), color-mix(in srgb, var(--term-side), var(--edge-2) 50%));
}
/* the slot, a groove across the top, split with it: its far wall on the back half, its near lip on the front half */
.term-slot { position: absolute; left: calc(50% - var(--pw) / 2 - 8px); width: calc(var(--pw) + 16px); height: 4px; }
.term-top .term-slot { bottom: 0; border-radius: 4px 4px 0 0; background: linear-gradient(to bottom, rgb(var(--sh) / .55), rgb(var(--sh) / .42)); }
.term-lip .term-slot { top: 0; border-radius: 0 0 4px 4px; background: linear-gradient(to bottom, rgb(var(--sh) / .42), rgb(var(--sh) / .3)); box-shadow: 0 1px 0 rgb(var(--hi) / .7); }
.lcd { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--g-50); color: var(--g-800); font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: inset 0 1px 2px rgb(var(--sh) / .14); }
.lcd .num { font-size: 14px; font-weight: 600; }
.term-led { width: 8px; height: 8px; border-radius: 50%; background: var(--g-400); box-shadow: 0 0 0 2px rgb(var(--hi) / .6); margin-left: auto; }
.term-keys { display: none; gap: 6px; }
.term-keys i { width: 20px; height: 12px; border-radius: 4px; background: var(--term-key); box-shadow: inset 0 -1px 0 rgb(var(--sh) / .12), 0 1px 0 rgb(var(--hi) / .8); }
@media (min-width: 720px) { .term-keys { display: flex; } }
/* floor: a contact shadow under the body and a long soft one thrown back to the right */
/* floor: flat shadows painted before the printer (outside its 3D group): a contact shadow just under the body and a
   long soft one thrown back to the right */
.till-floor { position: absolute; left: 50%; top: calc(var(--feed-h) + 32px + var(--tm-h) - 48px); width: calc(var(--tm-w) * 1.5); height: 88px; margin-left: calc(var(--tm-w) * -.66); pointer-events: none; }
.till-floor i { position: absolute; display: block; border-radius: 50%; }
.till-contact { left: 4%; width: 78%; top: 24px; height: 56px; background: radial-gradient(closest-side, rgb(var(--sh) / .24), rgb(var(--sh) / 0)); }
.till-long { left: 30%; width: 72%; top: 0; height: 72px; background: radial-gradient(closest-side, rgb(var(--sh) / .1), rgb(var(--sh) / 0)); transform: skewX(-30deg); }

.feed { position: absolute; left: calc(var(--pw) / -2 - 16px); bottom: 0; width: calc(var(--pw) + 32px); height: var(--feed-h); overflow: hidden; perspective: 700px; perspective-origin: 50% 100%; }
.paper { position: absolute; left: 16px; bottom: calc(var(--tail) * -1); width: var(--pw); transform-style: preserve-3d; }
.paper-body { position: relative; padding: 12px 16px calc(var(--tail) + 16px); background: var(--receipt); box-shadow: 1.5px 0 0 var(--edge-1), inset 0 -24px 24px -24px rgb(var(--sh) / .12); }
.curl { --c: -14deg; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; transform-origin: 50% 100%; transform: rotateX(var(--c)); transform-style: preserve-3d; background: linear-gradient(to top, var(--receipt), color-mix(in srgb, var(--receipt), var(--receipt-lo) 40%)); }
.curl .curl { --c: -18deg; background: linear-gradient(to top, color-mix(in srgb, var(--receipt), var(--receipt-lo) 40%), color-mix(in srgb, var(--receipt), var(--receipt-lo) 70%)); }
.curl .curl .curl { --c: -22deg; height: 12px; background: linear-gradient(to top, color-mix(in srgb, var(--receipt), var(--receipt-lo) 70%), var(--receipt-lo)); -webkit-mask: conic-gradient(from -45deg at 50% 5px, transparent 90deg, var(--ink) 0) 0 0 / 10px 100%; mask: conic-gradient(from -45deg at 50% 5px, transparent 90deg, var(--ink) 0) 0 0 / 10px 100%; }
.curl-tear { display: none; }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.rc-product { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.rc-product img { width: 36px; height: 36px; border-radius: 6px; }
/* the name fits on one line: 13px on phones (about 150px in a 160px column), 14px from 720 (162px in 172px) */
.rc-name { font-size: 13px; line-height: 18px; font-weight: 600; text-wrap: balance; }
@media (min-width: 720px) { .rc-name { font-size: 14px; } }
/* category and size only (the price has its own line below): "Cuidado de la piel · 0.3 oz" is about 147px of 160 */
.rc-meta { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.rc-lines { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
/* the longest line ("Open commission · 20%" with "$4,000" at 1,000 sales) is about 200px of the 204px the paper has */
.rc-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; font-size: 13px; line-height: 20px; }
.rc-lines dt { color: var(--ink-2); }
.rc-lines dd { font-weight: 500; }
.rc-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 8px; padding-top: 12px; }
.rc-total p:first-child { font-size: 13px; line-height: 20px; color: var(--ink-2); }
.rc-total .marker { font-size: 48px; margin-left: auto; }
.rc-fine { margin-top: 8px; font-size: 11px; line-height: 15px; color: var(--ink-3); }

/* ---------- How it works: three cards lying on a table, standing up as they scroll in ---------- */
.how { overflow-x: clip; } /* the table planes under the cards reach past the page edge */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.step { position: relative; perspective: 1000px; perspective-origin: 50% -40%; padding-top: 16px; }
.step-plane {
  position: absolute; left: -12px; right: -12px; bottom: -56px; height: calc(100% + 40px);
  transform-origin: 50% calc(100% - 56px); transform: rotateX(90deg);
  background: repeating-linear-gradient(to bottom, rgb(var(--sh) / 0) 0 31px, var(--line) 31px 32px);
  -webkit-mask: linear-gradient(to top, var(--ink) 40%, rgb(var(--sh) / 0)); mask: linear-gradient(to top, var(--ink) 40%, rgb(var(--sh) / 0));
  pointer-events: none;
}
.step-plane i { position: absolute; display: block; pointer-events: none; }
/* the card's footprint on the table: the cast shadow shrinks back and to the right as it stands */
.step-cast { left: 24px; right: 24px; bottom: 56px; height: calc(100% - 96px); border-radius: 16px; background: rgb(var(--sh) / .1); box-shadow: 0 0 24px 8px rgb(var(--sh) / .07); transform-origin: 50% 100%; }
.step-contact { left: 16px; right: 16px; bottom: 52px; height: 8px; border-radius: 50%; background: rgb(var(--sh) / .22); box-shadow: 0 0 8px 2px rgb(var(--sh) / .12); opacity: 0; }
.card { --lay: 0deg; position: relative; transform-style: preserve-3d; transform-origin: 50% 100% -4.5px; transform: rotateX(var(--lay)); }
.card-layer { position: absolute; inset: 0; border-radius: 20px; background: var(--edge-1); transform: translateZ(-1.5px); }
.card-layer:nth-child(2) { background: color-mix(in srgb, var(--edge-1), var(--edge-2)); transform: translateZ(-3px); }
.card-layer:nth-child(3) { background: var(--edge-2); transform: translateZ(-4.5px); }
.card-face {
  position: relative; display: grid; align-content: start; gap: 12px; padding: 20px; border-radius: 20px;
  background: linear-gradient(160deg, var(--paper-hi), var(--card) 50%, var(--paper));
  box-shadow: inset 0 0 0 1px rgb(var(--sh) / .06), inset 0 1px 0 rgb(var(--hi));
}
.card-face p { font-size: 15px; line-height: 24px; color: var(--ink-2); }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 4px; border-radius: 50%; background: var(--well); font-size: 14px; font-weight: 600; box-shadow: inset 0 1px 1px rgb(var(--sh) / .08); }
.step:last-child .step-n { background: var(--g-100); color: var(--g-800); }
.step-ui { display: flex; align-items: flex-end; margin-top: 8px; }
.ui-tiktok { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-btn); background: var(--ink); color: var(--page); font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgb(var(--sh) / .2); }
.ui-tiktok img { width: 20px; height: 20px; border-radius: 4px; }
.ui-product { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 8px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(var(--sh) / .05); }
.ui-product img { width: 40px; height: 40px; border-radius: 8px; }
.ui-product-text { display: grid; gap: 4px; min-width: 0; }
.ui-name { font-size: 13px; line-height: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-rates { display: flex; flex-wrap: wrap; gap: 4px; }
.ui-rates .rate { height: 22px; font-size: 12px; }
.ui-added { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-btn); background: var(--g-50); color: var(--g-800); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--g-200); }
.ui-added svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.how-foot { margin-top: 40px; font-size: 15px; color: var(--ink-2); }
@media (min-width: 720px) { .card-face { min-height: 300px; padding: 24px; } .how-foot { margin-top: 64px; } }
@media (min-width: 1024px) {
  /* each card keeps its own camera, so its table plane and the card are drawn in order, never depth-sorted */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  /* the three cards share the row's height (the Spanish copy can run one of them past the 340px minimum) */
  .step { display: flex; flex-direction: column; }
  .card { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr); }
  .step { perspective: 1200px; perspective-origin: 50% -50%; }
  .card-face { min-height: 340px; padding: 28px; }
  .how-foot { margin-top: 72px; }
}

/* ---------- Earn more: the Showcase panel, tilted back and straightening ---------- */
.note-line { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.note-line svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: var(--g-700); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-stage { perspective: 1600px; perspective-origin: 50% 115%; padding: 8px 0 20px; }
@media (min-width: 720px) { .sc-stage { padding: 16px 0 40px; } }
.sc-hold { position: relative; max-width: 600px; margin: 0 auto; transform-style: preserve-3d; }
.sc-panel { position: relative; border-radius: var(--r-panel); transform-style: preserve-3d; transform-origin: 50% 100% -8px; transform: rotateX(20deg); }
.slab { position: absolute; inset: 0; border-radius: inherit; transform-style: preserve-3d; pointer-events: none; }
.slab i { --k: 1; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--edge-1), var(--edge-2) calc(var(--k) * 22%)); transform: translateZ(calc(var(--k) * -2px)); }
.slab i:nth-child(2) { --k: 2; } .slab i:nth-child(3) { --k: 3; } .slab i:nth-child(4) { --k: 4; }
/* a flat contact shadow under the panel (a floor plane at 90deg was sorted in front of the panel's lower half in Chrome) */
.sc-floor { position: absolute; left: 2%; right: 2%; bottom: -36px; height: 56px; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(var(--sh) / .16), rgb(var(--sh) / 0)), radial-gradient(ellipse 50% 50% at 58% 60%, rgb(var(--sh) / .06), rgb(var(--sh) / 0)); pointer-events: none; }
.sc-face { position: relative; transform-style: preserve-3d; padding: 16px; border-radius: inherit; background: linear-gradient(165deg, var(--paper-hi), var(--card) 40%, var(--paper)); box-shadow: inset 0 0 0 1px rgb(var(--sh) / .07), inset 0 1px 0 rgb(var(--hi)); }
.sc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 4px 4px 16px; border-bottom: 1px solid var(--line); }
.sc-head-text { min-width: 0; }
.sc-title { font-size: 16px; line-height: 24px; font-weight: 600; }
.sc-sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.sc-rows { display: grid; gap: 4px; padding-top: 8px; transform-style: preserve-3d; }
.sc-row {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  min-height: 72px; padding: 12px; border-radius: 16px; background: var(--card);
  transform: translateZ(0); transition: transform .7s var(--ease);
}
.sc-row::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 1px 2px rgb(var(--sh) / .08), 0 16px 28px -8px rgb(var(--sh) / .22); opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.sc-row.is-lift { transform: translateZ(28px); }
.sc-row.is-lift::after { opacity: 1; }
.sc-row.is-set { transform: translateZ(6px); }
.sc-row.is-set::after { opacity: .35; }
.sc-row img { width: 44px; height: 44px; border-radius: 10px; }
.sc-name { min-width: 0; }
.sc-name p { font-size: 15px; line-height: 20px; font-weight: 500; }
.sc-name .sc-size { font-size: 13px; line-height: 16px; font-weight: 400; color: var(--ink-3); }
.sc-rate-in { display: flex; align-items: center; gap: 12px; }
.sc-rate s { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.sc-rate .marker { font-size: 32px; min-width: 2.6em; text-align: right; }
@media (max-width: 559px) {
  .sc-row { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "img name name" "img size rate"; row-gap: 0; padding: 12px 12px 8px; }
  .sc-row img { grid-area: img; }
  .sc-name { display: contents; }
  .sc-name p:first-child { grid-area: name; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sc-name .sc-size { grid-area: size; align-self: center; }
  .sc-rate { grid-area: rate; }
  .sc-rate-in { gap: 8px; }
  .sc-rate .marker { font-size: 28px; }
}

/* ---------- Videos: the phone, and the breakdown floating on its own layer ---------- */
.limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.limits div { padding: 16px; border-radius: var(--r-card); background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.limits dt { font-size: 13px; color: var(--ink-3); }
.limits dd { margin-top: 4px; font-size: 16px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; justify-self: start; }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s var(--ease); }
.text-link:hover svg { transform: translate(2px, -2px); }
.ph-stage {
  --ph-w: 200px; --ph-h: 412px; --ph-r: 32px; --sheet-w: 224px; --sheet-over: calc(var(--sheet-w) - var(--ph-w) * .5);
  position: relative; display: flex; justify-content: center; padding: 24px 0 56px; perspective: 1400px; perspective-origin: 50% 40%;
}
@media (min-width: 720px) { .ph-stage { --ph-w: 248px; --ph-h: 512px; --ph-r: 40px; --sheet-w: 272px; } }
.ph-group { position: relative; width: var(--ph-w); height: var(--ph-h); margin-left: var(--sheet-over); transform-style: preserve-3d; transform: rotateY(16deg) rotateX(4deg); }
/* the floor shadow: flat, under the phone, painted before its 3D group */
.ph-floor { position: absolute; left: calc(50% + var(--sheet-over) / 2 - var(--ph-w) * .95); width: calc(var(--ph-w) * 1.9); bottom: 20px; height: 72px; background: radial-gradient(ellipse 36% 40% at 50% 50%, rgb(var(--sh) / .2), rgb(var(--sh) / 0)), radial-gradient(ellipse 46% 50% at 64% 40%, rgb(var(--sh) / .08), rgb(var(--sh) / 0)); pointer-events: none; }
.ph-body { position: absolute; inset: 0; transform-style: preserve-3d; }
.ph-layer { --k: 1; position: absolute; inset: 0; border-radius: var(--ph-r); background: color-mix(in srgb, var(--shell-2), var(--edge-2) calc(var(--k) * 16%)); transform: translateZ(calc(var(--k) * -2px)); }
.ph-layer:nth-child(2) { --k: 2; } .ph-layer:nth-child(3) { --k: 3; } .ph-layer:nth-child(4) { --k: 4; } .ph-layer:nth-child(5) { --k: 5; }
.ph-face { position: absolute; inset: 0; overflow: hidden; padding: 10px; border-radius: var(--ph-r); background: linear-gradient(150deg, var(--shell-1), var(--shell-2)); box-shadow: inset 0 0 0 1px rgb(var(--sh) / .08), inset 0 1px 0 rgb(var(--hi)), inset 0 0 0 3px rgb(var(--hi) / .4); }
.ph-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--ph-r) - 10px); background: var(--well); }
.ph-art { position: absolute; left: 50%; top: 50%; width: 132%; max-width: none; transform: translate(-50%, -54%); }
/* studio light over the illustration (its backdrop is the screen colour, so there is no visible square) */
.ph-screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 46% at 32% 12%, rgb(var(--hi) / .6), rgb(var(--hi) / 0)), linear-gradient(to top, rgb(var(--sh) / .08), rgb(var(--sh) / 0) 30%); pointer-events: none; }
.ph-top { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.ph-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: rgb(var(--hi) / .8); color: var(--ink); font-size: 12px; white-space: nowrap; }
.ph-top .num { white-space: nowrap; }
/* on phones the screen's top row is 120px: the pill alone ("Video exitoso" is about 100px); the bar shows the time */
@media (max-width: 719px) { .ph-top .num { display: none; } }
.ph-caption { position: absolute; left: 12px; bottom: 28px; z-index: 1; display: grid; gap: 6px; width: 60%; }
.ph-caption span { height: 8px; border-radius: 4px; background: rgb(var(--sh) / .16); }
.ph-caption span + span { width: 70%; }
.ph-bar { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 1; height: 4px; border-radius: 2px; background: rgb(var(--sh) / .12); overflow: hidden; }
.ph-bar span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.33); }
.sheet-shadow { position: absolute; right: 30%; bottom: 8%; width: var(--sheet-w); height: 56%; border-radius: 18px; background: rgb(var(--sh) / .12); box-shadow: 0 0 32px 12px rgb(var(--sh) / .1); transform: translate3d(20px, 20px, 1px); opacity: .9; pointer-events: none; }
.sheet {
  --z: 72px;
  position: absolute; right: 50%; bottom: 6%; width: var(--sheet-w); padding: 14px; border-radius: 18px;
  background: rgb(var(--hi) / .96); color: var(--ink); transform: translateZ(var(--z));
  box-shadow: inset 0 0 0 1px rgb(var(--sh) / .06), 0 1px 2px rgb(var(--sh) / .08);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; font-size: 14px; font-weight: 600; }
.beats { display: grid; gap: 2px; }
.beats li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: 10px; font-size: 12px; line-height: 16px; color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.beats li.is-now { background: var(--g-50); color: var(--ink); }
.beat-t { font-weight: 600; color: var(--ink-3); }
.beats li.is-now .beat-t { color: var(--g-700); }
.beat-k { font-weight: 600; color: var(--ink); }
.sheet-product { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.sheet-product img { width: 28px; height: 28px; border-radius: 6px; }
.sheet-name { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-product .rate { height: 22px; font-size: 12px; }
@media (max-width: 719px) {
  /* The group lets go of its box (display: contents), so the phone and the sheet sit in the stage's grid: the phone on
     the right, the sheet over its lower left and below it. Only the phone turns (in the stage's perspective); the
     sheet stays flat, so its text renders crisp. */
  .ph-stage {
    --ph-w: 164px; --ph-h: 336px; --ph-r: 28px;
    display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--ph-w) * .55) calc(var(--ph-w) * .45 + 8px);
    grid-template-rows: calc(var(--ph-h) * .56) auto; padding: 8px 0 16px; perspective: 900px; perspective-origin: 70% 30%;
  }
  .ph-group { display: contents; }
  .ph-body { position: relative; inset: auto; grid-column: 2 / 4; grid-row: 1 / 3; align-self: start; justify-self: start; width: var(--ph-w); height: var(--ph-h); transform-origin: 50% 50%; }
  .ph-floor, .sheet-shadow { display: none; }
  .sheet {
    position: relative; right: auto; bottom: auto; z-index: 1; grid-column: 1 / 3; grid-row: 2; justify-self: end;
    width: auto; max-width: 280px; transform: none;
    box-shadow: inset 0 0 0 1px rgb(var(--sh) / .06), 0 1px 2px rgb(var(--sh) / .1), 0 16px 32px -12px rgb(var(--sh) / .3);
  }
  .beats li { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; row-gap: 2px; }
  .beats li > div { display: contents; }
  .beats li > div > p:last-child { grid-column: 1 / -1; }
}

/* ---------- What creators say: paper notes pegged to a cotton line ----------
   The same world as the hero: a cotton line runs back into depth like the rod, and six notes hang from it on wooden
   pegs. JS places the line (an SVG in the line's own vertical plane, redrawn with a slight sag between the pegs) and
   the notes along it, and swings each note with the hero's pendulums. --rk-* are read by JS, as for the rack. */
.say { overflow-x: clip; }
.say-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 8px; }
.notes-view {
  --tw: min(80vw, 340px); --peg-y: 14px; --cord-near: -1.3;
  --rack-x: calc(5vw + var(--tw) / 2); --rack-y: 64px;
  --rk-sp: .5; --rk-angle: 40; --rk-rot: 22;
  position: relative; height: calc(var(--rack-y) + var(--peg-y) + var(--note-h, 236px) + var(--below, 28px));
  margin: 0 calc(var(--pad) * -1);
  perspective: 800px; perspective-origin: calc(var(--rack-x) + 80px) calc(var(--rack-y) - 220px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
  border-radius: var(--r-card);
}
.notes-view.is-dragging { cursor: grabbing; }
.notes-view:focus-visible { outline-offset: -2px; }
@media (min-width: 720px) {
  .notes-view {
    --tw: 300px; --cord-near: -2.5; --below: 40px;
    --rack-x: calc(var(--tw) / 2 + 8px); --rack-y: 72px;
    --rk-sp: .92; --rk-angle: 36; --rk-rot: 20;
    margin: 0; perspective: 1400px; perspective-origin: calc(var(--rack-x) + 240px) calc(var(--rack-y) - 160px);
  }
}
/* The notes are not depth-sorted by the browser: Chrome's 3D sorting drew a strip of the second note over the first
   on phones. Instead the line projects each note itself (perspective on .notes, the same eye as before) and paints
   them back to front by z-index (site.js sets it from each note's place on the line). */
.notes {
  position: absolute; left: var(--rack-x); top: var(--rack-y); width: 0; height: 0; transform-origin: 0 160px -300px;
  perspective: 800px; perspective-origin: 80px -220px;
}
@media (min-width: 720px) { .notes { perspective: 1400px; perspective-origin: 240px -160px; } }

/* the cotton line: an SVG lying in the line's vertical plane; y = 4 is the height of the pegs */
.cord { position: absolute; left: 0; top: -4px; height: 32px; overflow: visible; transform-origin: 0 4px; pointer-events: none; }
.cord path { fill: none; stroke: var(--cord); stroke-width: 2; stroke-linecap: round; }
.cord-end { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, var(--metal-hi), var(--metal) 46%, var(--metal-lo)); box-shadow: 0 1px 2px rgb(var(--sh) / .2); pointer-events: none; }

/* the peg: two halves of light wood with a steel spring, gripping the line and the top of the note */
.peg {
  position: absolute; left: -7px; top: -12px; width: 14px; height: 40px; border-radius: 4px 4px 3px 3px;
  background: linear-gradient(100deg, var(--peg-hi), var(--peg) 45%, var(--peg-lo));
  box-shadow: inset 0 1px 0 rgb(var(--hi) / .7), 0 1px 2px rgb(var(--sh) / .2);
  transform: translateZ(2px); pointer-events: none;
}
.peg::before { content: ""; position: absolute; left: 6.5px; top: 3px; bottom: 3px; width: 1px; background: rgb(var(--sh) / .2); }
.peg::after { content: ""; position: absolute; left: -2px; right: -2px; top: 12px; height: 4px; border-radius: 2px; background: linear-gradient(to bottom, var(--metal-hi), var(--metal-lo)); }

/* the note: thin card stock, one edge layer */
.note { position: absolute; left: calc(var(--tw) / -2); top: var(--peg-y); width: var(--tw); transform-style: preserve-3d; color: var(--ink); }
.note-layer { position: absolute; inset: 0; border-radius: 6px; background: var(--edge-2); transform: translateZ(-1.5px); }
.note-face {
  position: relative; display: grid; align-content: space-between; gap: 20px; margin: 0; padding: 28px 20px 20px; border-radius: 6px;
  background: linear-gradient(160deg, var(--paper-hi), var(--paper) 45%, var(--paper-lo));
  box-shadow: inset 0 0 0 1px rgb(var(--sh) / .05), inset 0 1px 0 rgb(var(--hi) / .9);
}
.note-q { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink); }
.note-by { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.note-who { display: grid; min-width: 0; }
.note-name { font-size: 14px; line-height: 20px; font-weight: 600; }
.note-niche { font-size: 13px; line-height: 16px; color: var(--ink-2); }
/* initials on a paper disc, lit from the top left */
.avatar {
  --av: var(--g-100); --av-ink: var(--g-800);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--av), var(--paper-hi) 55%), var(--av) 62%);
  color: var(--av-ink); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgb(var(--sh) / .06), 0 1px 2px rgb(var(--sh) / .12);
}
.av-2 { --av: var(--well); --av-ink: var(--ink); }
.av-3 { --av: var(--g-200); --av-ink: var(--g-900); }
.av-4 { --av: var(--edge-1); --av-ink: var(--ink); }
.av-5 { --av: var(--g-50); --av-ink: var(--g-700); }
.av-6 { --av: var(--ring); --av-ink: var(--g-800); }
.note-light { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.note-shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgb(var(--sh) / .28), rgb(var(--sh) / .55)); opacity: 0; }
.note-sheen { position: absolute; top: -10%; bottom: -10%; left: 0; width: 70%; background: linear-gradient(100deg, rgb(var(--hi) / 0) 20%, rgb(var(--hi) / .45) 50%, rgb(var(--hi) / 0) 80%); opacity: .5; transform: translateX(-40%); }
.note-cast { position: absolute; left: calc(var(--tw) / -2 - 8px); top: calc(var(--peg-y) + 8px); width: calc(var(--tw) + 16px); height: calc(var(--note-h, 236px) + 16px); background: radial-gradient(closest-side, rgb(var(--sh) / .14), rgb(var(--sh) / 0)); transform: translate3d(18px, 22px, -40px); pointer-events: none; }
@media (min-width: 720px) {
  .note-face { padding: 32px 24px 24px; gap: 24px; }
  .note-q { font-size: 17px; line-height: 26px; }
}

/* the marker underline under a quote's key words (the same marker as the hero, drawn when the note comes forward) */
.ul { position: relative; white-space: nowrap; }
.ul-stroke { position: absolute; left: -4%; width: 108%; bottom: -.3em; height: .5em; margin: 0; }
.ul-stroke > .wipe-c { width: 100%; height: 100%; padding: 0; }
.ul-stroke svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--g-700); stroke-width: 3; stroke-linecap: round; }
.is-marking .ul-stroke, .is-marking .ul-stroke > .wipe-c { transition-duration: .6s; transition-delay: .12s; }

/* ---------- Pro: the membership card ---------- */
.pro { color: var(--pro-ink); --focus: var(--g-200); }
.pro .lead { color: var(--pro-ink-2); }
.pro .btn-primary { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(var(--sh) / .3), inset 0 1px 0 rgb(var(--hi)); }
.pro .btn-primary:hover { background: color-mix(in srgb, var(--card) 86%, var(--g-200)); }
.pro-price { font-size: 17px; color: var(--pro-ink-2); }
.pro-price .num { font-size: 40px; font-weight: 500; letter-spacing: -.02em; color: var(--pro-ink); margin-right: 4px; }
.pro-list { display: grid; gap: 12px; }
.pro-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 24px; }
.pro-list svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--g-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.pro-note { font-size: 14px; color: var(--pro-ink-2); }
.mc-stage { --mc-w: min(300px, 80vw); position: relative; display: grid; place-items: center; padding: 16px 0 48px; }
@media (min-width: 720px) { .mc-stage { --mc-w: 380px; padding: 64px 0 88px; } }
/* the camera is on the holder, which stays flat: the floor shadow and the card are drawn in order, never sorted */
.mc-hold { position: relative; perspective: 1100px; perspective-origin: 50% -20%; }
.mc-floor { position: absolute; left: -8%; right: -8%; top: 90%; height: 72px; background: radial-gradient(ellipse 48% 42% at 50% 50%, rgb(var(--sh) / .36), rgb(var(--sh) / 0)), radial-gradient(ellipse 50% 50% at 62% 62%, rgb(var(--sh) / .16), rgb(var(--sh) / 0)); pointer-events: none; }
.mc { position: relative; width: var(--mc-w); aspect-ratio: 1.586; border-radius: 20px; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-14deg) rotateZ(-4deg); }
.mc-layer { --k: 1; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--pro-edge-1), var(--pro-edge-2) calc(var(--k) * 25%)); transform: translateZ(calc(var(--k) * -1.5px)); }
.mc-layer:nth-child(2) { --k: 2; } .mc-layer:nth-child(3) { --k: 3; } .mc-layer:nth-child(4) { --k: 4; }
.mc-face {
  position: absolute; inset: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 20px 22px; border-radius: inherit;
  /* the light end is 40% g-600 / 60% g-700: light text stays at 4.5:1 or more at the lightest point even under the
     sheen's peak and a ring line (about 5.8:1 there without them; the pure g-600 end was 4.7:1, 3.5:1 under the sheen) */
  background: var(--g-700);
  background: linear-gradient(150deg, var(--g-700), color-mix(in srgb, var(--g-600) 40%, var(--g-700)) 62%); color: var(--pro-ink);
  box-shadow: inset 0 1px 0 rgb(var(--hi) / .24), inset 0 0 0 1px rgb(var(--hi) / .12);
}
.mc-face::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 110% 120%, rgb(var(--hi) / 0) 0 22px, rgb(var(--hi) / .03) 22px 23px); pointer-events: none; }
.mc-sheen { position: absolute; top: -40%; bottom: -40%; left: 0; width: 60%; background: linear-gradient(100deg, rgb(var(--hi) / 0), rgb(var(--hi) / .08) 50%, rgb(var(--hi) / 0)); transform: translateX(-30%) rotate(8deg); pointer-events: none; }
.mc-top { position: relative; display: flex; align-items: center; gap: 10px; }
.mc-bolt { width: 26px; height: 26px; background: var(--g-200); -webkit-mask: url("/site/img/autoboost-mark.svg?v=0ae11e3f") center / contain no-repeat; mask: url("/site/img/autoboost-mark.svg?v=0ae11e3f") center / contain no-repeat; }
.mc-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.mc-line { position: relative; align-self: center; font-size: 13px; color: var(--pro-ink); }
.mc-bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mc-perks { font-size: 12px; line-height: 16px; color: var(--pro-ink); }
.mc-price { font-size: 12px; color: var(--pro-ink); text-align: right; white-space: nowrap; }
.mc-price b { display: block; font-size: 28px; line-height: 1.1; font-weight: 500; color: var(--pro-ink); letter-spacing: -.02em; }

/* ---------- Numbers: thick shop lettering on hairline floors ----------
   Each figure is its real text (the face) plus a stack of aria-hidden copies behind it (site.js makes 8 on phones,
   12 on tablets, 18 on desktop, 1px apart), coloured from the edge tokens: lit card stock seen from above left. The
   block is hinged at its baseline's back edge, so it stands up off the floor without passing through it. A sizer
   holding the final text reserves the width, so counting never shifts the layout. */
.nums-stage { --fd: 8px; perspective: 640px; perspective-origin: 24% -40%; padding-top: 8px; }
.nums { display: grid; gap: 28px; transform-style: preserve-3d; }
.fig { --fs: 24vw; display: grid; grid-template-areas: "val" "label"; min-width: 0; transform-style: preserve-3d; }
.fig-1 { --fs: 26vw; }
.fig-2 { --fs: 22vw; }
.fig-val { grid-area: val; position: relative; display: flex; min-width: 0; transform-style: preserve-3d; }
.fig-block {
  position: relative; display: grid;
  font: 600 var(--fs) / .74 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.04em; white-space: nowrap;
  color: var(--g-800); transform-style: preserve-3d; transform-origin: 50% 100% calc(var(--fd) * -1);
}
.fig-block > span { grid-area: 1 / 1; justify-self: end; }
.fig-size { visibility: hidden; }
.fig.is-wait .fig-block, .fig.is-wait .fig-shadow { visibility: hidden; }
.fig-copy { color: color-mix(in srgb, var(--edge-1), var(--edge-3) calc(var(--k) / var(--n) * 100%)); transform: translateZ(calc(var(--k) * -1px)); }
/* standing still and square: the copies drawn flat, where the perspective put them (site.js bakes --flat) */
.fig.is-flat .fig-block { transform-style: flat; }
.fig.is-flat .fig-copy { transform: var(--flat, translateZ(calc(var(--k) * -1px))); }
/* the copies are transformed, so in 2D they paint above in-flow text: the face must be positioned to stay on top */
.fig-face { position: relative; z-index: 1; }
/* the contact shadow on the floor line: soft while the figure rises, sharp once it stands */
.fig-shadow { position: absolute; left: -2%; right: -2%; bottom: -12px; height: 24px; pointer-events: none; }
.fig-shadow i { position: absolute; display: block; border-radius: 50%; }
.fig-soft { inset: 0 -4%; background: radial-gradient(closest-side, rgb(var(--sh) / .12), rgb(var(--sh) / 0)); }
.fig-sharp { left: 2%; right: 2%; top: 8px; height: 8px; background: radial-gradient(closest-side, rgb(var(--sh) / .22), rgb(var(--sh) / 0)); }
.fig-label { grid-area: label; min-width: 0; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 20px; color: var(--ink-2); }
@media (min-width: 720px) {
  .nums-stage { --fd: 12px; perspective: 1000px; perspective-origin: 22% -30%; padding-top: 16px; }
  .nums { gap: 40px; }
  /* an editorial staircase: one figure per row, each row stepping right, the label standing beside it on the floor */
  .fig { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "val label"; align-items: end; column-gap: 32px; margin-left: var(--step, 0%); border-bottom: 1px solid var(--line-2); }
  .fig-1 { --fs: min(17vw, 220px); }
  .fig-2 { --fs: min(13vw, 168px); --step: 16%; }
  .fig-3 { --fs: min(14.8vw, 190px); --step: 32%; }
  .fig-label { padding: 0 0 16px; border-top: 0; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--ink); max-width: 16rem; }
}
@media (min-width: 1024px) { .nums-stage { --fd: 18px; } .nums { gap: 48px; } .fig-label { font-size: 18px; } }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 17px; line-height: 24px; font-weight: 500; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; border-radius: 1px; background: var(--ink-2); transition: transform .24s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.qa-a { perspective: 800px; }
.qa-a p { padding: 0 32px 24px 0; font-size: 16px; line-height: 26px; color: var(--ink-2); max-width: 40rem; transform-origin: 50% 0; }
details[open] .qa-a p { animation: unfold .48s var(--ease); }
@keyframes unfold { from { opacity: 0; transform: rotateX(-24deg); } }
@media (min-width: 1024px) { .faq-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; } }

/* ---------- Final: one last tag on a short rail ---------- */
.final-stage { padding: 16px 0 24px; }
.final-hang { --string: 48px; --hole-y: 32px; position: relative; max-width: 760px; margin: 0 auto; padding-top: 3px; transform-style: preserve-3d; }
.final-rail { position: absolute; left: calc(50% - 72px); top: 0; width: 144px; height: 6px; border-radius: 3px; background: linear-gradient(to bottom, var(--metal-hi), var(--metal) 40%, var(--metal-lo) 85%, var(--metal)); box-shadow: 0 2px 3px rgb(var(--sh) / .14); }
.final-rail::before, .final-rail::after { content: ""; position: absolute; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, var(--metal-hi), var(--metal) 46%, var(--metal-lo)); }
.final-rail::before { left: -8px; } .final-rail::after { right: -8px; }
.final-swing { position: relative; padding-top: var(--string); transform-style: preserve-3d; transform-origin: 50% 0; }
.final-swing .string { left: calc(50% - 4px); top: 3px; height: calc(var(--string) + var(--hole-y) - 3px); }
.tag-final { --chamfer: 32px; --hole-r: 9px; position: relative; left: auto; top: auto; width: auto; }
/* the last tag has no perforation: the chamfer only */
.tag-final .tag-face, .tag-final .tag-layer { clip-path: polygon(var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 var(--chamfer)); }
.tag-final .tag-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.tag-final .tag-face { align-items: center; gap: 16px; padding: calc(var(--hole-y) + 48px) 24px 40px; text-align: center; border-radius: 0 0 24px 24px; }
.tag-final .tag-layer { border-radius: 0 0 24px 24px; }
.tag-final .lead { margin: 0 auto; }
.tag-final .actions { justify-content: center; margin-top: 12px; width: 100%; }
@media (min-width: 1024px) { .tag-final .tag-face { padding: calc(var(--hole-y) + 64px) 48px 56px; } }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.foot-brand p { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot-cols div { display: grid; gap: 0; align-content: start; }
.foot-h { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.foot-cols a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); transition: color .16s var(--ease); }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (min-width: 720px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }

/* ---------- Overflow guards on the 3D stages ----------
   overflow: clip, with a fallback for Safari before 16 (which drops clip): hidden on both axes there, so a stage never
   turns into a vertical scroller (hidden on one axis makes the other auto). Not on body, main, a lane or a scene:
   body, main and the lanes are ancestors of the sticky scenes, and hidden would make one of them the scroller the
   scenes stick to; a scene with hidden would clip its own shadow and could scroll inside itself. The root's
   overflow-x: hidden (top of this file) keeps those browsers from scrolling sideways instead. */
.till, .sc-stage, .ph-stage, .mc-stage, .nums-sec, .final-stage { overflow: hidden; }
@supports (overflow: clip) {
  .till, .sc-stage, .ph-stage, .mc-stage, .nums-sec { overflow: visible; overflow-x: clip; }
  .final-stage { overflow: clip; }
}

/* ---------- Reduced motion: the same 3D composition, held still in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}
