:root {
  color-scheme: dark;
  --ink: #070707;
  --ink-soft: #101114;
  --panel: #15161a;
  --panel-2: #1d1f24;
  --paper: #f4f4ef;
  --muted: #a5a7ad;
  --line: #303238;
  --blue: #2f8cff;
  --blue-dark: #0757c7;
  --yellow: #ffd84a;
  --red: #ff4d45;
  --green: #b9ff38;
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 20px 70px rgb(0 0 0 / 0.34);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 9% 8%, rgb(47 140 255 / 0.12), transparent 28rem),
    var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--yellow);
  color: #000;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--paper);
  color: #000;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.11);
  background: rgb(7 7 7 / 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand svg {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: grid;
  line-height: 0.95;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-text span {
  margin-top: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #d8d9dc;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.nav .nav-telegram {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  left: 13px;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentcolor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle::before {
  top: 15px;
}

.menu-toggle::after {
  top: 27px;
}

.menu-toggle[aria-expanded="true"]::before {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 126px) 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.14) 1px, transparent 1.4px);
  background-position: 0 0;
  background-size: 14px 14px;
  opacity: 0.14;
  mask-image: linear-gradient(120deg, #000, transparent 42%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 5px;
  border-radius: 99px;
  background: currentcolor;
  content: "";
}

h1,
h2,
h3,
.display {
  margin-top: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(58px, 8.4vw, 126px);
  text-transform: uppercase;
}

h1 .accent {
  display: inline-block;
  color: var(--blue);
  transform: skewX(-5deg);
  text-shadow: 5px 5px 0 rgb(6 55 118 / 0.7);
}

.hero-lead {
  max-width: 660px;
  margin: 0 0 30px;
  color: #c5c6ca;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-lead strong {
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions-spaced {
  margin-top: 32px;
}

.actions-centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #676a73;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: #000;
}

.hero-note {
  margin: 18px 0 0;
  color: #85878e;
  font-size: 13px;
}

.signal-stage {
  position: relative;
  aspect-ratio: 4 / 4.3;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid #333740;
  border-radius: 24px;
  background:
    linear-gradient(145deg, transparent 0 44%, rgb(47 140 255 / 0.24) 44.2% 45%, transparent 45.2%),
    linear-gradient(160deg, #14161a, #050505 62%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.signal-stage::before {
  position: absolute;
  z-index: -1;
  inset: -15%;
  background: repeating-linear-gradient(107deg, transparent 0 15px, rgb(255 255 255 / 0.045) 16px 18px);
  content: "";
  transform: rotate(-3deg);
}

.stage-number {
  position: absolute;
  top: -34px;
  right: -8px;
  color: rgb(255 255 255 / 0.05);
  font: 900 clamp(180px, 24vw, 330px) / 1 Impact, sans-serif;
}

.stage-badge {
  position: absolute;
  top: 25px;
  left: 24px;
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.45);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-copy {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 32px;
  left: 28px;
}

.stage-copy strong {
  display: block;
  max-width: 480px;
  font: 900 clamp(43px, 5.5vw, 76px) / 0.9 Impact, "Arial Black", sans-serif;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.stage-copy strong span {
  color: var(--yellow);
}

.stage-copy p {
  max-width: 440px;
  margin: 18px 0 0;
  color: #bfc2c8;
  font-size: 15px;
}

.play-disc {
  position: absolute;
  top: 27%;
  left: 12%;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 18px 20px 0 rgb(2 53 120 / 0.9);
  transform: rotate(-8deg);
}

.play-disc::before {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 29px solid #fff;
  content: "";
}

.signal-strip {
  overflow: hidden;
  border-bottom: 1px solid #282a2f;
  background: var(--blue);
  color: #fff;
}

.signal-strip p {
  width: max-content;
  margin: 0;
  padding: 11px 0;
  font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.section-tight {
  padding-block: 56px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 44px;
}

.section h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(50px, 7vw, 94px);
  text-transform: uppercase;
}

.section-head p,
.page-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.route-grid,
.project-grid,
.video-grid,
.principle-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  position: relative;
  grid-column: span 4;
  min-height: 340px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #303239;
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.route-card:hover {
  transform: translateY(-5px);
  border-color: #666a73;
}

.route-card::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 210px;
  height: 210px;
  border: 38px solid var(--card-color, var(--blue));
  border-radius: 50%;
  opacity: 0.17;
  content: "";
}

.route-card:nth-child(2) {
  --card-color: var(--yellow);
}

.route-card:nth-child(3) {
  --card-color: var(--green);
}

.route-card:nth-child(4) {
  --card-color: var(--red);
}

.route-card.wide {
  grid-column: span 6;
  min-height: 300px;
}

.route-index,
.card-label {
  color: var(--card-color, var(--blue));
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-card h3 {
  max-width: 360px;
  margin: 76px 0 18px;
  font-size: clamp(34px, 3vw, 48px);
  text-transform: uppercase;
}

.route-card p {
  max-width: 410px;
  margin: 0;
  color: #acaeb4;
}

.route-arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 30px;
}

.manifest-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 76px);
  border-radius: 24px;
  background: var(--paper);
  color: #080808;
}

.manifest-panel::after {
  position: absolute;
  right: -70px;
  bottom: -160px;
  width: 370px;
  height: 370px;
  border: 62px solid var(--blue);
  border-radius: 50%;
  content: "";
}

.manifest-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  font-size: clamp(50px, 8vw, 112px);
}

.manifest-panel h2 em {
  color: var(--blue-dark);
  font-style: normal;
}

.manifest-panel p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 30px 0;
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 720;
}

.manifest-panel .button {
  position: relative;
  z-index: 1;
  border-color: #111;
  background: #111;
}

.video-card {
  grid-column: span 4;
}

.video-poster {
  position: relative;
  display: flex;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid #34363d;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgb(47 140 255 / 0.08), transparent 45%),
    repeating-linear-gradient(118deg, transparent 0 24px, rgb(255 255 255 / 0.055) 25px 27px),
    #141519;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.video-card:nth-child(3n + 2) .video-poster {
  background:
    radial-gradient(circle at 85% 5%, rgb(255 77 69 / 0.34), transparent 35%),
    repeating-linear-gradient(118deg, transparent 0 24px, rgb(255 255 255 / 0.055) 25px 27px),
    #151416;
}

.video-card:nth-child(3n + 3) .video-poster {
  background:
    radial-gradient(circle at 85% 5%, rgb(255 216 74 / 0.3), transparent 35%),
    repeating-linear-gradient(118deg, transparent 0 24px, rgb(255 255 255 / 0.055) 25px 27px),
    #141519;
}

.video-poster:hover {
  transform: translateY(-4px);
  border-color: #666a73;
}

.video-poster::before {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  content: "▶";
  font-size: 17px;
}

.video-poster strong {
  position: relative;
  max-width: 86%;
  font: 900 clamp(27px, 2.6vw, 42px) / 0.95 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.video-meta {
  padding: 16px 4px 0;
}

.video-meta p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-grid {
  margin-top: 34px;
}

.proof {
  grid-column: span 3;
  min-height: 170px;
  padding: 23px;
  border-top: 4px solid var(--blue);
  background: var(--panel);
}

.proof:nth-child(2) {
  border-color: var(--yellow);
}

.proof:nth-child(3) {
  border-color: var(--green);
}

.proof:nth-child(4) {
  border-color: var(--red);
}

.proof strong {
  display: block;
  margin-bottom: 10px;
  font: 900 clamp(42px, 5vw, 70px) / 1 Impact, sans-serif;
}

.proof span {
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: -120px;
  right: -90px;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  border: min(8vw, 110px) solid rgb(47 140 255 / 0.16);
  border-radius: 50%;
  content: "";
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  color: #8c8e95;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  text-decoration-color: #555;
  text-underline-offset: 4px;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1050px;
}

.page-lead {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin-top: 30px;
  font-size: clamp(18px, 2.2vw, 24px);
}

.prose {
  max-width: 850px;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 72px 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  text-transform: uppercase;
}

.prose h3 {
  margin: 38px 0 15px;
  font-family: inherit;
  font-size: 26px;
  line-height: 1.2;
}

.prose p,
.prose li {
  color: #c5c7cc;
}

.prose strong {
  color: #fff;
}

.prose a {
  color: #76b5ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

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

.principle-grid {
  counter-reset: principle;
}

.principle {
  position: relative;
  grid-column: span 6;
  min-height: 290px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  counter-increment: principle;
}

.principle::after {
  position: absolute;
  top: -25px;
  right: 16px;
  color: rgb(255 255 255 / 0.055);
  content: "0" counter(principle);
  font: 900 120px/1 Impact, sans-serif;
}

.principle h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 68px 0 20px;
  font-size: clamp(35px, 4vw, 56px);
}

.principle p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  color: #adafb5;
}

.project-card {
  grid-column: span 6;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgb(47 140 255 / 0.13), transparent 42%),
    var(--panel);
}

.project-card:nth-child(2n) {
  background:
    linear-gradient(140deg, rgb(255 216 74 / 0.09), transparent 42%),
    var(--panel);
}

.project-card h2 {
  margin: 50px 0 15px;
  font-size: clamp(38px, 4.8vw, 64px);
}

.project-card p {
  max-width: 530px;
  color: var(--muted);
}

.project-card .button {
  margin-top: 12px;
}

.ecosystem {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.ecosystem-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.ecosystem-row strong {
  color: #fff;
}

.ecosystem-row span {
  color: var(--muted);
}

.press-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.press-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: var(--panel);
  text-decoration: none;
}

.press-item:hover {
  background: var(--panel-2);
}

.press-item small {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-item strong {
  line-height: 1.3;
}

.cta-band {
  padding: clamp(46px, 7vw, 82px) 0;
  background: var(--blue);
  color: #fff;
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(45px, 6vw, 82px);
  text-transform: uppercase;
}

.site-footer {
  padding: 54px 0 30px;
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  gap: clamp(36px, 7vw, 90px);
}

.footer-brand p {
  max-width: 460px;
  color: #8e9096;
  font-size: 14px;
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-top: 8px;
  color: #a7a9ae;
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.copyright {
  display: flex;
  margin-top: 48px;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #222328;
  color: #74767d;
  font-size: 12px;
}

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

.not-found-card {
  max-width: 880px;
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: var(--blue);
  font: 900 clamp(130px, 25vw, 340px) / 0.8 Impact, sans-serif;
}

.not-found h1 {
  margin: 34px auto 22px;
  font-size: clamp(43px, 6vw, 78px);
}

.not-found p {
  max-width: 610px;
  margin: 0 auto 28px;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #0b0b0c;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    min-height: 48px;
    padding: 12px 4px;
  }

  .nav .nav-telegram {
    margin-top: 10px;
    padding-inline: 16px;
    text-align: center;
  }

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

  .signal-stage {
    width: min(100%, 680px);
    aspect-ratio: 16 / 10;
    min-height: 430px;
  }

  .route-card,
  .video-card {
    grid-column: span 6;
  }

  .proof {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand svg {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(53px, 17vw, 76px);
  }

  .hero {
    padding-top: 60px;
  }

  .signal-stage {
    min-height: 390px;
    border-radius: 18px;
  }

  .play-disc {
    top: 23%;
    width: 90px;
    height: 90px;
    box-shadow: 12px 14px 0 rgb(2 53 120 / 0.9);
  }

  .stage-copy {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .route-card,
  .route-card.wide,
  .video-card,
  .principle,
  .project-card,
  .proof {
    grid-column: 1 / -1;
  }

  .route-card {
    min-height: 300px;
  }

  .manifest-panel::after {
    right: -180px;
    bottom: -230px;
  }

  .video-poster strong {
    font-size: clamp(25px, 8vw, 38px);
  }

  .ecosystem-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .press-item {
    grid-template-columns: 1fr auto;
  }

  .press-item small {
    grid-column: 1 / -1;
  }

  .cta-band .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Wagtail public blog */

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

.article-index-hero,
.compact-page-hero,
.article-header {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 20%, rgb(47 140 255 / 0.18), transparent 26rem),
    linear-gradient(150deg, #0d0e10, #070707 68%);
}

.article-index-hero::before,
.compact-page-hero::before,
.article-header::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.13) 1px, transparent 1.4px);
  background-size: 14px 14px;
  opacity: 0.1;
  mask-image: linear-gradient(110deg, #000, transparent 55%);
  content: "";
  pointer-events: none;
}

.article-index-hero {
  padding: clamp(70px, 9vw, 132px) 0 clamp(62px, 8vw, 100px);
}

.article-index-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(38px, 8vw, 110px);
}

.article-index-hero h1,
.compact-page-hero h1,
.article-header h1 {
  margin: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.article-index-hero h1 {
  max-width: 820px;
  font-size: clamp(68px, 11vw, 156px);
}

.article-index-intro {
  padding-bottom: 10px;
}

.article-index-intro .rich-text,
.article-index-intro > p {
  color: #c4c6cb;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.article-index-intro .rich-text > :first-child {
  margin-top: 0;
}

.article-index-intro .rich-text > :last-child {
  margin-bottom: 22px;
}

.text-link,
.rss-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8dc2ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.rss-link {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--yellow);
  text-decoration: none;
}

.article-list-section {
  padding-top: clamp(62px, 8vw, 104px);
}

.article-list-head {
  display: flex;
  margin-bottom: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-list-head h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  text-transform: uppercase;
}

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

.article-card {
  display: flex;
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card:hover,
.article-card:focus-within {
  border-color: #585b63;
  box-shadow: 0 18px 55px rgb(0 0 0 / 0.25);
  transform: translateY(-4px);
}

.article-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #101216;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.article-card:hover .article-card-media img {
  transform: scale(1.025);
}

.article-card-placeholder {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 22px;
  overflow: hidden;
  justify-content: flex-end;
  flex-direction: column;
  background:
    radial-gradient(circle at 82% 10%, rgb(255 216 74 / 0.25), transparent 42%),
    repeating-linear-gradient(118deg, transparent 0 24px, rgb(255 255 255 / 0.05) 25px 27px),
    #121419;
  text-transform: uppercase;
}

.article-card-placeholder::after {
  position: absolute;
  top: -42px;
  right: -30px;
  width: 140px;
  aspect-ratio: 1;
  border: 28px solid var(--blue);
  border-radius: 50%;
  opacity: 0.5;
  content: "";
}

.article-card-placeholder span {
  color: var(--yellow);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.article-card-placeholder strong {
  margin-top: 8px;
  font: 900 clamp(28px, 3vw, 43px) / 0.9 Impact, "Arial Black", sans-serif;
}

.article-card-content {
  display: flex;
  min-width: 0;
  height: 100%;
  padding: 23px;
  flex-direction: column;
}

.article-card-kicker,
.article-card-footer,
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.article-card-kicker {
  color: #8f9299;
  font: 800 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card-kicker a {
  color: var(--yellow);
  text-decoration: none;
}

.article-card-kicker time::before {
  margin-right: 12px;
  color: #4b4e55;
  content: "·";
}

.article-card h2 {
  margin: 27px 0 14px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 0.98;
  text-transform: uppercase;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card {
  position: relative;
}

.article-card-content > p {
  margin: 0 0 28px;
  color: #aaadb3;
  font-size: 15px;
  line-height: 1.55;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 18px;
  justify-content: space-between;
  border-top: 1px solid #292b31;
  color: #7f8289;
  font-size: 12px;
}

.article-card-link {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 44px;
  padding-top: 22px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: #898c93;
  font-size: 13px;
  font-weight: 800;
}

.pagination a {
  color: #fff;
  text-underline-offset: 4px;
}

.pagination > :last-child {
  text-align: right;
}

.article-empty {
  padding: clamp(32px, 7vw, 78px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 8%, rgb(47 140 255 / 0.25), transparent 24rem),
    var(--panel);
}

.article-empty h2 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 82px);
  text-transform: uppercase;
}

.article-empty > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
}

.compact-page-hero {
  padding: clamp(66px, 8vw, 110px) 0 clamp(54px, 7vw, 80px);
}

.compact-page-hero .container,
.article-header-inner {
  position: relative;
}

.compact-page-hero h1 {
  max-width: 980px;
  font-size: clamp(62px, 9vw, 126px);
}

.compact-page-hero .page-lead {
  max-width: 760px;
}

.category-list-section {
  padding-top: clamp(56px, 7vw, 90px);
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  align-content: space-between;
  grid-template-columns: 1fr auto;
  gap: 38px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, rgb(255 216 74 / 0.08), transparent 45%), var(--panel);
}

.category-card:nth-child(3n) {
  background: linear-gradient(145deg, rgb(255 77 69 / 0.08), transparent 45%), var(--panel);
}

.category-card:hover {
  border-color: #5d6068;
  transform: translateY(-4px);
}

.category-card-index {
  grid-column: 1 / -1;
  color: var(--blue);
  font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
}

.category-card h2 {
  margin: 0 0 12px;
  font-size: clamp(35px, 4.5vw, 60px);
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.category-card p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.category-card-count {
  align-self: end;
  color: #85888f;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card-arrow {
  position: absolute;
  right: 26px;
  bottom: 20px;
  color: var(--yellow);
  font-size: 34px;
}

.article-header {
  padding: clamp(62px, 9vw, 118px) 0 clamp(52px, 7vw, 84px);
}

.article-header-inner {
  max-width: 1000px;
}

.article-header .breadcrumbs {
  max-width: 850px;
}

.category-chips {
  display: flex;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chips a {
  padding: 7px 11px;
  border: 1px solid rgb(255 216 74 / 0.35);
  border-radius: 999px;
  color: var(--yellow);
  font: 900 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-header h1 {
  max-width: 1000px;
  font-size: clamp(56px, 8.3vw, 116px);
  line-height: 0.92;
}

.article-deck {
  max-width: 790px;
  margin: 28px 0 0;
  color: #c3c6cc;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.5;
}

.article-byline {
  margin-top: 28px;
  color: #9a9da4;
  font: 750 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-byline > * + *::before {
  margin-right: 14px;
  color: #484a51;
  content: "·";
}

.article-byline a {
  color: #fff;
  text-underline-offset: 4px;
}

.article-updated {
  margin: 10px 0 0;
  color: #72757c;
  font-size: 12px;
}

.article-cover {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  margin-top: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(48px, 7vw, 84px);
  overflow: hidden;
  border: 1px solid #343740;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-shell {
  max-width: 780px;
  margin-bottom: clamp(70px, 10vw, 130px);
}

.article-body {
  color: #c9cbd0;
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.75;
}

.article-body > * {
  margin-block: 30px;
}

.article-body > :first-child,
.article-paragraph > .rich-text > :first-child,
.article-paragraph > :first-child,
.rich-text > :first-child {
  margin-top: 0;
}

.article-body > :last-child,
.article-paragraph > .rich-text > :last-child,
.article-paragraph > :last-child,
.rich-text > :last-child {
  margin-bottom: 0;
}

.article-paragraph p {
  margin: 0 0 1.35em;
}

.article-paragraph ul,
.article-paragraph ol,
.article-callout ul,
.article-callout ol {
  margin: 1.2em 0;
  padding-left: 1.35em;
}

.article-paragraph li + li,
.article-callout li + li {
  margin-top: 0.6em;
}

.article-body a:not(.button):not(.article-link-card) {
  color: #78b6ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-heading {
  max-width: 780px;
  overflow-wrap: anywhere;
}

.article-heading--h2 {
  margin: clamp(62px, 8vw, 92px) 0 24px;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 0.96;
  text-transform: uppercase;
}

.article-heading--h3 {
  margin: 48px 0 18px;
  font-family: inherit;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.article-media {
  margin-block: clamp(40px, 6vw, 64px) !important;
  margin-inline: 0;
}

.article-media img {
  width: 100%;
  height: auto;
  border: 1px solid #34363e;
  border-radius: 15px;
  background: var(--panel);
}

.article-media--wide {
  position: relative;
  left: 50%;
  width: min(1200px, calc(100vw - 40px));
  transform: translateX(-50%);
}

.article-media figcaption {
  margin-top: 11px;
  color: #7f8289;
  font-size: 13px;
  line-height: 1.5;
}

.article-quote {
  position: relative;
  margin-block: clamp(44px, 7vw, 76px) !important;
  margin-inline: 0;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
  border-left: 6px solid var(--yellow);
  border-radius: 0 18px 18px 0;
  background: var(--paper);
  color: #0a0a0a;
}

.article-quote-mark {
  position: absolute;
  top: -36px;
  right: 14px;
  color: rgb(0 0 0 / 0.08);
  font: 900 180px/1 Georgia, serif;
}

.article-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(24px, 3.3vw, 36px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.article-quote blockquote p {
  margin: 0;
}

.article-quote figcaption {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: #55575d;
  font-size: 14px;
  font-weight: 800;
}

.article-callout {
  margin-block: clamp(40px, 6vw, 66px) !important;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgb(47 140 255 / 0.55);
  border-top-width: 5px;
  border-radius: 16px;
  background: rgb(47 140 255 / 0.1);
}

.article-callout--yellow {
  border-color: rgb(255 216 74 / 0.65);
  background: rgb(255 216 74 / 0.09);
}

.article-callout--red {
  border-color: rgb(255 77 69 / 0.65);
  background: rgb(255 77 69 / 0.09);
}

.article-callout h2 {
  margin: 0 0 15px;
  font-family: inherit;
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-callout .rich-text {
  color: #c9cbd0;
}

.article-divider {
  width: 100%;
  margin-block: clamp(52px, 8vw, 82px) !important;
  border: 0;
  border-top: 1px solid #3a3c43;
}

.article-divider::after {
  display: block;
  width: 74px;
  height: 5px;
  margin-top: -3px;
  border-radius: 99px;
  background: var(--blue);
  content: "";
}

.article-link-card {
  display: grid;
  margin-block: clamp(38px, 6vw, 62px) !important;
  padding: 24px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  border: 1px solid #3b3e46;
  border-radius: 16px;
  background: var(--panel);
  color: #fff !important;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.article-link-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.article-link-card-copy {
  display: grid;
  gap: 8px;
}

.article-link-card-copy strong {
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.2;
}

.article-link-card-copy > span {
  color: #9ea1a8;
  font-size: 14px;
  line-height: 1.5;
}

.article-link-card-action {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.article-end {
  margin-top: clamp(62px, 9vw, 100px);
  padding-top: 30px;
  border-top: 4px solid var(--blue);
}

.article-end > p {
  margin: 0 0 24px;
  color: #a8abb1;
}

.article-end strong {
  color: #fff;
}

.article-cta {
  border-top: 1px solid rgb(255 255 255 / 0.16);
}

.not-found-code--server {
  color: var(--red);
}

@media (max-width: 1120px) and (min-width: 961px) {
  .header-inner {
    gap: 16px;
  }

  .nav {
    gap: 15px;
  }

  .nav a {
    font-size: 13px;
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 960px) {
  .article-index-hero-grid {
    grid-template-columns: 1fr;
  }

  .article-index-intro {
    max-width: 700px;
  }

  .article-card {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  .header-inner {
    gap: 10px;
  }

  .menu-toggle {
    flex: 0 0 46px;
  }

  .article-index-hero,
  .compact-page-hero,
  .article-header {
    padding-top: 52px;
  }

  .article-index-hero h1,
  .compact-page-hero h1 {
    font-size: clamp(53px, 18vw, 82px);
  }

  .article-header h1 {
    font-size: clamp(36px, 11.8vw, 64px);
    overflow-wrap: normal;
    hyphens: none;
  }

  .article-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-card {
    grid-column: 1 / -1;
  }

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

  .category-card {
    min-height: 235px;
    padding: 23px;
  }

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

  .pagination > :nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

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

  .article-byline > * + *::before {
    display: none;
  }

  .article-cover {
    width: calc(100% - 28px);
    border-radius: 14px;
  }

  .article-shell {
    width: min(calc(100% - 28px), 780px);
  }

  .article-body > * {
    margin-block: 25px;
  }

  .article-media--wide {
    width: calc(100vw - 28px);
  }

  .article-quote {
    padding: 26px 22px;
  }

  .article-link-card {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .article-link-card-action {
    white-space: normal;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-cta,
  .category-chips,
  .article-end .actions {
    display: none !important;
  }

  body,
  .article-header {
    background: #fff !important;
    color: #000 !important;
  }

  .article-header,
  .article-header h1,
  .article-deck,
  .article-body,
  .article-body a,
  .article-end,
  .article-end strong {
    color: #000 !important;
  }

  .article-header {
    padding: 30px 0;
  }

  .article-cover {
    box-shadow: none;
  }

  .article-shell {
    max-width: none;
  }
}
