/* Star Road — the app's own theme (crates/cocobox-desktop/ui/theme.css), quieted for reading:
   the night sky and the yellow accent stay, the stars are faint, and lines are neutral hairlines. */
:root {
  --ground: #080312;
  --panel: #0e0920;
  --raised: #161030;
  --text: #f2ecff;
  --muted: #aa9fcc;
  --dim: #8a7fb0;
  --accent: #ffe14d;
  --accent-dim: #b39a20;
  --accent-far: #ff5fd2;
  --ok: #4fe3a0;
  --line: color-mix(in srgb, var(--text) 11%, transparent);
  --line-soft: color-mix(in srgb, var(--text) 6%, transparent);
  --card: color-mix(in srgb, var(--text) 2.5%, transparent);
  --sky:
    radial-gradient(1.4px 1.4px at 18% 24%, #fff6c4 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 72% 62%, #ffe14d 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 82%, #ff5fd2 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 14%, #b9e6ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 8% 68%, #fff6c4 50%, transparent 51%);
  --sky-size: 219px 219px, 271px 271px, 163px 163px, 317px 317px, 197px 197px;
  --shadow: 0 1px 0 0 color-mix(in srgb, var(--text) 8%, transparent) inset, 0 24px 64px -24px rgba(0, 0, 0, .85), 0 0 0 1px var(--line);
  --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Inter Tight', var(--ui);
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* Spacing: 4 8 12 16 24 32 48 64 96, and one rhythm between sections. */
  --section: clamp(88px, 11vw, 144px);
  --radius: 12px;
  color-scheme: dark;
}

@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
/* Headings only, one weight, latin: 22 KB. OFL, see inter-tight-OFL.txt. */
@font-face { font-family: 'Inter Tight'; font-weight: 600; font-display: swap; src: url('/fonts/inter-tight-latin-600-normal.woff2') format('woff2'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ground);
  font: 16.5px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
}
/* The app's stars, faint, behind everything. */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--sky); background-size: var(--sky-size); opacity: .35; pointer-events: none; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
code, kbd { font-family: var(--mono); font-size: .88em; }
code { color: var(--text); }
kbd { border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; background: var(--raised); font-size: .8em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0 0 16px; }
h1 { margin-bottom: 20px; }
h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.04; letter-spacing: -.022em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.018em; }
h3 { font-size: 16.5px; line-height: 1.35; margin: 0 0 6px; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 16px; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; color: var(--muted); max-width: 620px; }
.sub { color: var(--muted); margin: 0; max-width: 60ch; }
.sub a, .note a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; }
.sub a:hover, .note a:hover { color: var(--accent); }
.note { color: var(--dim); font-size: 14px; }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--accent); margin: 0 0 16px; letter-spacing: .02em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---- top bar ---- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(20px, 4vw, 40px);
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; }
.brand svg { width: 24px; height: 24px; color: var(--accent); transform-origin: 50% 60%; }
/* The app toolbar's coconut: rocks once when the hand arrives, and settles. */
.brand:hover svg { animation: rock 560ms cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes rock {
  35% { transform: rotate(-14deg) scale(1.08); }
  70% { transform: rotate(9deg) scale(1.04); }
}
.top nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 28px); font-size: 14.5px; }
.top nav a { text-decoration: none; color: var(--muted); white-space: nowrap; transition: color .15s; }
.top nav a:hover { color: var(--text); }
.top nav a.btn, .top nav a.btn:hover { color: var(--ground); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  /* On a light theme the accent is pale; its dim step with white reads, the bright one with the ground does not. */
  background: light-dark(var(--accent-dim), var(--accent)); color: light-dark(#fff, var(--ground)); text-decoration: none;
  padding: 0 18px; height: 44px; border-radius: 9px; font-weight: 600; font-size: 15px; border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 20px -8px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.small { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn.ghost { background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line) inset; }
.btn.ghost:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 28%, transparent) inset; filter: none; }
.btn svg { width: 17px; height: 17px; margin-top: -2px; }

/* ---- language switcher ---- */
.lang { position: relative; font-size: 14px; }
.lang summary { list-style: none; cursor: pointer; color: var(--muted); font: 500 13px/1 var(--mono); padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--muted); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; min-width: 140px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.lang li a { display: block; padding: 6px 10px; border-radius: 5px; color: var(--muted); text-decoration: none; }
.lang li a:hover { background: var(--raised); color: var(--text); }
.lang li a[aria-current] { color: var(--accent); }

/* ---- grouped features: a compact grid of one-liners ---- */
.groups, .why { padding-top: clamp(56px, 8vw, 110px); }
.groups .sub, .why .sub { color: var(--muted); margin: 0; }
.groups .sub a, .why .sub a { color: var(--accent); }
.group-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.group-grid > * { background: var(--panel); padding: 20px 20px 22px; }
.group-grid h2, .group-grid h3 { font-size: 15px; font-family: var(--mono); font-weight: 500; color: var(--accent); margin: 0 0 10px; }
.group-grid ul { list-style: none; margin: 0; padding: 0; }
.group-grid li { color: var(--muted); font-size: 14.5px; line-height: 1.45; padding: 6px 0; border-top: 1px solid var(--line-soft); }
.group-grid li:first-child { border-top: 0; padding-top: 0; }
.group-grid .all { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--accent); text-decoration: none; font-weight: 600; }
.group-grid .all:hover { background: var(--raised); }
.group-grid.full { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .group-grid, .group-grid.full { grid-template-columns: 1fr; } }

/* Privacy and terms. */
.legal { max-width: 760px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px) 80px; }
.legal-eyebrow { font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.legal h1 { font-size: clamp(32px, 4.6vw, 48px); }
.legal-meta { color: var(--dim); }
.legal h2 { font-size: 20px; margin-top: 40px; font-family: var(--ui); font-weight: 650; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); }
.legal a.btn { color: light-dark(#fff, var(--ground)); text-decoration: none; }

/* Compare pages. */
.legal table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.legal thead th { font: 500 13px/1 var(--mono); color: var(--accent); }
.legal tbody th { color: var(--text); font-weight: 600; width: 22%; }
.legal td { color: var(--muted); }
.legal td:first-of-type { color: var(--text); }
.legal .cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.legal .note { color: var(--dim); font-size: 14px; }
.legal ul li { margin: 10px 0; }
@media (max-width: 640px) { .legal thead { display: none; } .legal tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); } .legal th, .legal td { display: block; border: 0; padding: 4px 0; } .legal tbody th { width: auto; } .legal td::before { content: 'Cocobox: '; color: var(--accent); font: 500 12px/1 var(--mono); } .legal td + td::before { content: 'Them: '; } .legal td + td:lang(es)::before { content: 'Ellos: '; } .legal td + td:lang(pt)::before { content: 'Eles: '; } }

/* Pricing page. */
.prices { max-width: 980px; }
.billing { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; margin: 8px 0 24px; }
.billing button { border: 0; background: transparent; color: var(--muted); font: 500 14px var(--ui); padding: 8px 14px; border-radius: 6px; cursor: pointer; }
.billing button[aria-pressed='true'] { background: var(--raised); color: var(--text); }
.billing button span { color: var(--accent); font-size: 12px; margin-left: 4px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; }
.tier { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; }
.tier.pro { border-color: var(--accent); }
.tier h2 { margin: 0 0 8px; font-size: 22px; }
.tier .price { margin: 0; }
.tier .sub { color: var(--dim); font-size: 14px; margin: 6px 0 18px; }
.tier .btn { align-self: flex-start; margin-bottom: 20px; }
.tier .ticks { margin: 0; }
.tier em { color: var(--dim); font-style: normal; }
.legal a.btn.ghost { color: var(--text); }
.tier .price { margin: 0; }
.tier .sub { color: var(--dim); font-size: 14px; margin: 6px 0 18px; }
.tier .btn { align-self: flex-start; margin-bottom: 20px; }
.tier .ticks { margin: 0; }
.tier em { color: var(--dim); font-style: normal; }
.prices details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.prices summary { cursor: pointer; font-weight: 600; }
.prices details p { color: var(--muted); margin: 10px 0 0; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* The line under the hero's download: free, and what Pro adds. */
.freeline { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.freeline a { color: var(--accent); }
.plan h3 { margin: 0 0 14px; }
.plan em { color: var(--dim); font-style: normal; }
.plan .note a { color: var(--accent); }
.legal a.btn.ghost { color: var(--text); }
.tier .price { color: var(--text); }
.tier.pro .price { color: var(--accent); }
.tier .price small { color: var(--muted); }
.tier .manage { font-size: 13px; color: var(--muted); margin: -8px 0 20px; }
.checkout { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; color: var(--text); }
.checkout[data-kind='success'] { border-color: var(--ok); }
.features-page { padding-top: 56px; }
.features-page h1 { font-size: clamp(32px, 4.6vw, 48px); margin: 0 0 12px; }
.features-page .cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.features-page .note { color: var(--dim); font-size: 14px; }
.features-page .note a { color: var(--accent); }
.group-grid.full > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.group-grid.full > :last-child:nth-child(odd) ul { columns: 2; column-gap: 40px; }
.group-grid.full > :last-child:nth-child(odd) li { break-inside: avoid; }
@media (max-width: 560px) { .group-grid.full > :last-child:nth-child(odd) ul { columns: 1; } }

/* ---- docs: a guide list, and guides as numbered steps with a picture each ---- */
.docs-home, .docs { padding-top: 56px; }
.docs-home h1, .guide h1 { font-size: clamp(32px, 4.6vw, 48px); margin: 0 0 12px; }
.docs-home .lede, .guide .lede { color: var(--muted); max-width: 680px; }
.docs-home .lede a, .guide a, .docs-home .note a { color: var(--accent); }
.docs-home .note { color: var(--dim); margin-top: 32px; }
.legal-eyebrow a { color: inherit; text-decoration: none; }
.guides { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.guides a { display: block; height: 100%; padding: 20px 20px 22px; background: var(--panel); text-decoration: none; }
.guides a:hover { background: var(--raised); }
.guides h2 { font-size: 17px; margin: 0 0 6px; color: var(--text); }
.guides p { margin: 0; color: var(--muted); font-size: 14.5px; }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.docnav { position: sticky; top: 84px; font-size: 14.5px; }
.docnav-home { display: block; font: 500 13px/1 var(--mono); color: var(--accent); text-decoration: none; margin-bottom: 14px; }
.docnav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.docnav li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.docnav li a:hover { color: var(--text); }
.docnav li a[aria-current] { color: var(--text); border-left-color: var(--accent); }
.guide { max-width: 820px; }
.howto { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; }
.howto > li { counter-increment: step; position: relative; padding: 0 0 40px 44px; }
.howto > li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 14px/1 var(--mono); color: var(--ground); background: var(--accent); }
.howto h2 { font-size: 20px; margin: 0 0 8px; font-weight: 650; }
.howto p { color: var(--muted); margin: 0 0 12px; }
.howto b { color: var(--text); font-weight: 600; }
.howto figure { margin: 16px 0 0; }
.howto figure img, .howto figure video { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); background: var(--panel); }
.howto figcaption { margin-top: 10px; color: var(--dim); font-size: 14px; }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.pager a { text-decoration: none; }
@media (max-width: 900px) {
  .guides { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docnav { display: none; }
}
@media (max-width: 560px) {
  .guides { grid-template-columns: 1fr; }
  .howto > li { padding-left: 0; padding-top: 40px; }
  .pager { flex-direction: column; }
}

.howto figure.narrow img { width: auto; max-width: min(100%, 420px); }

/* ---- home ---- */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 15.5px; }
.ticks li { position: relative; padding-left: 24px; margin: 10px 0; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* A real screenshot, framed: one hairline, one soft shadow, nothing else. */
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.frame img { width: 100%; }

.hero { padding-top: clamp(64px, 10vw, 128px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 15ch; margin-top: 24px; }
.hero .kicker { margin: 28px 0 0; font: 600 clamp(15px, 1.5vw, 18px)/1.3 var(--mono); letter-spacing: .02em; color: var(--accent); }
.hero .kicker + h1 { margin-top: 8px; }
.hero .lede { margin: 4px auto 0; }
.cta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .cta { margin-top: 32px; }
.hero .note { margin: 16px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 99px; font-size: 13.5px; color: var(--muted); text-decoration: none; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: color .15s; }
.pill span { white-space: nowrap; padding: 2px 8px; border-radius: 99px; font: 500 12px/1.5 var(--mono); color: var(--ground); background: var(--accent); }
.pill:hover { color: var(--text); }

/* The hero shot sits on one faint pool of light: the only glow on the page. */
.shot { position: relative; margin-top: clamp(48px, 7vw, 80px); }
.shot::before { content: ''; position: absolute; inset: 8% 10% -4%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, #7b5cff 28%, transparent), transparent); filter: blur(40px); }
.shot .frame { max-width: 1120px; margin: 0 auto; }

.agents { padding-top: clamp(48px, 6vw, 72px); text-align: center; }
.agents p { color: var(--dim); font-size: 14px; margin: 0 0 20px; }
.agents ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.agents li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; font-weight: 500; }
.agents svg { width: 20px; height: 20px; flex: none; }

.pillars { padding-top: var(--section); display: flex; flex-direction: column; gap: var(--section); }
.pillar { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pillar:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.pillar:nth-child(even) .copy { order: 2; }
.pillar .copy > p:not(.eyebrow) { color: var(--muted); margin-top: 4px; }
.pillar h2 { font-size: clamp(28px, 3.2vw, 40px); }

.grid, .private, .compare, .surprise, .pricing, .faq, .end { padding-top: var(--section); }
.card { margin: 0; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; padding: 22px; }
.card h3 { margin-bottom: 6px; }
.card p, .card figcaption { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.card figcaption b { color: var(--text); font-weight: 600; margin-right: 4px; }
.bento { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bento .wide { grid-column: span 2; padding: 0; overflow: hidden; }
.bento .wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.bento .wide figcaption { padding: 18px 22px 22px; }

.private { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.private ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.private li { background: var(--ground); padding: 20px 22px; color: var(--muted); font-size: 14.5px; }
.private li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 15.5px; }

.vs { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs > div { border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; padding: 24px; }
.vs p { color: var(--muted); font-size: 15px; margin: 0; }
.vs a { color: var(--text); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); white-space: nowrap; }
.vs a::after { content: ' →'; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--dim); font-size: 14.5px; }
.facts b { color: var(--muted); font-weight: 600; }

.reel { margin: 40px 0 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px #c7a8ff38, 0 48px 100px -40px #000, 0 0 100px -24px #8250db50; background: var(--panel); }
.reel video { display: block; width: 100%; height: auto; }
.reel .tall { display: none; }
.scenes { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: 500 12.5px/1 var(--mono); }
.scenes li { padding: 8px 12px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line) inset; color: var(--dim); transition: color .3s, background .3s; }
.scenes li.on { color: var(--ground); background: var(--accent); }
.surprise h3 { margin: 56px 0 8px; font-size: 22px; }
.casts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cast { width: 100%; padding: 0 0 12px; border: 0; border-radius: 14px; background: #120a24; box-shadow: 0 0 0 1px var(--line) inset; color: var(--muted); font: 500 12.5px/1 var(--mono); cursor: pointer; overflow: hidden; }
.cast:hover, .cast:focus-visible { color: var(--text); box-shadow: 0 0 0 1px var(--accent) inset; }
.cast video { display: block; width: 100%; height: auto; margin-bottom: 8px; }
.duo { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.duo video, .duo img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.duo figcaption { padding: 18px 22px 22px; margin-top: auto; }
.duo .swatches { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.swatches { list-style: none; margin: 22px 22px 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.swatches li { aspect-ratio: 1; border-radius: 8px; background: radial-gradient(circle at 70% 30%, var(--ac) 0 16%, transparent 17%) var(--bg); box-shadow: 0 0 0 1px var(--line) inset; }

.pricing .tiers { margin: 40px 0 20px; }
.pricing .tier { background: var(--card); border: 0; box-shadow: 0 0 0 1px var(--line) inset; border-radius: var(--radius); padding: 32px; }
.pricing .tier.pro { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent) inset; }
.pricing .tier h3 { font: 500 13px/1 var(--mono); color: var(--muted); margin: 0 0 16px; }
.pricing .price { font-family: var(--display); font-weight: 600; font-size: 48px; letter-spacing: -.03em; line-height: 1; margin: 0; color: var(--text); }
.pricing .price small { font: 400 15px var(--ui); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.pricing .tier-sub { color: var(--dim); font-size: 14px; margin: 8px 0 20px; }
.pricing .ticks { margin: 0 0 28px; flex: 1; }
.pricing .tier .btn { align-self: flex-start; margin: 0; }

.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 550; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--dim); font-weight: 400; font-size: 20px; line-height: 1.2; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { color: var(--text); }
.faq h2 { margin: 0; }
.faq details p { color: var(--muted); margin: -4px 0 20px; max-width: 62ch; }

.end { text-align: center; display: flex; flex-direction: column; align-items: center; }
.end h2 { max-width: 16ch; }
.end p { color: var(--muted); margin: 0 0 32px; }

footer { margin-top: var(--section); border-top: 1px solid var(--line-soft); padding: 32px clamp(20px, 4vw, 40px) 48px; color: var(--dim); font-size: 14px; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 1000px) {
  .top nav > a[href$="#compare"] { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pillar, .pillar:nth-child(even), .private, .faq { grid-template-columns: 1fr; }
  .pillar:nth-child(even) .copy { order: 0; }
  .vs { grid-template-columns: 1fr; }
  .casts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top nav > a:not(.btn) { display: none; }
  .hero { text-align: left; align-items: flex-start; }
  .hero .lede { margin-left: 0; }
  .hero .cta { justify-content: flex-start; }
  .hero .cta .btn { flex: 1 1 100%; }
  .shot .frame { border-radius: 8px; }
  .pill { font-size: 13px; text-align: left; }
  /* Full-window shots are unreadable at phone width: show the part the copy is about. */
  .pillar .frame[style] img { aspect-ratio: 1; object-fit: cover; object-position: var(--focus); }
  .agents { text-align: left; }
  .agents ul { justify-content: flex-start; gap: 12px 24px; }
  .bento, .private ul { grid-template-columns: 1fr; }
  .bento .wide { grid-column: auto; }
  .reel .wide { display: none; }
  .reel .tall { display: block; }
  .card, .vs > div, .pricing .tier { padding: 20px; }
  .end { text-align: left; align-items: flex-start; }
  .end .cta { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
  .brand:hover svg { animation: none; }
}

/* Release demos and the expanded guide index. */
.navigator-feature { padding-block: 64px; }
.navigator-feature figure { margin: 24px 0; }
.navigator-feature img, .navigator-feature video, .guide picture img { display: block; width: 100%; height: auto; border-radius: 10px; }
.navigator-feature figcaption { margin-top: 10px; font-size: 14px; }
.docnav { max-height: calc(100vh - 110px); overflow-y: auto; }
@media (max-width: 760px) {
  .docnav { display: block; position: static; max-height: 220px; margin-bottom: 28px; }
}
.guide figure { margin: 24px 0; }
.guide figure img, .guide figure video { display: block; width: 100%; height: auto; border-radius: 10px; }
.guide p { line-height: 1.65; }
@media (min-width: 761px) and (max-width: 900px) { .docnav { display: block; position: static; max-height: 220px; } }

.guide > h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 32px 0 10px; }
.release-note { text-align: center; padding-bottom: 32px; }
.navigator-feature a, .release-note a { color: var(--accent); }

/* Refined: shared rhythm, restrained surfaces, readable product proof. */
:root { --section: clamp(80px, 8vw, 112px); --muted: #b8aecf; --dim: #a297bc; --radius: 16px; }
body::before { opacity: .14; }
h1, h2 { letter-spacing: -.035em; }
h3 { font-size: 18px; }
.eyebrow, .legal-eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .08em; margin-bottom: 16px; }
.hero { padding-top: clamp(40px, 5vw, 72px); }
.hero h1 { max-width: 20ch; font-size: clamp(42px, 5.3vw, 76px); line-height: 1.04; margin: 24px 0; }
.hero .lede { max-width: 720px; font-size: 18px; line-height: 1.6; }
.hero .cta { margin-top: 24px; }
.shot { margin-top: 48px; }
.shot::before { inset: -8% 0; background: radial-gradient(ellipse, #7150bc38, transparent 68%); }
.frame { border: 1px solid #e0d2ff18; box-shadow: 0 1px 0 #fff1 inset, 0 24px 64px -32px #000, 0 0 48px -24px #8060c840; }
.btn { border-radius: 8px; min-height: 44px; transition: background .18s, box-shadow .18s; }
.btn:hover { box-shadow: 0 0 0 1px #fff4 inset, 0 8px 24px -12px var(--accent); }
.btn.small { min-height: 40px; }
.pillar .copy { max-width: 60ch; }
.pillar h2 { font-size: clamp(32px, 3.2vw, 44px); max-width: 19ch; }
.pillar + .pillar { padding-top: 48px; border-top: 1px solid var(--line-soft); }
.pillar .ticks { font-size: 15px; }
.card, .tier, .vs > div { border-radius: var(--radius); background: linear-gradient(145deg, #1a1230, var(--panel) 65%); box-shadow: 0 1px 0 #ffffff09 inset, 0 16px 40px -32px #000; }
.card, .tier { padding: 32px; }
.navigator-feature { padding-top: var(--section); padding-bottom: 0; }
.navigator-feature > p { max-width: 64ch; color: var(--muted); }
.navigator-feature figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); padding: 8px; }
.navigator-feature figcaption { padding: 0 16px 8px; }
.legal { padding-top: 64px; }
.legal h1 { line-height: 1.1; }
.legal p, .guide p { max-width: 68ch; }
.tier .price { font-family: var(--display); font-size: 56px; line-height: 1.15; letter-spacing: -.04em; margin: 16px 0; }
.tier .price small { display: block; font: 14px/1.6 var(--ui); letter-spacing: 0; margin-top: 8px; }
.tier.pro { border-color: #ffe14d70; box-shadow: 0 1px 0 #ffe14d30 inset, 0 0 48px -24px #ffe14d30; }
.tiers { gap: 24px; }
.menu-toggle { display: none; }
@media (max-width: 560px) {
  .top { gap: 12px; flex-wrap: wrap; }
  .menu-toggle { display: block; margin-left: auto; background: var(--raised); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; min-height: 44px; font: 500 14px var(--ui); }
  .top nav { display: none; width: 100%; padding: 8px 0; }
  .top nav.is-open { display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .top nav.is-open > a:not(.btn) { display: block; padding: 10px 0; }
  .top nav .lang { margin-left: auto; }
  .hero h1 { font-size: 44px; }
  .hero .lede { font-size: 17px; }
  .shot { margin-top: 32px; }
  .shot .frame img { height: 380px; width: 100%; object-fit: cover; object-position: 67% top; }
  .pillar .frame img { aspect-ratio: 1; object-fit: cover; object-position: var(--focus, center); }
  .card, .tier, .pricing .tier { padding: 24px; }
  .legal { padding-top: 40px; }
  .navigator-feature figure { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.hero { position: relative; padding-top: 56px; }
.hero::before { content: ''; position: absolute; inset: -80px 0 -160px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 70%, #6f3ab126, transparent 65%); }
.hero h1 { font-size: clamp(44px, 6vw, 84px); max-width: 20ch; letter-spacing: -.045em; }
.hero .lede { max-width: 700px; }
.shot.wrap { max-width: 1400px; padding-inline: 32px; margin-top: 56px; }
.shot .frame { max-width: none; border-radius: 20px; border-color: #c7a8ff38; box-shadow: 0 2px 0 #ffffff15 inset, 0 48px 100px -40px #000, 0 0 100px -24px #8250db50; }
.shot picture { display: block; }
.pillars { gap: 112px; }
.pillar + .pillar { padding-top: 64px; }
.pillar > .frame { padding: 16px; background: radial-gradient(ellipse at top, #382456, #10091e 75%); border-color: #c7a8ff26; box-shadow: 0 24px 64px -32px #000, 0 1px 0 #ffffff12 inset; }
.pillar > .frame img { border-radius: 8px; }
.navigator-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; }
.navigator-feature > h2 { max-width: 18ch; margin: 0; }
.navigator-feature > p { margin: 0; }
.navigator-feature .navigator-media { grid-column: 1 / -1; margin: 16px 0 0; padding: 32px; background: radial-gradient(ellipse at top, #302044, #0e0920 80%); box-shadow: 0 32px 64px -32px #000; }
.navigator-media video, .navigator-media img { border-radius: 8px; width: 100%; height: auto; }
.navigator-still { display: none; }
@media (max-width: 860px) {
 .navigator-feature { display: block; }
 .navigator-feature > p { margin-top: 24px; }
}
@media (max-width: 560px) {
 .hero { padding-top: 40px; }
 .hero h1 { font-size: 46px; }
 .shot.wrap { padding-inline: 20px; margin-top: 40px; }
 .shot .frame { border-radius: 12px; }
 .shot .frame img { height: auto; object-fit: contain; }
 .pillars { gap: 80px; }
 .pillar > .frame, #verify > .frame { padding: 8px; }
 .pillar > .frame img { aspect-ratio: auto; height: auto; object-fit: contain; }
 .navigator-feature .navigator-media { padding: 8px; }
 .navigator-media video, .navigator-media img { aspect-ratio: 342 / 286; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
 .navigator-media .navigator-video { display: none; }
 .navigator-still { display: block; }
}

/* Keep the copy together and each app capture at its real size (2x captures, shown at 1x CSS px). */
.product-proof > .frame, #verify > .frame, .workflow-proof > .frame { width: 100%; justify-self: center; }
.product-proof > .frame { max-width: 453px; }
#verify > .frame { max-width: 652px; }
.workflow-proof > .frame { max-width: 753px; }
.workflow-proof { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.orchestration-proof, .orchestration-proof:nth-child(even) { grid-template-columns: 1fr; gap: 32px; }
.orchestration-proof .copy { max-width: 72ch; }
.orchestration-proof:nth-child(even) .copy { order: 0; }
.orchestration-proof > .frame { justify-self: center; max-width: 960px; }
@media (max-width: 860px) { .workflow-proof { grid-template-columns: 1fr; } }

/* Guardrails shows two shots; the phone section two phone frames. */
#guardrails > .copy { grid-row: span 2; }
#guardrails > .frame + .frame { width: 100%; max-width: 560px; justify-self: center; }
/* Phone: copy beside two phones, then the features as a full-width grid. */
#phone { align-items: center; }
#phone .copy a { color: var(--accent); text-decoration: none; }
#phone .copy a:hover { text-decoration: underline; }
#phone > ul { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.phones { display: flex; justify-content: center; gap: 24px; }
.phones .frame { flex: 0 1 310px; padding: 8px; border-radius: 40px; background: #05020c; border-color: #c7a8ff38; }
.phones img { display: block; border-radius: 32px; }
@media (max-width: 860px) {
  #guardrails > .copy { grid-row: auto; }
  #phone > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones .frame { flex-basis: 300px; }
  .phones { gap: 12px; }
  .phones .frame { padding: 5px; border-radius: 26px; }
  .phones img { border-radius: 21px; }
}

/* Tokens saved: the Stats panel beside the copy, this tab's breakdown under it. */
.saved { padding-top: var(--section); }
.saved .copy .frame { margin-top: 28px; }
.saved .copy .frame img { aspect-ratio: auto; height: auto; object-fit: contain; }
.saved > .frame { width: 100%; max-width: 520px; justify-self: center; }

/* The three proof points under the hero, each a link to its section. */
.proofs { padding-top: var(--section); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proofs .card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: box-shadow .2s; }
.proofs .card:hover, .proofs .card:focus-visible { box-shadow: 0 0 0 1px var(--accent) inset, 0 16px 40px -32px #000; }
.proofs h2 { font-size: 22px; letter-spacing: -.02em; margin: 0; }
.proofs .card span { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 14px; }
/* Stats: two crops of the panel at their real size (2x captures), side by side. */
.stats-proof { padding-top: var(--section); align-items: start; }
.stats-proof .stack { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 16px; align-items: start; justify-content: center; }
.stats-proof .stack .frame img { aspect-ratio: auto; height: auto; }
.pillar .copy > p > a { color: var(--accent); text-decoration: none; }
.pillar .copy > p > a:hover { text-decoration: underline; }
@media (max-width: 860px) { .proofs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .stats-proof .stack { grid-template-columns: minmax(0, 320px); } }
/* Keyboard users jump past the header and the docs list. */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: #100826; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@media (max-width: 560px) {
  #phone > ul { grid-template-columns: 1fr; grid-auto-rows: auto; }
  /* Two phones side by side are too small to read here: one at a time, swipe for the other. */
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .phones .frame { flex: 0 0 78%; scroll-snap-align: center; }
}

/* /students/ and its teaser on the home page. */
.students .hero h1 { max-width: 16ch; }
.tip { margin-top: var(--section); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding-block: 40px; border-radius: var(--radius); background: linear-gradient(145deg, #1a1230, var(--panel) 65%); box-shadow: 0 0 0 1px var(--line) inset; }
.tip h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0; }
.tip p { color: var(--muted); margin: 0 0 12px; }
.tip a, .office-teaser .copy a, .first a { color: var(--accent); text-decoration: none; }
.tip a:hover, .office-teaser .copy a:hover, .first a:hover { text-decoration: underline; }
.cells > .copy { grid-column: 1 / -1; }
.cells > ul { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.office-teaser { padding-top: var(--section); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.office-teaser .copy p { margin-top: 12px; }
.first { padding-top: var(--section); }
.first ol { counter-reset: step; list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.first li { counter-increment: step; position: relative; padding: 56px 22px 22px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.first li::before { content: counter(step); position: absolute; top: 18px; left: 22px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #100826; font: 600 14px/1 var(--mono); }
.first li b { display: block; color: var(--text); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.first li a { display: inline-block; margin-top: 6px; }
.teaser { margin-top: var(--section); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 32px; border-radius: var(--radius); background: linear-gradient(145deg, #1a1230, var(--panel) 65%); box-shadow: 0 0 0 1px var(--line) inset; }
.teaser h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; }
/* Boxed bands: keep the page gutter outside the box. */
.tip.wrap, .teaser.wrap { width: calc(100% - 2 * clamp(20px, 4vw, 40px)); padding-inline: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) {
  .tip, .office-teaser { grid-template-columns: 1fr; }
  .cells > ul, .first ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .cells > ul, .first ol { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.pillar > .frame.tall { width: 100%; max-width: 440px; justify-self: center; }
/* The size line under a Download button. */
.note.size { margin: 14px 0 0; text-wrap: balance; }
.hero .note.size + .note { margin-top: 4px; }
/* Web: the desk on an iPad, a foldable and a phone, in one row under the copy.
   --r is each shot's width / height, so all three stand the same height. */
.devices { grid-column: 1 / -1; align-items: flex-end; }
.devices .frame { flex: var(--r) 1 0; min-width: 0; border-radius: 22px; }
.devices img { height: auto; border-radius: 15px; }
@media (max-width: 860px) { .devices .frame { flex-basis: 0; border-radius: 14px; } .devices img { border-radius: 9px; } }
/* A phone: no swipe, the iPad across, the foldable and phone side by side under it. */
@media (max-width: 560px) { .devices { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; } .devices .frame { flex: var(--r) 1 0; } .devices .frame:first-child { flex-basis: 100%; } }
.features-shot { max-width: 960px; margin: clamp(48px, 7vw, 80px) auto 0; }
.features-shot figcaption { padding: 14px 18px; color: var(--muted); font-size: 15px; }
.features-shot figcaption a { color: var(--accent); }
@media (max-width: 560px) { #diagrams .frame img { aspect-ratio: auto; } }

/* /architecture/ */
.architecture .hero h1 { max-width: 18ch; }
.disciplines { padding-top: var(--section); }
.disciplines .sub { color: var(--muted); }
.grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.grid4 figcaption { padding: 14px 18px 18px; color: var(--muted); font-size: 14.5px; }
.grid4 figcaption b { color: var(--text); font-weight: 600; margin-right: 4px; }
@media (max-width: 720px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- guides: long-form pages under /guides/, on the .legal column ---- */
.legal .frame { margin: 28px 0; }
.legal pre { overflow-x: auto; margin: 20px 0; padding: 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.guide-page .guides { grid-template-columns: 1fr 1fr; }

/* Shell commands break between commands, never inside one. */
code.cmd { white-space: nowrap; }
/* Your agents, as a team: the channel beside the copy, then a tag answer and the office below. */
.team .duo { grid-column: 1 / -1; margin-top: 0; }
.team .duo figcaption a { color: var(--accent); }
.group-grid li a { color: var(--accent); }

/* Performance page: number tables stay tables on phones (the compare rule above stacks .legal tables). */
.perf-table { overflow-x: auto; margin: 16px 0 28px; }
.legal .perf-table table { margin: 0; font-variant-numeric: tabular-nums; }
.legal .perf-table tr { display: table-row; padding: 0; }
.legal .perf-table thead { display: table-header-group; }
.legal .perf-table th, .legal .perf-table td { display: table-cell; width: auto; text-align: right; vertical-align: bottom; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--line); }
.legal .perf-table :is(th, td):first-child { text-align: left; padding-left: 0; }
.legal .perf-table thead th { font-size: 12px; line-height: 1.35; }
.legal .perf-table td::before { content: none; }
.perf .legal h3 { margin: 32px 0 0; }
@media (max-width: 640px) { .legal .perf-table th, .legal .perf-table td { padding-left: 8px; font-size: 14px; } .legal .perf-table thead th { font-size: 11px; } }
/* The video ad, under the hero shot. */
.hero .watch { display: inline-flex; align-items: center; gap: 10px; padding: 0 4px; height: 44px; color: var(--muted); font-weight: 500; text-decoration: none; }
.hero .watch svg { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; border-radius: 50%; color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent) inset; transition: background .2s, color .2s; }
.hero .watch:hover { color: var(--text); }
.hero .watch:hover svg { background: var(--accent); color: var(--ground); }
.ad { padding-top: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.ad h2 { margin: 0; }
.ad h2 .short { display: none; }
.ad .sub { margin-top: 12px; }
.ad-player { position: relative; width: 100%; max-width: 1120px; margin-top: 40px; border-radius: 20px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px #c7a8ff38, 0 48px 100px -40px #000, 0 0 100px -24px #8250db50; }
.ad-player video { display: block; width: 100%; height: auto; }
.ad-player .tall { display: none; }
.ad-play { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; background: radial-gradient(circle, #08031266, transparent 45%); }
.ad-play[hidden] { display: none; }
.ad-play span { display: grid; place-items: center; width: clamp(72px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--ground); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 22%, transparent), 0 24px 60px -12px #000; transition: transform .2s, box-shadow .2s; }
.ad-play:hover span, .ad-play:focus-visible span { transform: scale(1.06); box-shadow: 0 0 0 16px color-mix(in srgb, var(--accent) 26%, transparent), 0 24px 60px -12px #000; }
.ad-play svg { width: 38%; margin-left: 8%; }
@media (max-width: 560px) {
 .ad { align-items: flex-start; text-align: left; }
 .hero .watch { padding: 0; }
 .ad-player { max-width: 400px; align-self: center; border-radius: 16px; margin-top: 28px; }
 .ad-player .wide { display: none; }
 .ad-player .tall { display: block; }
 .ad h2 .long { display: none; }
 .ad h2 .short { display: inline; }
}
