/* ===================================================================
   /ai-video-editor, the AI Video Editor page.

   Page-only parts. Everything shared (tokens, .display/.structure,
   .eyebrow, .sec, .sec-mark, .btn-grad, .btn-ghost, .reveal, .bento-tile
   and the .viz-go contract) is in brand.css and is reused, not redrawn.

   THE MOTION CONTRACT IS THE HOMEPAGE'S. The static state of every drawing
   is its FINISHED state. site.js adds .viz-go when a tile arrives (and again
   on hover), and the keyframes play out of nothing INTO that state, so no
   JavaScript, an old browser or reduced motion all show the finished page.
   The terminal, the steps and the loop follow the same rule: the classes
   that hide or dim anything are added by site.js, never shipped in markup.
   =================================================================== */

.ave {
  --ave-tag-bg: #f3eeff; --ave-tag-bd: #d8c9f8; --ave-tag-tx: #4c1d95;
  --ave-amb-bg: #fdf3d8; --ave-amb-bd: #eec96a; --ave-amb-tx: #6d4a08;
  /* The inset well a drawing sits in: one step off the card, both themes. */
  --ave-well: 244 245 250;
  --ave-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ave-ease: cubic-bezier(.16,1,.3,1);
  --ave-pop: cubic-bezier(.34,1.56,.64,1);
}
:root[data-theme="dark"] .ave {
  --ave-tag-bg: #2e1065; --ave-tag-bd: #5b21b6; --ave-tag-tx: #e9d5ff;
  --ave-amb-bg: #422006; --ave-amb-bd: #92400e; --ave-amb-tx: #fde68a;
  --ave-well: 11 15 28;
}
.ave h1, .ave h2, .ave h3 { text-wrap: balance; }
.ave p { text-wrap: pretty; }
.ave code { font-family: var(--ave-mono); font-size: .88em;
            background: rgb(var(--page)); border: 1px solid rgb(var(--edge)); border-radius: 6px;
            padding: 1px 6px; color: rgb(var(--ink)); overflow-wrap: anywhere; }
.ave strong { color: rgb(var(--ink)); font-weight: 600; }
.ave a:focus-visible, .ave button:focus-visible, .ave input:focus-visible {
  outline: 2px solid rgb(var(--accent-solid)); outline-offset: 3px; }

/* ── Shared parts ─────────────────────────────────────────────────── */

.ave-head { max-width: 46rem; margin-bottom: 2.75rem; }
.ave-head p.lead { font-size: 1.0625rem; line-height: 1.65; color: rgb(var(--ink-soft)); margin: 0; }

.ave-card { background: rgb(var(--card)); border: 1px solid rgb(var(--edge)); border-radius: 16px;
            padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
            transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.4,0,.2,1); }
.ave-lift:hover { border-color: rgb(var(--accent-solid) / .45);
                  box-shadow: 0 18px 40px -24px rgb(var(--shadow-key) / .35); transform: translateY(-3px); }

.ave-tag { align-self: flex-start; font-size: calc(0.7188rem * var(--small-k)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
           color: var(--ave-tag-tx); background: var(--ave-tag-bg); border: 1px solid var(--ave-tag-bd);
           border-radius: 999px; padding: 3px 10px; line-height: 1.5; }
.ave-tag-muted { color: rgb(var(--ink-soft)); background: rgb(var(--page)); border-color: rgb(var(--edge)); }

.ave-grid { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .ave-g3, .ave-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ave-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ave-split { display: grid; gap: 1.5rem; align-items: start; }
.ave-split > * { min-width: 0; }
@media (min-width: 768px) { .ave-split { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.ave-badge { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); color: #fff; flex: none;
             display: grid; place-items: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: calc(0.875rem * var(--small-k));
             font-variant-numeric: tabular-nums; }

/* The terminal. Dark in BOTH themes, so its colours are the fixed on-dark
   tokens, never the theme-aware ones. */
.ave-term { background: rgb(var(--well)); border: 1px solid rgb(var(--panel-edge)); border-radius: 16px;
            font-family: var(--ave-mono); color: rgb(var(--text-dim)); min-width: 0; overflow: hidden; }
.ave-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px;
                border-bottom: 1px solid rgb(var(--panel-edge)); }
.ave-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--panel-edge)); }
.ave-term-bar span { margin-left: 8px; font-size: calc(0.75rem * var(--small-k)); color: rgb(var(--text-faint)); white-space: nowrap;
                     overflow: hidden; text-overflow: ellipsis; }
.ave-term-body { padding: 18px 20px 20px; font-size: calc(0.875rem * var(--small-k)); line-height: 1.8; overflow-x: auto; }
.ave-term .tl { white-space: pre-wrap; }
.ave-term .who { display: inline-block; width: 3.2em; }
.ave-term .you { color: #f1f5f9; }
.ave-term .you .who { color: #a78bfa; }
.ave-term .kit .who { color: rgb(var(--text-faint)); }
.ave-term .ok { color: #34d399; }
.ave-caret { display: inline-block; width: .55em; height: 1.05em; vertical-align: -.18em; margin-left: 2px;
             background: #a78bfa; animation: caret 1s steps(1) infinite; }

/* ── HERO ─────────────────────────────────────────────────────────── */

.ave-hero { display: grid; gap: 3rem; align-items: center; }
.ave-hero > * { min-width: 0; }
@media (min-width: 1024px) { .ave-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; } }

/* The glow bleeds past the terminal; clip it sideways so a phone never scrolls. */
.ave { overflow-x: clip; }
.ave-hero-term { position: relative; }
.ave-hero-term::before { content: ""; position: absolute; inset: 8% -6% -8% 6%; z-index: 0; border-radius: 40px;
                         background: var(--grad); filter: blur(60px); opacity: .28; pointer-events: none; }
:root[data-theme="dark"] .ave-hero-term::before { opacity: .38; }
@media (max-width: 1023px) { .ave-hero-term::before { inset: 12% 6% -4% 6%; filter: blur(44px); } }
.ave-hero-term .ave-term { position: relative; z-index: 1; box-shadow: 0 30px 60px -30px rgb(15 23 42 / .55); }
.ave-hero-term .ave-term-body { min-height: 17.5em; }

.ave-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.ave-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: calc(0.8438rem * var(--small-k)); font-weight: 600;
                color: rgb(var(--ink-soft)); background: rgb(var(--card)); border: 1px solid rgb(var(--edge));
                border-radius: 999px; padding: 6px 13px 6px 10px; }
.ave-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* JS-only states for the typed terminal. */
.term-on .tl { opacity: 0; }
.term-on .tl.shown { opacity: 1; transition: opacity .25s; }
.term-on .tl.kit.shown { animation: ave-line-in .35s var(--ave-ease) both; }
@keyframes ave-line-in { from { opacity: 0; transform: translateY(5px); } }

/* ── WHAT IT DOES: the bento ──────────────────────────────────────── */

.ave-bento { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.ave-tile { --card-tone: 139 92 246; background: rgb(var(--card)); border: 1px solid rgb(var(--edge));
            border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
            overflow: hidden; }
.ave-tile:hover { box-shadow: 0 18px 40px -24px rgb(var(--shadow-key) / .35); }
.ave-tile h3 { margin: 0; }
.ave-tile > p { margin: 0; font-size: calc(0.9375rem * var(--small-k)); line-height: 1.6; color: rgb(var(--ink-soft)); }
.ave-tile .ave-viz { margin-top: auto; padding-top: 14px; }
.ave-tile-big { padding: 26px; }
.ave-tile-big h3 { font-size: 1.375rem; }

/* Layout. Dense flow so the wide Reels tile can follow Multicam in the
   markup while Captions and 9:16 fill the third column beside them. */
@media (min-width: 768px) {
  .ave-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .t-multicam, .t-reels, .t-export, .t-checks { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .ave-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-multicam, .t-reels { grid-column: span 2; }
  .t-small, .t-captions { grid-column: span 1; }
  .t-checks { grid-column: span 2; }
  .t-export { grid-column: span 3; }
}
/* Tiles whose drawing is a picture grow the picture to fill the tile. */
.t-captions .ave-viz, .t-reframe .ave-viz, .t-reels .ave-viz { flex: 1; display: flex; flex-direction: column; }

/* The well every small drawing sits in. */
.ave-well { background: rgb(var(--ave-well)); border: 1px solid rgb(var(--edge)); border-radius: 12px; padding: 14px;
            position: relative; overflow: hidden; }
.ave-well svg { display: block; width: 100%; height: auto; overflow: visible; }
.ave-mini { font-size: calc(0.6562rem * var(--small-k)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--muted)); }
.ave-chip { display: inline-flex; align-items: center; gap: 6px; font-size: calc(0.75rem * var(--small-k)); font-weight: 600; line-height: 1;
            color: rgb(var(--violet-text)); background: rgb(var(--accent-solid) / .12);
            border: 1px solid rgb(var(--accent-solid) / .28); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }

/* Multicam: a real podcast. The program monitor (the switched master), the
   two camera originals beside it, and who talks when under it. site.js sets
   data-live on #ave-mc from the recipe's cut times and --mc-t (0-1) from the
   program video's clock; the static state is the host angle live. 2fr/1fr
   makes two stacked 16:9 angles exactly as tall as the 16:9 program. */
.mc { display: grid; gap: 10px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.mc-prog { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b0f1c; }
.mc-prog video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-live { position: absolute; z-index: 1; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
           font: 700 10px/1 'Switzer', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff;
           background: rgb(11 15 28 / .7); border-radius: 999px; padding: 5px 9px; backdrop-filter: blur(4px); }
.mc-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; }
.mc-angles { display: grid; gap: 10px; }
.mc-angle { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; outline: 2px solid transparent;
            outline-offset: -2px; background: #0b0f1c; transition: outline-color .2s; }
.mc-angle video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: opacity .2s; }
.mc-angle span { position: absolute; left: 7px; bottom: 6px; font-size: calc(0.6562rem * var(--small-k)); font-weight: 700; color: #fff;
                 text-shadow: 0 1px 2px rgb(0 0 0 / .7); }
.mc-angle.on { outline-color: rgb(var(--accent-solid)); }
.mc-angle.on video { opacity: 1; }
.mc-angle.on span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ef4444;
                            margin-right: 5px; vertical-align: 1px; }
.mc-lanes { grid-column: 1 / -1; display: grid; gap: 7px; }
.mc-lane { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; gap: 8px; }
.mc-lane .ave-mini { font-size: calc(0.625rem * var(--small-k)); white-space: nowrap; transition: color .2s; }
.mc-track { position: relative; height: 16px; border-radius: 5px; background: rgb(var(--muted) / .1); }
.mc-track i { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; background: rgb(var(--muted) / .4); transition: background-color .2s; }
.mc[data-live="0"] .mc-lane-0 i, .mc[data-live="1"] .mc-lane-1 i { background: var(--grad); }
.mc[data-live="0"] .mc-lane-0 .ave-mini, .mc[data-live="1"] .mc-lane-1 .ave-mini { color: rgb(var(--violet-text)); }
.mc-head { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 2px; background: #ef4444;
           left: calc(var(--mc-t, 0) * 100%); }

/* Reels: five real finished reels, playing side by side as phones. The
   strip bleeds to the tile's edges so there is no empty margin. */
.rl { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end;
      margin: 0 -26px -26px; padding: 18px 26px 26px; background: rgb(var(--ave-well)); border-top: 1px solid rgb(var(--edge)); }
.rl-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0b0f1c;
            border: 3px solid #1e293b; box-shadow: 0 16px 30px -18px rgb(var(--shadow-key) / .55); }
.rl-phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 639px) {
  .rl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 -22px -22px; padding: 14px 22px 22px; }
  .rl-phone:nth-child(n+4) { display: none; }
}
@media (min-width: 640px) and (max-width: 767px) { .rl { margin: 0 -22px -22px; padding: 14px 22px 22px; } }
@keyframes rl-in { from { opacity: 0; transform: translateY(18px); } }
.viz-go .rl-phone { animation: rl-in .6s var(--ave-ease) both; animation-delay: calc(var(--i) * .09s); }

/* Captions: the Pop default and a client style, playing. They share the
   tile's height, so it is full whatever Multicam beside it measures. */
.cp-stack { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cp-lab { position: absolute; left: 8px; top: 8px; font: 700 10px/1 'Switzer', sans-serif; letter-spacing: .08em; text-transform: uppercase;
          color: #fff; background: rgb(11 15 28 / .6); border-radius: 999px; padding: 5px 8px; }
.cp-frame { position: relative; flex: 1; min-height: 120px; border-radius: 10px; overflow: hidden; background: #11142a; }
.cp-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sync: the second track slides home onto the first. */
@keyframes sy-slide { from { transform: translateX(26px); } }
@keyframes sy-pop { from { transform: scale(.6); opacity: 0; } }
.viz-go .sy-b { animation: sy-slide .9s cubic-bezier(.33,0,.15,1) .15s both; }
.viz-go .sy-chip { animation: sy-pop .4s var(--ave-pop) 1s both; }

/* Cut: the dead-air gap closes. Static = closed; the keyframe opens it. */
.ct-gap { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); opacity: 0; }
@keyframes ct-gap { 0%, 30% { transform: scaleX(1); opacity: 1; } }
@keyframes ct-b { 0%, 30% { transform: translateX(var(--gap)); } }
.viz-go .ct-gap { animation: ct-gap 1.4s cubic-bezier(.65,0,.35,1) both; }
.viz-go .ct-b { animation: ct-b 1.4s cubic-bezier(.65,0,.35,1) both; }
.viz-go .sy-chip.ct-chip { animation-delay: 1.3s; }

/* Reframe: a real 16:9 shot; the 9:16 crop box follows the face. site.js
   sets --rf-x from the measured track as the video plays. */
.rf { position: relative; flex: 1; min-height: 150px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b0f1c; }
.rf video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rf-crop { position: absolute; top: 0; bottom: 0; left: var(--rf-x, 50%); width: 31.64%; transform: translateX(-50%);
           border: 2px solid #a78bfa; border-radius: 6px; box-shadow: 0 0 0 999px rgb(11 15 28 / .62); }
.rf-crop span { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: calc(0.625rem * var(--small-k)); font-weight: 700;
                color: #fff; background: rgb(139 92 246 / .9); border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.rf-from { position: absolute; right: 8px; bottom: 7px; font-size: calc(0.625rem * var(--small-k)); font-weight: 700; color: rgb(255 255 255 / .75); }
@keyframes rf-crop { 0%, 18% { width: 100%; box-shadow: 0 0 0 999px rgb(11 15 28 / 0); } }
.viz-go .rf-crop { animation: rf-crop 1.5s cubic-bezier(.65,0,.35,1) both; }

/* Transcript: two speakers, the words write themselves in. */
.tr { display: grid; gap: 10px; }
.tr-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.tr-who { font-size: calc(0.6875rem * var(--small-k)); font-weight: 700; border-radius: 6px; padding: 3px 7px; }
.tr-who-a { color: rgb(var(--violet-text)); background: rgb(var(--accent-solid) / .14); }
.tr-who-b { color: rgb(var(--ink-soft)); background: rgb(var(--muted) / .14); }
.tr-txt { font-size: calc(0.8438rem * var(--small-k)); color: rgb(var(--ink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes tr-type { from { clip-path: inset(0 100% 0 0); } }
.viz-go .tr-txt { animation: tr-type .9s steps(22, end) both; }
.viz-go .tr-row:nth-child(2) .tr-txt { animation-delay: .95s; }

/* Sound: uneven bars settle onto the target line. */
.sd-bar { transform-box: fill-box; transform-origin: bottom; }
@keyframes sd-bar { from { transform: scaleY(var(--s)); } }
.viz-go .sd-bar { animation: sd-bar 1.2s cubic-bezier(.34,1.3,.64,1) both; animation-delay: calc(var(--i) * .03s); }

/* Checks: each one ticks in order. */
.ck { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ck li { display: flex; align-items: center; gap: 10px; font-size: calc(0.8438rem * var(--small-k)); color: rgb(var(--ink)); }
.ck i { width: 18px; height: 18px; border-radius: 50%; background: #10b981; display: grid; place-items: center; flex: none; }
.ck i svg { width: 10px; height: 10px; }
.ck em { margin-left: auto; font-style: normal; font-size: calc(0.6875rem * var(--small-k)); font-weight: 700; color: #059669; }
:root[data-theme="dark"] .ck em { color: #34d399; }
@keyframes ck-tick { from { transform: scale(0); } }
@keyframes ck-row { from { opacity: .25; } }
.viz-go .ck li { animation: ck-row .3s linear both; animation-delay: calc(var(--i) * .32s); }
.viz-go .ck i { animation: ck-tick .4s var(--ave-pop) both; animation-delay: calc(var(--i) * .32s + .12s); }

/* Export: a timeline as it lands in CapCut or Resolve. */
.ex { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .ex { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem; } }
.ex-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ex-app { display: flex; flex-direction: column; gap: 2px; background: rgb(var(--ave-well)); border: 1px solid rgb(var(--edge));
          border-radius: 12px; padding: 12px 16px; min-width: 0; }
.ex-app strong { font-size: calc(0.9375rem * var(--small-k)); }
.ex-tl { display: grid; gap: 7px; }
.ex-track { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: center; gap: 10px; }
.ex-lane { position: relative; height: 24px; }
.ex-clip { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
.ex-ruler { position: absolute; inset: 0; }
.ex-play { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #ef4444; border-radius: 2px; left: 62%; z-index: 2; }
.ex-play::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 8px; border-radius: 2px; background: #ef4444; }
@keyframes ex-clip { from { transform: scaleX(0); opacity: 0; } }
@keyframes ex-play { from { left: 0; } }
.viz-go .ex-clip { transform-origin: left center; animation: ex-clip .45s var(--ave-ease) both; animation-delay: calc(var(--i) * .05s); }
.viz-go .ex-play { animation: ex-play 1.6s cubic-bezier(.33,0,.15,1) .5s both; }

@media (prefers-reduced-motion: reduce) {
  .viz-go .rl-phone, .viz-go .sy-b, .viz-go .sy-chip,
  .viz-go .ct-gap, .viz-go .ct-b, .viz-go .rf-crop, .viz-go .tr-txt, .viz-go .sd-bar, .viz-go .ck li,
  .viz-go .ck i, .viz-go .ex-clip, .viz-go .ex-play { animation: none; }
  .ave-caret { animation: none; }
  .mc-angle, .mc-angle video, .mc-track i, .gr-after { transition: none; }
  .fin-head { animation: none !important; }
  .ave-lift:hover, .ave-tile:hover { transform: none; }
}

/* ── HOW IT LEARNED: the dark band ────────────────────────────────── */

.ave-band { position: relative; overflow: hidden; background: #1D1938; color: #F1F5F9; }
:root[data-theme="dark"] .ave-band { background: #0B0F1C; }
.ave-band::before { content: ""; position: absolute; width: 780px; height: 780px; right: -260px; top: -320px; border-radius: 50%;
                    background: radial-gradient(closest-side, rgb(139 92 246 / .32), transparent); pointer-events: none; }
.ave-band .eyebrow { color: #a78bfa; }
.ave-band .ave-dim { color: #B0BAD0; }
.ave-band .ave-faint { color: #808AA0; }
.ave-band-top { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .ave-band-top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }
.ave-band-top > * { min-width: 0; }

/* The loop. Four nodes on a ring, a dot travelling round it. The ring and
   the numbered nodes ARE the resting state; site.js moves the dot and
   lights each node as it arrives. */
.lp { position: relative; aspect-ratio: 1 / 1.02; }
@media (min-width: 640px) { .lp { aspect-ratio: 5 / 4; } }
.lp-ring { position: absolute; left: 17%; right: 17%; top: 11%; bottom: 11%; border-radius: 30%;
           border: 1.5px solid rgb(139 92 246 / .45); }
.lp-ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit;
                  border: 1.5px dashed rgb(167 139 250 / .35); mask: linear-gradient(#000, transparent); }
.lp-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; width: 34%; }
.lp-centre .metric-num { font-size: clamp(28px, 4vw, 44px); line-height: 1; color: #fff; }
.lp-node { position: absolute; width: 38%; transform: translate(-50%, -50%); background: #1E253A;
           border: 1px solid #343E5C; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px;
           transition: border-color .35s, box-shadow .35s, background-color .35s; z-index: 1; }
@media (min-width: 640px) { .lp-node { width: 31%; } }
.lp-node b { display: flex; align-items: center; gap: 8px; font: 800 14.5px/1.25 'Archivo', sans-serif; color: #F1F5F9; }
.lp-node b i { font-style: normal; width: 20px; height: 20px; border-radius: 6px; flex: none; display: grid; place-items: center;
               font-size: calc(0.6875rem * var(--small-k)); background: rgb(139 92 246 / .22); color: #e9d5ff; transition: background .35s; }
.lp-node small { font-size: calc(0.7812rem * var(--small-k)); line-height: 1.45; color: #B0BAD0; display: none; }
@media (min-width: 640px) { .lp-node small { display: block; } }
.lp-n1 { left: 50%; top: 11%; }
.lp-n2 { left: 83%; top: 50%; }
.lp-n3 { left: 50%; top: 89%; }
.lp-n4 { left: 17%; top: 50%; }
.lp-node.lit { border-color: #8b5cf6; background: #262049; box-shadow: 0 0 0 4px rgb(139 92 246 / .16), 0 10px 30px -10px rgb(139 92 246 / .6); }
.lp-node.lit b i { background: var(--grad); color: #fff; }
.lp-dot { position: absolute; left: 50%; top: 11%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
          background: #fff; box-shadow: 0 0 0 4px rgb(139 92 246 / .45), 0 0 18px 4px rgb(139 92 246 / .8); z-index: 0; opacity: 0; }
.lp.lp-on .lp-dot { opacity: 1; }

.ave-stats { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
             border-top: 1px solid rgb(255 255 255 / .1); margin-top: 3.5rem; }
@media (min-width: 768px)  { .ave-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ave-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ave-stat { padding: 1.5rem 1.25rem 1.5rem 0; display: flex; flex-direction: column; gap: 6px;
            border-bottom: 1px solid rgb(255 255 255 / .1); }
.ave-stat .metric-num { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; color: #fff; }
.ave-stat span { font-size: calc(0.875rem * var(--small-k)); line-height: 1.45; color: #B0BAD0; max-width: 13rem; }

.ave-quote-row { position: relative; display: grid; gap: 12px; margin-top: 2.5rem; }
@media (min-width: 900px) { .ave-quote-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.ave-dcard { background: #1E253A; border: 1px solid #343E5C; border-radius: 16px; padding: 26px; min-width: 0;
             display: flex; flex-direction: column; gap: 14px; }
.ave-quote { margin: 0; font: italic 800 clamp(19px, 1.8vw, 24px)/1.35 'Archivo', sans-serif; letter-spacing: -.01em;
             color: #F1F5F9; text-wrap: pretty; }
.ave-by { display: flex; align-items: center; gap: 10px; font-size: calc(0.875rem * var(--small-k)); font-weight: 600; color: #B0BAD0; }
.ave-by img { width: 26px; height: 26px; border-radius: 7px; }
.ave-dtag { align-self: flex-start; font-size: calc(0.6875rem * var(--small-k)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
            color: #e9d5ff; background: #2e1065; border: 1px solid #5b21b6; border-radius: 999px; padding: 3px 10px; }

/* ── HOW IT WORKS: the steps play in order ────────────────────────── */

.hw { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hw-step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 18px; padding-bottom: 2rem; }
.hw-step:last-child { padding-bottom: 0; }
.hw-rail { position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; border-radius: 2px; background: rgb(var(--edge)); overflow: hidden; }
.hw-rail::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(1); }
.hw-step:last-child .hw-rail { display: none; }
.hw-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hw-body h3 { margin: 2px 0 0; }
.hw-body p { margin: 0; font-size: calc(0.9375rem * var(--small-k)); line-height: 1.6; color: rgb(var(--ink-soft)); }
.hw .ave-term { margin-top: 10px; border-radius: 12px; }
.hw .ave-term-body { padding: 12px 14px; font-size: calc(0.7812rem * var(--small-k)); line-height: 1.75; }
.hw-term .tl { padding-left: 1.3em; text-indent: -1.3em; }
.hw-term .tl.you { color: #f1f5f9; }
.hw-term .tl.kit { color: rgb(var(--text-dim)); }
.hw-term .pr { display: inline-block; width: 1.3em; text-indent: 0; color: #a78bfa; }

@media (min-width: 1024px) {
  .hw { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; gap: 0 16px; }
  .hw-step { grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); padding-bottom: 0; gap: 0; }
  .hw-step > .ave-badge { margin-bottom: 22px; }
  .hw-body { display: contents; }
  .hw-body h3 { margin: 0 0 6px; }
  .hw-body p { margin-bottom: 14px; }
  .hw-rail { left: 42px; right: -10px; top: 14px; bottom: auto; width: auto; height: 2px; }
  .hw-rail::after { transform-origin: left; transform: scaleX(1); }
  .hw-step:last-child .hw-rail { display: none; }
  .hw .ave-term { margin-top: 0; }
}

/* JS-only states. Added by site.js; without them every step is complete. */
.hw-on .hw-step .hw-body > *, .hw-on .hw-step .ave-badge { transition: opacity .45s, background-color .45s, color .45s, box-shadow .45s, border-color .45s; }
.hw-on .hw-step.ahead .hw-body > :not(.ave-term) { opacity: .38; }
.hw-on .hw-step.ahead .ave-term { opacity: 1; }
.hw-on .hw-step.ahead .ave-badge { background: rgb(var(--edge)); color: rgb(var(--muted)); }
.hw-on .hw-rail::after { transition: transform .9s var(--ave-ease); }
.hw-on .hw-step:not(.done) .hw-rail::after { transform: scaleY(0); }
@media (min-width: 1024px) { .hw-on .hw-step:not(.done) .hw-rail::after { transform: scaleX(0); } }
.hw-on .hw-step.live .ave-badge { box-shadow: 0 0 0 5px rgb(var(--accent-solid) / .2); }
.hw-on .hw-step.ahead .tl, .hw-on .hw-step.live .tl:not(.shown) { opacity: 0; }
.hw-on .hw-step.live .tl.shown { animation: ave-line-in .35s var(--ave-ease) both; }
.hw-on .hw-step.live .ave-term { border-color: rgb(var(--accent-solid) / .55); }

/* ── Setup, cards, captions, picture, table, limits, install ──────── */

.ave-qs { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px)  { .ave-qs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ave-qs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ave-q { display: flex; align-items: center; gap: 12px; background: rgb(var(--card)); border: 1px solid rgb(var(--edge));
         border-radius: 12px; padding: 12px 14px; font-size: calc(0.9375rem * var(--small-k)); color: rgb(var(--ink)); min-width: 0;
         transition: border-color .25s; }
.ave-q:hover { border-color: rgb(var(--accent-solid) / .45); }
.ave-q .ave-badge { width: 26px; height: 26px; font-size: calc(0.75rem * var(--small-k)); border-radius: 7px; }

.ave-cgrid { display: grid; gap: 24px 16px; }
@media (min-width: 560px)  { .ave-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ave-cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ave-cards { display: flex; flex-direction: column; gap: 44px; }
.ave-cards:not(.open) .ave-more, .ave-cards:not(.open) .ave-famhead { display: none; }
.ave-famhead { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 12px; margin-bottom: 18px; }
.ave-famhead p { grid-column: 1 / -1; }
.ave-cc { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ave-cc-img { border-radius: 12px; overflow: hidden; border: 1px solid rgb(var(--edge)); background: rgb(var(--well));
              transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.4,0,.2,1); }
.ave-cc-img img, .ave-cc-img video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ave-ease); }
.ave-cc:hover .ave-cc-img { border-color: rgb(var(--accent-solid) / .45); box-shadow: 0 18px 40px -24px rgb(var(--shadow-key) / .45); transform: translateY(-3px); }
.ave-cc:hover .ave-cc-img img, .ave-cc:hover .ave-cc-img video { transform: scale(1.03); }

.ave-capgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (min-width: 1024px) { .ave-capgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ave-cap { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ave-cap video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px;
                 border: 1px solid rgb(var(--edge)); background: #11142a; }
.ave-capcustom { display: grid; gap: 8px; max-width: 46rem; margin: 3rem 0 1.25rem; }

/* Colour: copy and chips on the left, the graded frame on the right. */
.gr { display: grid; gap: 2rem; align-items: stretch; }
.gr > * { min-width: 0; }
@media (min-width: 900px) { .gr { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 3.5rem; } }
.gr-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.gr-copy .sec-mark { margin-bottom: 0; }
.gr-note { margin-top: auto; padding: 20px 22px; gap: 8px; }
.gr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gr-chip { font: 600 14px/1 'Switzer', sans-serif; color: rgb(var(--ink-soft)); background: rgb(var(--card));
           border: 1px solid rgb(var(--edge)); border-radius: 999px; padding: 10px 16px; cursor: pointer;
           transition: border-color .2s, color .2s, background-color .2s; }
.gr-chip:hover { border-color: rgb(var(--accent-solid) / .5); color: rgb(var(--ink)); }
.gr-chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.gr-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 30rem; }
.gr-look { position: relative; display: block; padding: 0; border: 2px solid rgb(var(--edge)); border-radius: 12px; overflow: hidden;
           aspect-ratio: 4 / 5; background: #0b0f1c; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.gr-look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.gr-look span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 9px; text-align: left;
                font: 600 13px/1.2 'Switzer', sans-serif; color: #fff; background: linear-gradient(transparent, rgb(11 15 28 / .85)); }
.gr-look:hover { border-color: rgb(var(--accent-solid) / .55); }
.gr-look.on { border-color: rgb(var(--accent-solid)); box-shadow: 0 0 0 4px rgb(var(--accent-solid) / .18); }
.gr-sets .gr-chip { font-size: calc(0.7812rem * var(--small-k)); padding: 7px 12px; }
.gr-view { position: relative; aspect-ratio: 358 / 637; width: 100%; max-width: 380px; border-radius: 16px; overflow: hidden;
           background: #0b0f1c; border: 1px solid rgb(var(--edge)); justify-self: start; user-select: none; touch-action: pan-y; }
@media (min-width: 900px) { .gr-view { justify-self: end; } }
.gr-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-after { opacity: 0; transition: opacity .45s ease; }
.gr-after.on { opacity: 1; }
.gr-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.gr-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff;
             box-shadow: 0 0 0 1px rgb(0 0 0 / .25); pointer-events: none; }
.gr-handle i { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
               background: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .35); }
.gr-handle i::before, .gr-handle i::after { content: ""; position: absolute; top: 50%; margin-top: -5px; border: 5px solid transparent; }
.gr-handle i::before { left: 6px; border-right-color: #334155; }
.gr-handle i::after { right: 6px; border-left-color: #334155; }
.gr-lab { position: absolute; top: 12px; font: 700 10.5px/1 'Switzer', sans-serif; letter-spacing: .1em; text-transform: uppercase;
          color: #fff; background: rgb(11 15 28 / .65); border-radius: 999px; padding: 6px 10px; pointer-events: none; }
.gr-lab-l { left: 12px; }
.gr-lab-r { right: 12px; }
.gr-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.gr-view:focus-within { outline: 2px solid rgb(var(--accent-solid)); outline-offset: 3px; }

/* What you need: Mac and Windows as two spec cards, equal height, the same
   rows in the same order. Each row is item | detail | cost; the SSD row is
   the hardware call and is highlighted in both. */
.nd { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 768px) { .nd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nd-card { padding: 26px; gap: 18px; }
.nd-rec { border-color: rgb(var(--accent-solid) / .55); box-shadow: 0 0 0 4px rgb(var(--accent-solid) / .08), 0 30px 60px -40px rgb(var(--accent-solid) / .45); }
.nd-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.nd-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: rgb(var(--violet-text));
           background: rgb(var(--accent-solid) / .12); }
.nd-rec .nd-icon { background: var(--grad); color: #fff; }
.nd-icon svg { width: 22px; height: 22px; }
.nd-badge { font-size: calc(0.7188rem * var(--small-k)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad);
            border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.nd-rows { margin: 0; display: flex; flex-direction: column; flex: 1; }
.nd-row { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) auto; gap: 6px 14px; align-items: baseline;
          padding: 13px 0; border-top: 1px solid rgb(var(--edge)); font-size: calc(0.9375rem * var(--small-k)); line-height: 1.5; }
.nd-row dt { font-weight: 600; color: rgb(var(--ink)); }
.nd-row dd { margin: 0; color: rgb(var(--ink-soft)); }
.nd-cost { justify-self: end; font-size: calc(0.75rem * var(--small-k)); font-weight: 700; line-height: 1; white-space: nowrap; border-radius: 999px; padding: 5px 9px;
           color: rgb(var(--violet-text)) !important; background: rgb(var(--accent-solid) / .12); }
.nd-cost.nd-free { color: #047857 !important; background: rgb(16 185 129 / .14); }
:root[data-theme="dark"] .nd-cost.nd-free { color: #34d399 !important; }
.nd-ssd { margin-top: auto; border-top: 0; border-radius: 12px; padding: 14px 14px 15px; align-items: start;
          background: rgb(var(--accent-solid) / .08); border: 1px solid rgb(var(--accent-solid) / .35); }
.nd-ssd dt { display: flex; flex-direction: column; gap: 8px; }
.nd-drive { display: block; width: 40px; height: 25px; color: rgb(var(--violet-text)); }
.nd-drive svg { width: 100%; height: 100%; }
.nd-rows .nd-row:nth-last-child(2) { border-bottom: 1px solid rgb(var(--edge)); margin-bottom: 14px; }
.nd-note { margin: 14px 0 0; font-size: calc(0.875rem * var(--small-k)); color: rgb(var(--muted)); }
@media (max-width: 519px) {
  .nd-card { padding: 20px; }
  .nd-row { grid-template-columns: minmax(0, 1fr) auto; }
  .nd-row dd:not(.nd-cost) { grid-column: 1 / -1; grid-row: 2; }
  .nd-cost { grid-row: 1; grid-column: 2; }
  .nd-head { grid-template-columns: auto minmax(0, 1fr); }
  .nd-badge { grid-column: 1 / -1; justify-self: start; }
}
.ave-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ave-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ave-ticks li { position: relative; padding-left: 28px; }
.ave-ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%;
  background: rgb(var(--accent-solid) / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%238b5cf6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ave-ticks.no li::before { background: rgb(var(--muted) / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

.ave-limit { background: var(--ave-amb-bg); border: 1px solid var(--ave-amb-bd); border-radius: 16px;
             padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ave-amb-tx); }
@media (min-width: 640px) { .ave-limit:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.ave-cmd { display: flex; align-items: center; gap: 12px; background: rgb(var(--ave-well)); border: 1px solid rgb(var(--edge));
           border-radius: 10px; padding: 10px 10px 10px 12px; min-width: 0; transition: border-color .25s; }
.ave-cmd:hover { border-color: rgb(var(--accent-solid) / .45); }
.ave-cmd .ave-badge { width: 24px; height: 24px; font-size: calc(0.75rem * var(--small-k)); border-radius: 6px; }
.ave .ave-cmd code { background: none; border: 0; padding: 0; font-size: calc(0.875rem * var(--small-k)); flex: 1; min-width: 0;
                     overflow-x: auto; white-space: nowrap; overflow-wrap: normal; }
.ave-copy { font-weight: 600; font-size: calc(0.8125rem * var(--small-k)); background: rgb(var(--card)); color: rgb(var(--ink-soft));
            border: 1px solid rgb(var(--edge)); border-radius: 6px; padding: 6px 11px; cursor: pointer; flex: none;
            transition: border-color .2s, color .2s; }
.ave-copy:hover { border-color: rgb(var(--accent-solid) / .6); color: rgb(var(--ink)); }

/* The channel grid. On desktop hover a muted embed covers the thumbnail
   (site.js); it takes no clicks, so the card stays the link. */
.ave-vid-img { position: relative; }
.ave-vid-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none;
                      opacity: 0; transition: opacity .35s; }
.ave-vid-img iframe.on { opacity: 1; }
.ave-vhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 2.5rem; }
.ave-vid { display: flex; flex-direction: column; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.ave-vid-img { border-radius: 12px; overflow: hidden; border: 1px solid rgb(var(--edge)); background: rgb(var(--well));
               transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.4,0,.2,1); }
.ave-vid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ave-ease); }
.ave-vid:hover .ave-vid-img { border-color: rgb(var(--accent-solid) / .45); box-shadow: 0 18px 40px -24px rgb(var(--shadow-key) / .45); transform: translateY(-3px); }
.ave-vid:hover img { transform: scale(1.03); }
.ave-vid span { font-weight: 600; font-size: calc(0.9375rem * var(--small-k)); line-height: 1.4; color: rgb(var(--ink));
                display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.ave-vid:hover span { color: rgb(var(--accent)); }

/* Install: the call to action under the commands. */
.ins-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }

/* Request access: one wide card, steps on the left, the form on the right. */
.ra { display: grid; gap: 0; background: rgb(var(--card)); border: 1px solid rgb(var(--edge)); border-radius: 16px; overflow: hidden;
      box-shadow: 0 30px 60px -40px rgb(var(--shadow-key) / .45); }
@media (min-width: 900px) { .ra { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.ra > * { min-width: 0; }
.ra-info { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: rgb(var(--ave-well));
           border-bottom: 1px solid rgb(var(--edge)); }
@media (min-width: 900px) { .ra-info { border-bottom: 0; border-right: 1px solid rgb(var(--edge)); padding: 34px; } }
.ra-info .eyebrow { margin-bottom: 0; }
.ra-steps { gap: 10px; }
.ra-steps li { grid-template-columns: 26px 1fr; gap: 10px; }
.ra-steps li::before { width: 26px; height: 26px; font-size: calc(0.8125rem * var(--small-k)); border-radius: 7px; }
.ra-link { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: calc(0.9375rem * var(--small-k)); color: rgb(var(--violet-text)); text-decoration: none; }
.ra-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ra-form { padding: 30px; }
@media (min-width: 900px) { .ra-form { padding: 34px; } }

/* Form fields. */
.ave-field label { display: block; font-size: calc(0.6875rem * var(--small-k)); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
                   color: rgb(var(--muted)); margin-bottom: 8px; }
.ave-field input { width: 100%; border-radius: 10px; border: 1.5px solid rgb(var(--edge)); background: rgb(var(--ave-well));
                   padding: 12px 14px; color: rgb(var(--ink)); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ave-field input:hover { border-color: rgb(var(--accent-solid) / .35); }
.ave-field input:focus { border-color: rgb(var(--accent-solid) / .8); box-shadow: 0 0 0 4px rgb(var(--accent-solid) / .14); }
.ave-field input:user-invalid { border-color: #ef4444; }
.ave-field small { display: block; margin-top: 6px; font-size: calc(0.8125rem * var(--small-k)); color: rgb(var(--muted)); }
.ave-form2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .ave-form2 { grid-template-columns: 1fr 1fr; } }
.ave-next { margin: 0; padding: 0; list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 12px; }
.ave-next li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ave-next li::before { content: counter(n); width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff;
                       display: grid; place-items: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: calc(0.875rem * var(--small-k)); }
.ave .btn-grad { transition: box-shadow .25s, transform .25s; }
.ave .btn-grad:hover { box-shadow: 0 10px 28px -10px rgb(99 102 241 / .7); }

/* Phones: the two angles sit side by side under the program monitor. */
@media (max-width: 639px) {
  .mc { grid-template-columns: minmax(0, 1fr); }
  .mc-angles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── FINISH IN YOUR EDITOR ────────────────────────────────────────
   The copy on the left; on the right, tabs and the timeline drawn in each
   app's own look. Hidden radios switch the panels with :has, no script.
   Each app is a set of tokens (--a-*), the markup is shared. */
.fin { position: relative; display: grid; gap: 2rem; padding: 30px; border-radius: 24px; overflow: hidden;
       background: radial-gradient(120% 90% at 100% 0%, rgb(var(--accent-solid) / .16), transparent 60%), rgb(var(--card));
       border: 1px solid rgb(var(--accent-solid) / .35); box-shadow: 0 40px 80px -50px rgb(var(--accent-solid) / .55); }
@media (min-width: 1024px) { .fin { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; padding: 44px; align-items: center; } }
.fin > * { min-width: 0; }
.fin-r { position: absolute; opacity: 0; pointer-events: none; }
.fin-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.fin-copy .sec-mark { margin-bottom: 0; }
.fin-h { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.fin-points { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-points li { display: inline-flex; align-items: center; gap: 7px; font-size: calc(0.8438rem * var(--small-k)); font-weight: 600; color: rgb(var(--ink));
                 background: rgb(var(--ave-well)); border: 1px solid rgb(var(--edge)); border-radius: 999px; padding: 6px 12px 6px 8px; }
.fin-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat, var(--grad); }
.fin-side { display: flex; flex-direction: column; gap: 14px; }
.fin-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-tab { user-select: none; }
#fin-capcut:checked ~ .fin-side label[for="fin-capcut"],
#fin-resolve:checked ~ .fin-side label[for="fin-resolve"],
#fin-premiere:checked ~ .fin-side label[for="fin-premiere"] { background: var(--grad); border-color: transparent; color: #fff; }
#fin-capcut:focus-visible ~ .fin-side label[for="fin-capcut"],
#fin-resolve:focus-visible ~ .fin-side label[for="fin-resolve"],
#fin-premiere:focus-visible ~ .fin-side label[for="fin-premiere"] { outline: 2px solid rgb(var(--accent-solid)); outline-offset: 3px; }
.fin-p { display: none; flex-direction: column; gap: 14px; }
#fin-capcut:checked ~ .fin-side .fin-p-capcut,
#fin-resolve:checked ~ .fin-side .fin-p-resolve,
#fin-premiere:checked ~ .fin-side .fin-p-premiere { display: flex; animation: fin-in .35s var(--ave-ease) both; }
@keyframes fin-in { from { opacity: 0; transform: translateY(6px); } }

/* The app window. Dark in both themes, like the real apps. */
.fin-win { border-radius: 14px; overflow: hidden; background: var(--a-bg); border: 1px solid var(--a-edge);
           box-shadow: 0 30px 60px -30px rgb(15 23 42 / .6); font-family: 'Switzer', sans-serif; }
.fin-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--a-bar); border-bottom: 1px solid var(--a-edge); }
.fin-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--a-edge); flex: none; }
.fin-app { margin-left: 8px; font-size: calc(0.7812rem * var(--small-k)); font-weight: 700; color: var(--a-tx); white-space: nowrap; }
.fin-file { margin-left: auto; font-size: calc(0.7188rem * var(--small-k)); color: var(--a-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fin-tools { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: center; gap: 0; height: 26px;
             background: var(--a-panel); border-bottom: 1px solid var(--a-edge); }
.fin-tc { padding-left: 12px; font: 600 11px/1 var(--ave-mono); color: var(--a-tc); }
.fin-ruler { height: 100%; background: repeating-linear-gradient(90deg, var(--a-tick) 0 1px, transparent 1px 10%),
             repeating-linear-gradient(90deg, var(--a-tick) 0 1px, transparent 1px 2.5%);
             background-size: 100% 100%, 100% 40%; background-repeat: no-repeat; background-position: 0 0, 0 100%; opacity: .8; }
.fin-tl { position: relative; padding: 8px 0 10px; display: grid; gap: 6px; }
.fin-track { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: center; }
.fin-th { display: flex; align-items: center; gap: 6px; padding-left: 12px; font-size: calc(0.6875rem * var(--small-k)); font-weight: 600; color: var(--a-dim);
          white-space: nowrap; overflow: hidden; }
.fin-th em { font-style: normal; font-size: calc(0.625rem * var(--small-k)); font-weight: 700; color: var(--a-tx); background: var(--a-panel);
             border: 1px solid var(--a-edge); border-radius: 4px; padding: 2px 4px; }
.fin-lane { position: relative; height: 30px; margin-right: 10px; }
.fin-track:nth-child(4) .fin-lane { height: 36px; }
.app-resolve, .app-premiere { --th: 6.6rem; }
.fin-tools, .fin-track { grid-template-columns: var(--th, 5.6rem) minmax(0, 1fr); }
@keyframes fin-play { from { left: var(--th, 5.6rem); } to { left: calc(100% - 10px); } }
.fin-clip { position: absolute; top: 0; bottom: 0; border-radius: var(--a-r); padding: 0 6px; display: block; line-height: 28px; text-overflow: ellipsis;
            font-size: calc(0.6562rem * var(--small-k)); font-weight: 600; color: var(--a-cliptx); white-space: nowrap; overflow: hidden;
            border: 1px solid rgb(0 0 0 / .25); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); }
.fin-clip + .fin-clip { margin-left: 1px; }
.k-card { background: var(--a-card); }
.k-cap { background: var(--a-cap); }
.k-va { background: var(--a-va); }
.k-vb { background: var(--a-vb); }
.k-au { background: repeating-linear-gradient(90deg, transparent 0 2px, var(--a-wave) 2px 3px) center / 100% 70% no-repeat, var(--a-au); }
.fin-head { position: absolute; top: -26px; bottom: 0; left: calc(var(--th, 5.6rem) + (100% - var(--th, 5.6rem) - 10px) * .38); width: 2px; margin-left: -1px;
            background: var(--a-play); z-index: 2; animation: fin-play 9s linear infinite; }
.fin-head::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 12px; background: var(--a-play);
                    clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

.fin-line { display: flex; align-items: flex-start; gap: 12px; font-size: calc(0.9375rem * var(--small-k)); line-height: 1.55; color: rgb(var(--ink-soft)); }
.fin-status { flex: none; margin-top: 1px; font-size: calc(0.6875rem * var(--small-k)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
              color: #047857; background: rgb(16 185 129 / .14); border-radius: 999px; padding: 5px 9px; line-height: 1; }
:root[data-theme="dark"] .fin-status { color: #34d399; }
.fin-status.soon { color: var(--ave-amb-tx); background: var(--ave-amb-bg); border: 1px solid var(--ave-amb-bd); }

/* CapCut: near-black, rounded clips, cyan video, amber text, white playhead. */
.app-capcut { --a-bg: #121214; --a-bar: #1b1b1e; --a-panel: #19191c; --a-edge: #2a2a2f; --a-tx: #f4f4f5; --a-dim: #8e8e96;
  --a-tc: #f4f4f5; --a-tick: #3a3a40; --a-r: 7px; --a-cliptx: #fff;
  --a-card: #7c4dff; --a-cap: #b7792d; --a-va: #148a9c; --a-vb: #0f6d7c; --a-au: #12443a; --a-wave: #3ed6a8; --a-play: #ffffff; }
.app-capcut .fin-th em { display: none; }
/* Resolve: mid grey, square clips, steel-blue video, green audio, red playhead. */
.app-resolve { --a-bg: #28282c; --a-bar: #1f1f22; --a-panel: #2f2f34; --a-edge: #3c3c42; --a-tx: #d6d6da; --a-dim: #9a9aa2;
  --a-tc: #e8a33c; --a-tick: #55555c; --a-r: 3px; --a-cliptx: #f0f0f2;
  --a-card: #8a5aa8; --a-cap: #a8604a; --a-va: #3f6e9e; --a-vb: #355f8a; --a-au: #2f5c3a; --a-wave: #7ccf8a; --a-play: #e5484d; }
/* Premiere: blue-black, lavender video, pink graphics, green audio, blue playhead. */
.app-premiere { --a-bg: #1a1a24; --a-bar: #14141c; --a-panel: #20202c; --a-edge: #30303f; --a-tx: #dcdcf0; --a-dim: #8d8da8;
  --a-tc: #4f9dff; --a-tick: #3c3c50; --a-r: 4px; --a-cliptx: #1a1a24;
  --a-card: #d77fbf; --a-cap: #c9a5ff; --a-va: #8f8ff0; --a-vb: #7575d8; --a-au: #2f6e4c; --a-wave: #8be0a8; --a-play: #4f9dff; }
@media (max-width: 519px) {
  .fin { padding: 22px 18px; }
  .fin-p.fin-p { --th: 4.4rem; }
  .fin-th { padding-left: 8px; font-size: calc(0.625rem * var(--small-k)); }
  .fin-th em { display: none; }
  .fin-clip { font-size: calc(0.5938rem * var(--small-k)); padding: 0 4px; }
  .k-cap { font-size: 0; }
}
@media (prefers-reduced-motion: reduce) { .fin-p { animation: none !important; } }

/* What setup installs: the measured size on each tool, and the total. */
.ins-size { flex: none; font-size: calc(0.8125rem * var(--small-k)); font-weight: 600; font-variant-numeric: tabular-nums;
            padding: 4px 10px; border-radius: 999px; color: rgb(var(--violet-text));
            background: rgb(var(--accent-solid) / .1); border: 1px solid rgb(var(--accent-solid) / .25); }
.ins-total { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline;
             padding: 18px 24px; border-radius: 16px; border: 1px dashed rgb(var(--edge));
             font-size: calc(0.9375rem * var(--small-k)); color: rgb(var(--ink-soft)); }
.ins-total .structure { color: rgb(var(--ink)); font-size: 17px; }

/* 2026-11-14 (REDESIGN-PLAN.md steps 18 and 19): the hero opens on the
   editor working. Words on top, the recording under them at the full content
   width so its text can be read, and no purple glow behind it. */
@media (min-width: 1024px) { .ave-hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } .ave-hero > :first-child { max-width: 44rem; } }
.ave-hero-term::before { content: none; }
.ave-hero-term .ave-demo { position: relative; z-index: 1; box-shadow: 0 30px 60px -34px rgb(15 23 42 / .5); }


/* ══ LIQUID GLASS ON THIS PAGE (Daniel, 2026-11-15: "start editing the AI
   editor page and give it a glass look"). The rest of the site went glass
   and this page still had solid white cards on the lilac ground, grey
   wells inside them, a cream warning box and a square dark band. Same
   recipe as the home page, from the same variables in brand.css:
     CARDS are clear glass with the bright rim.
     WELLS (the panel inside a card) are a lighter pane, not a grey box.
     THE DARK BAND is the rounded indigo slab the home page uses.
     LIMITS are warm amber glass, like the blog's takeaway box.
   No sheen anywhere: he does not like it. ══ */
.glass-on .ave-card, .glass-on .ra, .glass-on .ave-q, .glass-on .fin {
  background: var(--gl-fill); border: 1px solid var(--gl-edge);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); box-shadow: var(--gl-shadow); }
.glass-on .ave-card, .glass-on .ra { border-radius: 24px; }
.glass-on .fin { border-radius: 32px; }
.glass-on .ave-q { border-radius: 999px; padding-left: 14px; }
.glass-on .nd-rec { border-color: rgb(var(--accent-solid) / .7); }

.glass-on .ave-well, .glass-on .ra-info, .glass-on .ave-cmd, .glass-on .rl, .glass-on .ex-app, .glass-on .ave-total {
  background: rgb(255 255 255 / .42); border-color: rgb(255 255 255 / .8); box-shadow: inset 1px 1px 0 rgb(255 255 255 / .7); }
:root[data-theme="dark"] .glass-on .ave-well, :root[data-theme="dark"] .glass-on .ra-info, :root[data-theme="dark"] .glass-on .ave-cmd,
:root[data-theme="dark"] .glass-on .rl, :root[data-theme="dark"] .glass-on .ex-app, :root[data-theme="dark"] .glass-on .ave-total {
  background: rgb(15 23 42 / .42); border-color: rgb(167 139 250 / .3); box-shadow: inset 1px 1px 0 rgb(255 255 255 / .12); }
.glass-on .ave-well { border-radius: 18px; }
.glass-on .ave-cmd { border-radius: 999px; padding-left: 10px; padding-right: 8px; }
.glass-on .ave-cmd button { border-radius: 999px; }
.glass-on .ra input, .glass-on .ra textarea { background: rgb(255 255 255 / .55); border-color: rgb(255 255 255 / .9); }
:root[data-theme="dark"] .glass-on .ra input, :root[data-theme="dark"] .glass-on .ra textarea { background: rgb(15 23 42 / .45); border-color: rgb(167 139 250 / .4); }

/* The dark band: the home page's rounded indigo slab, in both themes, with
   the dark glass values forced inside it so its cards are glass too. */
.glass-on .ave-band, :root[data-theme="dark"] .glass-on .ave-band {
  background: var(--grad-cta-band); border-radius: clamp(1.75rem, 3.2vw, 3.25rem);
  --gl-fill: linear-gradient(135deg, rgb(255 255 255 / .16) 0%, rgb(139 92 246 / .16) 30%, rgb(99 102 241 / .09) 100%);
  --gl-edge: rgb(167 139 250 / .5);
  --gl-shadow: inset 1px 1px 0 rgb(255 255 255 / .5), inset -1px -1px 0 rgb(49 46 129 / .18), 0 26px 50px -28px rgb(15 23 42 / .6); }

/* Limits: warm amber glass. */
.glass-on .ave-limit { border-radius: 24px; border: 1px solid rgb(255 255 255 / .9);
  background: linear-gradient(135deg, rgb(255 251 235 / .9) 0%, rgb(254 243 199 / .78) 45%, rgb(253 230 138 / .55) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 1.5px 1.5px 0 rgb(255 255 255 / .95), inset -1px -1px 0 rgb(217 119 6 / .25), 0 26px 50px -30px rgb(180 83 9 / .5); }
:root[data-theme="dark"] .glass-on .ave-limit { border-color: rgb(251 191 36 / .45);
  background: linear-gradient(135deg, rgb(255 255 255 / .1) 0%, rgb(245 158 11 / .2) 40%, rgb(180 83 9 / .16) 100%);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / .3), 0 26px 50px -30px rgb(0 0 0 / .6); }
/* The cards inside the dark band were solid slate. */
.glass-on .ave-band .lp-node, .glass-on .ave-band .ave-dcard {
  background: var(--gl-fill); border: 1px solid var(--gl-edge);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); box-shadow: var(--gl-shadow); }
.glass-on .ave-band .ave-dcard { border-radius: 24px; }
.glass-on .ave-band .lp-node { border-radius: 18px; }
.glass-on .ave-band .lp-node.lit { border-color: rgb(196 181 253 / .95); }


/* ══ Daniel's fixes, 2026-11-15 ═══════════════════════════════════════

   THE HERO IS ONE SECTION AGAIN. Headline on the left, the recording on
   the right, the invite directly under both. A rule further up had turned
   the hero into a single column on laptops, which left the headline alone
   on top with half the screen empty and the recording as its own block. */
@media (min-width: 1024px) {
  .ave-hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 3.5vw, 4rem); align-items: center; }
  .ave-hero > :first-child { max-width: none; }
}
.ave-herosec .ave-demo { border-radius: 24px; }
.ave-herosec .ra { margin-top: clamp(2rem, 3.5vw, 3.5rem); }

/* THE INVITE HAS NO BLANK HALF. It was two wide columns with the steps
   floating in one and a short form in the other. Three columns now: what
   it is, what happens next, the form, each filled top to bottom. */
.ra-next { display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.ra-info { justify-content: flex-start; }
.ra-link { margin-top: 6px; }
@media (min-width: 1100px) {
  .ra { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; }
  .ra-info, .ra-next, .ra-form { padding: 30px; }
  .ra-next { border-right: 1px solid var(--gl-edge); }
}
@media (min-width: 900px) and (max-width: 1099.98px) {
  .ra { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ra-form { grid-column: 1 / -1; border-top: 1px solid var(--gl-edge); }
}
.ra-form .lead-form { gap: 12px; }

/* THE THREE GLASS LAYERS ON "HOW IT LEARNED", as on the home page: two
   sheets of glass behind the slab's top edge (.endcap-sheets, brand.css). */
.glass-on .ave-sheets { margin-top: 3rem; }
.glass-on .ave-sheets + .ave-band { position: relative; z-index: 1; margin-top: 0; }

/* NO DEAD SPACE INSIDE THE TILES. The checks were four short rows with the
   label at one end of a wide tile and "OK" at the other, nothing between.
   They are four tiles side by side now. The small drawings fill their
   panel instead of sitting in a corner of it. */
@media (min-width: 640px) {
  .t-checks .ck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .t-checks .ck li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 16px;
    background: rgb(255 255 255 / .5); border: 1px solid rgb(255 255 255 / .85); font-weight: 600; font-size: 1rem; }
  :root[data-theme="dark"] .t-checks .ck li { background: rgb(255 255 255 / .06); border-color: rgb(167 139 250 / .3); }
  .t-checks .ck i { width: 30px; height: 30px; }
  .t-checks .ck i svg { width: 15px; height: 15px; }
  .t-checks .ck em { margin-left: 0; font-size: calc(0.8125rem * var(--small-k)); letter-spacing: .08em; }
  .glass-on .t-checks .ave-well { background: none; border: 0; box-shadow: none; padding: 0; }
}
.ave-well svg { width: 100%; }
.tr-row { padding: 4px 0; }
.tr-who { font-size: calc(0.8125rem * var(--small-k)); padding: 5px 10px; border-radius: 999px; }
.tr-txt { font-size: 1rem; }
/* The form is two fields per row, so it is as tall as the steps beside it
   and neither column ends in blank space. */
@media (min-width: 1100px) {
  .ra-form .lead-form:not(.hidden) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; align-items: start; }
  .ra-form .lead-form > .ave-form2, .ra-form .lead-form > button, .ra-form .lead-form > p, .ra-form .lead-form > .hp-field { grid-column: 1 / -1; }
  .ra-form .lead-form > button { justify-self: start; }
  .ra-info, .ra-next { justify-content: center; }
}
/* The "Updated ..." line sits lower, clear of the buttons (Daniel, 2026-11-15). */
.ave-hero > :first-child > p.text-sm { margin-top: 1.5rem !important; }


/* ══ THE INVITE IS ONE BAR (Daniel picked candidate C, 2026-11-15).
   The three-column card had three unrelated things side by side and
   nothing led. One glass bar now: a headline line, three fields and the
   button in a row, the steps as one quiet line under a hairline. ══ */
.rb { margin-top: clamp(2rem, 3.5vw, 3.5rem); padding: 28px 32px; border-radius: 28px;
  background: var(--gl-fill); border: 1px solid var(--gl-edge);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); box-shadow: var(--gl-shadow); }
.rb-form:not(.hidden) { display: flex; flex-direction: column; gap: 20px; }
.rb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.rb-h { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; color: rgb(var(--ink)); }
.rb-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: end; }
@media (min-width: 900px) { .rb-bar { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } }
.rb-bar .ave-field input { border-radius: 999px; padding: 13px 18px; background: rgb(255 255 255 / .55); border: 1px solid rgb(255 255 255 / .9); }
:root[data-theme="dark"] .rb-bar .ave-field input { background: rgb(15 23 42 / .45); border-color: rgb(167 139 250 / .4); }
.rb-bar .btn-grad { white-space: nowrap; }
.rb-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 16px; border-top: 1px solid var(--gl-edge);
  font-size: calc(0.9375rem * var(--small-k)); color: rgb(var(--ink-soft)); }
.rb-steps span { display: inline-flex; align-items: center; gap: 8px; }
.rb-steps b { width: 1.7rem; height: 1.7rem; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff; font-weight: 600; font-size: calc(0.8125rem * var(--small-k)); }
.rb-steps .ra-link { margin: 0 0 0 auto; }
@media (max-width: 899.98px) { .rb { padding: 22px 18px; } .rb-steps .ra-link { margin-left: 0; } .rb-bar .btn-grad { justify-self: start; } }
/* The bar was too thin and everything in it sat too close together
   (Daniel, 2026-11-15). More room inside it and between its three rows. */
@media (min-width: 900px) {
  .rb { padding: 44px 44px 38px; }
  .rb-form:not(.hidden) { gap: 30px; }
  .rb-bar { gap: 18px; }
  .rb-bar .ave-field label { margin-bottom: 10px; }
  .rb-bar .ave-field input { padding: 17px 22px; }
  .rb-bar .btn-grad { padding-top: 17px; padding-bottom: 17px; }
  .rb-steps { padding-top: 26px; gap: 12px 30px; }
}
