@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/archivo-black/ArchivoBlack-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0b0f15;
  --surface: #11161e;
  --surface-2: #171d27;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #edf1f6;
  --mute: #98a3b3;
  --teal: #2be4c7;
  --blue: #2aa8f5;
  --todo: #ffc857; /* Legal drafts only. */
  --gutter: clamp(20px, 4vw, 40px);
  --space: clamp(72px, 9vw, 120px);
  --caption: "Archivo Black", "Arial Black", sans-serif;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border: 2px solid var(--bg); border-radius: 999px; background: #2a3543; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }
::-webkit-scrollbar-corner { background: var(--bg); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #2a3543 var(--bg); scrollbar-width: thin; }
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.6vw, 3.625rem); line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(1.625rem, 2.5vw, 2.125rem); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1rem; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
dd a, .aside a, details a, .legal a { color: #62c4ff; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 8px 14px; background: var(--text); color: var(--bg); border-radius: 6px; }
.skip:focus { top: 10px; }
.aside { color: var(--mute); font-size: .8125rem; line-height: 1.55; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; height: 60px; padding-inline: var(--gutter); pointer-events: none; transition: padding .38s cubic-bezier(.2, .8, .2, 1); }
.top__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100%, 1120px);
  height: 60px;
  margin-left: max(0px, calc((100% - 1120px) / 2));
  padding: 0 11px 0 22px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background: rgba(17, 22, 30, .68);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: width .38s cubic-bezier(.2, .8, .2, 1), margin .38s cubic-bezier(.2, .8, .2, 1), padding .38s cubic-bezier(.2, .8, .2, 1), border-radius .3s, background-color .25s, box-shadow .25s;
}
.top.is-scrolled { padding-inline: 0; }
.top.is-scrolled .top__inner {
  width: 100%;
  margin-left: 0;
  padding-inline: max(var(--gutter), calc((100% - 1120px) / 2));
  border-width: 0 0 1px;
  border-radius: 0;
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}
.top__nav { display: flex; gap: 22px; margin-left: 8px; color: var(--mute); font-size: .875rem; }
.top__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top__nav a { text-decoration: none; }
.top__nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: inherit; }
.brand img { border-radius: 6px; }

/* Actions */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 22px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(43, 228, 199, .3);
  color: #06201c;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .15s, box-shadow .2s, color .15s;
}
.cta:hover { background: #63eed8; box-shadow: 0 0 30px rgba(43, 228, 199, .48); color: #06201c; }
.cta--small { min-height: 38px; padding: 6px 16px; font-size: .8125rem; white-space: nowrap; }
.cta--ghost, .cta--alt { background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text); }
.cta--ghost:hover, .cta--alt:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: var(--text); }
.link { color: var(--mute); font-size: .9375rem; text-decoration: none; }
.link:hover { color: var(--text); }

/* Hero */
main { overflow-x: clip; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: clamp(40px, 8vw, 104px); padding-block: clamp(56px, 7vw, 88px); }
.hero > :not(.hero__rings) { position: relative; z-index: 1; }
.hero__rings {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 100vw;
  height: calc(100% + 80px);
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 76%, transparent 94%);
}
.eyebrow { margin-bottom: 16px; color: var(--teal); font-size: .875rem; font-weight: 600; }
.lede { max-width: 33rem; margin-top: 20px; color: var(--mute); font-size: 1.125rem; line-height: 1.6; }
.hero__action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.sha { flex-basis: 100%; max-width: 30rem; color: var(--mute); font-size: .75rem; word-break: break-all; }

/* Caption preview */
.demo { width: min(100%, 340px); padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.demo__stage { position: relative; overflow: hidden; aspect-ratio: 9 / 13; border-radius: 10px; background: #080b10; }
.demo__stage::before { content: ""; position: absolute; inset: 0 0 58%; background: #121924 url("/assets/img/demo/streamer.webp") center / cover no-repeat; }
.demo__stage::after { content: ""; position: absolute; inset: 42% 0 0; background: #151e2a url("/assets/img/demo/gameplay-car.webp") center / cover no-repeat; }
.demo__line { position: absolute; z-index: 1; top: 42%; left: 0; right: 0; height: 3px; margin-top: -1px; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.demo__word {
  position: absolute;
  z-index: 2;
  top: 71%;
  left: 0;
  right: 0;
  color: #fff;
  font: 400 2.125rem/1 var(--caption);
  text-align: center;
  -webkit-text-stroke: 5px #06090e;
  paint-order: stroke fill;
}
.demo__live { position: absolute; z-index: 2; top: 9px; left: 9px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 5px; background: rgba(5, 8, 12, .72); color: #fff; font-size: .625rem; font-weight: 700; letter-spacing: .06em; }
.demo__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4d5e; }
.demo__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-top: 10px; }
.demo__tabs button {
  min-height: 34px;
  padding: 4px 2px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--mute);
  cursor: pointer;
  font: 500 .8125rem/1 var(--font);
}
.demo__tabs button:hover { color: var(--text); }
.demo__tabs button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.demo figcaption { margin-top: 8px; padding-bottom: 2px; color: #7f8a9a; font-size: .6875rem; line-height: 1.3; text-align: center; }

/* Moving timeline */
.wave { position: relative; display: flex; align-items: center; margin-top: 36px; padding-inline: 46px; }
.wave > .motion-toggle { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
.wave__track { position: relative; flex: 1; min-width: 0; height: 64px; overflow: hidden; border-radius: 8px; }
.wave__bars { position: absolute; inset: 8px 0; display: flex; align-items: center; gap: 3px; }
.wave__bars i { flex: 1; min-width: 1px; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .17); transform: scaleY(var(--h)); }
.wave__bars i.on { background: linear-gradient(180deg, var(--teal), var(--blue)); }
.wave__clip { position: absolute; inset: 0 auto 0 39%; width: 22%; border-inline: 3px solid var(--teal); border-radius: 6px; background: rgba(43, 228, 199, .08); }
.wave__head { position: absolute; inset: 0; pointer-events: none; }
.wave__head i { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.motion-toggle { position: relative; flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: none; color: var(--mute); cursor: pointer; }
.motion-toggle:hover { color: var(--text); }
.motion-toggle span { position: absolute; top: 10px; left: 11px; width: 8px; height: 10px; border-inline: 2.5px solid currentColor; }
.motion-toggle[aria-pressed="true"] span { left: 12px; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.demo__toggle { position: absolute; z-index: 3; top: 7px; right: 7px; border-color: transparent; background: rgba(5, 8, 12, .72); color: #fff; }

/* Features */
.features { padding-block: clamp(32px, 4vw, 56px) var(--space); }
.section-head { max-width: 38rem; }
.section-head p { margin-top: 10px; color: var(--mute); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 64px); margin-top: 40px; }
.feature-list article { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.icon { display: block; width: 22px; height: 22px; margin-bottom: 12px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-list p { margin-top: 7px; color: var(--mute); font-size: .9375rem; line-height: 1.6; }

/* Media, shown only when supplied */
.media { padding-bottom: var(--space); }
.media__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.slot { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.slot--wide { aspect-ratio: 16 / 9; }
.slot--tall { width: min(100%, 320px); aspect-ratio: 9 / 16; }
.slot--still { aspect-ratio: 16 / 10; }
.slot video, .slot img { width: 100%; height: 100%; object-fit: cover; }

/* License key */
.key { border-block: 1px solid var(--line); background: var(--surface); }
.key__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 8vw, 96px); padding-block: clamp(56px, 7vw, 88px); }
.key__copy p { margin-top: 10px; color: var(--mute); }
.key__copy .cta { margin-top: 24px; }
.steps { counter-reset: step; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--teal);
  font-size: .8125rem;
  font-weight: 600;
}
.steps p { margin-top: 2px; color: var(--mute); font-size: .9375rem; }

/* Requirements and questions */
.details { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(40px, 8vw, 96px); padding-block: var(--space); }
.details h2 { margin-bottom: 22px; font-size: 1.375rem; }
dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding-block: 11px; border-top: 1px solid var(--line); font-size: .9375rem; }
dt { color: var(--mute); }
#requirements .aside { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding-block: 10px; cursor: pointer; font-size: .9375rem; font-weight: 500; list-style: none; }
summary:hover { color: var(--teal); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
details[open] summary::after { transform: translateY(1px) rotate(225deg); }
details p { max-width: 40rem; padding-bottom: 18px; color: var(--mute); font-size: .9375rem; }

/* Footer */
.foot { padding-block: 26px; border-top: 1px solid var(--line); font-size: .8125rem; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 36px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--mute); }
.foot nav a { text-decoration: none; }

/* Legal pages */
.top + .legal { margin-top: 0; }
.draft { background: var(--todo); color: #1b1404; font-size: .875rem; font-weight: 600; }
.draft p { padding-block: 8px; }
.legal { max-width: 44rem; padding-block: clamp(44px, 6vw, 72px) var(--space); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal__date { margin-top: 8px; color: var(--mute); }
.legal h2 { margin-top: 2em; font-size: 1.25rem; }
.legal p, .legal ul, .legal .table { margin-top: .8em; color: #c9d1dc; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: .3em; }
.legal mark { padding: 0 .25em; background: var(--todo); color: #1b1404; border-radius: 2px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--todo); background: var(--surface); }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.45; }
th, td { padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--mute); font-weight: 600; }

/* Caption motion */
@media (prefers-reduced-motion: no-preference) {
  .demo__live::before { animation: blink 1.4s ease-in-out infinite; }
  .wave__bars i { animation: level 1.15s ease-in-out infinite; animation-delay: var(--d); }
  .wave__head { animation: sweep 9s linear infinite; }
  .hero.is-paused .demo__live::before,
  .wave.is-paused .wave__bars i, .wave.is-paused .wave__head { animation-play-state: paused; }
  .demo__word.is-pop { animation: pop .2s cubic-bezier(.2, 1.4, .4, 1); }
  .demo__word.is-bounce { animation: bounce .34s ease-out; }
  .demo__word.is-slam { animation: slam .16s cubic-bezier(.5, 0, 1, .6); }
  .demo__word.is-slide { animation: slide .2s cubic-bezier(.2, .8, .2, 1); }
  .demo__word.is-glow { animation: glow .4s ease-out both; }
}
@keyframes blink { 50% { opacity: .25; } }
@keyframes level { 50% { transform: scaleY(var(--p)); } }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes pop { 0% { transform: scale(.65); } 65% { transform: scale(1.14); } 100% { transform: none; } }
@keyframes bounce { 0% { transform: translateY(-34px); opacity: 0; } 55% { transform: translateY(5px); opacity: 1; } 78% { transform: translateY(-3px); } 100% { transform: none; } }
@keyframes slam { from { transform: scale(1.9); opacity: 0; } }
@keyframes slide { from { transform: translateX(-34px); opacity: 0; } }
@keyframes glow { 0% { opacity: .15; text-shadow: none; } 55% { opacity: 1; text-shadow: 0 0 18px var(--teal), 0 0 34px var(--teal); } 100% { text-shadow: 0 0 10px rgba(43, 228, 199, .75); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .demo { justify-self: center; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key__inner, .details { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .top__nav, .top__key { display: none; }
  .top__inner { justify-content: space-between; gap: 12px; padding-left: 16px; }
  .feature-list, .media__grid { grid-template-columns: minmax(0, 1fr); }
  .feature-list { gap: 26px; margin-top: 32px; }
  .hero__action .cta, .key__copy .cta { width: 100%; }
}

/* "Free" chip on the header's license key button. */
.top__key { position: relative; }
.top__chip {
  position: absolute;
  top: -8px;
  right: -6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--teal);
  color: #04221d;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .03em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Guide page */
.top__nav a[aria-current="page"] { color: var(--text); }
.guide { padding-block: clamp(36px, 5vw, 64px) var(--space); }
.guide__intro { max-width: 40rem; }
.guide__intro h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.guide__video { margin-top: clamp(28px, 4vw, 44px); }
.guide__video video { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); }
.guide__video figcaption, .guide__shot figcaption { margin-top: 10px; color: var(--mute); font-size: .8125rem; }
.guide__toc { margin-top: clamp(36px, 5vw, 56px); padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.guide__toc h2 { font-size: 1rem; }
.guide__toc ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; margin-top: 12px; list-style: decimal; padding-left: 1.3em; color: var(--mute); font-size: .9375rem; }
.guide__toc a { color: var(--text); }
.guide__toc a:hover { color: var(--teal); }
.guide__step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.guide__toc + .guide__step { margin-top: clamp(36px, 5vw, 56px); }
.guide__step:has(> .guide__text:only-child) { grid-template-columns: minmax(0, 44rem); }
.guide__num { color: var(--teal); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.guide__text h2 { margin-top: 6px; }
.guide__text p, .guide__list, .guide__bullets, .guide__table { margin-top: .9em; color: #c9d1dc; }
.guide__list { list-style: decimal; padding-left: 1.3em; }
.guide__bullets { list-style: disc; padding-left: 1.2em; }
.guide__list li + li, .guide__bullets li + li { margin-top: .4em; }
.guide__list strong, .guide__bullets strong, .guide__text p strong { color: var(--text); font-weight: 600; }
.guide__note { padding: 12px 14px; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; background: rgba(43, 228, 199, .06); font-size: .9375rem; }
.guide code, .guide kbd { padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface-2); color: var(--text); font: .875em/1.4 Consolas, "Cascadia Mono", monospace; }
.guide__table { overflow-x: auto; }
.guide__table caption { padding-bottom: 6px; text-align: left; color: var(--text); font-weight: 600; }
.guide__table th, .guide__table td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide__table th { color: var(--mute); font-weight: 600; }
.guide__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.guide__shots { display: grid; gap: 20px; }
.guide__shot { margin: 0; }
.guide__shot--tall { max-width: 270px; }
.guide__shot--tall img { aspect-ratio: 9 / 16; }
.guide__help { max-width: 40rem; padding-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); }
.guide__help p { margin-top: .8em; color: #c9d1dc; }
.guide__help .cta { margin-top: 22px; }
.guide__credit { margin-top: 28px; }
@media (max-width: 860px) {
  .guide__step { grid-template-columns: minmax(0, 1fr); }
  .guide__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .guide__toc ol { grid-template-columns: minmax(0, 1fr); }
  .guide__help .cta { width: 100%; }
}
/* Steps with several pictures: text on top, pictures below in a grid. No sticky or scroll-following images. */
.guide__step--stack { grid-template-columns: minmax(0, 1fr); }
.guide__lead { display: grid; grid-template-columns: minmax(0, 44rem) 220px; gap: clamp(24px, 4vw, 56px); align-items: start; justify-content: space-between; }
.guide__step--stack .guide__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide__step--stack .guide__shot--tall { max-width: 220px; }
@media (max-width: 860px) {
  .guide__lead { grid-template-columns: minmax(0, 1fr); }
  .guide__step--stack .guide__shots { grid-template-columns: minmax(0, 1fr); }
}

/* Small honesty line under the hero buttons. */
.hero__note { flex-basis: 100%; max-width: 30rem; margin: 0; color: var(--mute); font-size: .75rem; line-height: 1.5; }

/* the installer fingerprint in the guide wraps instead of running off narrow screens */
[data-installer-check] { overflow-wrap: anywhere; word-break: break-all; }

/* ---------- Blog ---------- */
.article { max-width: 46rem; }
.article a:not(.cta) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:not(.cta):hover { color: #63eed8; }
.article__crumbs { font-size: .8125rem; color: var(--mute); margin-bottom: 14px; }
.article__crumbs a { color: var(--mute) !important; text-decoration: none !important; }
.article__crumbs a:hover { color: var(--teal) !important; }
.article__meta { margin-top: 10px; font-size: .875rem; color: var(--mute); }
.article__hero { margin: 26px 0 8px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.article__hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article__lede { margin-top: 1.2em !important; font-size: 1.125rem; line-height: 1.6; color: var(--text) !important; }
.article__toc { margin-top: 1.6em; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.article__toc::before { content: "In this guide"; display: block; font-weight: 700; font-size: .875rem; color: var(--text); margin-bottom: 6px; }
.article__toc ol { margin: 0; padding-left: 1.2em; list-style: decimal; color: #c9d1dc; }
.article__toc li + li { margin-top: .25em; }
.article h2 { scroll-margin-top: 90px; }
.article h3 { margin-top: 1.5em; font-size: 1.0625rem; }
.article ol:not(.article__toc ol) { margin-top: .8em; padding-left: 1.3em; list-style: decimal; color: #c9d1dc; }
.article ol li + li { margin-top: .4em; }
.article blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid var(--teal); background: var(--surface); border-radius: 0 10px 10px 0; color: #c9d1dc; }
.article table { margin-top: 1em; }
.article th, .article td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { color: var(--text); font-weight: 700; }
.article td { color: #c9d1dc; }
.article details { margin-top: 0; }
.article #faq + details { margin-top: 1em; }
.article__cta { margin-top: 2.6em; padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, rgba(43, 228, 199, .10), rgba(42, 168, 245, .06)); border: 1px solid rgba(43, 228, 199, .28); }
.article__cta h2 { margin-top: 0 !important; }
.article__cta .cta { margin-top: 6px; }
.article__related { margin-top: 2.6em; }
.article__related h2 { margin-bottom: .6em; }

.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.blog-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.blog-card:hover { border-color: rgba(43, 228, 199, .45); transform: translateY(-2px); color: inherit; }
.blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.blog-card__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--text); }
.blog-card__text { font-size: .9rem; line-height: 1.5; color: var(--mute); }
.blog-intro { max-width: 46rem; }
.blog-page { padding-block: clamp(44px, 6vw, 72px) var(--space); }
.blog-page h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.blog-page .blog-intro p { margin-top: .8em; color: #c9d1dc; }
.blog-intro a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.home-blog { padding-block: var(--space) 0; }
.home-blog h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.home-blog__lead { margin-top: .6em; color: var(--mute); }
.home-blog__lead a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
