@font-face {
  font-family: "Uniform Pro";
  src: url("/fonts/UniformPro-Reg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uniform Pro";
  src: url("/fonts/UniformPro-Bld.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --bg: #0b1020;
  --bg-elevated: rgba(15, 23, 42, 0.92);
  --panel: rgba(16, 27, 52, 0.86);
  --panel-strong: rgba(11, 16, 32, 0.96);
  --panel-soft: rgba(27, 42, 85, 0.18);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eaf2ff;
  --muted: #a9b7d5;
  --muted-strong: #c7d4ec;
  --accent: #2f71ff;
  --accent-strong: #4e84ff;
  --accent-alt: #8fb2ff;
  --surface-shadow: 0 26px 64px rgba(0, 0, 0, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shell-width: min(1260px, calc(100% - 36px));
  --body-font: "Uniform Pro", "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --heading-font: "Uniform Pro", "Aptos Display", "Segoe UI Variable Display", sans-serif;
  --platform-windows: #0078d4;
  --platform-apple: #f5f5f7;
  --platform-android: #3ddc84;
  --platform-linux: #fcc624;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

body.marketing-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47, 113, 255, 0.16), transparent 26%),
    radial-gradient(circle at right 12%, rgba(143, 178, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #0b1020 0%, #0f172a 42%, #101b34 100%);
  color: var(--text);
  font-family: var(--body-font);
}

body.marketing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 22% 18%, rgba(47, 113, 255, 0.08), transparent 18%);
  opacity: 0.7;
}

@media (prefers-color-scheme: light) {
  body.marketing-page {
    color-scheme: light;
    --bg: #eef4fb;
    --bg-elevated: rgba(247, 250, 255, 0.96);
    --panel: rgba(255, 255, 255, 0.9);
    --panel-strong: rgba(247, 250, 255, 0.98);
    --panel-soft: rgba(221, 231, 255, 0.5);
    --line: rgba(0, 0, 0, 0.09);
    --line-strong: rgba(0, 0, 0, 0.16);
    --text: #0b1220;
    --muted: #64748b;
    --muted-strong: #334155;
    --accent: #2f71ff;
    --accent-strong: #2f71ff;
    --accent-alt: #7b9fff;
    --surface-shadow: 0 24px 54px rgba(54, 84, 126, 0.12);
  }

  body.marketing-page {
    background:
      radial-gradient(circle at top left, rgba(47, 113, 255, 0.12), transparent 28%),
      radial-gradient(circle at right 12%, rgba(143, 178, 255, 0.14), transparent 30%),
      linear-gradient(180deg, #f7faff 0%, #eef3ff 48%, #e6eeff 100%);
  }

  body.marketing-page::before {
    background:
      linear-gradient(rgba(18, 35, 62, 0.015), rgba(18, 35, 62, 0.015)),
      radial-gradient(circle at 22% 18%, rgba(47, 113, 255, 0.08), transparent 20%);
    opacity: 0.92;
  }

  body.marketing-page .site-nav {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 14px 34px rgba(64, 93, 136, 0.12);
  }

  body.marketing-page .site-link:hover,
  body.marketing-page .site-link:focus-visible,
  body.marketing-page .site-menu > summary:hover,
  body.marketing-page .site-menu > summary:focus-visible,
  body.marketing-page .site-menu[open] > summary {
    background: rgba(16, 33, 57, 0.05);
  }

  body.marketing-page .site-link--active {
    background: rgba(16, 33, 57, 0.07);
  }

  body.marketing-page .site-menu__panel {
    background: rgba(249, 251, 255, 0.97);
    box-shadow: 0 24px 52px rgba(64, 93, 136, 0.16);
  }

  body.marketing-page .site-menu__section,
  body.marketing-page .download-signal,
  body.marketing-page .download-strip-item,
  body.marketing-page .download-multi__menu,
  body.marketing-page .download-multi__option {
    background: rgba(20, 41, 74, 0.035);
  }

  body.marketing-page--download .download-hero,
  body.marketing-page--download .download-platform,
  body.marketing-page--download .download-principle,
  body.marketing-page--download .cta-band {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 253, 0.96));
  }

  body.marketing-page--download .download-platform--featured {
    background:
      radial-gradient(circle at top right, rgba(47, 113, 255, 0.18), transparent 28%),
      radial-gradient(circle at left bottom, rgba(143, 178, 255, 0.12), transparent 30%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 253, 0.99));
  }

  body.marketing-page--download .download-hero__panel {
    background:
      radial-gradient(circle at top right, rgba(78, 140, 255, 0.14), transparent 30%),
      rgba(255, 255, 255, 0.72);
  }

  body.marketing-page--download .site-button--secondary {
    background: rgba(18, 35, 62, 0.04);
  }

  body.marketing-page--download .download-platform__icon--macos,
  body.marketing-page--download .download-platform__icon--ios {
    background: linear-gradient(180deg, #243548, #162433);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 0 1px rgba(15, 29, 43, 0.08);
  }

  body.marketing-page--download .download-platform__icon--android {
    background: linear-gradient(180deg, rgba(61, 220, 132, 0.18), rgba(61, 220, 132, 0.08));
  }

  body.marketing-page--download .download-platform__icon--linux {
    background: linear-gradient(180deg, rgba(252, 198, 36, 0.22), rgba(252, 198, 36, 0.1));
  }

  body.marketing-page--download .download-multi > summary {
    background: rgba(18, 35, 62, 0.035);
  }

  body.marketing-page--download .download-multi > summary:hover,
  body.marketing-page--download .download-multi > summary:focus-visible {
    background: rgba(18, 35, 62, 0.06);
  }

  body.marketing-page--download .footer__section ul li a:hover,
  body.marketing-page--download .footer__section ul li a:focus-visible {
    background: rgba(16, 33, 57, 0.05);
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

.marketing-page strong,
.marketing-page b,
.marketing-page h1,
.marketing-page h2,
.marketing-page h3,
.marketing-page h4,
.marketing-page .site-brand__name,
.marketing-page .eyebrow,
.marketing-page .site-button,
.marketing-page .site-menu > summary,
.marketing-page .footer__section-title {
  font-family: var(--heading-font);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: var(--shell-width);
  margin: 0 auto;
  padding: 24px 0 88px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;
  margin-bottom: 24px;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 15, 27, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.site-brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent) 0%, #4ab7ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #041019;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-brand__lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand__label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand__name {
  font-size: 17px;
  line-height: 1;
}

.site-nav__cluster {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}

.site-nav__menus,
.site-nav__links,
.site-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__links {
  flex: 1 1 auto;
}

.site-actions {
  margin-left: auto;
  flex: 0 0 auto;
}

.site-link,
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 14px;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease;
}

.site-link:hover,
.site-link:focus-visible,
.site-menu > summary:hover,
.site-menu > summary:focus-visible,
.site-menu[open] > summary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.site-link--active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-menu {
  position: static;
}

.site-menu > summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid transparent;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.site-menu__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-menu[open] .site-menu__chevron {
  transform: rotate(225deg) translateY(-1px);
}

.site-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 12px;
  right: 12px;
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) repeat(2, minmax(210px, 1fr));
  gap: 10px;
  width: auto;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(10, 16, 27, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transform: none;
  z-index: 50;
}

.site-menu__panel--browse {
  grid-template-columns: minmax(320px, 1.2fr) repeat(2, minmax(200px, 1fr));
}

.site-menu__section {
  display: grid;
  align-content: start;
  min-height: 150px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.025);
}

.site-menu__card,
.site-menu__feature-card,
.site-menu__mini-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 132px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  color: var(--muted-strong);
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease,
    color 150ms ease;
}

.site-menu__feature-card {
  grid-row: span 2;
  min-height: 274px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(47, 113, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(27, 44, 82, 0.5), rgba(255, 255, 255, 0.02));
}

.site-menu__mini-card {
  min-height: 132px;
}

.site-menu__card:hover,
.site-menu__card:focus-visible,
.site-menu__feature-card:hover,
.site-menu__feature-card:focus-visible,
.site-menu__mini-card:hover,
.site-menu__mini-card:focus-visible {
  color: var(--text);
  border-color: rgba(143, 178, 255, 0.22);
  background: linear-gradient(180deg, rgba(47, 113, 255, 0.08), rgba(255, 255, 255, 0.03));
  transform: translateY(-1px);
  outline: none;
}

.site-menu__card-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-alt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-menu__card-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.site-menu__feature-card .site-menu__card-title {
  font-size: 24px;
  line-height: 1.05;
}

.site-menu__card-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.site-menu__eyebrow {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-menu__links {
  display: grid;
  gap: 8px;
}

.site-menu__link {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted-strong);
  transition:
    background-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.site-menu__link:hover,
.site-menu__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
  outline: none;
}

.site-menu__link-title {
  font-size: 14px;
  font-weight: 700;
}

.site-menu__link-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #041019;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease,
    color 150ms ease;
}

.site-button:hover,
.site-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(78, 161, 255, 0.24);
  outline: none;
}

.site-button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  box-shadow: none;
}

.site-button--secondary:hover,
.site-button--secondary:focus-visible {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.06);
}

.site-button--ghost {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  box-shadow: none;
}

.site-button--ghost:hover,
.site-button--ghost:focus-visible {
  transform: none;
  box-shadow: none;
  color: var(--text);
}

.site-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-button-group--spaced {
  margin-top: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47, 113, 255, 0.14);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav--home .site-nav__links {
  gap: 6px;
}

.home-main {
  display: grid;
  gap: 22px;
}

.home-hero,
.home-card,
.home-platform__copy,
.home-mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.94));
  box-shadow: var(--surface-shadow);
}

.home-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at 82% 20%, rgba(47, 113, 255, 0.2), transparent 24%),
    radial-gradient(circle at 22% 82%, rgba(143, 178, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(14, 25, 40, 0.96), rgba(8, 16, 27, 0.99));
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%);
}

.home-hero__copy,
.home-hero__visual {
  position: relative;
  z-index: 1;
}

.home-hero__copy {
  display: grid;
  align-content: center;
}

.home-hero__title {
  max-width: 10.8ch;
  margin: 14px 0 14px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.home-hero__lead {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}

.home-hero__copy .site-button-group {
  margin-top: 22px;
}

.home-hero__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.home-note {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.home-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-note strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.home-hero__visual {
  display: flex;
  align-items: stretch;
  min-height: 420px;
}

.home-preview {
  position: relative;
  flex: 1;
}

.home-preview__glow {
  position: absolute;
  inset: 12% 2% 0 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 113, 255, 0.24), transparent 58%);
  filter: blur(24px);
}

.home-preview__window {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  height: 100%;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 14, 24, 0.94);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.home-preview__bar,
.home-preview__bar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-preview__bar {
  justify-content: space-between;
  margin-bottom: 14px;
}

.home-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.home-preview__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-preview__layout {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  flex: 1;
}

.home-preview__sidebar,
.home-preview__feature,
.home-preview__card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.home-preview__sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.home-preview__sidebar-title {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-preview__sidebar-link {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.02);
}

.home-preview__sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(47, 113, 255, 0.24), rgba(143, 178, 255, 0.18));
  color: var(--text);
}

.home-preview__content {
  display: grid;
  gap: 12px;
}

.home-preview__feature {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(143, 178, 255, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.03);
}

.home-preview__eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-preview__feature h2 {
  margin: 8px 0 8px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.home-preview__feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-preview__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-preview__card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.home-preview__card strong {
  font-size: 14px;
}

.home-preview__card span {
  color: var(--muted);
  line-height: 1.5;
}

.home-editorial {
  padding: 6px 2px 0;
}

.home-editorial__lede {
  max-width: 1040px;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.home-editorial__lede span {
  color: var(--accent-alt);
}

.home-bento,
.home-platform {
  display: grid;
  gap: 18px;
}

.home-bento {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

.home-stack,
.home-platform__rail {
  display: grid;
  gap: 18px;
}

.home-card,
.home-platform__copy,
.home-mini-card {
  padding: 28px;
}

.home-card--feature {
  background:
    radial-gradient(circle at top right, rgba(47, 113, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.94));
}

.home-card__title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.home-card__title--small {
  font-size: clamp(24px, 3vw, 34px);
}

.home-card__body,
.home-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.home-platform {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.home-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero__copy,
.hero__panel,
.section-card,
.feature-card,
.story-card,
.download-card,
.policy-article,
.policy-sidebar,
.cta-band,
.not-found-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.94));
  box-shadow: var(--surface-shadow);
}

.hero__copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero__copy::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 113, 255, 0.22), transparent 65%);
}

.hero__title {
  max-width: 12ch;
  margin: 18px 0 16px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero__lead {
  max-width: 62ch;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__meta-card {
  min-width: 160px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__meta-value {
  font-size: 16px;
  font-weight: 700;
}

.hero__panel {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.hero__panel-header h2,
.section__title,
.cta-band__title,
.policy-article h1,
.not-found-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__panel-header p,
.section__lede,
.policy-article > p,
.not-found-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.hero__surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero__surface-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__surface-card h3,
.feature-card h3,
.story-card h3,
.download-card h3,
.policy-section h2,
.footer__brand h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.hero__surface-card p,
.feature-card p,
.story-card p,
.download-card p,
.policy-section p,
.footer__brand p,
.footer__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.chip-row,
.info-row,
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.badge {
  background: rgba(47, 113, 255, 0.1);
  color: var(--accent-strong);
}

.section {
  margin-top: 22px;
}

.section-card,
.policy-article,
.policy-sidebar,
.download-card,
.cta-band,
.not-found-card {
  padding: 28px;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section__copy {
  max-width: 720px;
}

.section__kicker,
.policy-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(30px, 3.5vw, 54px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.story-card,
.download-card {
  padding: 22px;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(47, 113, 255, 0.18), rgba(143, 178, 255, 0.2));
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.story-stack {
  display: grid;
  gap: 18px;
}

.story-card--accent {
  background:
    radial-gradient(circle at top right, rgba(47, 113, 255, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(18, 31, 49, 0.96), rgba(11, 21, 35, 0.96));
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.55;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  background:
    radial-gradient(circle at top right, rgba(102, 168, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(17, 30, 47, 0.98), rgba(10, 19, 32, 0.98));
}

.cta-band__copy {
  max-width: 640px;
}

.cta-band__title {
  font-size: clamp(28px, 3.2vw, 44px);
}

.cta-band__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
}

.docs-layout--policy {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.policy-main {
  display: grid;
  gap: 22px;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 22px;
  align-items: stretch;
}

.policy-hero__copy,
.policy-hero__panel,
.policy-summary-card,
.policy-aside-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.94));
  box-shadow: var(--surface-shadow);
}

.policy-hero__copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.policy-hero__copy::after {
  content: "";
  position: absolute;
  right: -84px;
  bottom: -112px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 113, 255, 0.2), transparent 66%);
}

.policy-hero__title {
  max-width: 11ch;
  margin: 14px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.policy-hero__lead,
.policy-summary-card p,
.policy-card p,
.policy-aside-card p,
.policy-section__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.policy-hero__lead {
  max-width: 58ch;
  font-size: 17px;
}

.policy-hero__panel {
  display: grid;
  align-content: start;
  padding: 22px;
}

.policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.policy-summary-card {
  padding: 18px;
}

.policy-summary-card--wide {
  grid-column: 1 / -1;
}

.policy-summary-card h3,
.policy-card h3,
.policy-aside-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.policy-sidebar {
  height: fit-content;
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(17, 30, 47, 0.96), rgba(11, 21, 35, 0.98));
}

.policy-sidebar h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.policy-nav {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.policy-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.policy-aside-card {
  padding: 18px;
}

.policy-aside-card strong {
  margin-top: 0;
}

.policy-aside-card .chip-row {
  margin-top: 14px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.policy-article {
  display: grid;
  gap: 0;
  padding: 32px 34px;
}

.policy-section {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-section:first-child {
  padding-top: 0;
  border-top: none;
}

.policy-section + .policy-section {
  margin-top: 18px;
}

.policy-section__lead {
  max-width: 62ch;
}

.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.policy-card {
  padding: 18px;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 18px;
  color: var(--muted-strong);
}

.policy-callout {
  margin-top: 20px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(47, 113, 255, 0.08), rgba(47, 113, 255, 0.04));
  border: 1px solid rgba(47, 113, 255, 0.15);
  color: var(--muted-strong);
}

.policy-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.docs-layout--policy-document {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.policy-sidebar--document {
  gap: 16px;
  padding: 24px;
}

.policy-sidebar--document .policy-nav a {
  padding: 10px 12px;
  border-radius: 12px;
}

.policy-document {
  padding: 52px 56px;
  border: 1px solid rgba(21, 36, 60, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 250, 255, 0.985));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  color: #0d1628;
}

.policy-document__eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #315fd8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-document__title {
  max-width: 15ch;
  margin: 0 0 18px;
  color: #091224;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.policy-document__lead,
.policy-document p,
.policy-document li {
  color: #243246;
}

.policy-document__lead {
  max-width: 62ch;
  margin: 0;
  font-size: 19px;
  line-height: 1.78;
}

.policy-document__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 34px;
}

.policy-document__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 22px 0 14px;
}

.policy-document__detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  min-height: 88px;
  padding: 18px 20px;
  border: 1px solid rgba(21, 36, 60, 0.08);
  border-radius: 20px;
  background: rgba(16, 33, 57, 0.04);
  color: #243246;
  text-decoration: none;
}

.policy-document__detail strong {
  color: #091224;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.policy-document__detail-label {
  color: #315fd8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-document__detail--link {
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.policy-document__detail--link:hover,
.policy-document__detail--link:focus-visible {
  border-color: rgba(47, 113, 255, 0.2);
  background: rgba(47, 113, 255, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.policy-document__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.policy-document__archive-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(47, 113, 255, 0.18);
  background: rgba(47, 113, 255, 0.08);
  color: #315fd8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.policy-document__archive-link:hover,
.policy-document__archive-link:focus-visible {
  border-color: rgba(47, 113, 255, 0.26);
  background: rgba(47, 113, 255, 0.14);
  color: #254eb7;
  transform: translateY(-1px);
  outline: none;
  text-decoration: none;
}

.policy-document__meta .chip,
.policy-document__meta .badge {
  min-height: 34px;
  color: #25324a;
  background: rgba(16, 33, 57, 0.06);
  border-color: rgba(16, 33, 57, 0.08);
}

.policy-document__meta .badge {
  color: #315fd8;
  background: rgba(47, 113, 255, 0.08);
  border-color: rgba(47, 113, 255, 0.14);
}

.policy-document__section {
  padding-top: 26px;
  border-top: 1px solid rgba(19, 33, 56, 0.08);
  scroll-margin-top: 126px;
}

.policy-document__section:first-of-type {
  padding-top: 0;
  border-top: none;
}

.policy-document__section + .policy-document__section {
  margin-top: 28px;
}

.policy-document__section h2 {
  margin: 0 0 16px;
  color: #091224;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.policy-document p {
  max-width: 66ch;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.82;
}

.policy-document p:last-child {
  margin-bottom: 0;
}

.policy-document ul {
  max-width: 64ch;
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-document li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.74;
}

.policy-document a {
  color: #315fd8;
  text-decoration: none;
}

.policy-document a:hover,
.policy-document a:focus-visible {
  text-decoration: underline;
}

.policy-document code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(16, 33, 57, 0.06);
  color: inherit;
  font-size: 0.95em;
}

.policy-document__note {
  max-width: 60ch;
  padding: 18px 20px;
  border-left: 3px solid rgba(47, 113, 255, 0.48);
  border-radius: 18px;
  background: rgba(47, 113, 255, 0.05);
  color: #223047;
}

.policy-document__note p {
  margin: 0;
  font-size: 16px;
}

.policy-document--wide {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.policy-document--themed {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.94), rgba(11, 21, 35, 0.98));
  box-shadow: var(--surface-shadow);
}

.policy-document--themed .policy-document__title {
  color: var(--text);
}

.policy-document--themed .policy-document__lead,
.policy-document--themed p,
.policy-document--themed li,
.policy-document--themed .policy-document__meta .chip,
.policy-document--themed .policy-document__meta .badge {
  color: var(--muted-strong);
}

.policy-document--themed .policy-document__meta .chip,
.policy-document--themed .policy-document__meta .badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.policy-document--themed .policy-document__meta .badge {
  color: var(--accent-alt);
  background: rgba(47, 113, 255, 0.12);
  border-color: rgba(47, 113, 255, 0.18);
}

.policy-document--themed .policy-document__detail {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
}

.policy-document--themed .policy-document__detail strong {
  color: var(--text);
}

.policy-document--themed .policy-document__detail-label {
  color: var(--accent-alt);
}

.policy-document--themed .policy-document__detail--link:hover,
.policy-document--themed .policy-document__detail--link:focus-visible {
  border-color: rgba(47, 113, 255, 0.24);
  background: rgba(47, 113, 255, 0.12);
}

.policy-document--themed .policy-document__archive-link {
  border-color: rgba(143, 178, 255, 0.16);
  background: rgba(47, 113, 255, 0.09);
  color: var(--accent-alt);
}

.policy-document--themed .policy-document__archive-link:hover,
.policy-document--themed .policy-document__archive-link:focus-visible {
  border-color: rgba(143, 178, 255, 0.26);
  background: rgba(47, 113, 255, 0.14);
  color: var(--text);
}

.policy-document--themed .policy-document__section {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.policy-document--themed .policy-document__section h2,
.policy-document--themed .policy-document__eyebrow {
  color: var(--text);
}

.policy-document--themed .policy-document__eyebrow {
  color: var(--accent-alt);
}

.policy-document--themed .policy-document__note {
  background: rgba(47, 113, 255, 0.1);
  border-left-color: rgba(143, 178, 255, 0.66);
  color: var(--muted-strong);
}

.policy-document--themed .policy-document__note p {
  color: var(--muted-strong);
}

.policy-document__jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.policy-document__jump-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.policy-document__jump-link:hover,
.policy-document__jump-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.policy-document__versions {
  max-width: 64ch;
  display: grid;
  gap: 16px;
}

.policy-document__version-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.policy-document__version-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 16px;
}

.archive-main {
  display: grid;
  gap: 54px;
  padding: 18px 0 10px;
}

.archive-hero {
  max-width: 980px;
}

.archive-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-alt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-hero__title {
  max-width: 12ch;
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(54px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.archive-hero__lead {
  max-width: 58ch;
  margin: 0;
  color: var(--muted-strong);
  font-size: 19px;
  line-height: 1.78;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
}

.archive-group {
  min-width: 0;
}

.archive-group__title {
  max-width: 10ch;
  margin: 0 0 26px;
  color: var(--text);
  font-size: clamp(32px, 3.9vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-list li + li {
  margin-top: 12px;
}

.archive-list a,
.archive-list__empty,
.archive-list__draft {
  color: var(--accent-alt);
  font-size: 17px;
  line-height: 1.55;
}

.archive-list a {
  text-decoration: none;
}

.archive-list a:hover,
.archive-list a:focus-visible {
  text-decoration: underline;
}

.archive-list__empty {
  color: var(--muted);
}

.archive-list__draft {
  color: var(--muted-strong);
}

.archive-note {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.archive-note p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.archive-note code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.95em;
}

.series-main {
  display: grid;
  gap: 34px;
  padding: 18px 0 12px;
}

.series-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.series-hero__copy,
.series-hero__panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.97));
  box-shadow: var(--surface-shadow);
}

.series-hero__copy {
  padding: 34px;
}

.series-hero__panel {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(47, 113, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.97));
}

.series-hero__title {
  max-width: 14ch;
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.series-hero__lead,
.series-hero__panel-copy {
  max-width: 62ch;
  margin: 0;
  color: var(--muted-strong);
  font-size: 19px;
  line-height: 1.72;
}

.series-hero__copy .site-button-group {
  margin-top: 24px;
}

.series-hero__panel-title {
  max-width: 18ch;
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.series-hero__steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.series-hero__steps li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.6;
}

.series-hero__steps li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-alt);
}

.series-section {
  display: grid;
  gap: 22px;
}

.series-section__head {
  max-width: 70ch;
}

.series-section__title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.series-section__lead {
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.72;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.series-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, var(--series-accent, rgba(47, 113, 255, 0.12)), transparent 36%),
    linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.97));
  box-shadow: var(--surface-shadow);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.series-card:hover,
.series-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 178, 255, 0.24);
  outline: none;
}

.series-card__poster {
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, var(--series-accent-strong, rgba(47, 113, 255, 0.28)), rgba(10, 18, 30, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.series-card__body {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-width: 0;
}

.series-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.series-card__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.series-card__type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.series-card__copy {
  margin: 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.7;
}

.series-card .chip-row {
  gap: 8px;
}

.series-card .chip {
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-strong);
}

.series-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-alt);
  font-size: 15px;
  font-weight: 700;
}

.series-card__cta::after {
  content: "→";
}

@media (prefers-color-scheme: light) {
  .series-hero__copy,
  .series-hero__panel,
  .series-card {
    background:
      radial-gradient(circle at top right, var(--series-accent, rgba(47, 113, 255, 0.1)), transparent 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
    box-shadow: 0 24px 54px rgba(54, 84, 126, 0.12);
  }

  .series-hero__title,
  .series-hero__panel-title,
  .series-section__title,
  .series-card__title,
  .series-card__poster {
    color: #0b1220;
  }

  .series-hero__lead,
  .series-hero__panel-copy,
  .series-hero__steps li,
  .series-section__lead,
  .series-card__copy,
  .series-card__type,
  .series-card .chip {
    color: #334155;
  }

  .series-card__type,
  .series-card .chip,
  .series-card__poster {
    border-color: rgba(16, 33, 57, 0.08);
    background:
      linear-gradient(160deg, var(--series-accent-strong, rgba(47, 113, 255, 0.14)), rgba(16, 33, 57, 0.02)),
      rgba(16, 33, 57, 0.04);
  }

  .series-hero__steps li::before,
  .series-card__cta {
    color: #315fd8;
  }

  .policy-document--themed {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
    box-shadow: 0 24px 54px rgba(54, 84, 126, 0.12);
  }

  .policy-document--themed .policy-document__title,
  .policy-document--themed .policy-document__section h2 {
    color: #0b1220;
  }

  .policy-document--themed .policy-document__lead,
  .policy-document--themed p,
  .policy-document--themed li {
    color: #334155;
  }

  .policy-document--themed .policy-document__meta .chip,
  .policy-document--themed .policy-document__meta .badge,
  .policy-document__detail,
  .policy-document__jump-link,
  .policy-document__version-item {
    border-color: rgba(16, 33, 57, 0.08);
    background: rgba(16, 33, 57, 0.04);
    color: #334155;
  }

  .policy-document--themed .policy-document__meta .badge {
    color: #315fd8;
    background: rgba(47, 113, 255, 0.08);
    border-color: rgba(47, 113, 255, 0.14);
  }

  .policy-document__jump-link:hover,
  .policy-document__jump-link:focus-visible {
    background: rgba(16, 33, 57, 0.08);
    color: #0b1220;
  }

  .policy-document__version-item strong,
  .policy-document__detail strong,
  .policy-document--themed .policy-document__eyebrow {
    color: #0b1220;
  }

  .policy-document__detail-label {
    color: #315fd8;
  }

  .policy-document__archive-link {
    border-color: rgba(47, 113, 255, 0.14);
    background: rgba(47, 113, 255, 0.08);
    color: #315fd8;
  }

  .policy-document__archive-link:hover,
  .policy-document__archive-link:focus-visible {
    border-color: rgba(47, 113, 255, 0.22);
    background: rgba(47, 113, 255, 0.12);
    color: #1d4ed8;
  }

  .archive-hero__title,
  .archive-group__title {
    color: #0b1220;
  }

  .archive-hero__lead {
    color: #334155;
  }

  .archive-list__empty,
  .archive-list__draft,
  .archive-note p {
    color: #475569;
  }

  .archive-note {
    border-top-color: rgba(16, 33, 57, 0.08);
  }

  .archive-note code {
    background: rgba(16, 33, 57, 0.06);
    color: #334155;
  }
}

@media (max-width: 1040px) {
  .series-hero {
    grid-template-columns: 1fr;
  }

  .series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .series-main {
    gap: 24px;
    padding-top: 12px;
  }

  .series-hero__copy,
  .series-hero__panel {
    padding: 24px;
    border-radius: 20px;
  }

  .series-hero__title {
    max-width: none;
    font-size: clamp(42px, 14vw, 62px);
  }

  .series-hero__panel-title,
  .series-section__title {
    max-width: none;
  }

  .series-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .series-card__poster {
    width: 88px;
    border-radius: 16px;
    font-size: 24px;
  }

  .series-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .series-card {
    grid-template-columns: 1fr;
  }

  .series-card__poster {
    width: 72px;
  }
}

.series-main {
  display: grid;
  gap: 34px;
  padding: 18px 0 14px;
}

.series-intro {
  display: grid;
  gap: 16px;
  max-width: 76ch;
}

.series-intro__title {
  max-width: 11ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.series-intro__lead {
  max-width: 72ch;
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

.series-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.series-intro__actions {
  display: grid;
  gap: 12px;
}

.series-intro__access-note {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.series-note {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.series-showcase,
.series-row {
  display: grid;
  gap: 18px;
}

.series-showcase__head,
.series-row__head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.series-showcase__head {
  align-items: end;
  justify-content: space-between;
}

.series-showcase__title {
  max-width: 18ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.series-showcase .section__kicker {
  margin-bottom: 10px;
  color: #5f96ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series-row__simple-title {
  margin: 0;
  color: #5f96ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series-row__title,
.series-row__caption {
  display: none;
}

.series-row .section__kicker {
  margin-bottom: 0;
  color: #5f96ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.series-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 0.96fr));
  gap: 20px;
}

.series-feature-card,
.series-poster-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--surface-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.series-feature-card:hover,
.series-feature-card:focus-visible,
.series-poster-card:hover,
.series-poster-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 178, 255, 0.28);
  outline: none;
}

.series-feature-card {
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  padding: 0;
  border-radius: 26px;
  background: var(--series-bg);
  isolation: isolate;
}

.series-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 30%, transparent 56%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.04) 0%, rgba(7, 12, 20, 0.16) 42%, rgba(7, 12, 20, 0.66) 100%);
}

.series-feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background:
    radial-gradient(circle at left top, rgba(143, 178, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(7, 12, 20, 0) 0%, rgba(7, 12, 20, 0.78) 100%);
}

.series-feature-card__ghost {
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 0;
  max-width: 56%;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.84;
  text-align: right;
  word-break: break-word;
  pointer-events: none;
}

.series-feature-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(100%, 35ch);
  margin: 18px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.56), rgba(8, 14, 25, 0.84));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.series-feature-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.series-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 11, 20, 0.4);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.series-pill--strong {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
}

.series-feature-card__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.series-feature-card__copy {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.series-feature-card__meta {
  color: var(--accent-alt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.series-feature-card:hover .series-feature-card__content,
.series-feature-card:focus-visible .series-feature-card__content {
  transform: translateY(-2px);
  border-color: rgba(143, 178, 255, 0.18);
}

.series-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 184px;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 8px;
  scrollbar-width: thin;
}

.series-poster-card {
  display: block;
  --poster-image-height: 220px;
  --poster-image-radius: 16px;
  --poster-body-gap: 10px;
  min-height: 0;
  padding-top: calc(var(--poster-image-height) + var(--poster-body-gap));
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.series-poster-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--poster-image-height);
  background: var(--series-bg);
  border-radius: var(--poster-image-radius);
  border: 1px solid var(--line);
  box-shadow: var(--surface-shadow);
  filter: saturate(1.06) brightness(1.14);
}

.series-poster-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--poster-image-height);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(4, 8, 16, 0) 0%, rgba(4, 8, 16, 0.06) 34%, rgba(4, 8, 16, 0.18) 68%, rgba(4, 8, 16, 0.42) 100%);
  border-radius: var(--poster-image-radius);
}

.series-poster-card--art::after {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(4, 8, 16, 0) 0%, rgba(4, 8, 16, 0.05) 34%, rgba(4, 8, 16, 0.16) 68%, rgba(4, 8, 16, 0.36) 100%);
}

.series-poster-card__rank,
.series-poster-card__badge-row,
.series-poster-card__body {
  position: relative;
  z-index: 1;
}

.series-poster-card__rank {
  position: absolute;
  top: calc(var(--poster-image-height) - 54px);
  left: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 8px 18px rgba(4, 8, 16, 0.32);
}

.series-poster-card__badge-row {
  display: flex;
  gap: 3px;
  position: absolute;
  top: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
}

.series-poster-card__badge-row--right {
  left: auto;
  right: 6px;
}

.series-poster-card__type {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  min-height: 21px;
  max-width: 100%;
  padding: 0 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 12, 22, 0.78);
  color: rgba(255, 255, 255, 0.96);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(4, 8, 16, 0.18);
}

.series-poster-card__body {
  display: grid;
  gap: 2px;
  padding: 0 2px;
  min-height: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.series-poster-card__body strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.series-poster-card__body span {
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.series-poster-card__type-label {
  display: block;
}

.series-poster-card__badge-icon-image {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  display: block;
  margin: 0 auto;
}

.series-poster-card__type--icon-only {
  min-width: 21px;
  padding: 0;
}

.series-poster-card__type--icon-only .series-poster-card__type-label {
  display: none;
}

.series-poster-card__type--icon-only .series-poster-card__badge-icon-image {
  width: 10px;
  height: 10px;
}

.series-poster-card__type.series-poster-card__type--new {
  border-color: rgba(134, 239, 172, 0.34);
  background: rgba(20, 83, 45, 0.7);
}

.series-poster-card__type.series-poster-card__type--up {
  border-color: rgba(147, 197, 253, 0.34);
  background: rgba(30, 64, 175, 0.72);
}

.series-poster-card__type.series-poster-card__type--wtf {
  border-color: rgba(244, 171, 203, 0.34);
  background: rgba(131, 24, 67, 0.74);
}

.series-poster-card__type.series-poster-card__type--sale {
  border-color: rgba(253, 224, 71, 0.34);
  background: rgba(133, 77, 14, 0.74);
}

.series-poster-card__type.series-poster-card__type--mature {
  border-color: rgba(253, 186, 116, 0.36);
  background: rgba(154, 52, 18, 0.78);
}

[data-series-theme="seraph-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') center 18% / cover no-repeat;
}

[data-series-theme="frieren-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 76% 24% / cover no-repeat;
}

[data-series-theme="dandadan-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 54% 62% / cover no-repeat;
}

[data-series-theme="witch-hat-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 18% 34% / cover no-repeat;
}

[data-series-theme="sakamoto-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 48% 30% / cover no-repeat;
}

[data-series-theme="blue-period-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 76% 28% / cover no-repeat;
}

[data-series-theme="webtoon-collection-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 62% 18% / cover no-repeat;
}

[data-series-theme="lore-olympus-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 22% 24% / cover no-repeat;
}

[data-series-theme="omniscient-reader-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 72% 22% / cover no-repeat;
}

[data-series-theme="your-throne-feature"] {
  --series-bg: url('/_marketing/assets/series/seraph-banner.jpg') 86% 26% / cover no-repeat;
}

[data-series-theme="seraph-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') center 17% / cover no-repeat;
}

[data-series-theme="frieren-art-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 74% 18% / cover no-repeat;
}

[data-series-theme="dandadan-art-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 56% 30% / cover no-repeat;
}

[data-series-theme="chainsaw-art-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 35% 53% / cover no-repeat;
}

[data-series-theme="one-piece-art-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 83% 41% / cover no-repeat;
}

[data-series-theme="solo-leveling-art-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 20% 73% / cover no-repeat;
}

[data-series-theme="witch-hat-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 18% 18% / cover no-repeat;
}

[data-series-theme="sakamoto-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 46% 24% / cover no-repeat;
}

[data-series-theme="blue-period-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 72% 18% / cover no-repeat;
}

[data-series-theme="chainsaw-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 34% 52% / cover no-repeat;
}

[data-series-theme="frieren-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 74% 18% / cover no-repeat;
}

[data-series-theme="dandadan-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 56% 30% / cover no-repeat;
}

[data-series-theme="lore-olympus-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 18% 20% / cover no-repeat;
}

[data-series-theme="omniscient-reader-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 72% 22% / cover no-repeat;
}

[data-series-theme="tower-of-god-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 82% 20% / cover no-repeat;
}

[data-series-theme="your-throne-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 84% 24% / cover no-repeat;
}

[data-series-theme="romance-101-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 18% 24% / cover no-repeat;
}

[data-series-theme="estate-developer-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 60% 28% / cover no-repeat;
}

[data-series-theme="rezero-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 12% 18% / cover no-repeat;
}

[data-series-theme="blue-lock-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 48% 74% / cover no-repeat;
}

[data-series-theme="jujutsu-kaisen-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 66% 44% / cover no-repeat;
}

[data-series-theme="kaiju-no-8-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 88% 58% / cover no-repeat;
}

[data-series-theme="blue-box-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 24% 12% / cover no-repeat;
}

[data-series-theme="oshi-no-ko-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 64% 10% / cover no-repeat;
}

[data-series-theme="vinland-saga-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 8% 58% / cover no-repeat;
}

[data-series-theme="eleceed-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 44% 12% / cover no-repeat;
}

[data-series-theme="unordinary-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 74% 48% / cover no-repeat;
}

[data-series-theme="sweet-home-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 28% 62% / cover no-repeat;
}

[data-series-theme="marry-my-husband-poster"] {
  --series-bg: url('/_marketing/assets/series/seraph-cover.webp') 92% 16% / cover no-repeat;
}

@media (prefers-color-scheme: light) {
  .series-note {
    border-color: rgba(16, 33, 57, 0.08);
    background: rgba(16, 33, 57, 0.04);
    color: #334155;
  }

  .series-feature-card,
  .series-poster-card {
    border-color: rgba(16, 33, 57, 0.1);
  }

  .series-feature-card__copy,
  .series-row__caption,
  .series-poster-card__body span {
    color: rgba(235, 241, 252, 0.88);
  }

  .series-feature-card__meta {
    color: #d5e2ff;
  }

  .series-pill,
  .series-poster-card__type {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(8, 13, 24, 0.56);
    color: rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 1120px) {
  .series-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-feature-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .series-main {
    gap: 28px;
    padding-top: 12px;
  }

  .series-intro__title {
    max-width: none;
    font-size: clamp(42px, 13vw, 66px);
  }

  .series-showcase__head,
  .series-row__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .series-showcase__title {
    max-width: none;
  }

  .series-row__caption {
    max-width: none;
    text-align: left;
  }

  .series-feature-grid {
    grid-template-columns: 1fr;
  }

  .series-feature-grid > :last-child {
    grid-column: auto;
  }

  .series-feature-card {
    min-height: 360px;
  }

  .series-feature-card__ghost {
    max-width: 54%;
    font-size: clamp(40px, 11vw, 84px);
  }

  .series-feature-card__content {
    width: min(100%, 34ch);
    margin: 16px;
    padding: 16px 16px 14px;
  }

  .series-rail {
    grid-auto-columns: 44vw;
  }
}

@media (max-width: 560px) {
  .series-note-row {
    gap: 8px;
  }

  .series-note {
    min-height: 32px;
    padding: 0 12px;
    font-size: 11px;
  }

  .series-feature-card {
    min-height: 304px;
    border-radius: 20px;
  }

  .series-feature-card__title {
    font-size: 28px;
  }

  .series-feature-card__copy {
    font-size: 15px;
  }

  .series-feature-card__content {
    margin: 14px;
    padding: 14px 14px 13px;
    border-radius: 18px;
  }

  .series-rail {
    grid-auto-columns: 68vw;
    gap: 12px;
  }

  .series-poster-card {
    --poster-image-height: 206px;
    --poster-image-radius: 14px;
    --poster-body-gap: 8px;
  }

  .series-poster-card__badge-row {
    top: 5px;
    left: 5px;
  }

  .series-poster-card__badge-row--right {
    left: auto;
    right: 5px;
  }

  .series-poster-card__type {
    min-height: 20px;
    padding: 0 5px;
    border-radius: 5px;
  }

  .series-poster-card__rank {
    top: calc(var(--poster-image-height) - 48px);
    left: 8px;
    font-size: 38px;
  }

  .series-poster-card__body strong {
    font-size: 16px;
  }

  .series-poster-card__body span {
    font-size: 12px;
  }
}

.download-main {
  display: grid;
  gap: 20px;
}

body.marketing-page--download .site-nav {
  border-radius: 20px;
}

body.marketing-page--download .site-link,
body.marketing-page--download .site-menu > summary {
  border-radius: 12px;
}

body.marketing-page--download .site-button {
  border-radius: 12px;
}

body.marketing-page--download .site-brand__mark,
body.marketing-page--download .footer__logo-mark {
  border-radius: 12px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.download-hero,
.download-platform,
.download-principle {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(11, 21, 35, 0.94));
  box-shadow: var(--surface-shadow);
}

.download-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 22px;
  padding: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(47, 113, 255, 0.2), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(143, 178, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(14, 25, 40, 0.96), rgba(8, 16, 27, 0.99));
}

.download-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 42%);
}

.download-hero__copy,
.download-hero__panel {
  position: relative;
  z-index: 1;
}

.download-hero__copy {
  display: grid;
  align-content: center;
}

.download-hero__title {
  max-width: 10.5ch;
  margin: 18px 0 16px;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.download-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.download-hero__copy .site-button-group {
  margin-top: 28px;
}

.download-hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.download-signal {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.download-signal span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-signal strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.download-hero__panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(102, 168, 255, 0.16), transparent 30%),
    rgba(7, 13, 22, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.download-hero__panel-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.download-hero__panel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.download-platform-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.download-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.download-strip-item__copy {
  display: grid;
  gap: 4px;
}

.download-strip-item__copy strong {
  font-size: 16px;
  line-height: 1.1;
}

.download-strip-item__copy span {
  color: var(--muted);
  font-size: 13px;
}

.download-platform__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  flex: 0 0 54px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.download-platform__icon--browser {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #041019;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.download-platform__icon--windows {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 120, 212, 0.18), rgba(0, 120, 212, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 120, 212, 0.08);
}

.download-platform__icon--macos {
  color: #fff;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.16), rgba(245, 245, 247, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(245, 245, 247, 0.06);
}

.download-platform__icon--ios {
  color: #fff;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.14), rgba(133, 153, 184, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(245, 245, 247, 0.05);
}

.download-platform__icon--android {
  color: var(--platform-android);
  background: linear-gradient(180deg, rgba(61, 220, 132, 0.18), rgba(61, 220, 132, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(61, 220, 132, 0.08);
}

.download-platform__icon--linux {
  color: #fff;
  background: linear-gradient(180deg, rgba(252, 198, 36, 0.18), rgba(252, 198, 36, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(252, 198, 36, 0.08);
}

.platform-icon {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}

.platform-icon * {
  fill: currentColor;
}

.download-platform__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.download-platform__label {
  display: grid;
  gap: 2px;
}

.download-platform__label span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-platform__label strong {
  font-family: var(--heading-font);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.download-platforms,
.download-principles-section {
  display: grid;
  gap: 14px;
}

.download-groups {
  display: grid;
  gap: 18px;
}

.download-group {
  display: grid;
  gap: 12px;
}

.download-group__head {
  display: grid;
  gap: 6px;
  padding: 0 2px;
}

.download-group__eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-group__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.download-group__lede {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.download-section-heading {
  display: grid;
  gap: 8px;
  padding: 2px 2px 0;
}

.download-section-heading .section__title {
  max-width: 12ch;
  margin: 0;
}

.download-section-heading .section__lede {
  max-width: 72ch;
}

.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.download-platform-grid--single {
  grid-template-columns: 1fr;
}

.download-platform-grid--single .download-platform--featured {
  grid-column: auto;
}

.download-platform-grid--desktop {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-platform-grid--mobile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-platform {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.download-platform--featured {
  grid-column: auto;
  background:
    radial-gradient(circle at top right, rgba(47, 113, 255, 0.16), transparent 28%),
    radial-gradient(circle at left bottom, rgba(143, 178, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(16, 29, 45, 0.98), rgba(9, 17, 28, 0.98));
}

.download-platform__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-platform__status {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 12px;
}

.download-platform__meta {
  display: grid;
  gap: 0;
}

.download-platform__meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-platform__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-multi {
  position: relative;
}

.download-multi > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.download-multi > summary::-webkit-details-marker {
  display: none;
}

.download-multi > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.download-multi[open] > summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.download-multi > summary:hover,
.download-multi > summary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transform: translateY(-1px);
}

.download-multi__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 12;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 17, 28, 0.96);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.download-multi__option {
  width: 100%;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.download-multi__option:hover,
.download-multi__option:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.download-multi__option:hover,
.download-multi__option:focus-visible {
  transform: translateY(-1px);
}

.download-multi__option span {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
}

.download-multi__option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.download-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-principle {
  padding: 20px;
}

.download-principle h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.download-principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.download-main--focused {
  gap: 24px;
}

.download-stage {
  --download-accent: var(--platform-windows);
  --download-accent-soft: rgba(0, 120, 212, 0.2);
  --download-accent-line: rgba(0, 120, 212, 0.32);
  display: grid;
  gap: 18px;
}

.download-stage[data-platform="macos"],
.download-stage[data-platform="ios"] {
  --download-accent: var(--platform-apple);
  --download-accent-soft: rgba(245, 245, 247, 0.18);
  --download-accent-line: rgba(245, 245, 247, 0.24);
}

.download-stage[data-platform="linux"] {
  --download-accent: var(--platform-linux);
  --download-accent-soft: rgba(252, 198, 36, 0.2);
  --download-accent-line: rgba(252, 198, 36, 0.3);
}

.download-stage[data-platform="android"] {
  --download-accent: var(--platform-android);
  --download-accent-soft: rgba(61, 220, 132, 0.22);
  --download-accent-line: rgba(61, 220, 132, 0.28);
}

.download-stage[data-platform="android"] .download-stage__icon-shell {
  color: var(--platform-android);
}

.download-stage__intro {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 2px 2px;
  text-align: center;
}

.download-stage__headline {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.download-stage__lead {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.download-stage__card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px 22px;
  border: 1px solid var(--download-accent-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(27, 15, 33, 0.95), rgba(11, 17, 29, 0.98));
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 2;
}

.download-stage__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, var(--download-accent-soft), transparent 34%),
    radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.035), transparent 26%);
}

.download-stage__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: var(--download-accent);
  opacity: 0.94;
}

.download-stage__flare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 14%, var(--download-accent-soft), transparent 22%);
}

.download-stage__hero,
.download-stage__meta {
  position: relative;
  z-index: 1;
}

.download-stage__hero {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 12px;
}

.download-stage__identity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.download-stage__icon-shell {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  flex: 0 0 70px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, var(--download-accent-soft), rgba(255, 255, 255, 0.04));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.platform-icon--spotlight {
  width: 40px;
  height: 40px;
}

.download-stage__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.download-stage__controls {
  display: grid;
  justify-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}

.download-stage__platform {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.download-stage__subtitle {
  margin: 0;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: clamp(21px, 2.8vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.download-stage__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.download-stage__version,
.download-stage__state {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.download-stage__version {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-stage__state {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.download-stage__state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.download-stage__state[data-state="live"] {
  color: #9cf2c5;
  border-color: rgba(61, 220, 132, 0.22);
  background: rgba(61, 220, 132, 0.1);
}

.download-stage__state[data-state="alpha"] {
  color: #ff9b9b;
  border-color: rgba(255, 91, 91, 0.28);
  background: rgba(255, 91, 91, 0.14);
}

.download-stage__state[data-state="beta"] {
  color: #f9d67e;
  border-color: rgba(252, 198, 36, 0.22);
  background: rgba(252, 198, 36, 0.1);
}

.download-stage__state[data-state="planned"] {
  color: var(--muted-strong);
}

.download-stage__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.download-stage__picker {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: fit-content;
}

.download-stage__picker > summary {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border-color: var(--download-accent-line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.download-stage__picker > summary span {
  font-size: 0;
}

.download-stage__picker > summary span::before {
  content: "Select Package";
  font-size: 15px;
}

.download-stage__picker > summary:hover,
.download-stage__picker > summary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--download-accent);
}

.download-stage__picker .download-multi__menu {
  position: static;
  min-width: 0;
  width: min(240px, calc(100vw - 72px));
  margin-top: 10px;
  padding: 6px;
  border-radius: 12px;
  border-color: var(--download-accent-line);
  background: rgba(9, 17, 28, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.download-stage__picker[open] > summary {
  border-color: var(--download-accent);
}

.download-stage__picker[open] .download-multi__menu {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.download-stage__watermark {
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--download-accent);
  font-size: clamp(84px, 14vw, 170px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.84;
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
}

.download-stage__switcher {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.download-stage__switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.7);
  color: var(--muted-strong);
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.download-stage__switch:hover,
.download-stage__switch:focus-visible {
  color: var(--text);
  border-color: var(--download-accent-line);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
  outline: none;
}

.download-stage__switch.is-active {
  color: var(--text);
  border-color: var(--download-accent-line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -2px 0 var(--download-accent);
}

.download-stage__switch .download-platform__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
}

.download-stage__switch-label {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.roadmap-main {
  display: grid;
  gap: 22px;
}

.roadmap-hero {
  padding: 12px 0 8px;
}

.roadmap-hero__copy {
  display: grid;
  gap: 0;
  justify-items: center;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}

.roadmap-hero__title {
  max-width: 17ch;
  margin: 12px auto 10px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.roadmap-hero__lead,
.roadmap-section__lead,
.roadmap-phase__body,
.roadmap-track__item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.roadmap-hero__lead {
  max-width: 62ch;
  font-size: 17px;
  padding-bottom: 0;
}

.roadmap-hero__copy .policy-meta {
  justify-content: center;
  margin: 16px 0 0;
}

.roadmap-timeline-block {
  display: grid;
  gap: 28px;
  padding: 10px 0 0;
  overflow: visible;
}

.roadmap-timeline-block__header {
  align-items: flex-start;
}

.roadmap-timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  min-height: 560px;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 12px 8px 8px;
}

.roadmap-timeline-grid::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(47, 113, 255, 0.28), rgba(143, 178, 255, 0.46));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.roadmap-status--live {
  color: #9cf2c5;
  border-color: rgba(61, 220, 132, 0.22);
  background: rgba(61, 220, 132, 0.1);
}

.roadmap-status--progress {
  color: #b9d1ff;
  border-color: rgba(47, 113, 255, 0.24);
  background: rgba(47, 113, 255, 0.12);
}

.roadmap-status--planned {
  color: #dde7fb;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.roadmap-status--later {
  color: #f6d28d;
  border-color: rgba(252, 198, 36, 0.22);
  background: rgba(252, 198, 36, 0.1);
}

.roadmap-slot {
  position: relative;
  display: grid;
  grid-column: span 2;
  grid-template-rows: minmax(0, 1fr) 88px minmax(0, 1fr);
  min-height: 560px;
}

.roadmap-slot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% - 44px);
  height: 88px;
  border-left: 1px dashed rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.roadmap-slot--top .roadmap-milestone {
  grid-row: 1;
  align-self: end;
}

.roadmap-slot--bottom .roadmap-milestone {
  grid-row: 3;
  align-self: start;
}

.roadmap-slot__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #0b1020;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(47, 113, 255, 0.12);
  transform: translate(-50%, -50%);
}

.roadmap-slot--live .roadmap-slot__dot {
  border-color: #3ddc84;
  box-shadow: 0 0 0 6px rgba(61, 220, 132, 0.12);
}

.roadmap-slot--progress .roadmap-slot__dot {
  border-color: var(--accent);
}

.roadmap-slot--planned .roadmap-slot__dot {
  border-color: #d6e2fb;
  box-shadow: 0 0 0 6px rgba(214, 226, 251, 0.1);
}

.roadmap-slot--later .roadmap-slot__dot {
  border-color: #fcc624;
  box-shadow: 0 0 0 6px rgba(252, 198, 36, 0.12);
}

.roadmap-milestone {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 360px);
  min-height: 272px;
  padding: 24px 24px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.roadmap-slot--top .roadmap-milestone,
.roadmap-slot--bottom .roadmap-milestone {
  justify-self: center;
}

.roadmap-milestone--live {
  background:
    radial-gradient(circle at top right, rgba(61, 220, 132, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.roadmap-milestone--progress {
  background:
    radial-gradient(circle at top right, rgba(47, 113, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.roadmap-milestone--planned {
  background:
    radial-gradient(circle at top right, rgba(214, 226, 251, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.roadmap-milestone--later {
  background:
    radial-gradient(circle at top right, rgba(252, 198, 36, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.roadmap-milestone__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.roadmap-milestone__date {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-milestone__title {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.roadmap-milestone__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-milestone__list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.62;
}

.roadmap-milestone__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

@media (prefers-color-scheme: light) {
  body.marketing-page--download .download-stage__switch {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(16, 33, 57, 0.08);
    color: #1e293b;
  }

  body.marketing-page--download .download-stage__switch:hover,
  body.marketing-page--download .download-stage__switch:focus-visible,
  body.marketing-page--download .download-stage__switch.is-active {
    background: rgba(47, 113, 255, 0.08);
  }
}

.footer {
  margin-top: 44px;
  padding: 46px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--text);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
  width: 100%;
}

.footer__brand {
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.footer__brand-head {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer__logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #041019;
  font-size: 16px;
  font-weight: 700;
}

.footer__logo-copy {
  display: grid;
  gap: 0;
}

.footer__logo-copy span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__description {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.footer__copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.footer__sections {
  display: flex;
  flex: 3;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__section {
  min-width: 150px;
}

.footer__section h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__section ul li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.footer__section ul li a {
  position: relative;
  display: inline-block;
  padding: 2px 6px 2px 0;
  border-radius: 6px;
  color: var(--muted-strong);
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.footer__section ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  transition: width 180ms ease;
}

.footer__section ul li a:hover,
.footer__section ul li a:focus-visible {
  color: var(--text);
  background: rgba(102, 168, 255, 0.08);
  transform: translateX(4px);
  outline: none;
}

.footer__section ul li a:hover::after,
.footer__section ul li a:focus-visible::after {
  width: calc(100% - 6px);
}

.not-found {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
}

.not-found-card {
  width: min(720px, 100%);
  text-align: center;
}

.not-found-card .site-button-group {
  justify-content: center;
  margin-top: 22px;
}

.ah-session-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.ah-session-action:hover,
.ah-session-action:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.ah-session-action.is-authenticated {
  padding-left: 8px;
}

.ah-session-avatar,
.ah-session-avatar-fallback {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  flex: 0 0 32px;
}

.ah-session-avatar {
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.ah-session-avatar-fallback {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #041019;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ah-session-label {
  display: inline-flex;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav__cluster {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .home-hero,
  .policy-hero,
  .roadmap-hero,
  .home-bento,
  .home-platform,
  .download-hero,
  .download-principles,
  .story-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-platform-grid,
  .download-platform-grid--desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-summary-grid,
  .policy-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-layout--policy-document {
    grid-template-columns: 1fr;
  }

  .policy-document {
    padding: 44px 46px;
  }

  .policy-document__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-platform-grid--single {
    grid-template-columns: 1fr;
  }

  .download-platform--featured {
    grid-column: auto;
  }

  .download-platform-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-stage__switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .docs-layout--policy {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .archive-hero__title {
    max-width: 13ch;
  }

  .roadmap-timeline-block {
    padding: 24px;
  }

  .roadmap-timeline-block__header {
    flex-direction: column;
  }

  .roadmap-timeline-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 4px 0 0 18px;
  }

  .roadmap-timeline-grid::before {
    top: 8px;
    bottom: 8px;
    left: 11px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
  }

  .roadmap-slot {
    display: block;
    min-height: 0;
  }

  .roadmap-slot::before {
    display: none;
  }

  .roadmap-slot__dot {
    left: 11px;
    top: 24px;
    transform: translate(-50%, -50%);
  }

  .roadmap-milestone {
    margin-left: 22px;
  }

  .roadmap-hero__title {
    max-width: 15ch;
    font-size: clamp(36px, 6vw, 60px);
  }

  .footer__container {
    flex-direction: column;
    gap: 36px;
  }

  .policy-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 100%);
    padding-top: 18px;
  }

  .site-header {
    position: static;
  }

  .site-nav__cluster,
  .site-nav__menus,
  .site-nav__links,
  .site-actions {
    width: 100%;
  }

  .site-nav__cluster {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__menus,
  .site-nav__links,
  .site-actions,
  .site-button-group,
  .hero__meta,
  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .site-link,
  .site-menu > summary,
  .site-button,
  .ah-session-action,
  .download-multi > summary {
    justify-content: center;
  }

  .site-menu__panel {
    position: static;
    width: 100%;
    left: auto;
    right: auto;
    margin-top: 10px;
    transform: none;
    grid-template-columns: 1fr;
  }

  .site-menu__feature-card {
    grid-row: auto;
    min-height: 180px;
  }

  .hero__copy,
  .hero__panel,
  .policy-hero__copy,
  .policy-hero__panel,
  .home-hero,
  .roadmap-hero,
  .home-card,
  .home-platform__copy,
  .home-mini-card,
  .download-hero,
  .download-hero__panel,
  .roadmap-timeline-block,
  .download-platform,
  .download-principle,
  .section-card,
  .download-card,
  .policy-article,
  .policy-document,
  .policy-sidebar,
  .footer,
  .cta-band,
  .not-found-card {
    padding: 22px;
  }

  .download-stage__card {
    padding: 18px 18px 18px;
    border-radius: 20px;
  }

  .feature-grid,
  .download-grid,
  .download-platform-grid,
  .download-platform-grid--desktop,
  .download-platform-grid--mobile,
  .download-principles,
  .roadmap-phase-grid,
  .roadmap-track-grid,
  .download-hero__signals,
  .download-platform-strip,
  .hero__surface-grid,
  .home-hero__notes,
  .home-preview__cards,
  .footer__columns--compact {
    grid-template-columns: 1fr;
  }

  .policy-summary-grid,
  .policy-card-grid {
    grid-template-columns: 1fr;
  }

  .download-platform--featured {
    grid-column: auto;
  }

  .download-multi {
    width: 100%;
  }

  .download-multi > summary {
    width: 100%;
    justify-content: space-between;
  }

  .download-multi__menu {
    position: static;
    min-width: 0;
    margin-top: 10px;
    box-shadow: none;
  }

  .download-stage__hero {
    margin-top: 12px;
  }

  .download-stage__watermark {
    right: 14px;
    bottom: 12px;
    top: auto;
    font-size: clamp(56px, 18vw, 104px);
    opacity: 0.075;
  }

  .download-stage__switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    padding-top: 34px;
  }

  .policy-hero__title {
    max-width: 12ch;
    font-size: clamp(30px, 9.4vw, 48px);
  }

  .policy-hero__lead {
    font-size: 15px;
  }

  .policy-article {
    padding: 24px;
  }

  .policy-document {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .archive-main {
    gap: 34px;
  }

  .archive-hero__title {
    max-width: 12ch;
    font-size: clamp(38px, 12vw, 58px);
  }

  .archive-hero__lead,
  .archive-list a,
  .archive-list__empty {
    font-size: 15px;
  }

  .archive-group__title {
    font-size: clamp(30px, 9vw, 44px);
  }

  .policy-document__details {
    grid-template-columns: 1fr;
  }

  .policy-document__title {
    max-width: 12ch;
    font-size: clamp(30px, 10vw, 46px);
  }

  .policy-document__lead,
  .policy-document p,
  .policy-document li {
    font-size: 15px;
  }

  .footer__sections {
    flex-direction: column;
    gap: 24px;
  }

  .home-preview__layout {
    grid-template-columns: 1fr;
  }

  .home-preview__bar {
    flex-wrap: wrap;
  }

  .home-hero__visual {
    min-height: auto;
  }

  .section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__title,
  .home-hero__title,
  .section__title,
  .cta-band__title,
  .policy-article h1,
  .not-found-card h1 {
    max-width: none;
  }

  .download-stage__headline {
    font-size: clamp(34px, 14vw, 58px);
  }

  .download-stage__platform {
    font-size: clamp(34px, 14vw, 56px);
  }

  .download-stage__subtitle {
    font-size: clamp(17px, 5.6vw, 22px);
  }

  .download-stage__lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .download-stage__identity {
    gap: 14px;
  }

  .download-stage__icon-shell {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 18px;
  }

  .platform-icon--spotlight {
    width: 36px;
    height: 36px;
  }

  .download-stage__meta {
    gap: 8px;
  }

  .download-stage__version,
  .download-stage__state {
    font-size: 12px;
  }

  .download-stage__controls {
    gap: 10px;
    margin-top: 10px;
  }

  .download-stage__picker {
    width: 100%;
  }

  .download-stage__picker > summary {
    min-height: 40px;
    padding: 0 13px;
  }

  .download-stage__switch {
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .download-stage__switch .download-platform__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .download-stage__switch-label {
    font-size: 15px;
  }

  .spec-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .spec-row span {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .download-stage {
    gap: 14px;
  }

  .roadmap-main {
    gap: 18px;
  }

  .roadmap-hero__title {
    max-width: 13ch;
    font-size: clamp(28px, 9.6vw, 42px);
  }

  .roadmap-hero__lead,
  .roadmap-section__lead,
  .roadmap-milestone__list li {
    font-size: 14px;
    line-height: 1.62;
  }

  .roadmap-timeline-block {
    padding: 20px;
    border-radius: 18px;
  }

  .roadmap-timeline-grid {
    gap: 12px;
    padding-left: 14px;
  }

  .roadmap-slot__dot {
    left: 9px;
    width: 14px;
    height: 14px;
  }

  .roadmap-milestone {
    margin-left: 18px;
    padding: 14px 14px 12px;
    border-radius: 14px;
  }

  .roadmap-milestone__title {
    font-size: clamp(20px, 7vw, 28px);
  }

  .download-stage__intro {
    gap: 8px;
  }

  .download-stage__headline {
    max-width: 12ch;
    font-size: clamp(32px, 11vw, 46px);
  }

  .download-stage__lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .download-stage__card {
    padding: 16px 16px 16px;
    border-radius: 18px;
  }

  .download-stage__identity {
    gap: 12px;
  }

  .download-stage__icon-shell {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 16px;
  }

  .platform-icon--spotlight {
    width: 32px;
    height: 32px;
  }

  .download-stage__platform {
    font-size: clamp(28px, 11.5vw, 46px);
    line-height: 0.94;
  }

  .download-stage__subtitle {
    font-size: clamp(15px, 6vw, 20px);
  }

  .download-stage__meta {
    gap: 7px;
  }

  .download-stage__version,
  .download-stage__state {
    font-size: 11px;
  }

  .download-stage__dot {
    width: 3px;
    height: 3px;
  }

  .download-stage__controls {
    gap: 9px;
    margin-top: 8px;
  }

  .download-stage__picker {
    width: 100%;
  }

  .download-stage__picker > summary {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .download-stage__watermark {
    right: 12px;
    bottom: 10px;
    font-size: clamp(50px, 22vw, 80px);
  }

  .download-stage__switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }

  .download-stage__switch {
    min-width: 0;
    width: auto;
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
    scroll-snap-align: none;
  }

  .download-stage__switch .download-platform__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 11px;
  }

  .download-stage__switch-label {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .roadmap-milestone__title {
    font-size: clamp(18px, 8vw, 24px);
  }

  .download-stage__platform {
    font-size: clamp(24px, 12vw, 38px);
  }

  .download-stage__subtitle {
    font-size: clamp(14px, 5.4vw, 18px);
  }

  .download-stage__lead {
    font-size: 13px;
  }

  .download-stage__switcher {
    display: flex;
    flex-wrap: wrap;
  }

  .download-stage__switch {
    min-width: 0;
    flex-basis: calc(50% - 4px);
    max-width: calc(50% - 4px);
  }
}
