/* Ravel — shared styles. Dark premium, restrained accent, white primary CTA. */
:root{
  --bg:#0a0b0d; --surface:#111317; --elev:#171a1f; --line:#232830; --line2:#2e343d;
  --ink:#f4f6f8; --mut:#9ba3ae; --dim:#6a727d;
  --acc:#e0ab5f;                 /* warm amber — small marks only, never a wash */
  --acc-soft:rgba(224,171,95,.12);
  --sans:"Instrument Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --disp:"Bricolage Grotesque","Instrument Sans",system-ui,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,monospace;
  --max:1560px;
  --gut:clamp(22px,3.6vw,72px);   /* gutters scale with the viewport, not fixed */
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
     font-size:16.5px;line-height:1.65;-webkit-font-smoothing:antialiased;
     letter-spacing:-.008em}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
/* full-bleed band: background runs edge to edge, content stays measured inside */
.bleed{width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;font-family:var(--disp);font-weight:600;font-variation-settings:"wdth" 96,"opsz" 36;
  letter-spacing:-.028em;line-height:1.05}
h1{font-size:clamp(42px,5.6vw,86px);letter-spacing:-.038em;font-variation-settings:"wdth" 92,"opsz" 48}
h2{font-size:clamp(30px,3.4vw,54px);letter-spacing:-.032em}
h3{font-size:18px;letter-spacing:-.018em;font-variation-settings:"wdth" 100,"opsz" 20}
.brand,.tier .pr,.band .v{font-family:var(--disp)}
p{margin:0 0 16px}
.num{font-variant-numeric:tabular-nums}
.eyebrow{font-size:12.5px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;color:var(--acc)}
.muted{color:var(--mut)}
.lead{max-width:40em}

/* ---------- header ---------- */
.hdr{position:sticky;top:0;z-index:50;background:rgba(10,11,13,.82);
     backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.hdr .in{display:flex;align-items:center;gap:34px;height:66px}
.brand{font-size:19px;font-weight:600;letter-spacing:-.03em;display:flex;align-items:center;gap:9px}
.brand .dot{width:7px;height:7px;border-radius:50%;background:var(--acc)}
.brand .wm{color:var(--mut);font-weight:400}
.brand .mk{color:var(--acc);flex:none}
.hdr nav{display:flex;gap:26px;font-size:14.5px;color:var(--mut);margin-right:auto}
.hdr nav a:hover{color:var(--ink)}
.hdr .act{display:flex;gap:11px;align-items:center}
@media(max-width:880px){.hdr nav{display:none}}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
     min-height:42px;padding:0 18px;border-radius:9px;font-size:14.5px;font-weight:500;
     border:1px solid var(--line2);color:var(--ink);background:transparent;cursor:pointer;
     transition:background .15s,border-color .15s,opacity .15s;font-family:inherit}
.btn:hover{background:var(--elev);border-color:var(--dim)}
.btn.p{background:var(--ink);color:#0a0b0d;border-color:var(--ink);font-weight:560}
.btn.p:hover{opacity:.87;background:var(--ink)}
.btn.lg{min-height:50px;padding:0 26px;font-size:16px}

/* ---------- hero ---------- */
.hero{padding:clamp(64px,7vw,130px) 0 clamp(56px,6vw,100px);position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;top:-320px;left:50%;transform:translateX(-50%);
  width:1100px;height:620px;pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(224,171,95,.09),transparent 66%)}
.hero .in{position:relative;max-width:860px}
.hero h1{margin-top:20px}
.hero .sub{font-size:19.5px;color:var(--mut);margin-top:22px;max-width:33em}
.hero .cta{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
.hero .note{font-size:13.5px;color:var(--dim);margin-top:16px}

/* product shot frame */
.shot{margin-top:64px;border:1px solid var(--line);border-radius:14px;background:var(--surface);
      overflow:hidden;box-shadow:0 40px 90px -50px rgba(0,0,0,.9)}
/* app titlebar — reads as a product, not a terminal */
.shot .chrome{display:flex;align-items:center;gap:11px;padding:13px 18px;
      border-bottom:1px solid var(--line);background:var(--elev)}
.shot .chrome .mk{color:var(--acc);flex:none}
.shot .chrome .nm{font-family:var(--disp);font-size:14.5px;font-weight:600;letter-spacing:-.02em}
.shot .chrome .nm span{color:var(--mut);font-weight:400}
.shot .chrome .who{margin-left:auto;display:flex;align-items:center;gap:9px;
      font-size:12.5px;color:var(--mut)}
.shot .chrome .av{width:23px;height:23px;border-radius:50%;flex:none;
      background:linear-gradient(140deg,#4a3f3a,#2b2420);border:1px solid var(--line2)}
.shot .body{display:grid;grid-template-columns:186px 1fr;min-height:430px}
@media(max-width:700px){.shot .body{grid-template-columns:1fr}.shot .side{display:none}}

/* ---------- app mockup ---------- */
.side{border-right:1px solid var(--line);padding:18px 14px;background:var(--bg)}
.side .grp{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--dim);padding:14px 10px 7px}
.side .it{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:7px;
  font-size:13.5px;color:var(--mut)}
.side .it .ic{width:15px;height:15px;border-radius:4px;background:var(--line2);flex:none}
.side .it.on{background:var(--acc-soft);color:var(--acc)}
.side .it.on .ic{background:var(--acc)}

.pane{padding:22px 24px;display:flex;flex-direction:column;gap:16px}
.pane .top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.pane .ttl{font-family:var(--disp);font-size:19px;font-weight:600;letter-spacing:-.02em}
.pill{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  padding:4px 9px;border-radius:99px;background:var(--acc-soft);color:var(--acc)}

.job{background:var(--elev);border:1px solid var(--line);border-radius:11px;padding:15px 17px}
.job .r1{display:flex;justify-content:space-between;align-items:center;gap:12px}
.job .nm{font-size:14px;font-weight:500}
.job .mt{font-family:var(--mono);font-size:11.5px;color:var(--dim)}
.job .bar{height:5px;border-radius:99px;background:var(--line);margin-top:12px;overflow:hidden}
.job .bar i{display:block;height:100%;border-radius:99px;
  background:linear-gradient(90deg,var(--acc),#f0c98a)}
.job .r2{display:flex;gap:16px;margin-top:11px;font-size:11.5px;color:var(--mut)}
.job .r2 b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}

/* Output clips: read unmistakably as video, show nothing.
   Built entirely from gradients — no image files, so nothing can be recovered,
   nothing to load, and no real footage ever leaves a drive. Palette is
   deliberately cool and desaturated: no flesh tones, so the grid reads as
   software output rather than content. */
.tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
@media(max-width:560px){.tiles{grid-template-columns:repeat(3,1fr)}}

.tile{aspect-ratio:9/14;border-radius:7px;border:1px solid var(--line);
  position:relative;overflow:hidden;background:#12151a;isolation:isolate}

/* The "frame". Oversized and heavily blurred so edges never betray a shape. */
.tile::before{content:"";position:absolute;inset:-14%;z-index:0;
  filter:blur(3px) saturate(.6);opacity:.8}

/* Film grain, so the blur reads as footage rather than a CSS gradient. */
.tile::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  opacity:.16;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E")}

.tile::marker{content:""}
.tile .scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,11,13,.10) 0%,rgba(10,11,13,0) 38%,rgba(10,11,13,.55) 100%)}
.tile>*{position:relative;z-index:2}

.tile .dur{position:absolute;right:5px;bottom:5px;font-family:var(--mono);font-size:9px;
  color:rgba(255,255,255,.82);background:rgba(0,0,0,.45);border-radius:3px;padding:1px 4px;
  line-height:1;backdrop-filter:blur(3px)}
.tile .idx{position:absolute;left:5px;bottom:5px;font-family:var(--mono);font-size:9px;
  color:rgba(255,255,255,.6);padding:1px 0;line-height:1}

/* Play affordance — a still frame that says "this is video" without the payload. */
.tile .play{position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-13px 0 0 -13px;
  border-radius:50%;background:rgba(10,11,13,.42);border:1px solid rgba(255,255,255,.32);
  backdrop-filter:blur(4px);display:grid;place-items:center}
.tile .play::before{content:"";width:0;height:0;margin-left:2px;
  border-left:7px solid rgba(255,255,255,.92);
  border-top:4.5px solid transparent;border-bottom:4.5px solid transparent}

/* Real frames, destructively crushed to 14px wide before enlarging — see
   tools/make-tiles.py. What survives is a figure and a room; identity does not.
   Sourced from non-explicit stills: crushing detail does not change what a
   composition depicts, so the frames are chosen, not just processed. */
.t1::before{background-image:url("/tiles/tile-01.webp")}
.t2::before{background-image:url("/tiles/tile-02.webp")}
.t3::before{background-image:url("/tiles/tile-03.webp")}
.t4::before{background-image:url("/tiles/tile-04.webp")}
.t5::before{background-image:url("/tiles/tile-05.webp")}
.t6::before{background-image:url("/tiles/tile-06.webp")}
.tile::before{background-size:cover;background-position:center}

/* "Moving" tiles: a slow drift so two of the six feel alive without a video file. */
.tile.mov::before{animation:tdrift 19s ease-in-out infinite alternate}
.tile.mov:nth-of-type(4)::before{animation-duration:23s;animation-delay:-6s}
@keyframes tdrift{
  from{transform:scale(1.02) translate3d(-1%,-.6%,0)}
  to  {transform:scale(1.07) translate3d(1.4%,1%,0)}
}

/* One tile still rendering — ties the grid to the job queue above it. */
.tile.rendering .play{display:none}
.tile.rendering::after{opacity:.1}
.tile .rend{position:absolute;left:6px;right:6px;bottom:20px;height:2px;border-radius:2px;
  background:rgba(255,255,255,.16);overflow:hidden}
.tile .rend i{position:absolute;inset:0 auto 0 0;width:38%;border-radius:2px;background:var(--acc);
  animation:tprog 2.4s ease-in-out infinite}
@keyframes tprog{0%{left:-38%}100%{left:100%}}

@media(prefers-reduced-motion:reduce){
  .tile.mov::before{animation:none}
  .tile .rend i{animation:none;left:0;width:38%}
}

/* frames in feature rows */
.frame{border:1px solid var(--line);border-radius:12px;background:var(--surface);
  padding:20px;overflow:hidden}
.frame .fh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px;
  font-size:14px;font-weight:560;color:var(--ink)}
.frame .fh em{font-style:normal;font-size:12.5px;font-weight:400;color:var(--dim)}

/* deliverables groups */
.dgrp{display:grid;gap:10px}
.dg{background:var(--elev);border:1px solid var(--line);border-radius:9px;padding:12px 14px;
  display:flex;align-items:center;gap:12px}
.dg .cnt{font-family:var(--disp);font-size:21px;font-weight:600;font-variant-numeric:tabular-nums;
  min-width:34px;letter-spacing:-.03em}
.dg .lb{font-size:13.5px;font-weight:500}
.dg .sb{font-size:12px;color:var(--dim);margin-top:1px}
.dg .mini{margin-left:auto;display:flex;gap:4px}
.dg .mini i{width:16px;height:22px;border-radius:3px;display:block}
/* These swatches share the .t1–.t6 class names with the clip grid, but that grid
   paints via ::before (blur + grain), which a 16px chip can't use. Flat fills
   here, drawn from the same palette so the two stay in step. */
.dg .mini i.t1{background:linear-gradient(150deg,#4b5666,#1a1f26)}
.dg .mini i.t2{background:linear-gradient(150deg,#3f5b5c,#182022)}
.dg .mini i.t3{background:linear-gradient(150deg,#4a4a68,#1b1b26)}
.dg .mini i.t4{background:linear-gradient(150deg,#55606b,#1d2126)}
.dg .mini i.t5{background:linear-gradient(150deg,#6b5636,#221c14)}
.dg .mini i.t6{background:linear-gradient(150deg,#41564a,#171f1a)}

/* timeline */
.tl{position:relative;height:74px;border-radius:8px;background:var(--bg);
  border:1px solid var(--line);overflow:hidden}
.tl .wv{position:absolute;bottom:0;width:3px;border-radius:2px 2px 0 0;background:var(--line2)}
.tl .wv.on{background:var(--acc)}
.tl .hold{position:absolute;top:0;right:0;bottom:0;width:16%;background:rgba(224,171,95,.07);
  border-left:1px dashed rgba(224,171,95,.5)}
.tlk{display:flex;justify-content:space-between;margin-top:10px;font-family:var(--mono);
  font-size:10.5px;color:var(--dim)}

/* player */
.plr{border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#15171b}
.plr .sc{aspect-ratio:16/9;background:linear-gradient(140deg,#2a2f38,#15171b);
  display:flex;align-items:center;justify-content:center}
.plr .pl{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center}
.plr .pl::after{content:"";border-left:12px solid rgba(255,255,255,.85);
  border-top:7px solid transparent;border-bottom:7px solid transparent;margin-left:3px}
.plr .ctl{padding:11px 13px;display:flex;align-items:center;gap:11px}
.plr .prog{flex:1;height:3px;border-radius:99px;background:var(--line);overflow:hidden}
.plr .prog i{display:block;height:100%;width:34%;background:var(--acc);border-radius:99px}
.plr .tm{font-family:var(--mono);font-size:10.5px;color:var(--dim)}

/* file tree */
.tree{font-family:var(--mono);font-size:12.5px;line-height:2.05;color:var(--mut)}
.tree .d{color:var(--ink);font-weight:500}
.tree .i{padding-left:19px}
.tree .c{color:var(--dim)}

/* ---------- proof band ---------- */
.band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);
      display:grid;grid-template-columns:repeat(4,1fr);max-width:var(--max);margin:0 auto}
@media(max-width:780px){.band{grid-template-columns:repeat(2,1fr)}}
.band > div{padding:clamp(26px,2.6vw,44px) clamp(20px,2.2vw,38px);border-left:1px solid var(--line)}
.band > div:first-child{border-left:0}
@media(max-width:780px){.band > div:nth-child(3){border-left:0}}
.band .v{font-size:33px;font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.band .l{font-size:13.5px;color:var(--mut);margin-top:6px}

/* Single-claim variant. One number you can evidence beats four you can't —
   so this reads as a statement rather than a dashboard with three holes in it. */
.band.one{grid-template-columns:1fr}
.band.one > div{display:flex;align-items:baseline;justify-content:center;gap:14px;
  flex-wrap:wrap;text-align:center}
.band.one .v{font-size:clamp(30px,3.4vw,44px)}
.band.one .l{margin-top:0;font-size:clamp(14.5px,1.3vw,17px);max-width:26em}

/* ---------- sections ---------- */
section{padding:clamp(64px,8vw,150px) 0}
.sechd{max-width:46em}
.sechd h2{margin-top:14px}
.sechd p{margin-top:18px;color:var(--mut);font-size:18px}

/* alternating feature rows */
.row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,90px);align-items:center;margin-top:64px}
.row:nth-child(even) .txt{order:2}
@media(max-width:880px){.row{grid-template-columns:1fr;gap:32px}.row:nth-child(even) .txt{order:0}}
.row h3{font-size:25px;letter-spacing:-.028em}
.row p{margin-top:14px;color:var(--mut)}
.frame{border:1px solid var(--line);border-radius:12px;background:var(--surface);
       aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;
       color:var(--dim);font-size:13.5px;text-align:center;padding:20px}

/* module grid */
.mods{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:52px}
@media(max-width:840px){.mods{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.mods{grid-template-columns:1fr}}
.mod{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px}
.mod .n{font-size:16px;font-weight:560}
.mod .d{font-size:14px;color:var(--mut);margin-top:7px}
.mod .s{font-size:10.5px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
        color:var(--dim);margin-top:14px}
.mod.live{border-color:rgba(224,171,95,.4);background:linear-gradient(var(--acc-soft),transparent)}
.mod.live .s{color:var(--acc)}

/* pricing */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px}
@media(max-width:900px){.tiers{grid-template-columns:1fr;max-width:460px}}
.tier{position:relative}
.tier .tag{position:absolute;top:-11px;left:26px;font-size:10.5px;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;background:var(--acc);color:#14100a;
  padding:4px 10px;border-radius:99px}
.tier .seat{font-size:12.5px;color:var(--dim);margin-top:14px;padding-top:13px;
  border-top:1px solid var(--line)}
.topups{margin-top:24px;font-size:14px;color:var(--mut);display:flex;gap:22px;flex-wrap:wrap}
.topups b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.annual{margin-top:16px;font-size:14.5px;color:var(--acc)}
.tier{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:32px 30px}
.tier.hi{border-color:var(--line2);background:var(--elev)}
.tier .nm{font-size:15px;font-weight:600;letter-spacing:-.01em}
.tier .pr{font-size:31px;font-weight:600;letter-spacing:-.035em;margin-top:12px;font-variant-numeric:tabular-nums}
.tier .pn{font-size:13.5px;color:var(--dim);margin-top:5px}
.tier ul{margin:22px 0 26px;padding:0;list-style:none;font-size:14.5px;color:var(--mut)}
.tier li{padding:7px 0 7px 24px;position:relative}
.tier li::before{content:"";position:absolute;left:2px;top:15px;width:9px;height:5px;
  border-left:1.6px solid var(--acc);border-bottom:1.6px solid var(--acc);transform:rotate(-45deg)}

/* faq */
.faq{margin-top:48px;max-width:44em;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:22px 0;font-size:17px;font-weight:500;
  display:flex;justify-content:space-between;gap:18px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--dim);font-size:21px;font-weight:400;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq .a{padding:0 0 22px;color:var(--mut);font-size:15.5px;max-width:52em}

/* cta block */
.cta-block{background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:60px 48px;text-align:center;margin-bottom:92px}
@media(max-width:640px){.cta-block{padding:40px 26px}}
.cta-block p{color:var(--mut);margin:18px auto 0;max-width:34em;font-size:17.5px}
.cta-block form{display:flex;gap:10px;max-width:440px;margin:30px auto 0}
@media(max-width:520px){.cta-block form{flex-direction:column}}
input[type=email]{flex:1;min-height:50px;padding:0 16px;font:inherit;font-size:15.5px;
  background:var(--bg);color:var(--ink);border:1px solid var(--line2);border-radius:9px}
input[type=email]::placeholder{color:var(--dim)}
input[type=email]:focus{outline:0;border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.fine{font-size:13px;color:var(--dim);margin-top:16px}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);padding:64px 0 40px;font-size:14px}
.fgrid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:40px}
@media(max-width:900px){.fgrid{grid-template-columns:repeat(2,1fr);gap:32px}}
.fgrid h4{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--dim);margin:0 0 16px}
.fgrid ul{list-style:none;margin:0;padding:0}
.fgrid li{padding:5px 0}
.fgrid a{color:var(--mut)}
.fgrid a:hover{color:var(--ink)}
.disclaim{margin-top:52px;padding-top:26px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--dim);font-size:13px}
.disclaim strong{color:var(--mut);font-weight:500}

/* ---------- cookie banner ---------- */
#cookie{position:fixed;left:20px;right:20px;bottom:20px;z-index:200;max-width:520px;
  background:var(--elev);border:1px solid var(--line2);border-radius:14px;padding:22px 24px;
  box-shadow:0 30px 70px -30px rgba(0,0,0,.95);display:none}
#cookie.show{display:block}
#cookie p{font-size:14px;color:var(--mut);margin:0 0 16px}
#cookie .r{display:flex;gap:10px;flex-wrap:wrap}
#cookie .btn{min-height:38px;font-size:14px}

/* ---------- legal pages ---------- */
.legal{max-width:720px;padding:72px 0 96px}
.legal h1{font-size:clamp(32px,4.4vw,44px)}
.legal .upd{color:var(--dim);font-size:14px;margin-top:14px}
.legal h2{font-size:21px;margin-top:44px;letter-spacing:-.02em}
.legal p,.legal li{color:var(--mut);font-size:16px}
.legal ul{padding-left:22px}
.legal li{margin:8px 0}
.legal .draft{background:var(--acc-soft);border:1px solid rgba(224,171,95,.35);
  border-radius:10px;padding:16px 18px;margin-top:28px;font-size:14.5px;color:var(--ink)}

/* motion */
@media(prefers-reduced-motion:no-preference){
  .rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
  .rv.in{opacity:1;transform:none}
}

/* ---------- header mark draws itself in ---------- */
/* Carried back from the teaser page. The fan strokes draw once on load, then
   rest — the logo animating on every page is a tic, animating once is a
   signature. Honours reduced-motion by simply being already drawn. */
@media(prefers-reduced-motion:no-preference){
  .hdr .brand .mk path{stroke-dasharray:60;stroke-dashoffset:60;animation:mkdraw .9s ease forwards}
  .hdr .brand .mk path:nth-child(1){animation-delay:.05s}
  .hdr .brand .mk path:nth-child(2){animation-delay:.26s}
  .hdr .brand .mk path:nth-child(3){animation-delay:.36s}
  .hdr .brand .mk path:nth-child(4){animation-delay:.46s}
  .hdr .brand .mk path:nth-child(5){animation-delay:.56s}
  @keyframes mkdraw{to{stroke-dashoffset:0}}
}

/* ---------- billing period switch ---------- */
.billsw{display:inline-flex;gap:4px;padding:4px;margin:0 auto 34px;border:1px solid var(--line);
  border-radius:11px;background:var(--bg)}
.tiers+.topups{margin-top:26px}
.billsw button{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border:0;
  border-radius:8px;background:none;color:var(--mut);font:inherit;font-size:14.5px;
  cursor:pointer;transition:background .15s,color .15s}
.billsw button:hover{color:var(--ink)}
.billsw button.on{background:var(--elev);color:var(--ink)}
.billsw .save{font-size:11.5px;letter-spacing:.02em;color:var(--acc);
  border:1px solid var(--acc);border-radius:99px;padding:1px 7px}
/* The switch is centred over the tier grid, which the section otherwise
   left-aligns. */
#pricing .wrap>.billsw{display:flex;width:max-content}
.pn .yr{display:block;margin-top:3px;font-size:12.5px;color:var(--dim)}

/* ---------- header on a phone ---------- */
/* The nav links are already hidden below 880px, but the brand plus two buttons
   still overflow a 390px screen: "Sign in" was wrapping onto two lines inside
   its own button. nowrap is the actual fix; the rest is making room for it. */
@media(max-width:640px){
  .hdr .in{gap:12px;height:58px}
  .hdr .act{gap:8px}
  .hdr .act .btn{min-height:38px;padding:0 13px;font-size:13.5px;white-space:nowrap}
  .brand{font-size:17px;gap:7px}
  .brand .wm{display:none}   /* "Creator" alone is enough at this width */
}
/* Safari's own chrome sits below the notch, but an installed build does not. */
.hdr{padding-top:env(safe-area-inset-top)}
