/* Vois — vois.audio
   Monochrome graphite, serif display, system text. Light and dark via prefers-color-scheme. */

:root {
  --bg: #fbfbfc;
  --bg-alt: #f3f3f5;
  --surface: #ffffff;
  --surface-2: #f2f2f4;
  --ink: #111113;
  --ink-2: #2c2c2e;
  --muted: #6b6b70;
  --faint: #a1a1a6;
  --line: rgba(17, 17, 19, 0.09);
  --line-strong: rgba(17, 17, 19, 0.16);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -8px rgba(0,0,0,.12), 0 40px 80px -24px rgba(0,0,0,.18);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -10px rgba(0,0,0,.14);
  --hl: #111113;
  --hl-ink: #ffffff;
  --read: #111113;
  --unread: #a5a5aa;

  /* mark */
  --m-top: #48484a; --m-bot: #111113; --m-ftop: #d1d1d6; --m-fbot: #aeaeb2;

  /* always-dark bands */
  --band-bg: #0e0e10;
  --band-ink: #f5f5f7;
  --band-muted: #9a9aa0;
  --band-line: rgba(255,255,255,.1);

  --serif: "Instrument Serif", "New York", "Iowan Old Style", Georgia, serif;
  --read-serif: "Newsreader", "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 28px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --bg-alt: #111113;
    --surface: #161618;
    --surface-2: #1d1d20;
    --ink: #f5f5f7;
    --ink-2: #d1d1d6;
    --muted: #98989f;
    --faint: #636366;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.16);
    --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 60px -10px rgba(0,0,0,.7);
    --shadow-sm: 0 10px 30px -12px rgba(0,0,0,.6);
    --hl: #f5f5f7;
    --hl-ink: #0a0a0b;
    --read: #f5f5f7;
    --unread: #5c5c62;
    --m-top: #f5f5f7; --m-bot: #c7c7cc; --m-ftop: #636366; --m-fbot: #48484a;
    --band-bg: #141416;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--sans); letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible { outline-color: var(--band-ink); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- the mark ---------- */
.stop-solid-top { stop-color: var(--m-top); }
.stop-solid-bottom { stop-color: var(--m-bot); }
.stop-faded-top { stop-color: var(--m-ftop); }
.stop-faded-bottom { stop-color: var(--m-fbot); }
.mark rect { fill: url(#mark-solid); }
.mark rect.f { fill: url(#mark-faded); }
.band .mark rect { fill: url(#mark-solid-d); }
.band .mark rect.f { fill: url(#mark-faded-d); }

/* bars speak: a travelling wave, like the app's splash */
.mark-live rect { transform-box: fill-box; transform-origin: center; animation: speak 1.15s ease-in-out infinite; }
.mark-live rect:nth-child(2) { animation-delay: -.14s; }
.mark-live rect:nth-child(3) { animation-delay: -.28s; }
.mark-live rect:nth-child(4) { animation-delay: -.42s; }
.mark-live rect:nth-child(5) { animation-delay: -.56s; }
.mark-live rect:nth-child(6) { animation-delay: -.70s; }
.mark-live rect:nth-child(7) { animation-delay: -.84s; }
@keyframes speak { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }

/* ---------- type ---------- */
.eyebrow {
  font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; }
h1 { font-size: clamp(66px, 9.4vw, 132px); line-height: .9; margin-bottom: 28px; }
h2 { font-size: clamp(44px, 6.6vw, 88px); line-height: .95; margin-bottom: 22px; }
h1 em, h2 em { color: var(--muted); }
h3 { font: 600 18px/1.3 var(--sans); letter-spacing: -0.01em; margin-bottom: 6px; }
.lede { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--muted); max-width: 30em; }
.sec-lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.center { text-align: center; }
.center .sec-lede { margin-left: auto; margin-right: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 32px; height: 32px; }
.brand span { font: 400 28px/1 var(--serif); letter-spacing: -0.01em; transform: translateY(1px); }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--bg); background: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav .nav-cta:hover { color: var(--bg); opacity: .85; }
@media (max-width: 760px) { .nav nav a:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 38%, color-mix(in srgb, var(--ink) 7%, transparent), transparent 70%),
    radial-gradient(30% 40% at 12% 10%, color-mix(in srgb, var(--ink) 4%, transparent), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy h1 em { display: inline-block; }
.h1-name { display: block; color: var(--ink); font-style: normal; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 36px 0 32px; }
.badge { display: inline-block; padding: 0; border-radius: 12px; line-height: 0; transition: transform .2s ease, opacity .2s; }
.badge img { height: 56px; width: auto; }
.badge:hover { transform: translateY(-1px); }
.cta-meta .sep { display: none; }
.cta-meta { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .55; }
.hero-device { display: flex; flex-direction: column; align-items: center; }
.demo-hint { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .cta-row, .hero-facts { justify-content: center; }
  .cta-row { flex-direction: column; gap: 14px; }
  .cta-meta br { display: none; }
  .cta-meta .sep { display: inline; }
}

/* ---------- phone (CSS device frame) ---------- */
.phone {
  --w: 320px;
  width: var(--w); aspect-ratio: 71.5 / 147; font-size: calc(var(--w) / 26);
  position: relative; padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .17);
  background: linear-gradient(145deg, #3a3a3e, #1b1b1d 40%, #2a2a2d);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6),
    inset 0 0 0 1.5px rgba(255,255,255,.14),
    inset 0 0 0 4px #0b0b0c,
    var(--shadow);
}
.phone::before { /* side buttons */
  content: ""; position: absolute; left: -2px; top: 22%; width: 3px; height: 9%;
  border-radius: 2px 0 0 2px; background: #2a2a2d; box-shadow: 0 calc(var(--w) * .2) 0 #2a2a2d;
}
.phone::after { content: ""; position: absolute; right: -2px; top: 28%; width: 3px; height: 14%; border-radius: 0 2px 2px 0; background: #2a2a2d; }
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * .138); background: var(--surface); color: var(--ink);
  isolation: isolate;
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-hero { --w: clamp(280px, 27vw, 360px); }
.phone-studio { --w: clamp(280px, 27vw, 360px); } /* same device as the hero */
.island { position: absolute; top: .9em; left: 50%; transform: translateX(-50%); width: 30%; height: 2.6em; border-radius: 2em; background: #000; z-index: 5; }
.status { position: absolute; top: 0; left: 0; right: 0; height: 4.2em; display: flex; align-items: center; justify-content: space-between; padding: .3em 2.2em 0 2.6em; font: 600 1.15em/1 var(--sans); z-index: 4; }
.status-icons { display: flex; gap: .45em; align-items: center; }
.sig { width: 1.25em; height: .8em; background: linear-gradient(to right, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 75%, 18% 75%, 18% 100%, 0 100%, 0 75%, 27% 50%, 45% 50%, 45% 100%, 27% 100%, 27% 50%, 54% 25%, 72% 25%, 72% 100%, 54% 100%, 54% 25%, 81% 0, 100% 0, 100% 100%, 81% 100%); }
.bat { width: 1.7em; height: .82em; border-radius: .25em; border: 1px solid currentColor; opacity: .9; position: relative; }
.bat::after { content: ""; position: absolute; inset: 1.5px; right: 22%; background: currentColor; border-radius: 1.5px; }

/* reader screen */
.reader { display: flex; flex-direction: column; }
.reader::after { content: ""; position: absolute; left: 50%; bottom: .65em; width: 36%; height: .36em; transform: translateX(-50%); border-radius: 1em; background: var(--ink); opacity: .85; } /* home indicator */
.r-nav { padding: 4.6em 1.6em .6em; font-size: 1.05em; color: var(--muted); display: flex; align-items: center; gap: .3em; }
.r-nav .chev { font-size: 1.7em; line-height: .6; margin-top: -.1em; }
.r-nav-r { margin-left: auto; font-family: var(--read-serif); font-size: 1.1em; }
.r-scroll { flex: 1; overflow: hidden; padding: .6em 1.8em 0; position: relative; mask-image: linear-gradient(to bottom, #000 82%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.r-source { font: 600 .82em/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7em; }
.r-title { font: 500 2.05em/1.08 var(--read-serif); letter-spacing: -0.015em; margin: 0 0 .45em; }
.r-meta { font-size: .92em; color: var(--muted); margin: 0 0 1.4em; }
.r-body { font: 400 1.32em/1.55 var(--read-serif); transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.r-body p { margin: 0 0 .8em; }
.w { color: var(--unread); border-radius: .3em; padding: .02em .12em; margin: 0 -.12em; transition: color .25s, background-color .2s; cursor: pointer; }
.w.done { color: var(--read); }
.w.now { background: var(--hl); color: var(--hl-ink); }
html:not(.js) .w, html:not(.js) .r-body { color: var(--read); }
/* Mirrors the app's PlayerBar: scrubber, elapsed / status / remaining, then
   restart, back 10, play/pause, forward 10, speed. Units: 1pt in the app ~ .062em here. */
.player {
  margin: 0 .74em 2.3em; padding: .95em 1.23em .8em; border-radius: 1.85em;
  background: color-mix(in srgb, var(--surface-2) 72%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--line);
  box-shadow: 0 .4em 1.3em rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.35);
}
@media (prefers-color-scheme: dark) { .player { box-shadow: 0 .4em 1.3em rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); } }
.p-scrub { position: relative; height: .31em; border-radius: 1em; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; margin: .5em 0 0; }
.p-ready { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.p-played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); border-radius: inherit; transition: width .3s linear; }
.p-times { display: flex; justify-content: space-between; align-items: center; gap: .5em; font: 400 .74em/1 var(--sans); color: var(--muted); margin: .85em 0 .25em; font-variant-numeric: tabular-nums; }
.p-times > span:first-child, .p-times > span:last-child { min-width: 3.6em; }
.p-times > span:last-child { text-align: right; }
.p-status { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; }
.p-status svg { width: 1em; height: 1em; }
.p-status circle { fill: currentColor; }
.p-status path { fill: none; stroke: var(--surface); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.p-controls { display: flex; align-items: center; justify-content: space-between; padding: 0 .25em; margin-top: .55em; }
.p-btn, .p-speed, .p-play { border: 0; padding: 0; margin: 0; background: none; color: var(--ink); cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.p-btn:active, .p-speed:active, .p-play:active { transform: scale(.9); }
.p-btn { width: 2.96em; height: 2.96em; display: grid; place-items: center; }
.p-btn svg { fill: currentColor; }
.p-restart svg { width: 1.1em; height: 1.1em; }
.p-ten svg { width: 1.6em; height: 1.6em; overflow: visible; }
.p-ten .arc { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.p-ten .head { fill: currentColor; stroke: currentColor; stroke-width: .8; stroke-linejoin: round; }
.p-ten text { font: 700 7.6px/1 var(--sans); text-anchor: middle; fill: currentColor; letter-spacing: -.02em; }
.p-play { width: 4.07em; height: 4.07em; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; box-shadow: 0 .25em .65em rgba(0,0,0,.18); }
.p-play svg { width: 1.6em; height: 1.6em; fill: currentColor; }
.i-play { display: none; margin-left: .12em; }
.paused .i-pause { display: none; }
.paused .i-play { display: block; }
.p-speed { width: 3.2em; height: 1.97em; border-radius: 1em; background: color-mix(in srgb, var(--ink) 7%, transparent); font: 600 .92em/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.p-speed.fast { background: var(--ink); color: var(--surface); }

/* ---------- sections ---------- */
.section { padding: clamp(88px, 11vw, 160px) 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }

/* dark band */
.band {
  background: var(--band-bg); color: var(--band-ink);
  padding: clamp(88px, 11vw, 160px) 0; position: relative; overflow: hidden;
  --ink: #f5f5f7; --muted: #9a9aa0; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.18);
  --surface: #1a1a1d; --surface-2: #222226; --ink-2: #d1d1d6; --faint: #636366; --bg: #0e0e10; --hl: #f5f5f7; --hl-ink: #0a0a0b; --read: #f5f5f7; --unread: #5c5c62;
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 75% 50%, rgba(255,255,255,.07), transparent 70%);
}
.band h2 em { color: #8e8e93; }
.band p { color: var(--band-muted); }
.band .eyebrow { color: #8e8e93; }
.band-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.band-copy > p { font-size: clamp(18px, 1.6vw, 20px); max-width: 30em; }
.trio { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trio li { border-top: 1px solid var(--band-line); padding-top: 20px; }
.trio h3 { color: var(--band-ink); }
.trio p { font-size: 15px; margin: 0; }
.ico svg, .pill svg, .perk-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid var(--band-line); margin-bottom: 16px; color: var(--band-ink); }
.ico .fill { fill: currentColor; stroke: none; }
.trio li:nth-child(2) .ico svg { fill: currentColor; stroke: none; }

.band-visual { display: grid; place-items: center; }
.orb { position: relative; width: min(100%, 480px); aspect-ratio: 1; display: grid; place-items: center; }
.orb-rings { position: absolute; inset: 0; }
.orb-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.orb-rings i:nth-child(2) { inset: 14%; border-color: rgba(255,255,255,.12); background: radial-gradient(circle, rgba(255,255,255,.04), transparent 70%); }
.orb-rings i:nth-child(3) { inset: 28%; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.03); box-shadow: 0 0 120px rgba(255,255,255,.08); }
.orb .mark { width: 30%; height: 30%; position: relative; filter: drop-shadow(0 10px 40px rgba(255,255,255,.12)); }
.pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px 10px 12px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--band-ink);
  background: rgba(40,40,44,.75); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.pill svg { width: 18px; height: 18px; }
.pill-lock { bottom: 16%; left: 50%; transform: translateX(-50%); }
.pill-a { top: 12%; left: 0; }
.pill-a svg { fill: currentColor; stroke: none; }
.pill-b { top: 26%; right: -2%; }
@media (max-width: 900px) {
  .band-grid { grid-template-columns: 1fr; }
  .band-visual { order: -1; }
  .orb { width: min(100%, 360px); }
}
@media (max-width: 600px) {
  .trio { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .trio li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px 0; }
  .trio .ico { grid-row: span 2; margin: 0; }
  .pill { font-size: 12.5px; padding: 8px 12px 8px 10px; }
  .pill-a { left: -2%; top: 8%; }
  .pill-b { right: -2%; top: 24%; }
}

/* ---------- save: share sheet + safari tiles ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.tile { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.tile-stage {
  position: relative; height: clamp(300px, 30vw, 380px); display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 100%, color-mix(in srgb, var(--ink) 6%, transparent), transparent 70%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.tile figcaption { padding: 26px 30px 30px; }
.tile figcaption p { color: var(--muted); margin: 0; font-size: 16px; }
.tile figcaption b { color: var(--ink); font-weight: 600; }

.sheet, .safari .menu {
  width: min(86%, 340px); background: var(--surface); border-radius: 22px; border: 1px solid var(--line);
  box-shadow: var(--shadow); font: 400 15px/1.2 var(--sans); overflow: hidden;
}
.sheet { transform: translateY(14%); }
.sheet-head { display: flex; gap: 12px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.sheet-head b { display: block; font-weight: 600; font-size: 14px; }
.sheet-head small { color: var(--muted); font-size: 12.5px; }
.sheet-thumb { width: 38px; height: 38px; border-radius: 9px; flex: none; background: linear-gradient(135deg, var(--ink-2), var(--faint)); opacity: .8; }
.sheet-group { padding: 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); }
.row.hot { background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); transform: scale(1.04); position: relative; z-index: 1; }
.row.hot .mark { width: 20px; height: 20px; flex: none; --m-top: var(--bg); --m-bot: var(--bg); }
.row.hot .mark rect { fill: var(--bg); }
.row.hot .mark rect.f { fill: var(--bg); opacity: .45; }
.row small { margin-left: auto; font-weight: 400; opacity: .65; font-size: 13px; }
.ri { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.6px solid var(--muted); opacity: .8; }
.ri-star { border-radius: 50%; }
.ri-find { border-radius: 50%; width: 17px; height: 17px; }
.ri-print { border-radius: 4px; height: 15px; }
.ri-text { border: 0; position: relative; } .ri-text::before { content: "A"; font: 600 15px/20px var(--sans); color: var(--muted); }
.ri-reader { border-radius: 4px; }
.safari { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding-bottom: 26px; }
.safari .menu { width: min(76%, 300px); padding: 6px; }
.urlbar { width: min(86%, 340px); display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 400 15px/1 var(--sans); }
.urlbar span { flex: 1; text-align: center; }
.urlbar .ri-page { border-radius: 4px; width: 18px; height: 16px; outline: 4px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.urlbar .ri-reload { border-radius: 50%; width: 16px; height: 16px; border-right-color: transparent; }
.chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 15px; color: var(--ink-2); }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* ---------- offline: library ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-copy > p { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 30em; }
.aside { display: flex; gap: 14px; align-items: center; font-size: 16px !important; color: var(--ink-2) !important; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-top: 28px; }
.moon { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset -6px -2px 0 0 var(--ink); transform: rotate(-20deg); }
.library { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 8px; max-width: 560px; margin-left: auto; }
.lib-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 12px; }
.lib-head span:first-child { font: 700 28px/1 var(--sans); letter-spacing: -0.02em; }
.lib-plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 22px; color: var(--ink-2); }
.lib-row { display: grid; grid-template-columns: 52px 1fr 34px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; }
.lib-row + .lib-row { border-top: 1px solid var(--line); }
.art { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font: 600 22px/1 var(--sans); color: #fff; }
.a1 { background: linear-gradient(140deg, #5a5a60, #1c1c1f); }
.a2 { background: linear-gradient(140deg, #8e8e93, #3a3a3d); }
.a3 { background: linear-gradient(140deg, #c7c7cc, #7c7c82); }
.a4 { background: linear-gradient(140deg, #2c2c2e, #000); }
.lib-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lib-text small { font-size: 12.5px; color: var(--muted); }
.lib-text b { font-weight: 600; font-size: 16px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-text em { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lib-text em.gen { color: var(--ink-2); }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring { width: 28px; height: 28px; border-radius: 50%; position: relative; justify-self: end;
  background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--line-strong) 0);
  -webkit-mask: radial-gradient(circle, transparent 9px, #000 9.5px); mask: radial-gradient(circle, transparent 9px, #000 9.5px);
}
.ring.done { --p: 100; -webkit-mask: none; mask: none; background: var(--ink); }
.ring.done::after { content: ""; position: absolute; left: 9px; top: 7px; width: 6px; height: 11px; border: solid var(--bg); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ring.wait { opacity: .6; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .library { margin: 0 auto; } }
@media (max-width: 480px) { .lib-row { grid-template-columns: 44px 1fr 28px; gap: 12px; padding: 12px 10px; } .art { width: 44px; height: 44px; font-size: 22px; } .lib-text b { font-size: 15px; } }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 30px; box-shadow: var(--shadow-sm); }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card-art { height: 120px; margin: -8px -8px 22px; border-radius: 18px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; font: 500 24px/1 var(--sans); letter-spacing: -0.01em; color: var(--unread); }
.card-art mark { background: var(--hl); color: var(--hl-ink); border-radius: 8px; padding: 2px 8px; }
.art-hl span:first-child { color: var(--read); }
.art-tap { position: relative; }
.art-tap .tapped { color: var(--read); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.finger { position: absolute; left: calc(50% + 34px); top: 62%; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--ink) 7%, transparent); }
.art-docs i, .art-voices i { font: 500 14px/1 var(--sans); font-style: normal; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.art-docs i:nth-child(odd) { transform: translateY(-10px) rotate(-3deg); } .art-docs i:nth-child(even) { transform: translateY(8px) rotate(3deg); }
.art-voices { flex-wrap: wrap; padding: 0 16px; align-content: center; }
.art-voices i { border-radius: 999px; }
.art-voices i:first-child { background: var(--ink); color: var(--bg); border-color: transparent; }
.art-copy { gap: 14px; }
.copybox { font: 500 14px/1 var(--sans); background: #1c1c1e; color: #fff; padding: 10px 14px; border-radius: 10px; }
.arrow { font: 400 24px/1 var(--sans); color: var(--muted); }
.art-copy .mark { width: 48px; height: 48px; }
.art-free { flex-direction: column; gap: 4px; }
.art-free b { font: 400 54px/1 var(--serif); color: var(--ink); font-style: italic; }
.art-free span { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* ---------- languages ---------- */
.langs { overflow: hidden; padding-bottom: clamp(96px, 12vw, 170px); }
.big-num { font-style: normal; }
.marquee { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 80s; }
.marquee-track li { font: 400 clamp(26px, 3.4vw, 40px)/1 var(--serif); padding: 16px 26px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); white-space: nowrap; }
.marquee-track li:nth-child(3n+2) { background: var(--ink); color: var(--bg); border-color: transparent; }
@media (max-width: 600px) { .marquee-track li { font-size: 24px; padding: 12px 20px; } .marquee, .marquee-track { gap: 10px; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- studio + pro ---------- */
.band-studio::before { background: radial-gradient(45% 50% at 30% 30%, rgba(255,255,255,.07), transparent 70%); }
.studio-grid { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "copy device" "pro device"; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.studio-copy { grid-area: copy; }
.studio-copy > p { font-size: clamp(18px, 1.6vw, 20px); max-width: 30em; }
.studio-device { grid-area: device; align-self: center; }
.pro { grid-area: pro; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
/* The app's ProBadge: bold, letter-spaced "PRO" on a capsule. Black on light, inverted in dark sections. */
.pro-badge { display: inline-block; font: 700 13px/1 var(--sans); letter-spacing: .12em; color: #fff; background: #000; border-radius: .32em; padding: .32em calc(.5em - .12em) .32em .5em; box-shadow: 0 0 0 .5px rgba(255,255,255,.18); vertical-align: middle; }
.band .pro-badge { color: #000; background: #fff; box-shadow: none; }
.pro-title { font: 400 clamp(36px, 4.4vw, 60px)/1.02 var(--serif); letter-spacing: -0.02em; color: var(--band-ink) !important; margin: 0 0 14px; }
.pro-title em { color: #8e8e93; white-space: nowrap; }
.pro-title .pro-badge { font-size: 14px; transform: translateY(-.45em); margin-right: .2em; }
.pro-lede { font-size: 18px; margin: 0 0 26px; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; border-top: 1px solid var(--band-line); padding-top: 26px; }
.perks li { display: flex; gap: 14px; }
.perks h3 { color: var(--band-ink); font-size: 16px; }
.perks p { font-size: 14.5px; margin: 0; line-height: 1.45; }
.perk-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--band-ink); font: 400 22px/1 var(--sans); }
.perk-ico svg { width: 20px; height: 20px; }
.pro-note { font-size: 13px; margin: 26px 0 0; color: #77777d !important; }
@media (max-width: 960px) {
  .studio-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "device" "pro"; }
  .studio-device { justify-self: center; }
}
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* studio screen */
.studio { padding: 4.6em 1.4em 1.4em; display: flex; flex-direction: column; gap: 1.1em; }
.s-title { font: 700 2.1em/1 var(--sans); letter-spacing: -0.02em; }
.s-field { position: relative; background: var(--surface-2); border-radius: 1.4em; padding: 1.2em 1.3em 2.6em; font: 400 1.22em/1.45 var(--sans); min-height: 12em; }
.s-field p { margin: 0; color: var(--ink); }
.s-field p::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: -.2em; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.s-count { position: absolute; left: 1.3em; bottom: 1em; font: 500 .66em/1 var(--sans); color: var(--muted); display: inline-flex; gap: .4em; align-items: center; }
.s-count::before { content: ""; width: .7em; height: .55em; border: 1.5px solid currentColor; border-radius: 2px; }
.s-voices { display: flex; flex-wrap: wrap; gap: .5em; }
.s-voices span { font: 500 .95em/1 var(--sans); padding: .65em 1em; border-radius: 2em; border: 1px solid var(--line-strong); color: var(--ink-2); }
.s-voices .on { background: var(--ink); color: var(--surface); border-color: transparent; }
.s-wave { display: flex; align-items: center; gap: .9em; background: var(--surface-2); border-radius: 2em; padding: .7em 1.1em .7em .7em; }
.s-playbtn { width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--ink); flex: none; position: relative; }
.s-playbtn::after { content: ""; position: absolute; left: 1.05em; top: .85em; border-left: .9em solid var(--surface); border-top: .55em solid transparent; border-bottom: .55em solid transparent; }
.s-bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 2.4em; }
.s-bars i { flex: 1; background: var(--ink); border-radius: 2px; height: 30%; opacity: .9; animation: eq 1.2s ease-in-out infinite; }
.s-bars i:nth-child(n+13) { opacity: .3; }
.s-bars i:nth-child(3n) { height: 70%; animation-delay: -.3s; } .s-bars i:nth-child(3n+1) { height: 45%; animation-delay: -.6s; } .s-bars i:nth-child(4n) { height: 90%; animation-delay: -.9s; } .s-bars i:nth-child(5n) { height: 55%; animation-delay: -.15s; }
@keyframes eq { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.s-time { font: 500 .85em/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.s-recent { display: flex; flex-direction: column; gap: .2em; }
.s-recent b { font: 600 .78em/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5em; }
.s-recent span { display: flex; justify-content: space-between; gap: 1em; font: 400 .98em/1.2 var(--sans); padding: .6em 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.s-recent span i { font-style: normal; color: var(--muted); white-space: nowrap; }
.s-recent span em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-export { margin-top: auto; text-align: center; font: 600 1.05em/1 var(--sans); padding: 1.05em; border-radius: 1.4em; background: var(--surface-2); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 100px; margin: 0; }
.faq-grid .sec-lede a, .prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 500 clamp(17px, 1.5vw, 19px)/1.35 var(--sans); letter-spacing: -0.012em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .25s ease; }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { font: 400 16px/1.6 var(--sans); color: var(--muted); margin: -8px 0 24px; max-width: 38em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } }

/* ---------- final CTA ---------- */
.final { padding: clamp(88px, 11vw, 160px) 0; text-align: center; border-top: 1px solid var(--line); background:
  radial-gradient(50% 70% at 50% 0%, color-mix(in srgb, var(--ink) 5%, transparent), transparent 70%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { width: 88px; height: 88px; margin-bottom: 28px; }
.final h2 { font-size: clamp(56px, 8vw, 112px); }
.final .badge { margin-top: 12px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.foot .brand .mark { width: 22px; height: 22px; }
.foot .brand span { font-size: 22px; color: var(--ink); }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.foot .copy { margin: 0 0 0 auto; }
@media (max-width: 600px) { .foot .copy { margin: 0; width: 100%; } }

/* ---------- scroll reveal ---------- */
/* Hidden only once site.js has started observing (html.reveal-on). If site.js never runs or the
   observer never fires, nothing stays hidden: site.js also reveals everything after 1.5s without callbacks. */
.reveal-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .mark-live rect, .marquee-track, .s-bars i, .s-field p::after { animation: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .r-body { transition: none; }
}

/* ======================================================
   Document pages: privacy, support
   ====================================================== */
.doc-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: radial-gradient(60% 100% at 100% 0%, color-mix(in srgb, var(--ink) 4%, transparent), transparent 75%); }
.doc-hero h1 { font-size: clamp(56px, 8vw, 104px); margin-bottom: 20px; }
.doc-hero .lede { margin-bottom: 14px; }
.doc-hero .note { font-size: 14px; color: var(--muted); margin: 0; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc p { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 680px; }
.prose section + section { margin-top: 56px; }
.prose h2 { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.05; margin-bottom: 16px; }
.prose p { color: var(--ink-2); line-height: 1.65; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.prose .faq details p { color: var(--muted); }
.prose .faq summary { padding: 20px 48px 20px 0; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.contact-card p { color: var(--bg) !important; opacity: .75; margin: 4px 0 0; }
.contact-card h2 { color: var(--bg); margin: 0; font-size: 30px; }
.contact-card a.btn { background: var(--bg); color: var(--ink); text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
@media (max-width: 820px) { .doc { grid-template-columns: 1fr; } .toc { position: static; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; background: var(--surface); } .toc ol { grid-template-columns: 1fr 1fr; gap: 9px 16px; } }

/* ======================================================
   Apple Intelligence section. Brand stays monochrome; the multicolor gradient is only an
   accent on the words "Apple Intelligence" and the glow around the tidied card.
   ====================================================== */
:root {
  --ai-grad: linear-gradient(90deg, #2f6bff, #7c3aed 36%, #d6336c 68%, #e8590c);
  --ai-c1: #3d8bff; --ai-c2: #8a5cf6; --ai-c3: #e8559f; --ai-c4: #ff9f43;
}
@media (prefers-color-scheme: dark) {
  :root { --ai-grad: linear-gradient(90deg, #6aa8ff, #a78bfa 36%, #f472b6 68%, #fdba74); }
}
.ai-text {
  background: var(--ai-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent;
}
h2 em.ai-text { padding-right: .06em; } /* keep the italic's overhang inside the clip */
.hero-facts li.ai-fact::before { background: var(--ai-grad); opacity: 1; }
.ai-fact .ai-text { font-weight: 600; }

.ai-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ai-demo { position: relative; max-width: 560px; width: 100%; justify-self: center; display: grid; }
.ai-demo > .ai-card { grid-area: 1 / 1; }
.ai-after { align-self: center; }
.ai-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 26px 28px 24px; box-shadow: var(--shadow); font: 400 16px/1.55 var(--sans);
}
.ai-before { visibility: hidden; } /* holds the cluttered height so the page doesn't jump as the card tidies */
.ai-tag { display: inline-grid; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ai-tag > span { grid-area: 1 / 1; }
.ai-src { font: 600 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.ai-title { font: 700 23px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 14px; }
.ai-p { color: var(--ink-2); margin: 0 0 12px; }
.junk { position: relative; overflow: hidden; color: var(--muted); max-height: 7em; margin: 0 0 12px; }
.junk-line { font-size: 13.5px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.junk-box { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg-alt); border: 1px dashed var(--line-strong); font-size: 13.5px; }
.junk-box b { color: var(--ink-2); font-weight: 600; }
.junk-box span { grid-row: 2; }
.junk-box i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-weight: 600; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.junk::after { /* the strike */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; border-radius: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left center; opacity: .8;
}
.ai-foot { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 500 13.5px/1.3 var(--sans); color: var(--ink-2); }
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ai-grad); flex: none; }

/* glow: a thin multicolor ring and a soft halo around the tidied card */
@property --ai-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ai-after::before, .ai-after::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 27.5px; pointer-events: none;
  background: conic-gradient(from var(--ai-a), var(--ai-c1), var(--ai-c2), var(--ai-c3), var(--ai-c4), var(--ai-c1));
}
.ai-after::before { padding: 1.5px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ai-after::after { z-index: -1; inset: 6px; filter: blur(26px); opacity: .35; }

/* the loop: clutter is struck out and removed, the glow comes on, then it all resets */
.ai-after .junk { animation: ai-junk 9s cubic-bezier(.5,0,.2,1) infinite; }
.ai-after .junk::after { animation: ai-strike 9s cubic-bezier(.5,0,.2,1) infinite; }
.ai-after .junk:nth-child(6), .ai-after .junk:nth-child(6)::after { animation-delay: .15s; }
.ai-after .junk:nth-child(8), .ai-after .junk:nth-child(8)::after { animation-delay: .3s; }
.ai-after .junk:nth-child(9), .ai-after .junk:nth-child(9)::after { animation-delay: .45s; }
.ai-after::before, .ai-after::after, .ai-after .ai-foot, .ai-tag-after { animation: ai-on 9s ease infinite, ai-spin 6s linear infinite; }
.ai-tag-before { animation: ai-off 9s ease infinite; }
@keyframes ai-strike { 0%, 16% { transform: scaleX(0); } 26%, 100% { transform: scaleX(1); } }
@keyframes ai-junk {
  0%, 24% { opacity: 1; max-height: 7em; margin-bottom: 12px; padding-top: var(--pt, 8px); padding-bottom: var(--pt, 8px); }
  30% { opacity: .35; }
  38%, 86% { opacity: 0; max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; }
  96%, 100% { opacity: 1; max-height: 7em; margin-bottom: 12px; padding-top: var(--pt, 8px); padding-bottom: var(--pt, 8px); }
}
.junk-box { --pt: 12px; }
@keyframes ai-on { 0%, 34% { opacity: 0; } 42%, 84% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes ai-off { 0%, 34% { opacity: 1; } 40%, 86% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes ai-spin { to { --ai-a: 360deg; } }
.ai-after::after { animation-name: ai-on-soft, ai-spin; }
@keyframes ai-on-soft { 0%, 34% { opacity: 0; } 42%, 84% { opacity: .35; } 92%, 100% { opacity: 0; } }

.ai-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ai-points li { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.ai-points li:last-child { border-bottom: 1px solid var(--line-strong); }
.ai-points h3 { font-size: 19px; }
.ai-points p { color: var(--muted); margin: 0; font-size: 16px; }
.ai-note { margin: 40px auto 0; max-width: 46em; text-align: center; font-size: 13.5px; color: var(--muted); }
.foot .foot-note { width: 100%; margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ai-card { padding: 22px 20px 20px; } .ai-title { font-size: 20px; } }

/* Reduced motion: a static before / after pair instead of the loop. */
@media (prefers-reduced-motion: reduce) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-demo { max-width: none; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .ai-demo > .ai-card { grid-area: auto; }
  .ai-after { align-self: start; }
  .ai-before { visibility: visible; }
  .ai-before .junk::after { transform: scaleX(1); opacity: .5; }
  .ai-after .junk { display: none; }
  .ai-after::before, .ai-after::after, .ai-after .junk, .ai-after .junk::after, .ai-after .ai-foot, .ai-tag-after, .ai-tag-before { animation: none; }
  .ai-after::after { opacity: .35; }
  .ai-tag-before { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 700px) { .ai-demo { grid-template-columns: 1fr; } }

/* Small PRO marker next to a Pro-only item in lists. */
.pro-badge-sm { font-size: .62em; padding: .1em .45em; margin-left: .35em; vertical-align: .15em; }
