/* OnAirMic — marketing site. Tokens follow the app's design handoff
   (Design/Handoff/README.md): Liquid Glass, wallpaper blooms, live red. */

:root {
  color-scheme: light dark;

  --bg: #f4eff6;
  --fg: #1d1d1f;
  --muted: #55555d;
  --faint: rgba(0, 0, 0, .10);
  --line: rgba(0, 0, 0, .08);
  --glass: rgba(255, 255, 255, .55);
  --glass2: rgba(255, 255, 255, .40);
  --glassline: rgba(255, 255, 255, .75);
  --hi: rgba(255, 255, 255, .85);
  --shadow: 0 8px 24px rgba(40, 30, 70, .08);
  --shadow-lg: 0 40px 90px rgba(46, 32, 90, .25);
  --accent: #007aff;

  --live: #ff3b30;                 /* glows, dots, beacons */
  --live-text: #b3261e;            /* red text on light surfaces (AA) */
  --live-btn-1: #da2e21;           /* button fill, white text AA */
  --live-btn-2: #c8261b;
  --live-glow: rgba(255, 59, 48, .45);

  --bloom-1: #ffc9a3;              /* peach  */
  --bloom-2: #a9c6ff;              /* blue   */
  --bloom-3: #cdb8ff;              /* violet */
  --bloom-4: #ffd6e4;

  --shot-filter: drop-shadow(0 30px 50px rgba(40, 24, 80, .22)) drop-shadow(0 4px 10px rgba(40, 24, 80, .10));
  --em-color: var(--live-text);
  --em-glow: none;
  --sheet-bg: #fff;
  --mbar-bg: rgba(255, 255, 255, .42);
  --mbar-fg: rgba(0, 0, 0, .85);
  --mbar-line: rgba(255, 255, 255, .5);

  --meter-g: #34c759;
  --meter-y: #ffcc00;
  --meter-r: #ff453a;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: 16px;
  --max: 1200px;
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Dark: follow the system unless the visitor forced Light; or forced Dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100f19;
    --fg: #f5f5f7;
    --muted: #b4b4be;
    --faint: rgba(255, 255, 255, .14);
    --line: rgba(255, 255, 255, .10);
    --glass: rgba(38, 38, 52, .50);
    --glass2: rgba(255, 255, 255, .07);
    --glassline: rgba(255, 255, 255, .14);
    --hi: rgba(255, 255, 255, .14);
    --shadow: 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 40px 90px rgba(0, 0, 0, .55);
    --accent: #0a84ff;

    --live: #ff453a;
    --live-text: #ff7b73;
    --live-glow: rgba(255, 69, 58, .55);

    --bloom-1: #5a2152;            /* plum   */
    --bloom-2: #1b2f6b;            /* navy   */
    --bloom-3: #3a2a8c;            /* indigo */
    --bloom-4: #4a1838;
    --shot-filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)) drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
    --em-color: var(--live);
    --em-glow: 0 0 40px var(--live-glow);
    --sheet-bg: #1e1e1e;
    --mbar-bg: rgba(20, 18, 30, .42);
    --mbar-fg: rgba(255, 255, 255, .92);
    --mbar-line: rgba(255, 255, 255, .08);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #100f19;
  --fg: #f5f5f7;
  --muted: #b4b4be;
  --faint: rgba(255, 255, 255, .14);
  --line: rgba(255, 255, 255, .10);
  --glass: rgba(38, 38, 52, .50);
  --glass2: rgba(255, 255, 255, .07);
  --glassline: rgba(255, 255, 255, .14);
  --hi: rgba(255, 255, 255, .14);
  --shadow: 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, .55);
  --accent: #0a84ff;

  --live: #ff453a;
  --live-text: #ff7b73;
  --live-glow: rgba(255, 69, 58, .55);

  --bloom-1: #5a2152;            /* plum   */
  --bloom-2: #1b2f6b;            /* navy   */
  --bloom-3: #3a2a8c;            /* indigo */
  --bloom-4: #4a1838;
  --shot-filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)) drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
  --em-color: var(--live);
  --em-glow: 0 0 40px var(--live-glow);
  --sheet-bg: #1e1e1e;
  --mbar-bg: rgba(20, 18, 30, .42);
  --mbar-fg: rgba(255, 255, 255, .92);
  --mbar-line: rgba(255, 255, 255, .08);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
/* Fixed, static wallpaper blooms behind the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 0% 0%, color-mix(in srgb, var(--bloom-1) 70%, transparent), transparent 70%),
    radial-gradient(55vmax 50vmax at 100% 30%, color-mix(in srgb, var(--bloom-2) 60%, transparent), transparent 70%),
    radial-gradient(60vmax 55vmax at 30% 100%, color-mix(in srgb, var(--bloom-3) 60%, transparent), transparent 70%),
    var(--bg);
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--live) 30%, transparent); }

.skip {
  position: fixed; left: 12px; top: -120px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--fg); color: var(--bg); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glassline);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow);
}
.glass2 { background: var(--glass2); border: 1px solid var(--glassline); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: calc(var(--h) / 2);
  font: 600 16px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--live {
  color: #fff;
  background: linear-gradient(180deg, var(--live-btn-1), var(--live-btn-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 28px -6px var(--live-glow);
}
.btn--live:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 36px -6px var(--live-glow); transform: translateY(-1px); }
.btn--glass { color: var(--fg); }
.btn--glass:hover { background: color-mix(in srgb, var(--glass) 70%, var(--fg) 6%); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 18px; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: 10px;
}
.nav__bar {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 10px 0 14px;
  border-radius: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.nav__links { display: none; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav__links a:hover { color: var(--fg); background: var(--glass2); }
.nav__cta { margin-left: 0; }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
}
@media (max-width: 479px) {
  .nav__cta { --h: 38px; width: 38px; padding: 0; }
  .nav__cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Appearance switch: Light / Dark / System (shown once JS is running) */
.theme { display: none; margin-left: auto; padding: 3px; gap: 2px; border-radius: 13px; background: var(--glass2); border: 1px solid var(--glassline); }
.js .theme { display: inline-flex; }
@media (min-width: 1024px) { .theme { margin-left: 8px; } }
.theme button {
  display: grid; place-items: center; width: 32px; height: 30px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.theme button svg { width: 17px; height: 17px; }
.theme button:hover { color: var(--fg); }
.theme button[aria-checked="true"] { background: var(--glass); color: var(--fg); box-shadow: inset 0 1px 0 var(--hi), 0 1px 4px rgba(0, 0, 0, .12); }
.theme button:focus-visible { outline-offset: 1px; }
.nav__cta { flex: none; }
:root:not(.js) .nav__cta { margin-left: auto; }

/* ---------- Theme-swapped images ----------
   Every screenshot is a light/dark pair of <picture>s: .tl (light) and .td (dark). Both are
   loading="lazy", so the hidden one (display: none) is never fetched. */
.td { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tl { display: none; }
  :root:not([data-theme="light"]) .td { display: block; }
}
:root[data-theme="dark"] .tl { display: none; }
:root[data-theme="dark"] .td { display: block; }
.shot { width: 100%; filter: var(--shot-filter); }

/* Idle/live layers: the live layer fades in over the idle one (same geometry). */
.states { position: relative; }
.states .state--live { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
[data-state="live"] .states .state--live, [data-state="live"] .st--live { opacity: 1; }
[data-state="live"] .st--idle { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .states .state--live, .st { transition: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 104px) 0 clamp(72px, 10vw, 140px); text-align: center; isolation: isolate; }
.blooms { position: absolute; inset: -140px 0 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.final .blooms { -webkit-mask-image: none; mask-image: none; }
.blooms span {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: .9; will-change: transform;
}
.blooms span:nth-child(1) { --c: var(--bloom-1); left: -28vmax; top: -24vmax; }
.blooms span:nth-child(2) { --c: var(--bloom-2); right: -30vmax; top: -10vmax; }
.blooms span:nth-child(3) { --c: var(--bloom-3); left: 10vmax; top: 22vmax; }
.blooms span:nth-child(4) { --c: color-mix(in srgb, var(--live) 30%, transparent); width: 40vmax; height: 40vmax; left: calc(50% - 20vmax); top: 4vmax; opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .blooms span:nth-child(1) { animation: drift1 26s ease-in-out infinite alternate; }
  .blooms span:nth-child(2) { animation: drift2 32s ease-in-out infinite alternate; }
  .blooms span:nth-child(3) { animation: drift3 29s ease-in-out infinite alternate; }
  .blooms span:nth-child(4) { animation: breathe 9s ease-in-out infinite alternate; }
}
@keyframes drift1 { to { transform: translate(12vmax, 8vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-14vmax, 10vmax) scale(.92); } }
@keyframes drift3 { to { transform: translate(8vmax, -12vmax) scale(1.08); } }
@keyframes breathe { from { transform: scale(.85); opacity: .35; } to { transform: scale(1.1); opacity: .6; } }

.hero__icon { width: clamp(88px, 12vw, 128px); margin: 0 auto 22px; filter: drop-shadow(0 18px 30px var(--live-glow)); }
.onair-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--live-text);
}
.dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px var(--live-glow); flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .dot::after { animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }

.hero h1 {
  margin: 22px auto 0;
  font-size: clamp(2.9rem, 1rem + 8.2vw, 7rem);
  line-height: .95; letter-spacing: -.045em;
  max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--em-color); text-shadow: var(--em-glow); }
.lead { margin: 22px auto 0; max-width: 38ch; font-size: clamp(1.08rem, .96rem + .55vw, 1.38rem); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.meta { margin-top: 16px; font: 500 13px/1.5 var(--mono); color: var(--muted); letter-spacing: .01em; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0; row-gap: 2px; }
.meta span { white-space: nowrap; }
.meta span + span::before { content: "·"; margin: 0 .55em; }
@media (max-width: 520px) { .meta span:last-child { flex-basis: 100%; } .meta span:last-child::before { content: none; } }

/* Stage: real screenshot + companion + decorative ON AIR sign */
.stage { position: relative; max-width: 1140px; margin: clamp(48px, 7vw, 88px) auto 0; padding-inline: var(--gutter); }
.stage__window { position: relative; }
.stage__bar { position: absolute; z-index: 3; right: calc(var(--gutter) + 2%); top: 0; transform: translateY(calc(-100% + 14px)); }
.stage__companion {
  position: absolute; z-index: 2;
  width: clamp(130px, 28%, 330px);
  right: calc(var(--gutter) - 2%); bottom: -9%;
}
@media (prefers-reduced-motion: no-preference) {
  .stage__companion { animation: float 7s ease-in-out infinite alternate; }
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* The studio "ON AIR" sign — decorative motion only */
.sign {
  position: absolute; z-index: 2; left: calc(var(--gutter) + 2%); top: 0; transform: translateY(calc(-100% + 16px));
  display: grid; gap: 8px; justify-items: start;
  padding: 12px 14px 12px; border-radius: 18px;
  background: rgba(22, 14, 18, .82);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 50px rgba(20, 0, 10, .35);
  color: #fff; text-align: left;
  transition: box-shadow .6s var(--ease), border-color .6s;
}
.sign__lamp { display: flex; align-items: center; gap: 10px; }
.sign__word {
  font: 700 clamp(13px, 1.5vw, 18px)/1 var(--mono); letter-spacing: .32em;
  color: rgba(255, 255, 255, .28);
  transition: color .5s, text-shadow .5s;
}
.sign__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background .5s, box-shadow .5s; }
.sign__clock { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
[data-state="live"] .sign, .sign.is-live { border-color: rgba(255, 69, 58, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 69, 58, .25), 0 0 46px rgba(255, 69, 58, .45), 0 20px 50px rgba(20, 0, 10, .35); }
[data-state="live"] .sign .sign__word, .sign.is-live .sign__word { color: #ff5a4f; text-shadow: 0 0 12px rgba(255, 69, 58, .9), 0 0 28px rgba(255, 69, 58, .6); }
[data-state="live"] .sign .sign__dot, .sign.is-live .sign__dot { background: #ff453a; box-shadow: 0 0 12px #ff453a; }
@media (prefers-reduced-motion: no-preference) {
  .sign.is-live .sign__dot { animation: blink 1.6s ease-in-out infinite; }
}
@keyframes blink { 50% { opacity: .35; } }

/* 40-segment stereo meters (decorative) */
.meters { display: grid; gap: 3px; width: clamp(120px, 15vw, 190px); }
.meter { display: grid; grid-template-columns: repeat(40, 1fr); gap: 1.5px; height: 5px; }
.meter i { border-radius: 1px; background: rgba(255, 255, 255, .14); }
.meter i.g { background: var(--meter-g); }
.meter i.y { background: var(--meter-y); }
.meter i.r { background: var(--meter-r); }

@media (max-width: 599px) {
  .sign { display: none; }
  .sign__clock { font-size: 9.5px; }
  .meters { width: 104px; }
  .stage { margin-bottom: 120px; }
  .stage__companion { width: 64%; right: var(--gutter); bottom: -34%; }
  .step { padding: 20px 18px 22px; }
  .step__top { margin-bottom: 14px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 72px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--live-text); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live-glow); }
.h2 { margin-top: 16px; font-size: clamp(2rem, 1.15rem + 3.6vw, 3.9rem); letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.02em; }
.sub { margin-top: 18px; font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { text-align: center; }
.head--center .sub { margin-inline: auto; }

/* How it works */
.steps { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px 22px 26px; border-radius: 22px; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--fg); }
.step__icon svg { width: 24px; height: 24px; }
.step__n { font: 600 12px/1 var(--mono); color: var(--muted); letter-spacing: .12em; }
.step h3 { font-size: 1.3rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.step--live .step__icon { background: linear-gradient(180deg, var(--live-btn-1), var(--live-btn-2)); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -6px var(--live-glow); }
.step__arrow { display: none; }
@media (min-width: 1000px) {
  .step__arrow {
    display: block; position: absolute; z-index: 1; right: -15px; top: 46px; width: 16px; height: 16px; color: var(--muted);
  }
}
.flow-note { margin-top: 20px; text-align: center; font: 500 13px/1.5 var(--mono); color: var(--muted); }

/* Feature rows */
.feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(96px, 12vw, 168px); }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature--flip .feature__text { order: 2; }
}
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 26px; color: var(--fg); font-size: 16px; line-height: 1.5; }
.points li::before {
  content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 16%, transparent);
}
.points li span { color: var(--muted); }

.media { position: relative; isolation: isolate; }
.media::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 40%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, var(--bloom-3)) 85%, transparent), transparent);
  filter: blur(30px); opacity: .9;
}
.media--peach { --glow: var(--bloom-1); }
.media--blue { --glow: var(--bloom-2); }
.media--live { --glow: color-mix(in srgb, var(--live) 40%, var(--bloom-1)); }

.frame { padding: 10px; border-radius: 28px; }
.sheet { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--sheet-bg); }
.sheet--glass { background: transparent; }
.sheet img { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 14px; font-weight: 500; }
.chip svg { width: 16px; height: 16px; color: var(--muted); }

/* Composites: a window with a sheet overlapping its lower corner */
.combo { position: relative; padding-bottom: 14%; }
.combo__over { position: absolute; right: -2%; bottom: 0; width: 60%; }
.combo__over--picker { width: 46%; bottom: -8%; }
.combo:has(.combo__over--picker) { padding-bottom: 22%; }
@media (max-width: 599px) {
  .combo { padding-bottom: 22%; } .combo__over { width: 78%; right: 0; }
  .combo:has(.combo__over--picker) { padding-bottom: 46%; } .combo__over--picker { width: 62%; }
}
.combo__over .frame { padding: 7px; border-radius: 22px; box-shadow: inset 0 1px 0 var(--hi), var(--shadow-lg); }
.combo__over .sheet { border-radius: 15px; }

/* ---------- Menu bar (HTML strip; OnAirMic's item and popover are real captures) ---------- */
.mbar {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; height: 30px; padding: 0 14px;
  background: var(--mbar-bg); color: var(--mbar-fg);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--mbar-line);
  font: 500 13px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
}
.mb-left { display: flex; align-items: center; gap: 18px; min-width: 0; overflow: hidden; }
.mb-left b { font-weight: 700; }
.mb-sys { width: 13px; height: 13px; border-radius: 4px; background: currentColor; opacity: .85; flex: none; }
.mb-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.mb-glyph { width: 16px; height: 14px; flex: none; color: currentColor; }
.mb-glyph--wide { width: 25px; }
.mb-clock { font-variant-numeric: tabular-nums; }
.mb-item { position: relative; display: inline-grid; padding: 4px 6px; margin: 0 -6px; border-radius: 6px; background: color-mix(in srgb, currentColor 14%, transparent); }
.mb-item .st { grid-area: 1 / 1; transition: opacity .5s var(--ease); }
.st--live { opacity: 0; }
.mb-item img { width: 58px; height: 22px; }
.mbar--compact { height: 32px; gap: 12px; padding: 0 14px; border: 1px solid var(--glassline); border-radius: 12px; box-shadow: inset 0 1px 0 var(--hi), var(--shadow); }
.mbar--compact .mb-right { gap: 12px; }
@media (max-width: 599px) {
  .mbar--compact { height: 28px; padding: 0 10px; border-radius: 10px; font-size: 11.5px; }
  .mbar--compact .mb-glyph:not(:last-of-type), .mbar--compact .mb-glyph--wide { display: none; }
  .mbar--compact .mb-item img { width: 50px; height: 19px; }
}

.desk {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; min-height: 400px;
  background: radial-gradient(120% 90% at 0% 0%, var(--bloom-1), transparent 60%),
              radial-gradient(100% 90% at 100% 20%, var(--bloom-2), transparent 60%),
              radial-gradient(110% 90% at 40% 100%, var(--bloom-3), transparent 60%), var(--bg);
  border: 1px solid var(--glassline); box-shadow: inset 0 1px 0 var(--hi), var(--shadow-lg);
}
.desk .blooms { inset: 0; -webkit-mask-image: none; mask-image: none; }
.desk .blooms span { width: 40vmax; height: 40vmax; opacity: .55; }
.desk__pop { position: absolute; z-index: 1; top: 36px; right: 8px; width: min(340px, calc(100% - 16px)); }
@media (max-width: 1023px) { .desk .mb-left span:nth-of-type(n+3) { display: none; } }
@media (max-width: 599px) {
  .desk { min-height: 0; aspect-ratio: auto; padding-bottom: calc(min(340px, 100% - 16px) * .909 + 52px); }
  .desk .mb-left span, .desk .mbar .mb-glyph:not(:last-of-type) { display: none; }
  .desk .mbar { gap: 10px; padding: 0 10px; font-size: 12px; }
}

.legend { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.legend li picture { flex: none; padding: 5px 8px; border-radius: 8px; background: var(--mbar-bg); border: 1px solid var(--glassline); }
.legend li img { width: 58px; height: 22px; }
.legend strong { color: var(--fg); margin-right: 6px; }
.seg { display: inline-flex; margin-top: 22px; padding: 3px; gap: 2px; border-radius: 14px; background: var(--glass2); border: 1px solid var(--glassline); }
.seg button {
  min-width: 76px; height: 34px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent;
  font: 600 14px/1 var(--sans); color: var(--muted); cursor: pointer;
}
.seg button[aria-checked="true"] { background: var(--glass); color: var(--fg); box-shadow: inset 0 1px 0 var(--hi), 0 1px 4px rgba(0, 0, 0, .12); }
.seg button[data-state-set="live"][aria-checked="true"] { color: #fff; background: linear-gradient(180deg, var(--live-btn-1), var(--live-btn-2)); }
.feature--menubar .media::before { display: none; }

.route { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; counter-reset: r; }
.route li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; }
.route svg { width: 22px; height: 22px; justify-self: center; color: var(--muted); }
.route strong { display: block; font-size: 15px; color: var(--fg); }
.route span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.route li.is-on svg { color: var(--meter-g); }

.extras { display: grid; gap: 14px; margin-top: clamp(72px, 9vw, 120px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
@media (max-width: 599px) { .extras { grid-template-columns: 1fr 1fr; gap: 10px; } .extra { padding: 18px 16px; } .extra p { font-size: 13.5px; } }
.extra { border-radius: 22px; padding: 22px; }
.extra svg { width: 26px; height: 26px; color: var(--live-text); }
.extra h3 { margin-top: 14px; font-size: 1.08rem; letter-spacing: -.01em; }
.extra p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Mic picker illustration */
.picker { max-width: 440px; margin-inline: auto; border-radius: 26px; padding: 18px; }
.picker__label { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 12px; }
.picker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.picker__row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 14px; color: var(--muted); font-size: 15.5px; }
.picker__row svg { width: 20px; height: 20px; }
.picker__row.is-on { background: var(--glass2); border: 1px solid var(--glassline); color: var(--fg); font-weight: 600; box-shadow: inset 0 1px 0 var(--hi); }
.picker__row.is-on svg { color: var(--live); }
.picker__check { width: 18px; height: 18px; color: var(--accent); }
.picker__meter { margin: 14px 8px 4px; }
.picker__meter .meter { height: 6px; gap: 2px; }
.picker__meter .meter i { background: var(--faint); }
.picker__meter .meter i.g { background: var(--meter-g); }
.picker__meter .meter i.y { background: var(--meter-y); }
.picker__meter .meter i.r { background: var(--meter-r); }
.tip { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: 20px; font-size: 15px; color: var(--muted); }
.tip strong { color: var(--fg); }
.tip svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }

/* Requirements */
.reqs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.req { border-radius: 22px; padding: 22px 22px 24px; }
.req__k { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.req__v { margin-top: 12px; font-size: 1.22rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.req p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--fg), var(--fg)) center / 12px 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 2px 12px no-repeat,
    var(--glass2);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; }
.faq .answer p + p { margin-top: 10px; }

/* Final CTA */
.final { text-align: center; border-radius: 36px; padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 48px); overflow: hidden; position: relative; isolation: isolate; }
.final .blooms { inset: 0; }
.final .blooms span { width: 50vmax; height: 50vmax; }
.final .blooms span:nth-child(1) { left: -20vmax; top: -25vmax; }
.final .blooms span:nth-child(2) { right: -25vmax; top: -5vmax; }
.final .blooms span:nth-child(3) { left: 20%; top: 40%; }
.final .blooms span:nth-child(4) { width: 30vmax; height: 30vmax; left: calc(50% - 15vmax); top: -6vmax; }
.beacon { position: relative; width: 148px; height: 148px; margin: 0 auto 30px; display: grid; place-items: center; }
.beacon img { width: 112px; position: relative; z-index: 1; filter: drop-shadow(0 14px 28px var(--live-glow)); }
.beacon::before, .beacon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--live) 60%, transparent); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .beacon::before { animation: wave 3s cubic-bezier(.2, .6, .3, 1) infinite; }
  .beacon::after { animation: wave 3s cubic-bezier(.2, .6, .3, 1) 1.5s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .beacon::before { opacity: .45; transform: scale(1.15); }
  .beacon::after { opacity: .2; transform: scale(1.45); }
}
@keyframes wave { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.final .h2 { max-width: 16ch; margin-inline: auto; }
.final .sub { margin-inline: auto; }

/* Footer */
.footer { padding: 40px 0 48px; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 20px 22px; border-radius: 22px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { margin-left: auto; color: var(--muted); font-size: 13.5px; }
@media (max-width: 699px) { .footer__copy { margin-left: 0; width: 100%; } }

/* ---------- Prose pages (privacy, 404) ---------- */
.page { padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px); }
.prose { max-width: 760px; margin-inline: auto; border-radius: 30px; padding: clamp(28px, 5vw, 56px); }
.prose h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.035em; margin-top: 14px; }
.prose .updated { margin-top: 12px; font: 500 13px/1.5 var(--mono); color: var(--muted); }
.prose h2 { font-size: 1.3rem; letter-spacing: -.015em; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose ul + p { margin-top: 12px; }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose .lede { margin-top: 18px; font-size: 1.15rem; color: var(--fg); }

.lost { text-align: center; }
.lost .code { font: 600 13px/1 var(--mono); letter-spacing: .2em; color: var(--live-text); }
.lost h1 { margin: 18px auto 0; font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); letter-spacing: -.045em; max-width: 12ch; line-height: .98; text-wrap: balance; }
.lost .sub { margin-inline: auto; }

/* ---------- Scroll reveal (JS adds .reveal-on to <html>) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Forced colors / high contrast */
@media (forced-colors: active) {
  .glass, .glass2 { border: 1px solid CanvasText; }
  .btn--live { border: 2px solid ButtonText; }
}
