/* The public landing page. Plain CSS, no framework.
   Sections: tokens · base · top bar · hero · problem · flow · modules · screenshots · add-ons · bento · start · faq · finale · motion */

/* ---------- tokens ------------------------------------------------------------------------ */
:root {
    --bg: #d9dddc;
    --bg-2: #cdd1d0;
    --surface: #eceeed;
    --sunken: #c3c8c7;
    --ink: #06141b;
    --ink-2: #253745;
    --muted: #4a5c6a;
    --faint: #7b8a8e;
    --rule: #c2c8c8;
    --rule-2: #9ba8ab;
    --accent: #253745;
    --accent-soft: #c0c9ca;
    --on-accent: #eceeed;
    --ok: #4a5c6a;
    --ok-soft: #c0c9ca;
    --warn: #4a5c6a;
    --warn-soft: #c0c9ca;
    --dk-bg: #06141b;
    --dk-accent: #9ba8ab;
    --dk-ink: #ccd0cf;
    --dk-muted: #9ba8ab;
    --dk-rule: #253745;
    --sk-1: #c3c8c7;
    --sk-2: #d3d7d6;
    --shadow-1: 0 1px 2px rgb(6 20 27 / .07), 0 8px 24px -8px rgb(6 20 27 / .14);
    --shadow-2: 0 2px 4px rgb(6 20 27 / .06), 0 30px 60px -20px rgb(6 20 27 / .32);
    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --gutter: 20px;
    --top: 64px;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #06141b;
    --bg-2: #0a1a23;
    --surface: #11212d;
    --sunken: #182a37;
    --ink: #ccd0cf;
    --ink-2: #9ba8ab;
    --muted: #8a979c;
    --faint: #4a5c6a;
    --rule: #162734;
    --rule-2: #253745;
    --accent: #9ba8ab;
    --accent-soft: #1b2e3b;
    --on-accent: #06141b;
    --ok: #9ba8ab;
    --ok-soft: #1b2e3b;
    --warn: #9ba8ab;
    --warn-soft: #1b2e3b;
    --dk-bg: #0d1d27;
    --dk-accent: #9ba8ab;
    --dk-ink: #ccd0cf;
    --dk-muted: #8a979c;
    --dk-rule: #253745;
    --sk-1: #182a37;
    --sk-2: #22394a;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px -8px rgb(0 0 0 / .5);
    --shadow-2: 0 2px 4px rgb(0 0 0 / .4), 0 30px 60px -20px rgb(0 0 0 / .7);
    color-scheme: dark;
}

/* ---------- base ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.25rem + 2.8vw, 3.5rem); line-height: 1.04; }
h2 em, h1 em, .finale h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent); font-size: 1.08em; }
.block--dark em, .finale em, .finale h2 em { color: var(--dk-accent); }  /* the finale is a dark panel in both themes, so its accent is the dark panel's */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 54ch; margin-top: 18px; text-wrap: pretty; }
.tag { display: inline-block; font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--accent); color: var(--accent); border-radius: 99px; vertical-align: 2px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 22px; border-radius: 99px;
    border: 1px solid var(--rule-2); background: var(--surface); color: var(--ink);
    font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: var(--ink); }
.btn .i { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--small { height: 38px; padding: 0 16px; font-size: 14px; border-color: var(--ink); background: transparent; }
.btn--small:hover { background: var(--ink); color: var(--bg); }

.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface); border-color: var(--ink); }
:root[data-theme="dark"] .when-light, :root:not([data-theme="dark"]) .when-dark { display: none; }

/* ---------- top bar ----------------------------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
.top { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--top); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.top.is-stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--rule); }
.top__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; }
.logo-lockup { display: inline-flex; align-items: center; line-height: 0; transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.logo-lockup img { height: 38px; width: auto; display: block; }
.logo:hover .logo-lockup { transform: translateY(-1px) scale(1.03); }
.foot .logo-lockup img { height: 30px; }
:root[data-theme="dark"] .logo-on-light, :root:not([data-theme="dark"]) .logo-on-dark { display: none; }
.top__links { display: flex; gap: 4px; }
.top__links a { text-decoration: none; padding: 8px 14px; border-radius: 99px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; }
.top__links a:hover { background: var(--surface); color: var(--ink); }
.top__end { display: flex; align-items: center; gap: 8px; }
.burger { display: none; }
.when-open { display: none; }
.burger[aria-expanded="true"] .when-open { display: block; }
.burger[aria-expanded="true"] .when-closed { display: none; }

@media (max-width: 899px) {
    .burger { display: grid; }
    .top__links {
        position: fixed; top: calc(var(--top) + 6px); left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 10px;
        background: var(--surface); border: 1px solid var(--rule-2); border-radius: 20px; box-shadow: var(--shadow-2);
        opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .25s, visibility .2s;
    }
    .top__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .top__links a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
}
@media (max-width: 420px) { [data-theme-toggle] { display: none; } .btn--small { padding: 0 13px; } }
@media (max-width: 520px) {
    .hero .eyebrow { font-size: 10.5px; letter-spacing: .06em; gap: 0; white-space: nowrap; }
    .hero .eyebrow::before { display: none; }
    .hero__cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .hero__cta .btn { width: 100%; }
}
@media (max-width: 359px) { .hero .eyebrow { font-size: 9.5px; letter-spacing: .03em; } }

/* ---------- hero ---------------------------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--top) + clamp(28px, 6vw, 72px)); overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    /* ruled like a ledger page: the books, behind the bill */
    background: repeating-linear-gradient(to bottom, transparent 0 35px, color-mix(in srgb, var(--ink) 5%, transparent) 35px 36px);
    -webkit-mask-image: linear-gradient(#000 35%, transparent 92%);
    mask-image: linear-gradient(#000 35%, transparent 92%);
}
.hero__grid { display: grid; gap: 56px; align-items: center; padding-bottom: clamp(48px, 7vw, 88px); }
.hero .eyebrow { margin-bottom: 0; color: var(--muted); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); line-height: .98; letter-spacing: -.045em; margin: 24px 0 24px; max-width: 15ch; }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero__facts li::before { content: "—"; margin-right: 9px; color: var(--faint); }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * .1s + .05s) both; }

/* The counter: a bill printing, the order slip on its rail, and notes in the margin drawn like an annotated plan.
   The whole sequence is played by site.js (classes on .desk); without it the first bill simply sits there, finished. */
.hero__art { position: relative; container-type: inline-size; }
.desk { position: relative; height: 640px; max-width: 600px; margin-inline: auto; }
.printer { position: absolute; z-index: 2; left: 50%; top: 44px; width: 276px; margin-left: -138px; filter: drop-shadow(0 26px 24px rgb(6 20 27 / .18)); }
.printer__top { position: relative; z-index: 3; height: 26px; width: 316px; margin-left: -20px; border-radius: 14px; background: linear-gradient(#253745, #06141b); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); }
.printer__led { position: absolute; right: 18px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #9ba8ab; box-shadow: 0 0 6px #9ba8ab; }
.desk:not(.is-static) .printer__led { animation: blink .7s steps(2) 0s 3 both; }
.printer__slot { overflow: hidden; margin-top: -4px; padding-bottom: 20px; }
.desk.is-tear .printer__slot { overflow: visible; }
.desk:not(.is-static) .receipt-wrap { animation: feed 1.1s cubic-bezier(.3,.7,.2,1) both; }
.desk.is-tear .receipt-wrap { animation: tear .9s cubic-bezier(.55,0,.85,.45) both; }
.desk.is-static .receipt-wrap { transform: none; animation: none; }
.receipt {
    position: relative; background: #eef0ef; color: #06141b; font: 500 12px/1.4 var(--mono); padding: 20px 18px 34px;
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
    mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.receipt__head { text-align: center; padding-bottom: 12px; border-bottom: 1px dashed #aab3b5; }
.receipt__head b { display: block; font: 600 15px var(--sans); letter-spacing: -.01em; }
.receipt__head span { color: #4a5c6a; font-size: 10.5px; }
.receipt__lines { padding: 12px 0; border-bottom: 1px dashed #aab3b5; display: grid; gap: 9px; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 10px; }
.receipt__lines small { display: block; color: #4a5c6a; font-size: 10.5px; }
.receipt__tax { padding: 10px 0; display: grid; gap: 3px; color: #253745; }
.receipt__tax div { display: flex; justify-content: space-between; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-block: 1.5px solid #06141b; font-size: 13px; }
.receipt__total b { font: 600 20px var(--sans); letter-spacing: -.02em; }
.receipt__pay { display: flex; align-items: center; gap: 12px; padding-top: 14px; min-height: 72px; font-size: 10.5px; color: #253745; line-height: 1.35; }
.receipt__pay small { display: block; color: #7b8a8e; }
.receipt .qr { flex: none; width: 56px; height: 56px; padding: 4px; border: 1px solid #06141b; border-radius: 6px; color: #06141b; }
.receipt .qr[hidden] { display: none; }
.receipt__foot { text-align: center; margin-top: 14px; font-size: 10.5px; color: #4a5c6a; }
.stamp { position: absolute; right: 12px; bottom: 36px; padding: 5px 11px; border: 2.5px solid #253745; color: #253745; border-radius: 8px; font: 700 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-11deg); mix-blend-mode: multiply; white-space: nowrap; }
.desk:not(.is-static) .stamp { animation: stamp .4s cubic-bezier(.2,1.7,.4,1) 1.3s both; }
.desk.is-static .stamp { opacity: 1; animation: none; }

/* the order slip, hanging from its rail */
.rail { position: absolute; left: -14px; top: 6px; width: calc(50% - 150px); height: 3px; border-radius: 2px; background: var(--rule-2); }
.slip { position: absolute; z-index: 1; left: 2px; top: 6px; width: 120px; padding: 22px 10px 12px; white-space: nowrap; background: #aeb8ba; color: #11212d; border-radius: 2px 2px 3px 3px; box-shadow: 0 12px 20px -10px rgb(6 20 27 / .4); font: 500 10.5px/1.45 var(--mono); transform-origin: 50% 0; display: grid; }
.slip b { font: 700 14px var(--sans); margin-bottom: 4px; }
.slip small { color: #4a5c6a; margin-top: 3px; }
.slip__clip { position: absolute; top: -9px; left: 50%; margin-left: -10px; width: 20px; height: 15px; border-radius: 3px 3px 0 0; background: #06141b; }
.desk:not(.is-static) .slip { animation: slip-in .7s cubic-bezier(.2,.8,.2,1) both, swing 2.2s ease-out .7s forwards; }
.desk.is-tear .slip { animation: slip-out .5s ease-in both; }
.desk.is-static .slip { opacity: 1; animation: none; }

/* margin notes: a hairline from the words to the thing they mean, drawn as they appear */
.note { position: absolute; z-index: 1; width: calc(50% - 138px - 26px); font: 500 11px/1.4 var(--mono); color: var(--ink-2); }
.note--l { left: 0; text-align: right; }
.note--r { right: 0; text-align: left; }
.note span { display: block; }
.note--l { --sx: -8px; } .note--r { --sx: 8px; }
.note::after { content: ""; position: absolute; top: .45em; height: 5px; width: 36px; }
.note--l::after { left: calc(100% + 4px); transform-origin: left; background: linear-gradient(currentColor, currentColor) 0 50% / calc(100% - 3px) 1px no-repeat, radial-gradient(circle at calc(100% - 2.5px) 50%, currentColor 2.2px, transparent 2.7px); }
.note--r::after { right: calc(100% + 4px); transform-origin: right; background: linear-gradient(currentColor, currentColor) 100% 50% / calc(100% - 3px) 1px no-repeat, radial-gradient(circle at 2.5px 50%, currentColor 2.2px, transparent 2.7px); }
.note--price { top: 146px; } .note--stock { top: 204px; } .note--gst { top: 288px; } .note--profit { top: 360px; } .note--pay { top: 424px; }
.desk:not(.is-static) .note { animation: note-in .4s ease calc(1.5s + var(--n) * .3s) both; }
.desk:not(.is-static) .note span { animation: note-text .5s cubic-bezier(.2,.7,.2,1) calc(1.5s + var(--n) * .3s) both; }
.desk:not(.is-static) .note::after { animation: leader .5s cubic-bezier(.3,.7,.2,1) calc(1.5s + var(--n) * .3s) both; }
.desk.is-tear .note { animation: note-out .3s ease both; }
.desk.is-tear .note span, .desk.is-tear .note::after { animation: none; }
.desk__cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* Narrow screens: the same scene, rearranged. The bill moves to the right and gets a little narrower; the slip stays on its
   rail at the top left; every note moves to the left column, each still pointing at its line with a hairline. */
@container (max-width: 560px) {
    .desk { --bill: clamp(200px, 62cqw, 236px); height: 570px; }
    .printer { left: auto; right: 0; margin-left: 0; width: var(--bill); }
    .printer__top { width: calc(var(--bill) + 20px); margin-left: -10px; }
    .stamp { right: 6px; font-size: 11px; padding: 4px 8px; border-width: 2px; }
    .rail { left: -14px; width: calc(100% - var(--bill) - 22px); }
    .slip { width: min(108px, calc(100% - var(--bill) - 14px)); padding: 22px 8px 10px; font-size: 10px; }
    .note, .note--r { left: 0; right: auto; text-align: right; width: calc(100% - var(--bill) - 32px); font-size: 10.5px; }
    .note--r::after { right: auto; left: calc(100% + 4px); transform-origin: left; background: linear-gradient(currentColor, currentColor) 0 50% / calc(100% - 3px) 1px no-repeat, radial-gradient(circle at calc(100% - 2.5px) 50%, currentColor 2.2px, transparent 2.7px); }
    .note::after { width: 28px; }
    .receipt { padding-inline: 14px; }
}
/* The very smallest phones: no room beside the bill, so the notes list underneath it instead. */
@container (max-width: 300px) {
    .desk { height: auto; display: grid; gap: 7px; justify-items: center; padding: 18px 0 6px; }
    .printer { position: relative; left: auto; right: auto; top: auto; margin: 0 0 12px; }
    .rail, .slip, .note::after { display: none; }
    .note, .note--r { position: static; width: min(100%, var(--bill)); text-align: left; }
    .note span { display: inline; }
    .note::before { content: "— "; opacity: .55; }
    .desk__cap { position: static; order: 9; margin-top: 6px; }
}
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.marquee { overflow: hidden; border-block: 1px solid var(--rule); background: color-mix(in srgb, var(--bg-2) 70%, transparent); padding-block: 15px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; font: 500 13px var(--mono); letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.marquee li::after { content: "✦"; margin-inline: 26px; color: var(--accent); font-size: 11px; }

/* ---------- section scaffolding --------------------------------------------------------------- */
.block { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.block--tint { background: var(--bg-2); border-block: 1px solid var(--rule); }
.head { max-width: 760px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .sub { margin-inline: auto; }
.split { display: grid; gap: 44px; }
.split__lead { align-self: start; }
@media (min-width: 960px) {
    .split { grid-template-columns: 5fr 7fr; gap: 72px; }
    .split__lead { position: sticky; top: calc(var(--top) + 36px); }
}

/* ---------- the problem ----------------------------------------------------------------------------- */
.problem { padding: 22px 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.problem:last-child { border-bottom: 1px solid var(--rule); }
.problem__before { color: var(--muted); font-size: 1rem; }
.problem__before span { background: linear-gradient(var(--accent), var(--accent)) 0 56% / 0% 2px no-repeat; transition: background-size .9s cubic-bezier(.6,0,.2,1) calc(var(--d, 0) * .09s + .5s); }
.is-in .problem__before span, .problem.is-in .problem__before span { background-size: 100% 2px; }
.problem__after { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.problem__after .i { color: var(--accent); margin-top: 3px; }

/* ---------- how it fits (flow) ------------------------------------------------------------------------- */
.flow { position: relative; display: grid; gap: 34px; margin-top: 64px; counter-reset: none; }
.flow__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--rule-2); }
.flow__rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); transition: transform 1.8s cubic-bezier(.5,0,.2,1) .2s; }
.flow.is-in .flow__rail i { transform: scaleY(1); }
.flow__step { position: relative; padding-left: 80px; opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d) * .22s + .1s); }
.flow.is-in .flow__step { opacity: 1; transform: none; }
:root:not(.js) .flow__step { opacity: 1; transform: none; }
.flow__ico { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--rule-2); color: var(--ink); box-shadow: var(--shadow-1); }
.flow__ico .i { width: 24px; height: 24px; }
.flow__n { position: absolute; left: 40px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 600 11px/22px var(--mono); text-align: center; }
.flow__step h3 { font-size: 1.15rem; letter-spacing: -.02em; padding-top: 4px; }
.flow__step p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
@media (min-width: 1000px) {
    .flow { grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .flow__rail { left: 8%; right: 8%; top: 28px; bottom: auto; width: auto; height: 2px; }
    .flow__rail i { transform-origin: left; transform: scaleX(0); }
    .flow.is-in .flow__rail i { transform: scaleX(1); }
    .flow__step { padding: 72px 0 0; text-align: center; }
    .flow__ico { left: 50%; margin-left: -28px; }
    .flow__n { left: calc(50% + 12px); }
}

/* ---------- modules ----------------------------------------------------------------------------- */
.modnav { position: sticky; top: var(--top); z-index: 40; margin-top: 44px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--rule); }
.modnav__scroll { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.modnav__scroll::-webkit-scrollbar { display: none; }
.modnav a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.modnav a .i { width: 16px; height: 16px; }
.modnav a:hover { color: var(--ink); background: var(--surface); }
.modnav a.is-on { background: var(--ink); color: var(--bg); }
.mods { display: grid; gap: clamp(88px, 11vw, 160px); padding-top: clamp(56px, 7vw, 96px); }
.mod { display: grid; gap: 36px; align-items: center; scroll-margin-top: calc(var(--top) + 70px); }
.mod__num { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 16px; }
.mod__num b { font: 400 3.4rem/.9 var(--serif); color: var(--accent); letter-spacing: -.02em; }
.mod__num span:not(.tag) { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mod h3 { font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.7rem); line-height: 1.07; }
.mod__lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 52ch; text-wrap: pretty; }
.points { display: grid; gap: 13px; margin-top: 26px; }
.points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.points b { color: var(--ink); font-weight: 600; }
.points__tick { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.points__tick .i { width: 13px; height: 13px; stroke-width: 2.4; }
.solves { display: flex; gap: 11px; align-items: flex-start; margin-top: 28px; padding: 13px 16px; border-left: 3px solid var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent); border-radius: 4px 12px 12px 4px; font-size: .95rem; color: var(--ink); max-width: 52ch; }
.solves .i { color: var(--accent); margin-top: 2px; width: 18px; height: 18px; }
.solves i { font-style: normal; font-weight: 600; margin-right: 4px; }
.mod__shot { min-width: 0; }
.mod--tabs { grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: start; }
.mod--tabs .mod__lead, .mod--tabs .solves { max-width: 60ch; }
@media (min-width: 960px) {
    .mod { grid-template-columns: 5fr 7fr; gap: 72px; }
    .mod--flip:not(.mod--tabs) { grid-template-columns: 7fr 5fr; }  /* the picture moves to the left, so it keeps the wide column */
    .mod--flip:not(.mod--tabs) .mod__text { order: 2; }
    .mod--tabs { grid-template-columns: minmax(0, 1fr); }
}

/* the journey strip at the top of Inventory */
.path { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-bottom: 40px; }
.path li { position: relative; padding: 9px 15px; border: 1px solid var(--rule-2); border-radius: 99px; font: 500 12.5px var(--mono); color: var(--ink-2); background: var(--surface); animation: lit 10s linear infinite; animation-delay: calc(var(--k, 0) * 2s); }
.path li:nth-child(2) { --k: 1; } .path li:nth-child(3) { --k: 2; } .path li:nth-child(4) { --k: 3; } .path li:nth-child(5) { --k: 4; }
.path li:not(:last-child) { margin-right: 18px; }
.path li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-52%); color: var(--accent); font-size: 14px; }

/* Where there is not room for the whole chain in one line, it stands up as a vertical path instead of breaking mid-way. */
@media (max-width: 899px) {
    .path { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; margin: 0 0 36px 7px; padding-left: 22px; border-left: 1.5px solid var(--rule-2); }
    .path li { margin: 0 0 12px; }
    .path li:last-child { margin-bottom: 0; }
    .path li:not(:last-child) { margin-right: 0; }
    .path li:not(:last-child)::after { display: none; }
    .path li::before { content: ""; position: absolute; left: -29px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--rule-2); animation: dot 10s linear infinite; animation-delay: calc(var(--k, 0) * 2s); }
}
.tabs__bar { position: relative; display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--rule-2); scrollbar-width: none; }
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__bar button { flex: none; padding: 14px 18px; border: 0; background: none; color: var(--muted); font-weight: 500; font-size: .98rem; cursor: pointer; white-space: nowrap; transition: color .2s; }
.tabs__bar button:hover, .tabs__bar button[aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w, 60px); background: var(--accent); transform: translateX(var(--x, 0px)); transition: transform .35s cubic-bezier(.3,.8,.3,1), width .35s cubic-bezier(.3,.8,.3,1); }
.panel { display: grid; gap: 32px; padding-top: 36px; }
.panel:not([hidden]) { animation: panel-in .55s cubic-bezier(.2,.7,.2,1) both; }
.panel[hidden] { display: none; }
.panel h4 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.025em; font-weight: 500; line-height: 1.15; }
.panel__text > p { margin-top: 12px; color: var(--muted); max-width: 48ch; }
.panel__shot { min-width: 0; }
@media (min-width: 960px) { .panel { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }

/* ---------- screenshots -------------------------------------------------------------------------- */
.shot { position: relative; transform: translateY(var(--py, 0px)) perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
/* Just the picture: no browser bar, no address. A soft edge and shadow lift it off the page. */
.shot__body { position: relative; overflow: hidden; border: 1px solid var(--rule-2); border-radius: 16px; background: var(--sunken); box-shadow: var(--shadow-2); }
.shot:not(.has-img) .shot__body { aspect-ratio: 16 / 10; }
.shot__zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
:root[data-theme="dark"] .shot-on-light, :root:not([data-theme="dark"]) .shot-on-dark { display: none; }  /* a dark page shows the light screenshot, a light page the dark one */
.shot__zoom img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot__zoom:hover img { transform: scale(1.015); }
.shot__expand { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-1); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.shot__zoom:hover .shot__expand, .shot__zoom:focus-visible .shot__expand { opacity: 1; transform: none; }
.shot__phone { position: absolute; right: -12px; bottom: -26px; width: clamp(84px, 20%, 150px); padding: 0; border: 5px solid #06141b; border-radius: 22px; overflow: hidden; background: #06141b; box-shadow: var(--shadow-2); cursor: zoom-in; transition: transform .4s cubic-bezier(.3,1.4,.5,1); }
.shot__phone:hover { transform: translateY(-6px) rotate(-1.5deg); }
.shot__phone img { width: 100%; height: auto; }
@media (max-width: 640px) { .shot__phone { right: -6px; bottom: -18px; } }

/* How the pictures move (site.js adds .is-shown when one scrolls into view, and tilts it toward the pointer):
   the frame rises in, the screen "switches on" top to bottom while settling from slightly zoomed, a soft light
   passes over it once, then the phone slides up and floats. Without JavaScript they are simply there. */
.js .shot:not(.is-shown) .shot__body, .js .shot:not(.is-shown) .shot__phone { opacity: 0; }
.js .shot.is-shown .shot__body { animation: shot-rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .shot.is-shown .shot__zoom img { animation: shot-on 1.1s cubic-bezier(.65, 0, .2, 1) .1s backwards; }
.shot__body::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%); background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .3) 50%, transparent 62%); }
.js .shot.is-shown .shot__body::after { animation: shot-shine 1.5s ease 1s 1 forwards; }
.js .shot.is-shown .shot__phone { animation: shot-phone-in .9s cubic-bezier(.2, .8, .2, 1) .8s backwards, shot-float 7s ease-in-out 1.9s infinite; }
.shot.is-tilting { transition: transform .18s ease-out; }
.shot.is-settling { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes shot-rise { from { opacity: 0; transform: translateY(34px) scale(.975); } }
@keyframes shot-on { from { clip-path: inset(0 0 100% 0); transform: scale(1.07); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes shot-shine { to { transform: translateX(130%); } }
@keyframes shot-phone-in { from { opacity: 0; transform: translateY(46px) rotate(4deg); } }
@keyframes shot-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.skel { position: absolute; inset: 0; display: grid; grid-template-columns: 21% 1fr; }
.skel__side { padding: 16px 14px; background: var(--surface); border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 11px; }
.skel__side b { height: 16px; width: 64%; border-radius: 5px; margin-bottom: 8px; }
.skel__side i { height: 10px; border-radius: 4px; }
.skel__side i:nth-child(2) { width: 90%; } .skel__side i:nth-child(3) { width: 72%; } .skel__side i:nth-child(4) { width: 82%; } .skel__side i:nth-child(5) { width: 60%; } .skel__side i:nth-child(6) { width: 76%; }
.skel__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.skel__head { display: flex; justify-content: space-between; align-items: center; }
.skel__head b { height: 20px; width: 30%; border-radius: 6px; }
.skel__head u { height: 24px; width: 15%; border-radius: 99px; text-decoration: none; background: var(--accent-soft); }
.skel__rows { display: grid; gap: 9px; }
.skel__rows i { height: 30px; border-radius: 9px; }
.skel__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.skel__tiles i { height: clamp(64px, 11vw, 112px); border-radius: 12px; }
.skel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.skel__stats i { height: 56px; border-radius: 11px; }
.skel__chart { width: 100%; flex: 1; min-height: 70px; }
.skel__chart path { fill: var(--accent-soft); }
.skel__chart .line { fill: none; stroke: var(--accent); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 3.6s ease-in-out infinite; }
.skel i, .skel b { background: linear-gradient(100deg, var(--sk-1) 35%, var(--sk-2) 50%, var(--sk-1) 65%) 120% 0 / 300% 100%; animation: shimmer 2.8s linear infinite; }
.skel__side i, .skel__side b { background-color: var(--sk-1); }
.shot__tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--rule-2); box-shadow: var(--shadow-1); font-weight: 500; font-size: 14px; white-space: nowrap; }
.shot__tag .i { width: 17px; height: 17px; color: var(--accent); }
.shot__tag code { font: 500 11.5px var(--mono); padding: 2px 7px; border-radius: 6px; background: var(--sunken); color: var(--muted); }

/* ---------- add-ons ---------------------------------------------------------------------------- */
.block--dark { background: var(--dk-bg); color: var(--dk-ink); border-block: 1px solid var(--dk-rule); overflow: clip; }
.block--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--dk-accent) 14%, transparent), transparent 70%); }
.block--dark .sub { color: var(--dk-muted); }
.block--dark .eyebrow { color: #9ba8ab; }
.block--dark h2 { color: var(--dk-ink); }
.addons { position: relative; display: grid; gap: 48px; align-items: center; }
.core { margin-top: 28px; display: grid; gap: 10px; color: var(--dk-ink); }
.core li { display: flex; gap: 10px; align-items: center; font-size: .98rem; }
.core .i { color: #9ba8ab; width: 18px; height: 18px; stroke-width: 2.2; }
.switchrow { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 12px; border: 1px solid var(--dk-rule); border-radius: 18px; background: rgb(255 255 255 / .035); transition: border-color .6s, background .6s; transition-delay: calc(var(--d) * .35s + .3s); }
.switches.is-in .switchrow { border-color: color-mix(in srgb, var(--dk-accent) 45%, var(--dk-rule)); background: rgb(255 255 255 / .06); }
.switchrow__ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgb(255 255 255 / .07); color: #ccd0cf; }
.switchrow__text { flex: 1; min-width: 0; }
.switchrow__text b { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; }
.switchrow__text small { display: block; color: var(--dk-muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
.switch { flex: none; position: relative; width: 52px; height: 30px; border-radius: 99px; background: #253745; transition: background .4s; transition-delay: calc(var(--d) * .35s + .5s); }
.switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .35); transition: transform .5s cubic-bezier(.3,1.5,.5,1); transition-delay: calc(var(--d) * .35s + .5s); }
.switches.is-in .switch { background: var(--dk-accent); }
.switches.is-in .switch i { transform: translateX(22px); }
.switches__note { color: var(--dk-muted); font: 500 12.5px var(--mono); margin-top: 16px; padding-left: 6px; }
@media (min-width: 960px) { .addons { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- small things (bento) -------------------------------------------------------------------- */
.bento { display: grid; gap: 16px; margin-top: 56px; }
.cell { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--rule); border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--rule-2); }
.cell h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.cell p { margin-top: 8px; color: var(--muted); font-size: .96rem; max-width: 44ch; }
.cell__art { flex: 1; display: grid; place-items: center; margin-bottom: 22px; min-height: 110px; }
.cell__art--paper { justify-items: start; align-content: center; gap: 8px; }
.cell__art--paper span { display: grid; align-items: center; padding-left: 14px; width: var(--w); height: 34px; border-radius: 6px 6px 0 0; background: var(--sunken); border: 1px solid var(--rule-2); font: 500 12px var(--mono); color: var(--ink-2); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.cell__art--phone .i { width: 76px; height: 76px; stroke-width: 1.1; color: var(--ink); }
.cell__art--phone { position: relative; }
.cell__art--phone::before, .cell__art--phone::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: ring 3s ease-out infinite; }
.cell__art--phone::after { animation-delay: 1.5s; }
.cell__art--gst { grid-auto-flow: column; gap: 8px; place-content: center; }
.cell__art--gst b { padding: 9px 13px; border-radius: 10px; font: 600 13px var(--mono); background: var(--accent-soft); color: var(--accent); animation: gst 6s ease-in-out infinite; }
.cell__art--gst b.alt { background: var(--sunken); color: var(--ink); animation-name: gst-alt; }
.cell__art--live { gap: 8px; align-content: center; width: 100%; }
.cell__art--live i { display: block; height: 28px; width: 100%; border-radius: 9px; background: var(--sunken); border-left: 4px solid var(--accent); animation: slide-row 4.5s ease-in-out infinite; }
.cell__art--live i:nth-child(2) { animation-delay: .5s; border-color: var(--ok); } .cell__art--live i:nth-child(3) { animation-delay: 1s; border-color: var(--warn); }
.cell__art--theme { position: relative; }
.cell__art--theme span { position: absolute; width: 74px; height: 74px; border-radius: 50%; }
.cell__art--theme span:first-child { background: #ccd0cf; border: 1px solid var(--rule-2); transform: translateX(-26px); }
.cell__art--theme span:last-child { background: #06141b; border: 1px solid #253745; transform: translateX(26px); mix-blend-mode: normal; }
.cell__art--theme { animation: spin 14s linear infinite; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } .cell--wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
    .bento { grid-template-columns: repeat(12, 1fr); }
    .cell { grid-column: span 4; min-height: 320px; }
    .cell--wide { grid-column: span 7; }
    .cell:nth-child(2) { grid-column: span 5; }
}

/* ---------- getting started -------------------------------------------------------------------------- */
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.types li { padding: 8px 15px; border: 1px solid var(--rule-2); border-radius: 99px; font-size: 14px; font-weight: 500; background: var(--surface); }
@media (max-width: 640px) {
    /* the shop types sit in a tidy two-column grid instead of ragged rows of pills */
    .types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .types li { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.3; text-align: center; }
    .types li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--rule-2); }
.step:last-child { border-bottom: 1px solid var(--rule-2); }
.step__n { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 400 1.5rem/1 var(--serif); }
.step h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.step p { color: var(--muted); margin-top: 6px; max-width: 50ch; }

/* ---------- questions ---------------------------------------------------------------------------------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--rule-2); interpolate-size: allow-keywords; }
.faq details:last-child { border-bottom: 1px solid var(--rule-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .2s, color .2s; }
.faq summary i .i { width: 16px; height: 16px; }
.faq summary:hover i { background: var(--ink); color: var(--bg); }
.faq details[open] summary i { transform: rotate(135deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s cubic-bezier(.2,.7,.2,1), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- finale and footer ------------------------------------------------------------------------- */
.finale { padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 120px); }
.finale__card { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 104px) clamp(22px, 5vw, 64px); border-radius: clamp(24px, 4vw, 40px); background: radial-gradient(70% 55% at 50% 0%, rgb(155 168 171 / .13), transparent 70%), linear-gradient(180deg, #112430, #08171f); color: var(--dk-ink); border: 1px solid rgb(255 255 255 / .09); box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 50px 110px -50px rgb(0 0 0 / .65); }
.finale__glow { position: absolute; left: 50%; top: -40%; width: 90%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--dk-accent) 22%, transparent), transparent); filter: blur(30px); animation: glow 7s ease-in-out infinite; pointer-events: none; }
.finale h2 { position: relative; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1; letter-spacing: -.04em; max-width: 16ch; margin-inline: auto; }
.finale p { position: relative; margin: 20px auto 0; max-width: 44ch; color: var(--dk-muted); font-size: 1.1rem; }
/* The demo video card: a poster that drifts slowly, a play button that ripples, and a thin control bar that fades with use.
   States are on .demo as data-state: idle -> loading -> playing / paused -> ended (site.js). */
.finale__card--video { padding: clamp(32px, 5.5vw, 72px) clamp(14px, 3.6vw, 48px) clamp(32px, 4.6vw, 60px); }
.finale__head { position: relative; margin-bottom: clamp(26px, 4vw, 44px); }
.finale__head .finale__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.finale__head p { margin-top: 14px; font-size: 1.05rem; }
.finale__card--video .finale__glow { transition: opacity .9s ease; }
.finale__card--video:has(.demo[data-state="playing"]) .finale__glow { animation-play-state: paused; opacity: .45; }
.demo { position: relative; isolation: isolate; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; background: #0b151b; border: 1px solid var(--dk-rule); color: #fff; box-shadow: 0 40px 90px -36px rgb(0 0 0 / .7); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.js .finale__card--video .demo { opacity: 0; transform: translateY(26px) scale(.965); transition: opacity .9s ease .12s, transform 1s cubic-bezier(.2, .7, .2, 1) .12s; }
.js .finale__card--video.is-in .demo { opacity: 1; transform: none; }
.js .finale__card--video .finale__head { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .finale__card--video.is-in .finale__head { opacity: 1; transform: none; }
.js .finale__card--video .finale__cta { opacity: 0; transform: translateY(14px); transition: opacity .7s ease .55s, transform .7s cubic-bezier(.2, .7, .2, 1) .55s; }
.js .finale__card--video.is-in .finale__cta { opacity: 1; transform: none; }
.finale__card--video .finale__cta { margin-top: clamp(20px, 3vw, 32px); }
.demo.is-idle[data-state="playing"] { cursor: none; }

.demo__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* the poster and its play button */
.demo__cover { position: absolute; inset: 0; z-index: 1; cursor: pointer; transition: opacity .6s ease, visibility 0s linear .6s; }
.demo__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 38%; animation: demo-drift 20s ease-in-out infinite alternate; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.demo__cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 35%, rgb(6 20 27 / .55)), linear-gradient(to top, rgb(6 20 27 / .8), transparent 45%); }
.demo__cover::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .2) 50%, transparent 62%); transform: translateX(-130%); }
.finale__card--video.is-in .demo__cover::before { animation: demo-shine 1.7s ease 1s 1 forwards; }
.demo:hover .demo__cover img { filter: brightness(1.08); }
.demo:is([data-state="playing"], [data-state="paused"]) .demo__cover { opacity: 0; visibility: hidden; pointer-events: none; }
.demo:is([data-state="playing"], [data-state="paused"]) .demo__cover img { animation-play-state: paused; transform: scale(1.06); }

.demo__start { position: absolute; z-index: 3; left: 50%; top: 47%; width: clamp(62px, 9vw, 96px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; color: #06141b; cursor: pointer; transform: translate(-50%, -50%); display: grid; place-items: center; }
.demo__disc { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; background: rgb(255 255 255 / .95); display: grid; place-items: center; box-shadow: 0 14px 44px rgb(0 0 0 / .5); transition: transform .4s cubic-bezier(.2, 1.3, .4, 1), background .3s ease; }
.demo__disc svg { width: 36%; margin-left: 7%; fill: currentColor; transition: transform .3s ease; }
.demo__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .75); opacity: 0; animation: demo-ring 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.demo__ring--b { animation-delay: 1.4s; }
.demo__start:hover .demo__disc { transform: scale(1.1); }
.demo__start:hover .demo__disc svg { transform: scale(1.12); }
.demo__start:active .demo__disc { transform: scale(.95); }
.demo__start:focus-visible { outline: 3px solid var(--dk-accent); outline-offset: 6px; }
.demo__start::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid transparent; border-top-color: #fff; opacity: 0; transition: opacity .25s ease; }
.demo[data-state="loading"] .demo__start::after { opacity: 1; animation: demo-spin .85s linear infinite; }
.demo[data-state="loading"] .demo__ring { animation: none; }
.demo[data-state="loading"] .demo__disc { transform: scale(.88); }
.demo__meta { position: absolute; z-index: 3; left: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); bottom: clamp(12px, 2.6vw, 24px); display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 12px rgb(0 0 0 / .6); }
.demo__len { padding: 5px 11px; border-radius: 99px; background: rgb(255 255 255 / .16); backdrop-filter: blur(8px); letter-spacing: .08em; text-shadow: none; }

/* a spinner while it waits for more, and the mark that flashes on play / pause */
.demo__spin { position: absolute; z-index: 2; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .25); border-top-color: #fff; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.demo[data-busy="1"]:is([data-state="playing"], [data-state="paused"]) .demo__spin { opacity: 1; animation: demo-spin .85s linear infinite; }
.demo__flash { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; aspect-ratio: 1; margin: -38px 0 0 -38px; border-radius: 50%; background: rgb(6 20 27 / .55); backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; pointer-events: none; }
.demo__flash svg { grid-area: 1 / 1; width: 32%; fill: #fff; }
.demo__flash[data-kind="play"] .demo__flash-pause, .demo__flash[data-kind="pause"] .demo__flash-play { display: none; }
.demo__flash.is-on { animation: demo-flash .65s ease-out; }

/* the control bar */
.demo__bar { position: absolute; z-index: 3; left: clamp(10px, 1.8vw, 20px); right: clamp(10px, 1.8vw, 20px); bottom: clamp(10px, 1.8vw, 20px); display: flex; align-items: center; gap: clamp(6px, 1.2vw, 12px); padding: 4px clamp(8px, 1.2vw, 14px) 4px 6px; border-radius: 18px; background: rgb(6 20 27 / .74); border: 1px solid rgb(255 255 255 / .09); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px rgb(0 0 0 / .35); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s; }
.demo:is([data-state="playing"], [data-state="paused"]) .demo__bar { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.demo.is-idle[data-state="playing"] .demo__bar { opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; }
.demo__btn { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.demo__btn:hover { background: rgb(255 255 255 / .16); }
.demo__btn:active { transform: scale(.92); }
.demo__btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.demo__btn svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s ease, transform .3s cubic-bezier(.2, 1.3, .4, 1); }
.demo__btn .i-play, .demo__btn .i-pause { fill: currentColor; stroke: none; }
.demo__btn .i-pause, .demo__btn .i-muted { opacity: 0; transform: scale(.4) rotate(-45deg); }
.demo[data-state="playing"] .demo__btn .i-play { opacity: 0; transform: scale(.4) rotate(45deg); }
.demo[data-state="playing"] .demo__btn .i-pause { opacity: 1; transform: none; }
.demo[data-muted="1"] .demo__btn .i-sound { opacity: 0; transform: scale(.4) rotate(45deg); }
.demo[data-muted="1"] .demo__btn .i-muted { opacity: 1; transform: none; }
.demo__time { flex: none; font: 500 12px var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; opacity: .9; }
.demo__time span { opacity: .6; }
.demo__track { position: relative; flex: 1; min-width: 0; height: 28px; cursor: pointer; touch-action: none; }
.demo__track:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.demo__track i { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 99px; transform-origin: left center; transition: height .2s ease, margin .2s ease; }
.demo__rail { width: 100%; background: rgb(255 255 255 / .25); }
.demo__buf { width: var(--buf, 0%); background: rgb(255 255 255 / .35); transition: width .4s ease, height .2s ease, margin .2s ease; }
.demo__fill { width: var(--pos, 0%); background: #fff; transition: width .25s linear, height .2s ease, margin .2s ease; box-shadow: 0 0 12px rgb(255 255 255 / .5); }
.demo__knob { position: absolute; top: 50%; left: var(--pos, 0%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / .5); transform: scale(0); transition: transform .2s cubic-bezier(.2, 1.4, .4, 1), left .25s linear; }
.demo__track:hover i, .demo.is-seeking .demo__track i { height: 6px; margin-top: -3px; }
.demo__track:hover .demo__knob, .demo.is-seeking .demo__knob, .demo__track:focus-visible .demo__knob { transform: scale(1); }
.demo.is-seeking .demo__fill, .demo.is-seeking .demo__knob { transition: none; }
.demo__plain { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; color: #fff; background: rgb(6 20 27 / .7); text-decoration: underline; }

/* The finale's player: the poster is a light screen, so it gets a light touch (no dark vignette or gradient), a dark play button that stands out
   on it, and dark glass captions that stay readable. The QR video is not in the finale and keeps the defaults above. */
.finale .demo { border-color: rgb(255 255 255 / .1); border-radius: clamp(16px, 2.4vw, 28px); box-shadow: 0 0 0 1px rgb(6 20 27 / .6), 0 50px 100px -40px rgb(0 0 0 / .85), 0 0 90px -30px rgb(155 168 171 / .28); }
.finale .demo__cover::after { background: none; }
.finale .demo__start { color: #fff; }
.finale .demo__disc { background: #06141b; box-shadow: 0 0 0 9px rgb(255 255 255 / .5), 0 20px 46px -8px rgb(6 20 27 / .55); }
.finale .demo__ring { border-color: rgb(6 20 27 / .5); }
.finale .demo__start:hover .demo__disc { background: #12303f; }
.finale .demo__meta { text-shadow: none; }
.finale .demo__meta > span { padding: 7px 13px; border-radius: 99px; color: #e9eeed; background: rgb(6 20 27 / .62); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 560px) { .finale .demo__meta > span { padding: 5px 10px; font-size: 10.5px; } .finale .demo__disc { box-shadow: 0 0 0 6px rgb(255 255 255 / .5), 0 14px 32px -8px rgb(6 20 27 / .55); } }

.demo:fullscreen { max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; }
.demo:-webkit-full-screen { max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; }
@media (max-width: 560px) { .demo__time span, .demo__btn--mute { display: none; } .demo__btn { width: 36px; height: 36px; } }

@keyframes demo-drift { to { transform: scale(1.08) translate(-1.2%, -.8%); } }
@keyframes demo-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.95); opacity: 0; } }
@keyframes demo-shine { to { transform: translateX(130%); } }
@keyframes demo-spin { to { transform: rotate(360deg); } }
@keyframes demo-flash { 0% { opacity: 0; transform: scale(.7); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) {
    .demo__cover img, .demo__ring, .finale__card--video.is-in .demo__cover::before, .finale .btn--primary { animation: none; }
    .js .finale__card--video .demo, .js .finale__card--video .finale__cta, .js .finale__card--video .finale__head { opacity: 1; transform: none; transition: none; }
    .demo__cover, .demo__bar, .demo__disc, .demo__btn svg, .demo__knob { transition: none; }
}
.finale__cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.finale__cta { gap: 12px; }
.finale .btn { height: 56px; padding: 0 28px; font-size: 15.5px; color: #e6ebea; background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.finale .btn:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .36); box-shadow: none; }
/* The main button: a bright, lit pill with a slow glow, and a sheen that sweeps across it on hover. The form's send button shares it in dark theme (in light theme it is already a strong dark pill). */
.finale .btn--primary, :root[data-theme="dark"] .cform__send { position: relative; overflow: hidden; isolation: isolate; font-weight: 600; color: #06141b; background: linear-gradient(180deg, #fff, #d6dedd); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(255 255 255 / .22), 0 16px 36px -14px rgb(255 255 255 / .4); }
.finale .btn--primary { animation: cta-glow 4.5s ease-in-out infinite; }
.finale .btn--primary::before, :root[data-theme="dark"] .cform__send::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .85) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.finale .btn--primary:hover, :root[data-theme="dark"] .cform__send:hover { background: linear-gradient(180deg, #fff, #eaf0ef); color: #06141b; border-color: transparent; transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(255 255 255 / .35), 0 22px 46px -14px rgb(255 255 255 / .55); animation: none; }
.finale .btn--primary:hover::before, :root[data-theme="dark"] .cform__send:hover::before { transform: translateX(130%); }
.finale .btn--primary:active, :root[data-theme="dark"] .cform__send:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.finale .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 99px; }
@media (max-width: 560px) { .finale__cta .btn { flex: 1 1 100%; } }
@keyframes cta-glow { 50% { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(255 255 255 / .3), 0 18px 50px -12px rgb(255 255 255 / .6); } }
/* The footer: brand, two link columns, a big wordmark whose letters rise in, and a back-to-top button that draws the scroll
   progress around itself. A soft light follows the pointer; a thin line sweeps across the top edge. */
.foot { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 5vw, 60px) 18px; }
.foot__line { position: absolute; inset: 0 0 auto; height: 1px; background: var(--rule); overflow: hidden; }
.foot__line::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 28%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: foot-sweep 7s cubic-bezier(.5, 0, .3, 1) infinite; }
.foot__spot { position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 40%); width: 560px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.foot.is-lit .foot__spot { opacity: 1; }
.foot__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px; }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; align-content: start; }
.foot__brand p { color: var(--ink); font-size: 1.02rem; line-height: 1.5; max-width: 34ch; }
.foot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.foot__social { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 13px; border: 1px solid var(--rule-2); border-radius: 99px; background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; transition: border-color .2s, color .2s, transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.foot__social .i { width: 18px; height: 18px; }
.foot__social:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.foot__col { display: grid; gap: 4px; align-content: start; }
.foot__col h3 { margin-bottom: 10px; color: var(--ink-2); font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.foot__col a { display: flex; align-items: center; width: fit-content; padding-block: 5px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; transition: color .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.foot__col a::before { content: ""; flex: none; width: 0; height: 1.5px; margin-right: 0; background: var(--accent); border-radius: 2px; transition: width .3s cubic-bezier(.2, .7, .2, 1), margin-right .3s cubic-bezier(.2, .7, .2, 1); }
.foot__col a:hover, .foot__col a:focus-visible { color: var(--accent); }
.foot__col a:hover::before, .foot__col a:focus-visible::before { width: 16px; margin-right: 9px; }
/* the wordmark sits behind the link columns: its letters rise in, then sway in a slow wave while a glow travels along the word;
   a brighter copy shows only under the pointer, like a torch. */
.foot__stage { position: relative; }
.foot__top { position: relative; z-index: 1; }
/* the words over the wordmark get a soft halo of the page colour, so the glow and the torch never swallow them */
.foot__top :is(p, h3, a:not(.btn)) { text-shadow: 0 0 12px var(--bg), 0 0 4px var(--bg), 0 0 1px var(--bg); }
.foot__marks { position: absolute; inset: -8px 0; z-index: 0; display: grid; align-items: center; overflow: clip; pointer-events: none; user-select: none; }
.foot__mark { grid-area: 1 / 1; padding: .06em 0 .12em; font: 700 clamp(3.4rem, 17.5vw, 15.5rem)/.86 var(--sans); letter-spacing: -.055em; white-space: nowrap; --mark: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--mark); }
.foot__mark .ch { display: inline-block; }
.js .foot__mark .ch { transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 55ms + .1s); }
.js .foot__marks.is-in .ch { transform: none; }
.js .foot__marks[data-reveal] { transform: none; opacity: 1; }  /* the letters do the moving, not the box */
.foot__marks.is-in .ch { animation: foot-wave 6.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.55s); }
.foot__marks.is-in .foot__mark:not(.foot__mark--lit) .ch { animation: foot-wave 6.5s ease-in-out infinite calc(var(--i, 0) * -.55s), foot-glow 8s ease-in-out infinite calc(var(--i, 0) * .34s + 1.2s); }
.foot__mark--lit { opacity: 0; transition: opacity .5s ease; --mark: color-mix(in srgb, var(--accent) 38%, transparent);
    -webkit-mask-image: radial-gradient(230px circle at var(--lx, -999px) var(--ly, -999px), #000 20%, transparent 100%); mask-image: radial-gradient(230px circle at var(--lx, -999px) var(--ly, -999px), #000 20%, transparent 100%); }
.foot.is-lit .foot__mark--lit { opacity: 1; }
.foot__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(24px, 3.5vw, 40px); padding-top: 16px; border-top: 1px solid var(--rule); }
.foot__base p { color: var(--muted); font-size: .88rem; }
.foot__totop { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); text-decoration: none; transition: color .2s, transform .3s cubic-bezier(.3, 1.4, .5, 1), background .2s; }
.foot__totop .i { width: 18px; height: 18px; transform: rotate(-90deg); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.foot__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.foot__ring circle { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); opacity: .9; }
.foot__totop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--rule); }
.foot__totop:hover { color: var(--on-accent); background: var(--accent); transform: translateY(-3px); }
.foot__totop:hover .i { transform: rotate(-90deg) translateX(3px); animation: foot-nudge .9s ease-in-out infinite; }
@media (min-width: 720px) {
    .foot__top { grid-template-columns: 1.7fr 1fr 1fr; gap: 40px 48px; }
    .foot__brand { grid-column: auto; }
}
@keyframes foot-wave { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -.04em; rotate: -1.8deg; } }
@keyframes foot-glow { 0%, 66%, 100% { color: var(--mark); text-shadow: 0 0 0 transparent; } 80% { color: color-mix(in srgb, var(--accent) 40%, transparent); text-shadow: 0 0 .22em color-mix(in srgb, var(--accent) 45%, transparent); } }
@keyframes foot-sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(460%); } }
@keyframes foot-nudge { 0%, 100% { transform: rotate(-90deg) translateX(3px); } 50% { transform: rotate(-90deg) translateX(-2px); } }
@media (prefers-reduced-motion: reduce) {
    .js .foot__mark .ch { transform: none; }
    .foot__mark--lit { display: none; }
    .foot__line::after { display: none; }
    .foot__spot { display: none; }
}

.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgb(6 20 27 / .8); backdrop-filter: blur(6px); }
.lightbox[open] { animation: panel-in .3s cubic-bezier(.2,.7,.2,1); }
.lightbox img { max-width: min(1400px, 94vw); max-height: 90vh; width: auto; height: auto; border-radius: 14px; box-shadow: var(--shadow-2); background: var(--surface); }
.lightbox__close { position: absolute; right: 10px; top: 10px; z-index: 2; box-shadow: var(--shadow-1); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #06141b; display: grid; place-items: center; cursor: pointer; }

/* ---------- reveal on scroll ---------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * .09s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- motion ------------------------------------------------------------------------------------------ */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes feed { from { transform: translateY(-101%); } }
@keyframes note-in { from { opacity: 0; } }
@keyframes note-text { from { transform: translateX(var(--sx)); } }
@keyframes leader { from { transform: scaleX(0); } }
@keyframes note-out { to { opacity: 0; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-11deg) scale(2.3); } }
@keyframes tear { 0% { transform: none; opacity: 1; } 20% { transform: translateY(8px) rotate(-1deg); } 100% { transform: translateY(70%) rotate(4deg); opacity: 0; } }
@keyframes slip-in { from { opacity: 0; transform: translateY(-36px) rotate(-8deg); } }
@keyframes swing { 0% { transform: rotate(-5deg); } 20% { transform: rotate(3.5deg); } 40% { transform: rotate(-2.2deg); } 60% { transform: rotate(1.2deg); } 80% { transform: rotate(-.5deg); } 100% { transform: none; } }
@keyframes slip-out { to { opacity: 0; transform: translateX(-26px) rotate(-9deg); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes lit { 0%, 18% { background: var(--ink); color: var(--bg); border-color: var(--ink); } 22%, 100% { background: var(--surface); color: var(--ink-2); border-color: var(--rule-2); } }
@keyframes dot { 0%, 18% { background: var(--accent); border-color: var(--accent); } 22%, 100% { background: var(--bg); border-color: var(--rule-2); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes shimmer { to { background-position: -180% 0; } }
@keyframes draw { 0% { stroke-dashoffset: 700; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -700; } }
@keyframes ring { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes gst { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: .25; transform: scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes gst-alt { 0%, 42% { opacity: .25; transform: scale(.92); } 50%, 92% { opacity: 1; transform: none; background: var(--accent); color: var(--on-accent); } 100% { opacity: .25; transform: scale(.92); } }
@keyframes slide-row { 0% { transform: translateX(-24px); opacity: 0; } 14%, 76% { transform: none; opacity: 1; } 100% { transform: translateX(24px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .flow__step, .rise { opacity: 1; transform: none; }
    .js .shot .shot__body, .js .shot .shot__phone { opacity: 1; }
    .shot { transform: translateY(var(--py, 0px)); }
    .shot__body::after { display: none; }
    .flow__rail i { transform: none; }
    .problem__before span { background-size: 100% 2px; }
    .switches .switch { background: var(--dk-accent); }
    .switches .switch i { transform: translateX(22px); }
}

/* ---------- contact ----------------------------------------------------------------------------------------- */
:root { --bad: #b3402e; --bad-soft: #e7c9c2; --good: #3f7a55; }
:root[data-theme="dark"] { --bad: #e58a74; --bad-soft: #3a2420; --good: #7bc197; }

@media (min-width: 960px) { .split--contact { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; } }

/* The reply promise: a live dot, because someone really does read these. */
.reply { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 16px 8px 14px; border: 1px solid var(--rule-2); border-radius: 99px; background: var(--surface); font-size: 14px; color: var(--ink-2); }
.reply__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.reply__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--good); animation: ring 2.2s ease-out infinite; }

.ways { display: grid; gap: 10px; margin-top: 30px; max-width: 420px; }
.ways a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule-2); border-radius: 18px; background: var(--surface); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ways a:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--ink); }
.ways__i { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--ink); color: var(--bg); transition: transform .3s cubic-bezier(.2, 1.3, .4, 1); }
.ways a:hover .ways__i { transform: rotate(-8deg) scale(1.08); }
.ways b { display: block; font-weight: 500; letter-spacing: -.01em; }
.ways small { display: block; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }

/* The form card. */
.cform { position: relative; border: 1px solid var(--rule-2); border-radius: clamp(22px, 3vw, 32px); background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.cform::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 220% 100%; animation: cform-sheen 5s linear infinite; }
@keyframes cform-sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.cform__form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 40px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .cform__row { grid-template-columns: 1fr 1fr; } }

.cform__alert { padding: 12px 16px; border-radius: 14px; background: var(--bad-soft); color: var(--bad); font-size: 14.5px; animation: cform-pop .35s cubic-bezier(.2, 1.2, .4, 1); }
.cform__alert[hidden] { display: none; }
@keyframes cform-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* What can we help with: pills, a plain radio underneath each. */
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { width: 100%; margin-bottom: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.topics span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 99px; background: transparent; color: var(--ink-2); font-size: 14.5px; transition: background .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2, 1.3, .4, 1); }
.topics label:hover span { border-color: var(--ink); transform: translateY(-1px); }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: scale(1.04); }
.topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* A field: the label sits in the box and floats up when there is something to say. */
.fld { position: relative; }
.fld input, .fld textarea { display: block; width: 100%; padding: 27px 16px 10px; border: 1px solid var(--rule-2); border-radius: 16px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; outline: none; resize: none; transition: border-color .2s, box-shadow .25s, background .2s; }
.fld textarea { min-height: 132px; padding-bottom: 26px; }
.fld label { position: absolute; left: 17px; top: 17px; max-width: calc(100% - 34px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .22s cubic-bezier(.2, .7, .2, 1), color .2s; }
.fld label span { font-size: .8em; opacity: .7; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.fld input:focus + label, .fld textarea:focus + label { color: var(--ink); }
.fld.has-error input, .fld.has-error textarea { border-color: var(--bad); }
.fld.has-error label { color: var(--bad); }
.fld.has-error { animation: cform-shake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes cform-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.fld__err { display: block; max-height: 0; overflow: hidden; margin: 0; padding-left: 4px; color: var(--bad); font-size: 13px; opacity: 0; transition: max-height .3s ease, opacity .3s ease, margin .3s ease; }
.fld.has-error .fld__err { max-height: 40px; margin-top: 6px; opacity: 1; }
.fld__count { position: absolute; right: 14px; bottom: 10px; font: 500 11px/1 var(--mono); color: var(--faint); transition: color .2s; }
.fld__count.is-near { color: var(--bad); }

.cform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 4px; }
.cform__fine { color: var(--muted); font-size: 13.5px; }
.cform__send { position: relative; overflow: hidden; min-width: 178px; }
.cform__arrow { display: grid; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.cform__send:hover .cform__arrow { transform: translate(3px, -3px) rotate(8deg); }
.cform__send:hover .i { transform: none; }
.cform__spin { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--bg) 35%, transparent); border-top-color: var(--bg); opacity: 0; animation: spin .7s linear infinite; }
.cform__send.is-sending { pointer-events: none; }
.cform__send.is-sending .cform__label, .cform__send.is-sending .cform__arrow { opacity: 0; transform: translateY(8px); }
.cform__send.is-sending .cform__spin { opacity: 1; }
.cform__label { transition: opacity .2s, transform .25s; }

/* Thank-you: the form steps aside, a tick draws itself. */
.cform__done { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 32px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .5s; }
.cform__done h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.cform__done p { max-width: 36ch; color: var(--muted); }
.cform__done b { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.cform__done .btn { margin-top: 10px; }
.tick { width: 84px; height: 84px; fill: none; stroke: var(--good); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tick__ring { stroke-dasharray: 145; stroke-dashoffset: 145; transform-origin: center; transform: rotate(-90deg); }
.tick__mark { stroke-dasharray: 36; stroke-dashoffset: 36; }
.cform.is-sent .cform__form { opacity: 0; transform: translateY(-14px) scale(.985); pointer-events: none; visibility: hidden; transition: opacity .35s ease, transform .45s ease, visibility 0s .35s; }
.cform.is-sent .cform__done { opacity: 1; visibility: visible; transform: none; transition-delay: .2s, .2s, 0s; }
.cform.is-sent .tick__ring { animation: tick-draw .7s cubic-bezier(.65, 0, .35, 1) .35s forwards; }
.cform.is-sent .tick__mark { animation: tick-draw .45s cubic-bezier(.65, 0, .35, 1) .95s forwards; }
.cform.is-sent .tick { animation: cform-pop .6s cubic-bezier(.2, 1.4, .4, 1) .3s both; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }

/* The fields come in one after another when the card scrolls into view. */
.js .cform [style*="--i"] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 70ms + 200ms); }
.js .cform.is-in [style*="--i"] { opacity: 1; transform: none; }
.js .cform.is-in .fld.has-error { animation: cform-shake .45s cubic-bezier(.36, .07, .19, .97) .1s; }

@media (prefers-reduced-motion: reduce) {
    .js .cform [style*="--i"] { opacity: 1; transform: none; }
    .cform.is-sent .tick__ring, .cform.is-sent .tick__mark { stroke-dashoffset: 0; }
}


/* ---------- pricing page ------------------------------------------------------------------------------------ */
.top__links a.is-here { color: var(--ink); background: var(--surface); }
.pricing .when-inc { display: none; }
.pricing[data-gst="inc"] .when-ex { display: none; }
.pricing[data-gst="inc"] .when-inc { display: inline; }
.amt__n { font-variant-numeric: tabular-nums; }

.price-hero { position: relative; overflow: clip; padding: calc(var(--top) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.price-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.price-hero__bg i { position: absolute; width: min(54vw, 560px); aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .55; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); animation: price-drift 16s ease-in-out infinite alternate; }
.price-hero__bg i:nth-child(1) { left: -12%; top: -18%; }
.price-hero__bg i:nth-child(2) { right: -14%; top: 8%; animation-duration: 21s; animation-delay: -6s; opacity: .4; }
.price-hero__bg i:nth-child(3) { left: 34%; bottom: -34%; animation-duration: 26s; animation-delay: -12s; opacity: .3; }
.price-hero__copy { max-width: 780px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.price-hero h1 { font-size: clamp(2.6rem, 1.3rem + 5.4vw, 5.2rem); line-height: 1; letter-spacing: -.045em; max-width: 14ch; }
.price-hero .lede { margin-top: 22px; max-width: 48ch; color: var(--muted); font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); text-wrap: pretty; }

/* the "without / with GST" switch: the dark pill slides under the chosen word */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 30px; padding: 4px; border: 1px solid var(--rule-2); border-radius: 99px; background: var(--surface); }
.seg__pill { position: absolute; z-index: 0; inset: 4px auto 4px 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--ink); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1); }
.pricing[data-gst="inc"] .seg__pill { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 20px; border: 0; border-radius: 99px; background: none; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: color .3s; }
.seg button.is-on { color: var(--bg); }

.plans { display: grid; gap: 20px; max-width: 1040px; margin: clamp(40px, 6vw, 64px) auto 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: stretch; }
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 38px); border: 1px solid var(--rule-2); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-1); }
.js .plan[data-reveal] { transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1), translate .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; transition-delay: calc(var(--d, 0) * .12s), calc(var(--d, 0) * .12s), 0s, 0s, 0s; }
.plan:hover { translate: 0 -6px; box-shadow: var(--shadow-2); border-color: var(--ink-2); }
.plan__shine { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }
.plan:hover .plan__shine { opacity: 1; }
.plan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.plan__head h2 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.plan__tag { font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--dk-accent); color: var(--dk-bg); animation: price-tag 3.4s ease-in-out infinite; }
.plan__text { margin-top: 10px; color: var(--muted); font-size: .98rem; max-width: 34ch; text-wrap: pretty; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.plan__cur { font-size: 1.7rem; font-weight: 500; color: var(--muted); }
.plan__price .amt { font-size: clamp(3.4rem, 2.6rem + 3vw, 4.8rem); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
.plan__per { color: var(--muted); font-size: 1rem; margin-left: 4px; }
.plan__gst { margin-top: 8px; color: var(--faint, var(--muted)); font: 500 12px var(--mono); letter-spacing: .04em; }
.plan__renew { margin-top: 14px; padding: 10px 14px; width: fit-content; border-radius: 12px; background: var(--accent-soft); color: var(--ink-2); font-size: .9rem; }
.plan__renew b { font-weight: 600; }
.plan__terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan__terms li { padding: 7px 12px; border: 1px solid var(--rule-2); border-radius: 99px; font-size: .86rem; color: var(--ink-2); }
.plan__cta { margin-top: 26px; width: 100%; height: 52px; }
.plan__trial { margin-top: 10px; text-align: center; color: var(--muted); font: 500 12px var(--mono); letter-spacing: .04em; }
.plan__list { display: grid; gap: 13px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--rule); }
.plan__list li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; color: var(--ink-2); line-height: 1.35; }
.plan__list .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); stroke-width: 2.2; }
.plan__list li.is-strong { color: var(--ink); font-weight: 600; }
.plan__list li.is-opt { color: var(--muted); }
.plan__list li.is-opt .i { color: var(--faint, var(--muted)); }
.plan__list li small { margin-left: auto; padding-left: 10px; font: 500 12px var(--mono); white-space: nowrap; color: var(--muted); }
.js .plan__list .i path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s ease calc(.4s + var(--k, 0) * 70ms); }
.js .plan.is-in .plan__list .i path { stroke-dashoffset: 0; }
.js .plan__list li { opacity: 0; transform: translateX(-8px); transition: opacity .5s ease calc(.4s + var(--k, 0) * 70ms), transform .5s cubic-bezier(.2, .7, .2, 1) calc(.4s + var(--k, 0) * 70ms); }
.js .plan.is-in .plan__list li { opacity: 1; transform: none; }
.plans__none { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.price-note { margin: 28px auto 0; text-align: center; color: var(--muted); font: 500 12.5px var(--mono); letter-spacing: .03em; }

/* the featured plan: dark, with a light that travels around its edge */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan--featured { background: var(--dk-bg); color: var(--dk-ink); border-color: var(--dk-rule); box-shadow: var(--shadow-2); }
.plan--featured:hover { border-color: var(--dk-rule); }
.plan--featured::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--ang), transparent 62%, var(--dk-accent) 82%, #fff 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: price-orbit 6s linear infinite; }
.plan--featured .plan__shine { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--dk-accent) 22%, transparent), transparent 60%); }
.plan--featured .plan__text, .plan--featured .plan__cur, .plan--featured .plan__per, .plan--featured .plan__trial { color: var(--dk-muted); }
.plan--featured .plan__gst { color: var(--dk-muted); }
.plan--featured .plan__renew { background: rgb(255 255 255 / .08); color: var(--dk-ink); }
.plan--featured .plan__terms li { border-color: var(--dk-rule); color: var(--dk-ink); }
.plan--featured .plan__list { border-color: var(--dk-rule); }
.plan--featured .plan__list li { color: var(--dk-ink); }
.plan--featured .plan__list .i { color: var(--dk-accent); }
.plan--featured .plan__cta { background: var(--dk-ink); color: var(--dk-bg); border-color: var(--dk-ink); }
.plan--featured .plan__cta:hover { background: #fff; border-color: #fff; color: #06141b; }

/* build your own: tap the add-ons, watch the total and the comparison move */
.build { position: relative; display: grid; gap: 44px; align-items: center; }
.calc { display: grid; gap: 22px; }
.calc__opts { display: grid; gap: 12px; }
.opt { position: relative; width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--dk-rule); border-radius: 20px; background: rgb(255 255 255 / .035); color: inherit; text-align: left; cursor: pointer; transition: border-color .3s, background .3s, translate .35s cubic-bezier(.2, .7, .2, 1); }
.opt:hover { translate: 0 -3px; border-color: color-mix(in srgb, var(--dk-accent) 55%, var(--dk-rule)); }
.opt[aria-pressed="true"] { border-color: var(--dk-accent); background: rgb(255 255 255 / .09); }
.opt__ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgb(255 255 255 / .07); color: #ccd0cf; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1), background .3s; }
.opt[aria-pressed="true"] .opt__ico { transform: scale(1.08) rotate(-4deg); background: rgb(255 255 255 / .14); }
.opt__text { flex: 1; min-width: 0; }
.opt__text b { display: block; font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; }
.opt__text small { display: block; margin-top: 2px; color: var(--dk-muted); font-size: .88rem; line-height: 1.4; }
.opt__price { flex: none; text-align: right; font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; }
.opt__price small { display: block; color: var(--dk-muted); font: 500 11px var(--mono); letter-spacing: .04em; }
.opt__tick { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--dk-rule); display: grid; place-items: center; color: transparent; transition: background .3s, border-color .3s, color .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.opt__tick .i { width: 16px; height: 16px; stroke-width: 2.6; }
.opt[aria-pressed="true"] .opt__tick { background: var(--dk-accent); border-color: var(--dk-accent); color: var(--dk-bg); transform: scale(1.12); }
.calc__result { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--dk-rule); border-radius: 22px; background: rgb(255 255 255 / .035); }
.bar__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; color: var(--dk-muted); }
.bar__row b { color: var(--dk-ink); font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bar__track { height: 10px; margin-top: 8px; border-radius: 99px; background: rgb(255 255 255 / .08); overflow: hidden; }
.bar__track i { display: block; height: 100%; border-radius: 99px; transform-origin: left; transform: scaleX(var(--w, 0)); background: linear-gradient(90deg, #4a5c6a, var(--dk-accent)); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.bar--pro .bar__track i { background: linear-gradient(90deg, var(--dk-accent), #fff); }
.calc__verdict { min-height: 3em; color: var(--dk-ink); font-size: 1.02rem; line-height: 1.5; transition: opacity .25s, transform .25s; }
.calc__verdict.is-swap { opacity: 0; transform: translateY(6px); }
.calc__note { color: var(--dk-muted); font: 500 12px var(--mono); letter-spacing: .04em; }
@media (min-width: 960px) { .build { grid-template-columns: 5fr 6fr; gap: 80px; } }
@media (max-width: 520px) { .opt { flex-wrap: wrap; } .opt__text { flex-basis: calc(100% - 140px); } }

@keyframes price-drift { to { transform: translate(6%, 9%) scale(1.15); } }
@keyframes price-orbit { to { --ang: 360deg; } }
@keyframes price-tag { 0%, 100% { transform: none; } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
    .js .plan__list li { opacity: 1; transform: none; }
    .js .plan__list .i path { stroke-dashoffset: 0; }
    .plan--featured::before { animation: none; }
}


/* ---------- QR menu ----------------------------------------------------------------------------------------- */
.qr__grid { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .qr__grid { grid-template-columns: 4.4fr 6.6fr; gap: 48px; } }

/* the four steps: one is open at a time, with a thin bar that fills while it plays */
.qr__steps { display: grid; gap: 4px; counter-reset: none; }
.qr__step { position: relative; padding: 14px 18px 16px; border-radius: 20px; border: 1px solid transparent; transition: background .35s, border-color .35s; }
.qr__step.is-on { background: var(--surface); border-color: var(--rule-2); box-shadow: var(--shadow-1); }
.qr__head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.qr__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule-2); color: var(--muted); font: 500 13px var(--mono); transition: background .35s, color .35s, border-color .35s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.qr__t { font-size: 1.12rem; font-weight: 500; letter-spacing: -.02em; color: var(--muted); transition: color .3s; }
.qr__head:hover .qr__t { color: var(--ink); }
.qr__step.is-on .qr__n { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: scale(1.1); }
.qr__step.is-on .qr__t { color: var(--ink); }
.qr__d { margin: 10px 0 0 48px; color: var(--muted); font-size: .98rem; max-width: 40ch; text-wrap: pretty; }
.js .qr__d { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2, .7, .2, 1), margin .5s, opacity .4s; }
.js .qr__step.is-on .qr__d { max-height: 9em; margin-top: 10px; opacity: 1; }
.qr__bar { display: none; height: 2px; margin: 14px 0 0 48px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.js .qr__step.is-on .qr__bar { display: block; }
.qr__bar b { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.qr__step.is-on .qr__bar b { animation: qr-fill 6s linear forwards; }
.qr:not(.is-live) .qr__bar b, .qr.is-hold .qr__bar b { animation-play-state: paused; }

/* the stage: a phone that plays the steps, and the shop's own screen that arrives with the last one */
.qr__stage { position: relative; display: grid; place-items: center; min-height: 580px; }
.qr__halo { position: absolute; left: 50%; top: 50%; width: min(520px, 92%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent); filter: blur(8px); pointer-events: none; }
.qr.is-live .qr__halo { animation: qr-halo 7s ease-in-out infinite; }
.phone { --pw: min(264px, 66vw); position: relative; z-index: 2; width: var(--pw); padding: 9px; border-radius: 42px; background: linear-gradient(150deg, #22333f, #0a1319); box-shadow: 0 44px 80px -34px rgb(6 20 27 / .6), inset 0 0 0 1.5px rgb(255 255 255 / .1); transition: translate .8s cubic-bezier(.2, .9, .3, 1); }
.qr.is-live .phone { animation: qr-float 7s ease-in-out infinite; }
.phone__notch { position: absolute; z-index: 6; left: 50%; top: 17px; width: 27%; height: 21px; translate: -50% 0; border-radius: 99px; background: #0a1319; }
.phone__screen { position: relative; aspect-ratio: 780 / 1688; border-radius: 34px; overflow: hidden; background: #f6f4ef; isolation: isolate; }
.scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.045) translateY(12px); transition: opacity .55s ease, transform .8s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.scr.is-on { opacity: 1; transform: none; }
.scr__img { position: absolute; inset: 0; display: block; }
.scr__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scr__img--over { opacity: 0; }
.scr.is-on .scr__img--over { animation: qr-swap .5s ease 2.3s forwards; }
.scr__blank { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; background: repeating-linear-gradient(135deg, var(--sk-1), var(--sk-1) 10px, var(--sk-2) 10px, var(--sk-2) 20px); color: var(--muted); font: 500 11px var(--mono); }
.owner .scr__blank { position: relative; aspect-ratio: 1600 / 571; }
.qr code, .vslot code { font: 500 .85em var(--mono); background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 2px 6px; border-radius: 6px; }
/* a finger tapping the button the step is about */
.tap { position: absolute; z-index: 4; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .95); background: rgb(255 255 255 / .28); box-shadow: 0 0 0 0 rgb(217 72 15 / .5); opacity: 0; transform: scale(.3); pointer-events: none; }
.tap--plus { left: 86.7%; top: 47.2%; }
.tap--place { left: 50%; top: 94.4%; }
.scr.is-on .tap { animation: qr-tap 1.1s ease 1.4s forwards; }

/* step 1: the camera, the table's code, a scan line */
.scr--scan { background: radial-gradient(60% 38% at 26% 18%, #4a3a2c, transparent), radial-gradient(52% 40% at 82% 74%, #26393d, transparent), #121619; }
.cam i { position: absolute; border-radius: 50%; filter: blur(22px); opacity: .5; }
.cam i:nth-child(1) { width: 90px; height: 90px; left: 6%; top: 7%; background: #d99a4e; animation: qr-bokeh 6s ease-in-out infinite; }
.cam i:nth-child(2) { width: 120px; height: 120px; right: -4%; bottom: 8%; background: #5ea7a0; animation: qr-bokeh 8s ease-in-out -3s infinite; }
.cam__card { position: absolute; left: 50%; top: 45%; width: 76%; translate: -50% -50%; rotate: -3deg; }
.cam__card img { display: block; width: 100%; height: auto; border-radius: 9%; box-shadow: 0 18px 40px rgb(0 0 0 / .45); }
.cam__blank { display: block; aspect-ratio: 676 / 861; border-radius: 9%; background: var(--sk-2); }
.cam__corner { position: absolute; width: 30px; height: 30px; border: 0 solid #fff; border-radius: 9px; filter: drop-shadow(0 0 6px rgb(255 255 255 / .5)); }
.cam__corner--a { left: -12px; top: -12px; border-width: 3px 0 0 3px; }
.cam__corner--b { right: -12px; top: -12px; border-width: 3px 3px 0 0; }
.cam__corner--c { left: -12px; bottom: -12px; border-width: 0 0 3px 3px; }
.cam__corner--d { right: -12px; bottom: -12px; border-width: 0 3px 3px 0; }
.scr.is-on .cam__corner { animation: qr-bracket 1.6s ease-in-out infinite; }
.cam__line { position: absolute; left: 6%; right: 6%; top: 6%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 18px 3px rgb(255 255 255 / .55); opacity: 0; }
.scr.is-on .cam__line { animation: qr-scan 2.2s ease-in-out infinite; }
.cam__chip { position: absolute; left: 50%; bottom: 8%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: rgb(255 255 255 / .96); color: #06141b; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(14px) scale(.9); }
.cam__chip .i { width: 16px; height: 16px; }
.scr.is-on .cam__chip { animation: qr-chip .6s cubic-bezier(.2, 1.4, .4, 1) 2s forwards; }

/* the shop's screen: slides in beside the phone with the last step */
.owner { position: absolute; z-index: 3; right: 0; bottom: 9%; width: min(470px, 76%); opacity: 0; transform: translateX(70px) scale(.94); transition: opacity .6s ease, transform .9s cubic-bezier(.2, 1.15, .3, 1); pointer-events: none; }
.owner__frame { overflow: hidden; border-radius: 16px; border: 1px solid var(--rule-2); background: var(--surface); box-shadow: var(--shadow-2); }
.owner__frame img { display: block; width: 100%; height: auto; }
.owner__ping { position: absolute; z-index: 2; left: 16px; top: -17px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 12px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -8px rgb(6 20 27 / .5); }
.owner__ping .i { width: 16px; height: 16px; transform-origin: 50% 0; }
.qr__stage.is-owner .owner { opacity: 1; transform: none; }
.qr__stage.is-owner .owner__ping .i { animation: qr-ring 1.2s ease .5s 2; }
.qr__stage.is-owner .phone { translate: -34% 0; }

/* four short points */
.qr__tiles { display: grid; gap: 14px; margin-top: clamp(44px, 6vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.qr__tiles li { padding: 24px 22px 26px; border: 1px solid var(--rule-2); border-radius: 24px; background: var(--surface); transition: translate .4s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.qr__tiles li:hover { translate: 0 -5px; box-shadow: var(--shadow-1); border-color: var(--ink-2); }
.qr__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.qr__tiles li:hover .qr__ico { transform: rotate(-8deg) scale(1.1); }
.qr__tiles b { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; }
.qr__tiles p { margin-top: 6px; color: var(--muted); font-size: .94rem; line-height: 1.5; text-wrap: pretty; }

/* room for a short video */
.qr__video { max-width: 920px; margin: clamp(48px, 6vw, 80px) auto 0; }
.vslot { display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 16 / 9; padding: 24px; text-align: center; border: 1.5px dashed var(--rule-2); border-radius: clamp(18px, 2.4vw, 28px); color: var(--muted); }
.vslot b { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.vslot p { max-width: 52ch; font-size: .92rem; }
.vslot__play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--bg); animation: qr-pulse 2.6s ease-out infinite; }

@media (max-width: 959px) {
    .qr__stage { order: -1; min-height: 560px; }
    .qr__steps { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 640px) {
    .qr__stage { min-height: 540px; }
    .owner { right: auto; left: 50%; bottom: 2%; width: 94%; margin-left: -47%; }
    .qr__stage.is-owner .phone { translate: 0 -12%; }
}

@keyframes qr-fill { to { transform: scaleX(1); } }
@keyframes qr-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-.6deg); } }
@keyframes qr-halo { 0%, 100% { opacity: .65; scale: 1; } 50% { opacity: 1; scale: 1.1; } }
@keyframes qr-bokeh { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -10px); } }
@keyframes qr-scan { 0% { top: 6%; opacity: 0; } 12%, 88% { opacity: 1; } 100% { top: 92%; opacity: 0; } }
@keyframes qr-bracket { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes qr-chip { to { opacity: 1; transform: none; } }
@keyframes qr-tap { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1); } 60% { opacity: 1; transform: scale(.82); box-shadow: 0 0 0 16px rgb(217 72 15 / 0); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes qr-swap { to { opacity: 1; } }
@keyframes qr-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(18deg); } 40% { transform: rotate(-16deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } }
@keyframes qr-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 35%, transparent); } 70%, 100% { box-shadow: 0 0 0 22px transparent; } }
@media (prefers-reduced-motion: reduce) {
    .qr__bar { display: none !important; }
    .scr__img--over { opacity: 0; }
    .tap, .cam__line { display: none; }
    .cam__chip { opacity: 1; transform: none; }
}
.hero__facts .fact-link { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s, background-size .3s; }
.hero__facts .fact-link:hover { color: var(--accent); background-size: 0 1px; }
.mod__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; width: fit-content; transition: color .2s, gap .25s; }
.mod__more .i { width: 16px; height: 16px; transition: transform .25s; }
.mod__more:hover { color: var(--accent); gap: 12px; }

/* the QR video is tall (9:16): a phone-shaped player beside a few words, one under the other on a phone */
.qr__video:not(.qr__video--empty) { display: grid; gap: 28px 64px; justify-items: center; align-items: center; max-width: 880px; }
.qr__video-copy { text-align: center; max-width: 34ch; }
.qr__video-copy h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.08; letter-spacing: -.035em; }
.qr__video-copy > p:last-child { margin-top: 14px; color: var(--muted); }
.demo--portrait { width: 320px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; margin: 0; box-shadow: 0 44px 80px -34px rgb(6 20 27 / .6), inset 0 0 0 1.5px rgb(255 255 255 / .1); }
.demo--portrait .demo__video { object-fit: cover; }
.demo--portrait .demo__time { display: none; }
@media (min-width: 820px) {
    .qr__video:not(.qr__video--empty) { grid-template-columns: 1fr auto; justify-items: start; }
    .qr__video-copy { text-align: left; max-width: 36ch; justify-self: end; }
    .qr__video .demo--portrait { justify-self: start; }
}
