/* ============================================================================
   The studio scene of the preview at /studio/. Written by hand.

   Colours, type and controls are the site's own (base.css is a copy of the
   site's stylesheets). This file only lays the scene out: a stage that stays
   on screen while the page scrolls, the chapters' words beside the car, and
   the same chapters as a plain page where the stage cannot be drawn.

   html.st-live   the stage is pinned and drawn (set before the first paint)
   html.st-ready  the car is on screen
   ============================================================================ */

.st { --st-bg: #06080b; --st-pad: max(clamp(20px, 4.2vw, 72px), env(safe-area-inset-left, 0px)); background: var(--st-bg); }

/* The bar floats over the stage, edge to edge like the stage itself. */
.st-top .ss-wrap { width: auto; margin-inline: var(--st-pad); }
.st-top { position: fixed; inset: 0 0 auto 0; background: linear-gradient(rgba(6, 8, 11, 0.82), rgba(6, 8, 11, 0)) border-box no-repeat; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* The height of the words of the chapter in view, from the stage's lower edge. Registered so that it can ease. */
@property --st-words { syntax: '<length>'; inherits: true; initial-value: 320px; }

/* ------------------------------------------------------------- the stage */
.st-stage { position: relative; background: var(--st-bg); }
.st-pin { position: relative; overflow: clip; }
#st-gl, .st-shade, .st-pins, .st-dots, .st-progress, .st-loading { display: none; }
.st-poster { display: block; width: 100%; height: auto; max-height: 72svh; object-fit: cover; }
.st-live .st-poster { display: none; }
/* The plain page keeps the site's own measure. */
html:not(.st-live) .st-acts, html:not(.st-live) .st-credit { width: min(var(--wrap), 100% - 2 * max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); margin-inline: auto; }
html:not(.st-live) .st-act, html:not(.st-live) .st-credit { padding-inline: 0; }
html:not(.st-live) .st-act--first { padding-top: 40px; }

.st-live .st-stage { height: 760svh; }
.st-live .st-pin { position: sticky; top: 0; height: 100svh; --st-words: 46svh; transition: --st-words 420ms var(--ease); }
.st-live #st-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 700ms var(--ease); outline-offset: -3px; }
.st-ready #st-gl { opacity: 1; }
.st-turning #st-gl { cursor: grabbing; }
.st-turning { user-select: none; -webkit-user-select: none; }
html[data-act='2'] #st-gl, html[data-act='3'] #st-gl, html[data-act='4'] #st-gl, html[data-act='5'] #st-gl { cursor: default; }

/* A soft dark edge behind the words, so that they read over any part of the picture. */
.st-live .st-shade { display: block; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 8, 11, 0.72) 0%, rgba(6, 8, 11, 0.35) 30%, rgba(6, 8, 11, 0) 52%); }
/* Where the floor is full of cars the words need more of it: solid for the whole width of their column, and
   only past it letting the picture in. (It used to thin out over the column's last fifth. In a window near
   4:3 the camera stands back, and cars and the price line then lay behind the ends of the lines.) */
.st-shade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 11, 0.97) 0, rgba(6, 8, 11, 0.95) calc(var(--st-pad) + 1.03 * min(440px, 38vw)), rgba(6, 8, 11, 0.55) calc(var(--st-pad) + 1.21 * min(440px, 38vw) + 2vw), rgba(6, 8, 11, 0) calc(var(--st-pad) + min(440px, 38vw) + 13vw)); opacity: 0; transition: opacity 500ms var(--ease); }
html[data-act='2'] .st-shade::after, html[data-act='3'] .st-shade::after, html[data-act='4'] .st-shade::after, html[data-act='5'] .st-shade::after { opacity: 1; }

/* ------------------------------------------------------------- the words */
.st-acts { position: relative; }
.st-act { padding: 40px var(--st-pad); border-top: 1px solid var(--line); }
.st-act--first { padding-top: calc(var(--top-h) + 48px); border-top: 0; }
.st-kicker { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.01em; }
.st-kicker .ss-num { color: var(--teal); margin-right: 8px; }
.st-h { margin-top: 10px; font-stretch: var(--wide); font-weight: 620; font-size: clamp(27px, 3.3vw, 44px); line-height: 1.04; letter-spacing: -0.028em; text-wrap: balance; }
.st-p { margin-top: 16px; max-width: 44ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.st-p strong { color: var(--ink); font-weight: 560; }
.st-act--first .ss-lede { margin-top: 24px; max-width: 40ch; }
.st-act--first .ss-display { max-width: 12ch; }
.st-hint { margin-top: 28px; font-size: 13.5px; color: var(--ink-3); }
.st-hint__live { display: none; }
.st-facts { margin-top: 20px; display: grid; gap: 0; max-width: 46ch; font-size: 15px; }
.st-facts > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-strong); }
.st-facts dt { color: var(--ink-3); }
.st-facts dd { margin: 0; color: var(--ink); }
.st-act--last .st-p { max-width: 36ch; }
.st-credit { padding: 20px var(--st-pad) 28px; font-size: 12px; line-height: 1.5; color: var(--ink-3); max-width: 76ch; }
.st-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.st-credit a:hover { color: var(--ink-2); }

.st-live .st-acts { position: absolute; inset: 0; pointer-events: none; }
.st-live .st-act { position: absolute; left: var(--st-pad); top: 50%; width: min(440px, 38vw); padding: 0; border: 0; margin-top: -120px; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.st-live .st-act[data-on] { pointer-events: auto; }
/* Beside the car's tail, the column ends where the tail begins. */
.st-live .st-act[data-act='1'] { width: min(440px, 31vw); }
.st-live .st-act--first { width: min(600px, 46vw); margin-top: -210px; padding: 0; }
.st-live .st-act--value { margin-top: -190px; }
.st-live .st-act--last { margin-top: -130px; width: min(520px, 44vw); }
.st-live .st-hint__live { display: inline; }
.st-live .st-hint__plain { display: none; }
.st-live .st-credit { position: absolute; left: var(--st-pad); right: var(--st-pad); bottom: 12px; padding: 0; max-width: none; opacity: 0.85; }

/* Labels the scene pins to points on the car. */
.st-live .st-pins { display: block; position: absolute; inset: 0; pointer-events: none; }
.st-pinned { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.st-pinned i { position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); }
.st-pinned b { position: absolute; left: 0; bottom: 34px; transform: translateX(-50%); white-space: nowrap; padding: 6px 10px; border-radius: var(--r-1); background: rgba(8, 12, 17, 0.78); border: 1px solid var(--line-strong); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.st-pinned b::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 30px; background: linear-gradient(var(--line-strong), var(--teal)); }

/* The chapters, as dots down the right-hand edge. */
.st-live .st-dots { display: flex; flex-direction: column; gap: 2px; position: absolute; right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.st-dots a { position: relative; display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink-3); }
.st-dots a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform var(--t-2) var(--ease), background-color var(--t-2) var(--ease); }
.st-dots a[aria-current]::before { background: var(--teal); transform: scale(1.7); }
.st-dots a:hover::before { background: var(--ink); }
.st-dots a span { position: absolute; right: 34px; white-space: nowrap; padding: 5px 9px; border-radius: var(--r-1); background: rgba(8, 12, 17, 0.86); border: 1px solid var(--line-strong); color: var(--ink); font-size: 12.5px; opacity: 0; transform: translateX(4px); transition: opacity var(--t-2) var(--ease), transform var(--t-2) var(--ease); pointer-events: none; }
.st-dots a:hover span, .st-dots a:focus-visible span { opacity: 1; transform: none; }
.st-dots a:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; border-radius: 50%; }

.st-live .st-loading { display: block; position: absolute; right: var(--st-pad); bottom: 16px; font-size: 12.5px; color: var(--ink-3); transition: opacity 400ms var(--ease), visibility 400ms; }
.st-ready .st-loading { opacity: 0; visibility: hidden; }
.st-live .st-progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(232, 238, 244, 0.06); }
.st-progress i { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }

/* ------------------------------------------------- a window taller than wide */
@media (max-aspect-ratio: 17/20) {
  /* As tall as the words of the chapter in view (the scene sets --st-words), and no taller. */
  .st-live .st-shade { background: linear-gradient(0deg, rgba(6, 8, 11, 0.94) 0, rgba(6, 8, 11, 0.82) calc(var(--st-words) * 0.85), rgba(6, 8, 11, 0) calc(var(--st-words) + 56px)); }
  /* In the chapters with the floor full of cars: solid for the whole height of the words, from their first
     line up, and gone 44 pixels above it (the scene keeps this car's wheels 36 above that line). And a
     second, short one under the bar: the far rows of cars come up behind the name and the buttons. */
  .st-shade::after { background: linear-gradient(180deg, rgba(6, 8, 11, 0.88) 0, rgba(6, 8, 11, 0.5) 48px, rgba(6, 8, 11, 0) 92px), linear-gradient(0deg, rgba(6, 8, 11, 0.97) 0, rgba(6, 8, 11, 0.93) calc(var(--st-words) + 6px), rgba(6, 8, 11, 0) calc(var(--st-words) + 50px)); }
  .st-live .st-act, .st-live .st-act--first, .st-live .st-act--value, .st-live .st-act--last { left: var(--st-pad); right: var(--st-pad); width: auto; top: auto; bottom: 64px; margin-top: 0; }
  .st-live .st-act--first .ss-display { font-size: clamp(34px, 10.4vw, 52px); max-width: 11ch; }
  .st-live .st-act--first .ss-lede { margin-top: 14px; font-size: 15.5px; }
  .st-live .st-act--first .ss-actions { margin-top: 18px; }
  .st-live .st-act--first .ss-btn--lg { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .st-live .st-act--first .hp-fact { margin-top: 12px; font-size: 13px; }
  .st-live .st-hint { display: none; }
  .st-live .st-h { font-size: clamp(25px, 7.4vw, 34px); }
  .st-live .st-p { margin-top: 10px; font-size: 15.5px; }
  .st-live .st-facts { margin-top: 12px; font-size: 14px; }
  .st-live .st-facts > div { padding: 6px 0; grid-template-columns: 6.4em 1fr; }
  .st-live .st-credit { bottom: 9px; max-width: none; right: var(--st-pad); font-size: 10.5px; line-height: 1.35; }
  .st-live .st-credit__run { display: none; }
  .st-live .st-dots { display: none; }
  .st-live .st-act, .st-live .st-act--first, .st-live .st-act--value, .st-live .st-act--last { bottom: 40px; }
  .st-live .st-act[data-act='1'] { width: auto; }
  .st-pinned b { font-size: 12px; padding: 4px 7px; bottom: 26px; }
  .st-pinned b::after { height: 22px; }
  /* The car is narrow here: the middle label stands above its neighbours. */
  .st-pinned:nth-child(2) b { bottom: 70px; }
  .st-pinned:nth-child(2) b::after { height: 66px; }
}
/* A short phone: the first view keeps its headline, its two actions and its price, and the car keeps its room. */
@media (max-aspect-ratio: 17/20) and (max-height: 600px) {
  .st-live .st-act--first .ss-lede { display: none; }
}
@media (max-height: 760px) and (min-aspect-ratio: 17/20) {
  .st-live .st-hint { display: none; }
}
/* A short wide window: the first view, with its VIN field, sits higher and drops the field's label (the
   placeholder and the button still say what it is) so that it ends above the credit line. */
@media (max-height: 680px) and (min-aspect-ratio: 17/20) {
  .st-live .st-act--first { margin-top: -232px; }
  .st-live .st-act--first .st-vin__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-height: 560px) and (min-aspect-ratio: 17/20) {
  .st-live .st-act--first { margin-top: -150px; }
  .st-live .st-act--first .ss-display { font-size: clamp(30px, 5vw, 52px); }
  .st-live .st-act--first .ss-lede { margin-top: 12px; font-size: 15px; }
  .st-live .st-hint, .st-live .st-credit { display: none; }
  .st-live .st-act--value { margin-top: -150px; }
  .st-live .st-facts > div { padding: 5px 0; }
}

/* A stage that became very short after it was drawn (a phone turned on its side). */
@media (max-height: 429px) and (min-aspect-ratio: 17/20) {
  .st-live .st-act--first { margin-top: -96px; }
  .st-live .st-act--first .ss-display { font-size: clamp(26px, 4.6vw, 40px); }
  .st-live .st-act--first .ss-lede, .st-live .st-act--first .hp-fact { display: none; }
  .st-live .st-act--first .ss-actions { margin-top: 14px; }
  .st-live .st-act, .st-live .st-act--last { margin-top: -84px; }
  .st-live .st-h { font-size: 24px; }
  .st-live .st-p { margin-top: 8px; font-size: 14.5px; }
  .st-live .st-act--value { margin-top: -128px; }
  .st-live .st-facts { margin-top: 8px; font-size: 13px; }
  .st-live .st-facts > div { padding: 3px 0; }
}

/* The sections under the stage keep the site's own look. */
.st #after { scroll-margin-top: var(--top-h); }

/* ------------------------------------------------ the VIN field on the stage */
/* The action is the product's own first step: type the VIN. It sends the visitor
   to the scan page with the VIN in the address (/VIN?vin=...), which that page
   already reads. */
.st-vin { margin-top: 28px; max-width: 520px; }
.st-vin__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.st-vin__row { display: flex; gap: 10px; }
.st-vin__input { flex: 1 1 0; min-width: 0; min-height: 52px; background-color: rgba(8, 12, 17, 0.78); font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
.st-vin__input::placeholder { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.st-vin .ss-btn { flex: none; white-space: nowrap; }
.st-vin__note { margin-top: 8px; font-size: 13.5px; color: var(--bad); }
.st-vin__note:empty { display: none; }
.st-alt { margin-left: 6px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.st-alt:hover, .st-hint a:hover, .st-facts a:hover { color: var(--ink); }
.st-hint a, .st-facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.st-act--last .hp-fact { margin-top: 14px; }
.st-act--last .st-alt { margin-left: 0; }
.st-live .st-act--first .hp-fact { margin-top: 16px; }
@media (max-aspect-ratio: 17/20) {
  .st-live .st-vin { margin-top: 16px; max-width: none; }
  .st-live .st-vin__label { margin-bottom: 6px; }
  .st-live .st-vin__input, .st-live .st-vin .ss-btn--lg { min-height: 48px; }
  .st-live .st-vin .ss-btn--lg { padding: 0 16px; font-size: 15px; }
  .st-live .st-act--first .hp-fact { margin-top: 12px; }
}
@media (max-width: 359px) {
  .st-vin__row { flex-wrap: wrap; }
  .st-vin .ss-btn { flex: 1 1 100%; }
}
@media (max-height: 560px) and (min-aspect-ratio: 17/20) {
  .st-live .st-vin { margin-top: 14px; }
  .st-live .st-vin__label { display: none; }
}

/* ------------------------------------- under the stage: proof, accuracy, questions */
.st-after { scroll-margin-top: calc(var(--top-h) + 8px); }
.st-after .hp-p { max-width: 64ch; }
.st-tablewrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); }
.st-tablewrap:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.st-table th { padding: 12px 14px; border-bottom: 1px solid var(--line-strong); text-align: left; font-size: 12.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.st-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.st-table tbody tr:last-child td { border-bottom: 0; }
.st-table td:nth-child(4) { color: var(--ink); }
.st-table a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.st-table a:hover { color: var(--teal); }
.st-sub { margin-top: 28px; }
.st-sub + .st-tablewrap { margin-top: 14px; }
.st-key { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.st-key strong { color: var(--ink); font-weight: 560; }
.st-more { margin-top: 20px; }
.st-more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-2); cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.st-more summary::-webkit-details-marker { display: none; }
.st-more summary::after { content: '+'; color: var(--ink-3); }
.st-more[open] summary::after { content: '\2212'; }
.st-more summary:hover { border-color: var(--ink-3); }
.st-more summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-more .st-tablewrap { margin-top: 14px; }
.st-fine { margin-top: 8px; max-width: 70ch; }
@media (max-width: 560px) {
  .st-table { font-size: 13.5px; }
  .st-table th, .st-table td { padding-inline: 10px; }
  .st-table__year { display: none; }
}
.st-sure { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.st-sure li { display: grid; gap: 8px; }
.st-sure .hp-p { margin: 0; }
.st-faq details { border-top: 1px solid var(--line); }
.st-faq details:last-child { border-bottom: 1px solid var(--line); }
.st-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 560; color: var(--ink); }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: '+'; flex: none; color: var(--ink-3); font-weight: 400; }
.st-faq details[open] summary::after { content: '\2212'; }
.st-faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--r-1); }
.st-faq .hp-p { margin: 0 0 20px; }

/* ------------------------------------------------ readings beside the car */
/* What one scan returns, read off the car in the first view and the last. The scene places each card over a
   point of the room and draws its line to the car; a card that has no room in the window is not shown. */
.st-reads { display: none; }
.st-live .st-reads { display: block; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 700ms var(--ease) 350ms; }
.st-ready .st-reads { opacity: 1; }
.st-read { position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.st-read__card { position: relative; width: 222px; padding: 13px 15px 12px; border-radius: 14px; border: 1px solid rgba(226, 238, 246, 0.14); background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02) 52%, rgba(255, 255, 255, 0.045)), rgba(9, 14, 20, 0.5); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 44px -20px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.25); transform: translateY(12px); transition: transform 900ms var(--ease) 350ms; }
.st-ready .st-read__card { transform: none; }
.st-ready .st-read[data-read='comps'] .st-read__card { transition-delay: 520ms; }
.st-read__k { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.st-read__tag { letter-spacing: 0.03em; color: var(--ink-2); }
.st-read__tag--live { display: inline-flex; align-items: center; gap: 6px; }
.st-read__tag--live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16); }
.st-read__v { margin-top: 10px; font-stretch: var(--wide); font-weight: 620; font-size: 25px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.st-read__v small { font-stretch: normal; font-weight: 450; font-size: 12.5px; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.st-read__v--big { font-size: 30px; }
.st-read__strip, .st-read__range { position: relative; height: 14px; margin-top: 12px; }
.st-read__strip::before, .st-read__range::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(226, 238, 246, 0.16); }
.st-read__strip i { position: absolute; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: rgba(226, 238, 246, 0.4); }
.st-read__strip i.on { background: var(--ink); }
.st-read__strip b, .st-read__range b { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--teal); box-shadow: 0 0 10px rgba(45, 212, 191, 0.7); }
.st-read__range u { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(90deg, rgba(45, 212, 191, 0.16), rgba(45, 212, 191, 0.52), rgba(45, 212, 191, 0.16)); text-decoration: none; }
.st-read__s { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 11.5px; color: var(--ink-3); }
.st-lead { position: absolute; left: 0; top: 0; width: 1px; height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(226, 238, 246, 0.3), rgba(45, 212, 191, 0.9)); opacity: 0; visibility: hidden; will-change: transform, opacity; }
.st-leadend { position: absolute; left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18), 0 0 14px rgba(45, 212, 191, 0.6); opacity: 0; visibility: hidden; will-change: transform, opacity; }
/* A window taller than wide, or a short wide one: the cards are smaller, and say less. */
@media (max-aspect-ratio: 17/20), (max-height: 700px) {
  .st-read__card { width: 172px; padding: 10px 12px 9px; border-radius: 12px; }
  .st-read__k { font-size: 9.5px; }
  .st-read__tag { display: none; }
  .st-read__v { margin-top: 7px; font-size: 20px; }
  .st-read__v--big { font-size: 23px; }
  .st-read__strip, .st-read__range { margin-top: 8px; height: 12px; }
  .st-read__s { margin-top: 5px; font-size: 10.5px; }
}

/* ============================================================ under the stage */
/* One page, one count: the stage tells chapters 01 to 05 and the sections under it carry on from 06. Each
   opens on a hair line with a short teal start, a small numbered label, and its heading large. */
.st main { overflow-x: clip; }
.st .hp-section { display: block; position: relative; padding-block: clamp(64px, 8.5vw, 128px); border-top: 0; }
.st .hp-section::before, .st .hp-close::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--teal) 0, var(--teal) 28px, var(--line) 28px); }
.st .hp-section__head { position: static; display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.st .hp-section__head .ss-h2 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.04; letter-spacing: -0.03em; max-width: 21ch; text-wrap: balance; }
.st .hp-section__head .ss-small, .st-note { margin-top: 2px; max-width: 58ch; font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.st .hp-section__body { margin-top: 0; }
.st-eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.st-eyebrow .ss-num { color: var(--teal); letter-spacing: 0.04em; }
.st-eyebrow::after { content: ''; flex: 0 1 56px; height: 1px; background: var(--line-strong); }
@media (min-width: 1024px) {
  .st .hp-section__head { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: 56px; align-items: end; }
  .st .hp-section__head .st-eyebrow { grid-column: 1 / -1; }
  .st .hp-section__head .ss-small, .st-note { justify-self: end; margin: 0 0 4px; }
}
/* The stage ends on its line of progress, full. Under it the first section takes a little of the stage's light. */
.st #listings::before { background: none; }
.st #listings::after { content: ''; position: absolute; left: 50%; top: 0; width: 100vw; height: 320px; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(58% 100% at 50% 0, rgba(45, 212, 191, 0.13), rgba(45, 212, 191, 0) 70%); }

/* The bar: clear over the stage, glass from the moment the stage starts to leave (the script marks that on <html>). */
.st-top { transition: background-color 320ms var(--ease), border-color 320ms var(--ease); }
html[data-past] .st-top { background: rgba(6, 8, 11, 0.74); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }

/* What rises into view as the page is read. The script sets a piece down (.st-r) only when it sees it coming,
   still under the window, and marks it as it arrives. Without the script, where less motion is asked for, or
   when the browser is late to say a piece is coming, the piece is simply in its place. */
.st-rise .st-r { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(7px); transition: opacity 760ms var(--ease), transform 900ms var(--ease), filter 760ms var(--ease); transition-delay: calc(var(--i, 0) * 85ms); }
.st-rise .st-r.is-in { opacity: 1; transform: none; filter: none; }
@media print { .st-rise .st-r { opacity: 1; transform: none; filter: none; } }

/* ------------------------------------------------- the listings as a strip */
.st-card, .st-strip, .st-sure li, .st .hp-plans li { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)); }
.st-strip { margin: 0; padding: clamp(18px, 2.4vw, 30px) clamp(16px, 2.8vw, 36px) clamp(14px, 1.8vw, 22px); }
.st-strip__plot { position: relative; height: calc(58px + var(--levels, 3) * 17px); margin: 34px 10px 0; }
.st-strip__axis { position: absolute; left: -10px; right: -10px; bottom: 30px; height: 1px; background: var(--line-strong); }
.st-strip__band { position: absolute; top: 0; bottom: 30px; border-inline: 1px dashed rgba(45, 212, 191, 0.38); background: linear-gradient(180deg, rgba(45, 212, 191, 0), rgba(45, 212, 191, 0.11)); }
.st-strip__tick { position: absolute; bottom: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; line-height: 1; color: var(--ink-3); white-space: nowrap; }
.st-strip__tick::before { content: ''; position: absolute; left: 50%; bottom: 23px; width: 1px; height: 7px; background: var(--line-strong); }
.st-strip__tick.is-minor { color: transparent; }
.st-strip__tick.is-minor::before { height: 4px; }
.st-strip__value { position: absolute; top: 0; bottom: 30px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--teal); box-shadow: 0 0 14px rgba(45, 212, 191, 0.55); }
.st-strip__value span { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); padding: 4px 10px; border-radius: 999px; background: var(--teal-fill); color: var(--teal-ink); font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.st-strip__dot { position: absolute; bottom: calc(30px + 11px + var(--k, 0) * 17px); width: 12px; height: 12px; margin: 0 0 -6px -6px; padding: 0; border: 1.5px solid rgba(232, 238, 244, 0.58); border-radius: 50%; background: var(--st-bg); cursor: pointer; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease); }
.st-strip__dot::before { content: ''; position: absolute; inset: -8px; }
.st-strip__dot.is-set { background: var(--ink); border-color: var(--ink); }
.st-strip__dot:hover, .st-strip__dot:focus-visible, .st-strip__dot.is-lit { z-index: 2; outline: 0; transform: scale(1.45); border-color: var(--teal); box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.17); }
.st-strip__dot.is-set:hover, .st-strip__dot.is-set:focus-visible, .st-strip__dot.is-set.is-lit { background: var(--teal); }
.st-strip__tip { position: absolute; z-index: 3; display: grid; gap: 3px; margin: 0; padding: 9px 12px 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(9, 14, 20, 0.94); box-shadow: 0 18px 38px -16px rgba(0, 0, 0, 0.8); font-size: 12.5px; line-height: 1.3; white-space: nowrap; pointer-events: none; }
.st-strip__tip[hidden] { display: none; }
.st-strip__tip b { font-weight: 600; color: var(--ink); }
.st-strip__tip span { color: var(--ink-2); }
.st-strip__tip em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); }
.st-strip__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.st-strip__key { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.st-strip__key::before { content: ''; flex: none; width: 10px; height: 10px; border: 1.5px solid rgba(232, 238, 244, 0.58); border-radius: 50%; }
.st-strip__key--set::before { background: var(--ink); border-color: var(--ink); }
.st-strip__key--band::before { width: 16px; border: 1px dashed rgba(45, 212, 191, 0.5); border-radius: 2px; background: rgba(45, 212, 191, 0.12); }
.st-strip__how { margin-left: auto; }
@media (max-width: 700px) {
  .st-strip__how { margin-left: 0; flex-basis: 100%; }
  /* A narrow strip: the dots stand in the order worked out for it. */
  .st-strip__plot { height: calc(58px + var(--levels-n, 5) * 17px); }
  .st-strip__dot { bottom: calc(30px + 11px + var(--kn, 0) * 17px); }
  .st-strip__tick:nth-of-type(odd):not(.is-minor) { color: var(--ink-3); }
}
.st-proof { margin-top: clamp(28px, 4vw, 48px); max-width: 880px; }
.st-proof .st-sub { margin-top: 0; }
.st-table tbody tr { transition: background-color 180ms var(--ease); }
.st-table tbody tr.is-lit td { background: rgba(45, 212, 191, 0.075); color: var(--ink); }
.st-table tbody tr.is-lit td:first-child { box-shadow: inset 2px 0 0 var(--teal); }

/* -------------------------------------------- how accurate: three figures */
.st-sure { gap: 14px; }
@media (min-width: 900px) { .st-sure { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-sure li { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 26px); }
.st-sure li .hp-p { font-size: 15px; }
.st-fig { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 112px; margin-bottom: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.st-fig__row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-3); }
.st-fig__row .is-on { color: var(--ink); font-weight: 560; }
.st-fig__range { position: relative; height: 26px; }
.st-fig__range::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.st-fig__range u { position: absolute; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: linear-gradient(90deg, rgba(45, 212, 191, 0.16), rgba(45, 212, 191, 0.55), rgba(45, 212, 191, 0.16)); }
.st-fig__range b { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--teal); box-shadow: 0 0 12px rgba(45, 212, 191, 0.65); }
.st-fig__steps { display: flex; align-items: flex-end; gap: 7px; height: 62px; }
.st-fig__steps i { flex: 1 1 0; border-radius: 5px 5px 2px 2px; background: rgba(232, 238, 244, 0.09); }
.st-fig__steps i:nth-child(1) { height: 28%; }
.st-fig__steps i:nth-child(2) { height: 52%; }
.st-fig__steps i:nth-child(3) { height: 76%; }
.st-fig__steps i:nth-child(4) { height: 100%; }
.st-fig__steps i.on { background: linear-gradient(180deg, var(--teal), rgba(45, 212, 191, 0.38)); }
.st-fig__spread { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 12px; color: var(--ink-2); }
.st-fig__spread > div { position: relative; height: 14px; }
.st-fig__spread > div::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.st-fig__spread u { position: absolute; left: 50%; top: 50%; height: 8px; border-radius: 4px; transform: translate(-50%, -50%); background: rgba(45, 212, 191, 0.2); }
.st-fig__spread u.in { background: rgba(45, 212, 191, 0.62); }
.st-fig__spread b { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); }

/* ------------------------------------------------------------- questions */
.st-faq { max-width: 880px; }
.st-faq summary { transition: color 180ms var(--ease); }
.st-faq summary:hover { color: var(--teal); }

/* ------------------------------------------------- the free trial, above the plans */
.st .hp-trial { gap: 12px 44px; margin-bottom: 14px; padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.8vw, 38px); border-color: rgba(45, 212, 191, 0.42); border-radius: 18px; background: linear-gradient(100deg, rgba(45, 212, 191, 0.14), rgba(45, 212, 191, 0.02) 64%); }
.st .hp-trial__big { font-size: clamp(34px, 4.6vw, 60px); }

/* ---------------------------------------------------------- plans as cards */
.st .hp-plans { display: grid; gap: 14px; border-top: 0; }
@media (min-width: 700px) { .st .hp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .st .hp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st .hp-plans li { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.1vw, 28px); border-bottom: 1px solid var(--line); transition: border-color 220ms var(--ease), transform 320ms var(--ease); }
.st .hp-plans li:hover { border-color: var(--line-strong); transform: translate3d(0, -3px, 0); }
.st .hp-plans li:first-child { border-color: rgba(45, 212, 191, 0.42); background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0.012)); }
.st .hp-plans__name { display: grid; gap: 12px; }
.st .hp-plans__name .ss-h3 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.st .hp-plans__price { margin-top: 0; font-size: clamp(28px, 2.6vw, 34px); line-height: 1; }
/* On the three plans that start with the trial: said under the price, in the page's one accent. */
.st .hp-plans__name .hp-plans__trial { display: flex; align-items: center; gap: 8px; margin-top: -2px; text-align: left; }
.st .hp-plans__name .hp-plans__trial::before { content: ''; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.st .hp-plans__what { flex: 1 1 auto; max-width: none; font-size: 14.5px; line-height: 1.55; }
.st .hp-plans .ss-btn { justify-self: stretch; width: 100%; }

/* --------------------------------------------------------- who builds it */
@media (min-width: 1024px) {
  .st section[aria-labelledby='who-h'] .hp-section__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: 56px; align-items: start; }
  .st section[aria-labelledby='who-h'] .hp-big { grid-row: span 2; max-width: 20ch; font-size: clamp(26px, 3vw, 40px); }
  .st section[aria-labelledby='who-h'] .hp-p { margin-top: 0; }
  .st section[aria-labelledby='who-h'] .hp-p + .hp-p { margin-top: 20px; }
}

/* ------------------------------------------- the last action, and the name */
.st .hp-close { position: relative; border-top: 0; padding-block: clamp(92px, 13vw, 188px) clamp(84px, 11vw, 160px); text-align: center; }
.st .hp-close::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 100%; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(44% 72% at 50% 100%, rgba(45, 212, 191, 0.1), rgba(45, 212, 191, 0) 72%); }
.st .hp-close .ss-h1 { margin-inline: auto; max-width: 15ch; font-size: clamp(34px, 5.7vw, 78px); line-height: 1; letter-spacing: -0.036em; text-wrap: balance; }
.st .hp-close .ss-actions { justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }
.st-mark { margin: 0 0 -0.13em; overflow: hidden; text-align: center; font-stretch: 125%; font-weight: 800; font-size: clamp(46px, 13.5vw, 262px); line-height: 0.82; letter-spacing: -0.05em; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(232, 238, 244, 0.17), rgba(232, 238, 244, 0.015) 82%); -webkit-background-clip: text; background-clip: text; user-select: none; -webkit-user-select: none; }
.st .hp-foot { position: relative; background: var(--st-bg); }
