/* ReceiptFold landing: "the fold".
 * One idea, taken from the name: a paper receipt folds, for real, into one row of your spreadsheet. The stage at the top
 * holds that moment (landing.js draws the sheet in WebGL and the scroll folds it); everything below is quiet and set in
 * the same verb: things unfold. Ground is the dashboard's night, ink is thermal-paper white, and the one accent is the
 * green both destinations share (Sheets and Excel).
 * Without JavaScript, with reduced motion, Save-Data or no WebGL (html.is-still) the stage is a plain composed section:
 * the receipt as HTML, the three steps, the finished table. Only transform, opacity and clip-path ever animate. */
html:root:not([data-x]) {
  color-scheme: dark;
  --color-paper: #0b0d0c; --color-paper-2: #121514; --color-paper-3: #1a1e1c;
  --color-rule: rgba(255, 255, 255, .09); --color-rule-strong: rgba(255, 255, 255, .18);
  --color-neutral: #a0a8a3; --color-ink: #f1f0ea;
  --color-accent: #2fbf7a; --color-accent-2: #1fa463; --color-accent-soft: rgba(31, 164, 99, .14); --color-accent-ink: #06130c;
  --color-warn-soft: rgba(245, 196, 122, .14); --color-warn: #f1c27a; --color-focus: #2fbf7a;
  --shadow-card: none; --shadow-float: 0 40px 80px -40px rgba(0, 0, 0, .8);
  --sheet: #f4f3ee;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --text-hero: clamp(2.9rem, 7.2vw, 6.9rem);
  --text-h2: clamp(2rem, 4.4vw, 3.9rem);
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
}
body { background: var(--color-paper); }
.wrap { max-width: 84rem; padding-inline: var(--gutter); }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 50; padding: .6rem 1rem; border-radius: 999px; background: var(--sheet); color: #0b0d0c; translate: 0 -300%; }
.skip:focus-visible { translate: 0 0; }

/* The bar: a pill that floats, steps aside on the way down and returns on the way up. No blur: it never repaints. */
.mast { position: fixed; top: 14px; left: 50%; translate: -50% 0; width: min(84rem, calc(100% - 1.5rem)); z-index: 20; padding: .5rem .6rem .5rem 1.1rem; border: 1px solid var(--color-rule); border-radius: 999px; background: #121514; backdrop-filter: none; transition: translate 600ms var(--ease); }
.mast.is-away { translate: -50% -160%; }
.mast:focus-within { translate: -50% 0; }
.mast::after { content: none; }
.mast__name::before { border-radius: 6px; background: var(--color-accent-2); width: 22px; height: 22px; }
.mast__nav a { border-radius: 999px; }
.mast__nav li:last-child a { background: var(--sheet); color: #0b0d0c; }
.mast__nav li:last-child a:hover { background: #fff; }
@media (max-width: 64rem) { .mast__nav li:not(:last-child) { display: none; } }

/* Buttons: a pill that fills from where the pointer came in. */
.cta { position: relative; isolation: isolate; overflow: hidden; height: 54px; padding: 0 1.6rem; border-radius: 999px; font-weight: 500; box-shadow: none; transition: color 300ms var(--ease), border-color 300ms var(--ease), scale 160ms var(--ease); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-accent-2); clip-path: circle(0% at var(--fx, 50%) var(--fy, 50%)); transition: clip-path 600ms var(--ease); }
.cta:active { scale: .97; transform: none; }
.cta--primary { background: var(--sheet); border-color: var(--sheet); color: #0b0d0c; }
.cta--quiet, .plan .cta:not(.cta--primary) { background: transparent; border-color: var(--color-rule-strong); color: var(--color-ink); }
.cta--quiet::before, .plan .cta:not(.cta--primary)::before { background: var(--sheet); }
@media (hover: hover) {
  .cta:hover { background-color: var(--sheet); text-decoration: none; }
  .cta--quiet:hover, .plan .cta:not(.cta--primary):hover { background-color: transparent; color: #0b0d0c; border-color: var(--sheet); }
  .cta:hover::before { clip-path: circle(150% at var(--fx, 50%) var(--fy, 50%)); }
  .cta--primary:hover { color: #06130c; border-color: var(--color-accent-2); }
}
.cta:focus-visible::before { clip-path: circle(150% at 50% 50%); }
.cta--quiet:focus-visible { color: #0b0d0c; }

/* ---------- the stage ---------- */
.fold { position: relative; }
.fold__sticky { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl) var(--gutter); align-items: center; max-width: 84rem; margin-inline: auto; padding: 8rem var(--gutter) 4rem; }
.fold h1 { font-size: var(--text-hero); line-height: .94; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.fold h1 span { display: block; }
.fold__lede { margin-top: 1.6rem; max-width: 38ch; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--color-neutral); }
.fold__acts { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.fold__facts { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--text-sm); color: var(--color-neutral); }
.fold__facts li { display: inline-flex; align-items: center; gap: .55rem; }
.fold__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent-2); }
.fold__beats { list-style: none; margin: 0; padding: 0; counter-reset: beat; display: grid; gap: var(--space-xl); grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fold__beats li { counter-increment: beat; }
.fold__beats li::before { content: counter(beat) " / 3"; display: block; margin-bottom: 1rem; font: 500 var(--text-sm) var(--font-outlier); color: var(--color-accent); }
.fold__beats h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; letter-spacing: -0.035em; }
.fold__beats p { margin-top: .9rem; max-width: 34ch; color: var(--color-neutral); line-height: 1.5; }
.fold__anchor { justify-self: center; height: min(62vh, 560px); aspect-ratio: 512 / 1280; grid-column: 2; grid-row: 1; }
.fold__ledger { grid-column: 1 / -1; max-width: 44rem; width: 100%; justify-self: center; }
.fold__gl, .fold__hint { display: none; }

/* The receipt as HTML: what the stage shows when nothing can move. */
.receipt { height: 100%; padding: 1.4rem 1.1rem; display: grid; align-content: start; gap: .9rem; background: var(--sheet); color: #15171a; font: 400 .72rem/1.5 var(--font-outlier); rotate: 2.5deg; box-shadow: 30px 40px 60px -30px rgba(0, 0, 0, .7); }
.receipt b { font: 700 1.5rem/1 var(--font-display); text-align: center; letter-spacing: -0.03em; }
.receipt small { text-align: center; color: #6d7278; font-size: .62rem; }
.receipt dl { margin: 0; padding-top: .8rem; border-top: 1px dashed #b9bcbf; display: grid; grid-template-columns: 1fr auto; gap: .15rem .5rem; }
.receipt dd { margin: 0; text-align: right; }
.receipt__total { font-weight: 700; font-size: .85rem; }

/* The table the receipt lands in. */
.ledger { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: 20px; box-shadow: var(--shadow-float); padding: 1.1rem 1.5rem 1.4rem; }
.ledger td, .ledger th { border-bottom-color: var(--color-rule); }
.ledger tbody tr { opacity: 1; transform: none; animation: none; }
.ledger tfoot tr { opacity: 1; animation: none; }
.ledger tbody td { padding-block: .8rem; }
.ledger__last { display: block; }
.ledger tfoot .total { color: var(--color-accent); }

/* With WebGL on, the stage pins for the length of the story and the layers share one screen. */
.gl-on .fold { height: 560vh; }
.gl-on .fold__sticky { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; max-width: none; padding: 0; overflow: hidden; }
.gl-on .fold__hero, .gl-on .fold__beats { position: absolute; z-index: 3; left: max(var(--gutter), calc(50% - 42rem + var(--gutter))); top: 50%; translate: 0 -50%; width: min(46rem, 52%); }
.gl-on .fold__beats { display: block; width: min(30rem, 40%); }
.gl-on .fold__beats li { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 100%; visibility: hidden; }
.gl-on .fold__beats h2 { font-size: var(--text-h2); line-height: .98; letter-spacing: -0.04em; }
.gl-on .fold__beats p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); margin-top: 1.3rem; }
.gl-on .fold__anchor { position: absolute; right: max(calc(var(--gutter) + 6vw), calc(50% - 42rem + 9rem)); top: 50%; translate: 0 -50%; height: min(74vh, 700px); }
.gl-on .receipt { visibility: hidden; }
.gl-on .fold__ledger { position: absolute; z-index: 1; right: max(var(--gutter), calc(50% - 42rem + var(--gutter))); top: 50%; translate: 0 -50%; width: min(38rem, 46%); visibility: hidden; }
.gl-on .fold__gl { display: block; position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gl-on .fold__hint { display: block; position: absolute; z-index: 3; left: 50%; bottom: 1.6rem; translate: -50% 0; font: 500 var(--text-xs) var(--font-outlier); color: var(--color-neutral); }
.gl-on .fold__hint::after { content: ""; display: block; width: 1px; height: 26px; margin: .6rem auto 0; background: linear-gradient(var(--color-neutral), transparent); }

/* The headline unfolds once, line by line (CSS, so it never waits on a script). */
.js:not(.is-still) .fold h1 span { clip-path: inset(0 0 100% 0); translate: 0 .28em; animation: unfold 1.2s var(--ease) forwards; }
.js:not(.is-still) .fold h1 span + span { animation-delay: 90ms; }
.js:not(.is-still) .fold__lede, .js:not(.is-still) .fold__acts, .js:not(.is-still) .fold__facts { opacity: 0; translate: 0 14px; animation: rise 1s var(--ease) 360ms forwards; }
.js:not(.is-still) .fold__acts { animation-delay: 440ms; }
.js:not(.is-still) .fold__facts { animation-delay: 520ms; }
@keyframes unfold { to { clip-path: inset(0 0 -12% 0); translate: 0 0; } }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* ---------- below the stage: quiet, roomy ---------- */
.setup { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gutter); align-items: start; padding-block: clamp(5rem, 12vw, 10rem); border-top: 1px solid var(--color-rule); }
.setup h2, .benefits__intro h2, .prose h2, .plans h2, .faq h2 { font-size: var(--text-h2); line-height: 1; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.setup__steps { gap: 0; border-top: 1px solid var(--color-rule-strong); }
.setup__steps li { padding-block: 1.5rem; border-bottom: 1px solid var(--color-rule); font-size: clamp(1.15rem, 1.7vw, 1.6rem); letter-spacing: -0.02em; gap: 2rem; }
.setup__steps b { text-transform: none; letter-spacing: 0; min-width: 5ch; padding-top: .5em; color: var(--color-accent); }
.setup__then { grid-column: 2; max-width: 46ch; }
.benefits { gap: clamp(5rem, 11vw, 10rem); padding-block: 0 clamp(5rem, 12vw, 10rem); }
.benefits__intro { max-width: 50rem; }
.benefit { gap: var(--space-xl) var(--gutter); }
.benefit h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.02; letter-spacing: -0.04em; }
.benefit__no { text-transform: none; letter-spacing: 0; }
.benefit__shot, .shot { padding: 0; overflow: hidden; border-radius: 20px; border-color: var(--color-rule); box-shadow: var(--shadow-float); transition: none; }
.benefit__shot img, .shot img { border: 0; border-radius: 0; transition: none; transform-origin: 50% 50%; }
.benefit__shot:hover, .shot:hover, .shot:hover img { transform: none; box-shadow: var(--shadow-float); }
.stage { border-radius: 28px; padding: clamp(1.5rem, 4vw, 3.5rem); border-color: var(--color-rule); }
.stage--plus { border-color: var(--color-rule); }
.stage h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -0.04em; line-height: 1.02; }
.plus { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.adviser__chat { border-radius: 20px; background: var(--color-paper); }
.adviser__price { border-radius: 12px; }
.embed { background: #050606; color: var(--color-ink); border: 1px solid var(--color-rule); border-radius: 14px; }
.prose { border-top: 1px solid var(--color-rule); padding-block: clamp(5rem, 12vw, 10rem); gap: var(--space-xl) var(--gutter); }
.plans, .faq { margin-top: 0; padding-block: clamp(4rem, 9vw, 7rem) 0; }
.plan { border-radius: 20px; padding: 1.6rem; }
.plan--featured { box-shadow: 0 0 0 1px var(--color-accent-2) inset; }
.plan .cta { height: 48px; }
.faq details { border-radius: 16px; padding: 1.1rem 1.4rem; }
.finale { margin-block: clamp(5rem, 12vw, 10rem) var(--space-2xl); padding-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--color-rule-strong); display: grid; gap: var(--space-xl); }
.finale h2 { font-size: var(--text-hero); line-height: .94; letter-spacing: -0.045em; font-weight: 600; max-width: 13ch; text-wrap: balance; }
.finale p { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.finale__note { color: var(--color-neutral); font-size: var(--text-sm); }
.colophon { max-width: 84rem; padding-inline: var(--gutter); border-top-color: var(--color-rule); }

/* ---------- the sections answer (landing.js adds these parts; without it the plain versions above stand) ---------- */
/* Setup: the heading stays while the steps pass; a clock counts the minutes; each step acts itself out when reached. */
.is-live .setup__head { position: sticky; top: 26vh; align-self: start; }
.setup__clock { margin-top: 2rem; display: grid; gap: .8rem; max-width: 16rem; }
.setup__clock span { font: 500 clamp(2.4rem, 4.6vw, 4rem)/1 var(--font-outlier); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--color-accent); }
.setup__clock i { display: block; height: 2px; background: var(--color-rule-strong); }
.setup__clock b { display: block; height: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; }
.is-live .setup__steps li { position: relative; align-items: center; padding-block: clamp(2rem, 6.5vh, 4rem); opacity: .34; transition: opacity 500ms var(--ease); }
.is-live .setup__steps li.is-on { opacity: 1; }
.is-live .setup__steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease); }
.is-live .setup__steps li.is-on::after { transform: scaleX(1); }
.is-live .setup__steps b { padding-top: 0; }
.vig { flex: 0 0 auto; margin-left: auto; height: 44px; padding: 0 1.1rem; display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--color-rule-strong); border-radius: 999px; font: 500 .82rem/1 var(--font-outlier); letter-spacing: 0; color: var(--color-neutral); }
.vig i { font-style: normal; }
/* 1: the address types itself in. */
.vig--mail i { clip-path: inset(0 100% 0 0); transition: clip-path 1100ms steps(13, end) 150ms; }
.vig--mail::after { content: ""; width: 1.5px; height: 1.1em; background: var(--color-accent); opacity: 0; }
.is-on .vig--mail i { clip-path: inset(0 0 0 0); color: var(--color-ink); }
.is-on .vig--mail::after { animation: caret 900ms steps(2, start) 4; }
@keyframes caret { 50% { opacity: 1; } }
/* 2: the choice lands on a spreadsheet. */
.vig--pick { position: relative; isolation: isolate; padding: 0 .3rem; gap: 0; }
.vig--pick i { width: 4.6rem; text-align: center; transition: color 400ms var(--ease) 250ms; }
.vig--pick::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: 4.6rem; border-radius: 999px; background: var(--color-accent-2); translate: 100% 0; opacity: 0; transition: translate 700ms var(--ease) 200ms, opacity 300ms var(--ease) 100ms; }
.is-on .vig--pick::before { translate: 0 0; opacity: 1; }
.is-on .vig--pick i:first-child { color: #06130c; }
/* 3: the rule switches on. */
.vig--rule { padding: 0 5px; width: 76px; justify-content: flex-start; transition: background-color 500ms var(--ease) 200ms, border-color 500ms var(--ease) 200ms; }
.vig--rule i { width: 32px; height: 32px; border-radius: 50%; background: var(--color-neutral); transition: translate 600ms var(--ease) 200ms, background-color 500ms var(--ease) 200ms; }
.is-on .vig--rule { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.is-on .vig--rule i { translate: 32px 0; background: var(--sheet); }

.count { font-family: var(--font-outlier); font-weight: 500; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.benefit__shot, .shot { transform-style: preserve-3d; }

/* The conversation. Without the script it is three questions and their answers, in full. */
.adviser__chat [hidden] { display: none; }
.chat__turn { display: grid; gap: .75rem; min-width: 0; }
.chat__turn + .chat__turn { margin-top: .5rem; }
.chat__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font: 500 var(--text-xs)/1.3 var(--font-outlier); font-variant-numeric: tabular-nums; }
.chat__bars li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 5.5em; align-items: center; gap: .75rem; color: var(--color-neutral); }
.chat__bars i { height: 8px; border-radius: 4px; background: var(--color-rule-strong); transform: scaleX(var(--v)); transform-origin: 0 50%; }
.chat__bars b { text-align: right; font-weight: 500; color: var(--color-ink); }
.chat__bars .is-up i { background: var(--color-accent); }
.chat__save { color: var(--color-accent); transition: color 700ms var(--ease); }
.is-live .chat__save:not(.is-lit) { color: inherit; }

/* With the script it is a window: the log is pinned to the bottom and older lines leave through the top. */
.adviser__chat.is-live { display: flex; flex-direction: column; gap: 0; padding: 0; height: min(620px, 82svh); overflow: hidden; }
.chat__view { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 64px); mask-image: linear-gradient(transparent, #000 64px); }
.chat__log { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1.1rem; padding: 1.25rem 1.25rem .9rem; }
.is-live .chat__turn + .chat__turn { margin-top: 0; }
.is-live .chat__you { transform-origin: 100% 100%; }
.is-live .chat__adviser { max-width: 100%; }

.chat__status { display: grid; gap: .6rem; min-width: 0; }
.chat__step { display: flex; align-items: center; gap: .55rem; font: 500 var(--text-xs)/1.4 var(--font-outlier); color: var(--color-neutral); }
.chat__step::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); animation: think 900ms var(--ease) infinite alternate; }
@keyframes think { to { opacity: .25; scale: .7; } }
.chat__slips { overflow: hidden; padding-block: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.chat__slips > div { display: flex; width: max-content; }
.slip { flex: none; display: grid; margin-right: .5rem; padding: .4rem .65rem; border-radius: 3px; background: var(--sheet); color: #15171a; font: 500 .68rem/1.35 var(--font-outlier); font-variant-numeric: tabular-nums; opacity: .45; transition: opacity 400ms var(--ease), translate 400ms var(--ease), box-shadow 400ms var(--ease); }
.slip b { font-weight: 700; }
.slip.is-hit { opacity: 1; translate: 0 -3px; box-shadow: 0 0 0 2px var(--color-accent); }

.is-live .chat__next { min-height: 2.4rem; padding: 0 1.25rem; align-items: center; }
.chat__next button { padding: .4rem .85rem; border: 1px solid var(--color-rule-strong); border-radius: 999px; background: transparent; color: var(--color-ink); font: inherit; font-size: var(--text-xs); white-space: nowrap; cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), scale 160ms var(--ease); }
.chat__next button:active { scale: .96; }
@media (hover: hover) { .chat__next button:hover { background: var(--sheet); border-color: var(--sheet); color: #0b0d0c; } }
.chat__composer { display: flex; align-items: center; gap: .6rem; margin: .7rem 1.25rem 0; padding: .4rem .4rem .4rem 1rem; border: 1px solid var(--color-rule-strong); border-radius: 999px; background: var(--color-paper-2); }
.chat__field { flex: 1; min-width: 0; min-height: 1.5em; overflow: hidden; white-space: nowrap; }
.chat__field:empty::before { content: attr(data-ask); color: var(--color-neutral); }
.is-typing .chat__field:empty::before { content: none; }
.is-typing .chat__field::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--color-accent); animation: think 500ms steps(1) infinite alternate; }
.chat__send { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sheet); color: #0b0d0c; }
.is-live figcaption { padding: .65rem 1.25rem 1rem; }
@media (min-width: 56.01rem) { .adviser__chat.is-live { position: sticky; top: 96px; } }
@media (max-width: 56rem) { .adviser__chat.is-live { height: min(580px, 80svh); } .chat__bars li { grid-template-columns: 6em minmax(0, 1fr) 4.8em; gap: .5rem; } }

/* What we do not keep: struck out. */
.is-gone li b { position: relative; transition: color 600ms var(--ease); transition-delay: calc(var(--i) * 160ms + 300ms); }
.is-gone li b::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--ease); transition-delay: calc(var(--i) * 160ms); }
.is-gone.is-in li b { color: var(--color-neutral); }
.is-gone.is-in li b::after { transform: scaleX(1); }

/* A plan lights up where the pointer is. */
.plan { position: relative; isolation: isolate; overflow: hidden; transition: border-color 400ms var(--ease), translate 500ms var(--ease); }
.plan::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(20rem circle at var(--mx, 50%) var(--my, 0%), rgba(47, 191, 122, .2), transparent 62%); opacity: 0; transition: opacity 400ms var(--ease); }
@media (hover: hover) { .plan:hover { border-color: rgba(47, 191, 122, .5); translate: 0 -4px; } .plan:hover::before { opacity: 1; } }
.faq summary::after { transition: rotate 400ms var(--ease), color 300ms var(--ease); }
.faq details[open] summary::after { content: "+"; rotate: 45deg; color: var(--color-accent); }
.faq details { transition: border-color 300ms var(--ease); }
@media (hover: hover) { .faq details:hover { border-color: var(--color-rule-strong); } }

/* The close: rows keep arriving, edge to edge. */
.ticker { margin-inline: calc(50% - 50vw); overflow: hidden; padding-block: .25rem; -webkit-user-select: none; user-select: none; }
.ticker__track { display: inline-flex; gap: .75rem; padding-right: .75rem; white-space: nowrap; will-change: transform; }
.tick { display: inline-flex; align-items: center; gap: 1.4rem; height: 56px; padding: 0 1.3rem; border: 1px solid var(--color-rule); border-radius: 14px; background: var(--color-paper-2); font-size: var(--text-sm); }
.tick b { font-weight: 500; display: inline-flex; align-items: center; gap: .6rem; }
.tick b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-2); }
.tick i { font: 500 var(--text-sm) var(--font-outlier); font-style: normal; color: var(--color-neutral); font-variant-numeric: tabular-nums; }

@media (max-width: 56rem) {
  .is-live .setup__head { position: static; }
  .setup__clock { margin-top: 1.2rem; grid-template-columns: auto 1fr; align-items: center; max-width: none; }
  .is-live .setup__steps li { flex-wrap: wrap; row-gap: 1rem; padding-block: 1.8rem; }
  .vig { margin-left: calc(5ch + 2rem); }
  .fold__sticky { grid-template-columns: 1fr; padding-top: 6.5rem; }
  .fold__anchor { grid-column: 1; grid-row: auto; height: 300px; }
  .fold__beats { grid-template-columns: 1fr; }
  .gl-on .fold { height: 480vh; }
  .gl-on .fold__hero, .gl-on .fold__beats { left: var(--gutter); right: var(--gutter); width: auto; top: 5.6rem; translate: 0 0; }
  .gl-on .fold__beats li { top: 0; translate: 0 0; }
  .gl-on .fold h1 { font-size: clamp(2.5rem, 12.4vw, 3.6rem); }
  .gl-on .fold__lede { font-size: 1rem; margin-top: 1rem; max-width: 30ch; }
  .gl-on .fold__acts { margin-top: 1.2rem; }
  .gl-on .fold__acts .cta { height: 48px; padding: 0 1.2rem; }
  .gl-on .fold__facts { display: none; }
  .gl-on .fold__beats h2 { font-size: clamp(2rem, 9.4vw, 2.8rem); }
  .gl-on .fold__anchor { right: 50%; translate: 50% 0; top: auto; bottom: 3.6rem; height: min(36vh, 300px); }
  .gl-on .fold__acts .cta--quiet { display: none; }
  .gl-on .fold__ledger { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 3.4rem; translate: 0 0; padding: .8rem 1rem 1rem; }
  .ledger th:nth-child(3), .ledger tbody td:nth-child(3), .ledger tfoot td:nth-child(2) { display: none; }
  .ledger tbody td { padding-block: .55rem; }
  .setup { grid-template-columns: 1fr; }
  .setup__then { grid-column: 1; }
}
@media (max-height: 640px) and (max-width: 56rem) { .gl-on .fold__lede { display: none; } }

/* ---------- what you get: one window, five real screens ---------- */
.benefits.is-show { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--gutter); row-gap: 0; }
.is-show .benefits__intro, .is-show .benefits__cta { grid-column: 1 / -1; }
.is-show .benefits__intro { margin-bottom: clamp(1rem, 3vw, 3rem); }
.is-show .benefits__cta { margin-top: clamp(2rem, 5vw, 4rem); }
.is-show .benefit { grid-column: 1; display: flex; align-items: center; min-height: 80vh; opacity: .26; transition: opacity 600ms var(--ease); }
.is-show .benefit.is-on { opacity: 1; }
.show { grid-column: 2; position: sticky; top: 0; height: 100vh; align-self: start; display: grid; align-content: center; gap: 1.1rem; min-width: 0; }
.show__frame { border: 1px solid var(--color-rule-strong); border-radius: 18px; overflow: hidden; background: #0c1016; box-shadow: var(--shadow-float); }
.show__bar, .site__bar { display: flex; align-items: center; gap: 6px; margin: 0; padding: .7rem .9rem; border-bottom: 1px solid var(--color-rule); background: var(--color-paper-2); font: 500 .7rem/1 var(--font-outlier); color: var(--color-neutral); }
.show__bar i, .site__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-rule-strong); }
.show__bar span, .site__bar span { margin-left: .6rem; }
.show__screen { position: relative; aspect-ratio: 1600 / 1000; overflow: hidden; }
.show__screen .benefit__shot { position: absolute; inset: 0; display: grid; align-items: center; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #0c1016; clip-path: inset(0 0 100% 0); transition: clip-path 1000ms var(--ease); }
.show__screen .benefit__shot.is-on { clip-path: inset(0 0 0 0); }
.show__rail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.show__rail button, .bill button { border: 0; background: none; font: 500 var(--text-xs)/1 var(--font-outlier); color: var(--color-neutral); cursor: pointer; }
.show__rail button { height: 34px; padding: 0 .9rem; border: 1px solid var(--color-rule); border-radius: 999px; transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease); }
.show__rail .is-on button { background: var(--sheet); border-color: var(--sheet); color: #0b0d0c; }
@media (hover: hover) { .show__rail li:not(.is-on) button:hover { border-color: var(--color-rule-strong); color: var(--color-ink); } }

/* ---------- on your own site: the line, then the page with the box in it ---------- */
.embed.is-typed { transition: border-color 600ms var(--ease); }
.embed.is-typing code::after { content: ""; display: inline-block; width: 7px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: var(--color-accent); animation: think 500ms steps(1) infinite alternate; }
.embed.is-run { border-color: rgba(47, 191, 122, .55); }
.site { border: 1px solid var(--color-rule-strong); border-radius: 16px; overflow: hidden; background: var(--color-paper); }
.site__page { display: grid; gap: .7rem; padding: 1.2rem; }
.sk { display: block; width: 72%; height: 10px; border-radius: 5px; background: var(--color-rule); transform-origin: 0 50%; }
.sk--h { width: 38%; height: 18px; background: var(--color-rule-strong); }
.sk--s { width: 54%; }
.site .shot--widget { margin-top: .5rem; }

/* ---------- plans: monthly or yearly, and the one we would pick is on paper ---------- */
.bill { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 0 0 var(--space-lg); padding: 4px; border: 1px solid var(--color-rule-strong); border-radius: 999px; }
.bill::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--sheet); transition: translate 600ms var(--ease); }
.bill.is-year::before { translate: 100% 0; }
.bill button { height: 40px; min-width: 6.5rem; padding: 0 1.2rem; border-radius: 999px; font-size: var(--text-sm); transition: color 400ms var(--ease); }
.bill button[aria-pressed="true"] { color: #0b0d0c; }
.plan--featured { background: var(--sheet); border-color: var(--sheet); color: #0b0d0c; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .9); }
.plan--featured .plan__pitch, .plan--featured .plan__price { color: #4c524e; }
.plan--featured .plan__price strong { color: #0b0d0c; }
.plan--featured ul { border-top-color: rgba(11, 13, 12, .14); }
.plan--featured li::before { color: #12814c; }
.plan--featured::before { background: radial-gradient(20rem circle at var(--mx, 50%) var(--my, 0%), rgba(31, 164, 99, .28), transparent 62%); }
.plan--featured .cta--primary { background: #0b0d0c; border-color: #0b0d0c; color: var(--sheet); }
.plan--featured .cta--primary::before { background: var(--color-accent-2); }
@media (hover: hover) { .plan--featured:hover { border-color: var(--sheet); } .plan--featured .cta--primary:hover { background-color: #0b0d0c; color: #06130c; } }

/* ---------- the close: the receipt folds once more into its row ---------- */
.finale.has-refold { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gutter); }
.has-refold .ticker { grid-column: 1 / -1; }
.has-refold > h2, .has-refold > p { grid-column: 1; }
.refold { grid-column: 2; grid-row: 2 / span 2; align-self: end; position: relative; width: 20rem; height: 424px; }
.refold__paper { position: absolute; left: 50%; top: 0; width: 240px; height: 384px; margin-left: -120px; }
.refold__panel { position: absolute; left: 0; top: 0; width: 100%; height: 64px; overflow: hidden; }
.refold__panel .receipt { position: absolute; left: 0; width: 240px; height: 384px; rotate: none; box-shadow: none; visibility: inherit; opacity: 1; }
.refold__panel i { position: absolute; inset: 0; background: #000; opacity: 0; }
.refold__book { position: absolute; left: 0; right: 0; bottom: 0; border: 1px solid var(--color-rule-strong); border-radius: 14px; background: var(--color-paper-2); overflow: hidden; }
.finale .refold__book p { height: 46px; margin: 0; padding: 0 1rem; display: flex; flex-wrap: nowrap; align-items: center; gap: 1rem; border-top: 1px solid var(--color-rule); font: 500 var(--text-xs)/1 var(--font-outlier); color: var(--color-neutral); white-space: nowrap; font-variant-numeric: tabular-nums; }
.finale .refold__book p:first-child { border-top: 0; }
.refold__book span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--color-ink); }
.refold__book span:nth-child(3) { color: var(--color-ink); }
.refold__book b { color: var(--color-accent); }
.refold__book p:not(.refold__row)::after { content: ""; width: .62em; }

/* ---------- a crease between sections ---------- */
.has-crease { position: relative; border-top-color: transparent; }
.benefits.has-crease { padding-top: clamp(4rem, 9vw, 7rem); }
.crease { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--color-rule-strong) 18%, var(--color-accent-2) 50%, var(--color-rule-strong) 82%, transparent); pointer-events: none; }
.crease::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 96px; background: linear-gradient(rgba(255, 255, 255, .035), transparent); }

/* ---------- the menu on a narrow screen ---------- */
.mast__menu { display: none; }
@media (max-width: 64rem) {
  .mast { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .5rem; }
  .mast__menu { grid-column: 4; grid-row: 1; display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--color-rule-strong); border-radius: 50%; background: none; cursor: pointer; }
  .mast__menu i { display: block; width: 16px; height: 1.5px; background: var(--color-ink); transition: translate 400ms var(--ease), rotate 400ms var(--ease); }
  .is-open .mast__menu i:first-child { translate: 0 3.25px; rotate: 45deg; }
  .is-open .mast__menu i:last-child { translate: 0 -3.25px; rotate: -45deg; }
  .mast.is-open .mast__nav ul { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: .6rem; border: 1px solid var(--color-rule); border-radius: 24px; background: #121514; white-space: normal; max-height: calc(100svh - 96px); overflow-y: auto; }
  .mast.is-open .mast__nav li { display: block; opacity: 0; translate: 0 10px; animation: rise 500ms var(--ease) forwards; }
  .mast.is-open .mast__nav li:nth-child(2) { animation-delay: 30ms; } .mast.is-open .mast__nav li:nth-child(3) { animation-delay: 60ms; } .mast.is-open .mast__nav li:nth-child(4) { animation-delay: 90ms; }
  .mast.is-open .mast__nav li:nth-child(5) { animation-delay: 120ms; } .mast.is-open .mast__nav li:nth-child(6) { animation-delay: 150ms; } .mast.is-open .mast__nav li:nth-child(7) { animation-delay: 180ms; }
  .mast.is-open .mast__nav li:nth-child(n+8) { animation-delay: 210ms; }
  .mast.is-open .mast__nav a { display: block; padding: .85rem 1rem; font-size: 1rem; color: var(--color-ink); }
  .mast.is-open .mast__nav li:last-child a { margin: .4rem 0 0; text-align: center; color: #0b0d0c; }
}

/* ---------- the foot ---------- */
.colophon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem var(--gutter); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); line-height: 1.5; }
.colophon p { margin: 0; }
.colophon__brand { display: grid; gap: .8rem; justify-items: start; }
.colophon__brand span { font-size: var(--text-sm); }
.colophon__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem 1.6rem; max-width: 30rem; font-size: var(--text-sm); }
.colophon__links a { padding-block: .4rem; color: var(--color-neutral); text-decoration: none; transition: color 300ms var(--ease); }
.colophon__links a:hover { color: var(--color-ink); }
.colophon__fine { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid var(--color-rule); }

@media (max-width: 56rem) {
  .finale.has-refold { grid-template-columns: minmax(0, 1fr); }
  .refold { grid-column: 1; grid-row: auto; justify-self: center; width: min(20rem, 100%); margin-top: 0; }
  .colophon { grid-template-columns: minmax(0, 1fr); }
  .colophon__links { justify-content: flex-start; max-width: none; }
  .bill { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .mast.is-open .mast__nav li { animation: none; opacity: 1; translate: 0 0; }
  .mast, .cta, .cta::before { transition: none; }
}
