:root {
  --ink: #f4f7f5;
  --ink-soft: #bdc9c6;
  --ink-muted: #81918e;
  --void: #050a0b;
  --night: #071012;
  --night-raised: #0b1719;
  --panel: rgba(13, 28, 30, 0.78);
  --panel-strong: #102225;
  --line: rgba(177, 214, 209, 0.15);
  --line-strong: rgba(177, 214, 209, 0.3);
  --cyan: #74f2df;
  --cyan-bright: #a2ffef;
  --cyan-dim: #2cae9c;
  --amber: #f5bd57;
  --moon: #e8efec;
  --danger: #ff786d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shell: 1200px;
  --font-display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 8%, rgba(40, 115, 106, 0.18), transparent 30rem),
    radial-gradient(circle at 8% 42%, rgba(64, 89, 84, 0.13), transparent 32rem),
    var(--void);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 17%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.27) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 68%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 78%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.5px);
  background-size: 230px 230px, 340px 340px, 410px 410px, 520px 520px;
  content: "";
  opacity: 0.45;
  pointer-events: none;
}

body::after {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(8, 23, 25, 0.07) 3px 4px);
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

::selection {
  color: var(--void);
  background: var(--cyan);
}

a {
  color: inherit;
}

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

button {
  color: inherit;
  font: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  color: var(--void);
  background: var(--cyan-bright);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(5, 10, 11, 0.76);
  backdrop-filter: blur(20px) saturate(120%);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 10, 11, 0.92);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(116, 242, 223, 0.12), rgba(255, 255, 255, 0.02));
  border-radius: 50%;
}

.wordmark-mark::before {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--moon);
  border-radius: 50%;
  box-shadow: inset -6px -3px 0 #94a4a0;
  content: "";
}

.wordmark-mark span {
  position: absolute;
  z-index: 1;
  width: 48px;
  height: 13px;
  border: 1px solid var(--cyan-dim);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.wordmark-copy {
  display: grid;
  line-height: 1.15;
}

.wordmark-copy strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-stretch: condensed;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark-copy small {
  margin-top: 4px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.primary-nav > a:not(.nav-status)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.nav-status):hover,
.primary-nav > a:not(.nav-status):focus-visible {
  color: var(--ink);
}

.primary-nav > a:not(.nav-status):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-status {
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(116, 242, 223, 0.05);
}

.nav-status span,
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(116, 242, 223, 0.12), 0 0 16px var(--cyan-dim);
}

.nav-toggle {
  display: none;
  width: 46px;
  min-height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle > span[aria-hidden] {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-toggle > span[aria-hidden]:first-of-type {
  transform: translateY(-4px);
}

.nav-toggle > span[aria-hidden]:last-of-type {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden]:first-of-type {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden]:last-of-type {
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  min-height: min(820px, calc(100vh - 76px));
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: clamp(48px, 8vw, 110px);
  padding-block: clamp(80px, 11vw, 140px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 9px;
  color: var(--void);
  background: var(--cyan);
  border-radius: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7.2vw, 6.65rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.89;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(115deg, var(--moon) 10%, #8b9c99 76%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.build-line {
  display: flex;
  margin-bottom: 34px;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.build-line strong {
  color: var(--cyan);
}

.build-line span {
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--void);
  background: var(--cyan-bright);
  box-shadow: 0 12px 34px rgba(44, 174, 156, 0.18);
}

.button-primary:hover {
  background: #c4fff5;
}

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

.button-secondary:hover {
  border-color: var(--cyan-dim);
  background: rgba(116, 242, 223, 0.07);
}

.text-link {
  min-height: 44px;
  color: var(--cyan-bright);
  text-decoration: underline;
  text-decoration-color: rgba(116, 242, 223, 0.34);
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-color: var(--cyan);
}

.source-line {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.source-line > span {
  margin-right: 5px;
  color: var(--cyan);
}

.source-line a {
  color: var(--ink-soft);
  text-underline-offset: 3px;
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
}

.visual-grid {
  position: absolute;
  inset: 2%;
  border: 1px solid rgba(116, 242, 223, 0.12);
  background-image:
    linear-gradient(rgba(116, 242, 223, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 242, 223, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 42%, transparent 74%);
}

.visual-grid::before,
.visual-grid::after {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: rgba(116, 242, 223, 0.15);
  content: "";
}

.visual-grid::after {
  transform: rotate(90deg);
}

.orbit {
  position: absolute;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.orbit-outer {
  inset: 5%;
  border-style: dashed;
  animation: orbit-spin 40s linear infinite;
}

.orbit-inner {
  inset: 19%;
  border-color: rgba(116, 242, 223, 0.23);
  transform: rotate(-20deg) scaleY(0.72);
}

.orbiter {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 14px;
  height: 14px;
  border: 3px solid var(--void);
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(245, 189, 87, 0.7);
}

.moon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 36% 29%, rgba(255, 255, 255, 0.8), transparent 4%),
    radial-gradient(circle at 69% 66%, rgba(95, 112, 108, 0.27), transparent 17%),
    linear-gradient(135deg, #f4f7f5, #a0afab 63%, #6b7b78);
  border-radius: 50%;
  box-shadow:
    inset -34px -24px 58px rgba(30, 43, 42, 0.45),
    0 0 75px rgba(151, 189, 181, 0.19),
    0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
}

.moon::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 43, 42, 0.16) 0.8px, transparent 1px);
  background-size: 8px 8px;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.65;
}

.crater {
  position: absolute;
  z-index: 1;
  display: block;
  background: rgba(93, 110, 106, 0.17);
  border-radius: 50%;
  box-shadow: inset 4px 3px 8px rgba(46, 61, 58, 0.2), 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.crater-one {
  top: 22%;
  left: 19%;
  width: 19%;
  height: 15%;
}

.crater-two {
  right: 16%;
  bottom: 27%;
  width: 25%;
  height: 20%;
}

.crater-three {
  bottom: 16%;
  left: 30%;
  width: 12%;
  height: 10%;
}

.moon-scan {
  position: absolute;
  z-index: 2;
  right: -20%;
  left: -20%;
  height: 2px;
  background: var(--cyan-bright);
  box-shadow: 0 0 18px 5px rgba(116, 242, 223, 0.45);
  animation: moon-scan 5s ease-in-out infinite;
}

.visual-label {
  position: absolute;
  z-index: 4;
  min-width: 138px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 12, 13, 0.87);
  border-radius: 6px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.visual-label::before {
  position: absolute;
  width: 28px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.visual-label small,
.visual-label strong {
  display: block;
  font-family: var(--font-mono);
  line-height: 1.35;
  text-transform: uppercase;
}

.visual-label small {
  color: var(--ink-muted);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.visual-label strong {
  margin-top: 2px;
  color: var(--cyan-bright);
  font-size: 0.77rem;
  letter-spacing: 0.06em;
}

.label-top {
  top: 15%;
  right: -3%;
}

.label-top::before {
  top: 50%;
  left: -28px;
}

.label-bottom {
  bottom: 13%;
  left: -2%;
}

.label-bottom::before {
  top: 50%;
  right: -28px;
}

.coordinate {
  position: absolute;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.11em;
}

.coordinate-a {
  top: 3%;
  left: 27%;
}

.coordinate-b {
  right: 3%;
  bottom: 31%;
  writing-mode: vertical-rl;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes moon-scan {
  0%, 100% { top: 22%; opacity: 0.25; }
  50% { top: 78%; opacity: 0.85; }
}

.facts-band {
  position: relative;
  padding-block: 52px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(116, 242, 223, 0.04), rgba(255, 255, 255, 0.012) 45%, rgba(245, 189, 87, 0.035));
}

.facts-band::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(20px, calc((100% - var(--shell)) / 2));
  width: 1px;
  background: var(--cyan-dim);
  content: "";
  opacity: 0.6;
}

.section-heading {
  display: flex;
  margin-bottom: 40px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading .section-kicker,
.upgrade-intro .section-kicker,
.patch-copy .section-kicker,
.index-intro .section-kicker {
  margin-bottom: 10px;
}

.section-heading > p,
.section-heading > div > p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 4.1rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.facts-band h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.fact-grid {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
}

.fact-grid > div {
  min-width: 0;
  padding: 19px 20px;
  border-right: 1px solid var(--line);
}

.fact-grid > div:first-child {
  padding-left: 0;
}

.fact-grid > div:last-child {
  border-right: 0;
}

.fact-grid dt {
  margin-bottom: 6px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-grid dd {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 750;
}

.section-block {
  padding-block: clamp(82px, 10vw, 132px);
}

.patch-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(120deg, rgba(116, 242, 223, 0.09), transparent 46%),
    var(--night-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.patch-panel::after {
  position: absolute;
  top: -50%;
  right: 12%;
  width: 1px;
  height: 200%;
  background: linear-gradient(transparent, var(--cyan), transparent);
  content: "";
  opacity: 0.32;
  transform: rotate(26deg);
}

.patch-version {
  display: grid;
  width: clamp(106px, 11vw, 142px);
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(116, 242, 223, 0.35);
  background: rgba(116, 242, 223, 0.05);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(116, 242, 223, 0.025);
}

.patch-version span,
.patch-version strong {
  font-family: var(--font-mono);
  line-height: 1.15;
}

.patch-version span {
  color: var(--ink-muted);
  font-size: 0.6rem;
  letter-spacing: 0.17em;
}

.patch-version strong {
  margin-top: 4px;
  color: var(--cyan-bright);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.patch-copy {
  position: relative;
  z-index: 2;
}

.patch-copy h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
}

.patch-copy > p:last-child {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.arrow-link {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.arrow-link span:last-child {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.arrow-link:hover span:last-child {
  color: var(--void);
  background: var(--cyan);
  transform: rotate(45deg);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.guide-card {
  position: relative;
  min-height: 360px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(11, 23, 25, 0.52);
  transition: background-color 200ms ease;
}

.guide-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transition: opacity 200ms ease, transform 300ms ease;
}

.guide-card:hover {
  background: rgba(16, 36, 39, 0.74);
}

.guide-card:hover::after {
  opacity: 1;
  transform: scale(1.3);
}

.guide-card-featured {
  background:
    radial-gradient(circle at 80% 20%, rgba(116, 242, 223, 0.12), transparent 13rem),
    rgba(13, 30, 32, 0.8);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-chip {
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
}

.guide-card-featured .status-chip {
  border-color: rgba(116, 242, 223, 0.26);
  color: var(--cyan-bright);
}

.card-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 44px 0 34px;
  color: var(--cyan);
}

.icon-radar {
  border: 1px solid currentColor;
  border-radius: 50%;
}

.icon-radar::before,
.icon-radar::after {
  position: absolute;
  content: "";
}

.icon-radar::before {
  inset: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.icon-radar::after {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 31px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: top;
}

.icon-radar span {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 13px var(--amber);
}

.icon-tool::before,
.icon-tool::after {
  position: absolute;
  content: "";
}

.icon-tool::before {
  top: 4px;
  left: 28px;
  width: 16px;
  height: 60px;
  border: 1px solid currentColor;
  border-radius: 12px 12px 3px 3px;
  transform: rotate(38deg);
}

.icon-tool::after {
  top: 0;
  right: 5px;
  width: 34px;
  height: 25px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  transform: rotate(38deg);
}

.icon-belt::before,
.icon-belt::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 15px;
  border: 1px solid currentColor;
  content: "";
  transform: skewY(-16deg);
}

.icon-belt::before { top: 13px; }
.icon-belt::after { bottom: 13px; }

.icon-belt span,
.icon-belt i {
  position: absolute;
  top: 28px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--amber);
  background: rgba(245, 189, 87, 0.12);
  transform: rotate(45deg);
}

.icon-belt span { left: 15px; }
.icon-belt i { right: 15px; }

.icon-badge::before {
  position: absolute;
  inset: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 8px rgba(116, 242, 223, 0.04);
}

.icon-badge::after {
  position: absolute;
  top: 19px;
  left: 24px;
  width: 17px;
  height: 10px;
  border-bottom: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
  content: "";
  transform: rotate(-45deg);
}

.guide-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.guide-card p {
  max-width: 460px;
  margin-bottom: 24px;
  color: var(--ink-muted);
  font-size: 0.91rem;
}

.guide-card > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--cyan-bright);
  font-size: 0.81rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(116, 242, 223, 0.28);
  text-underline-offset: 5px;
}

.guide-card > a:hover {
  text-decoration-color: currentColor;
}

.upgrade-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(116, 242, 223, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(116, 242, 223, 0.035) 1px, transparent 1px),
    #081214;
  background-size: 44px 44px;
}

.upgrade-section::after {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(116, 242, 223, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(116, 242, 223, 0.015), 0 0 0 100px rgba(116, 242, 223, 0.01);
  content: "";
}

.upgrade-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(48px, 9vw, 110px);
}

.upgrade-intro > p:not(.section-kicker) {
  margin: 22px 0 24px;
  color: var(--ink-muted);
}

.data-panel {
  border: 1px solid var(--line-strong);
  background: rgba(5, 13, 14, 0.87);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.data-panel-head {
  display: grid;
  padding: 13px 22px;
  grid-template-columns: 1fr 150px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-row {
  display: grid;
  padding: 26px 22px;
  align-items: center;
  grid-template-columns: 1fr 150px;
  border-bottom: 1px solid var(--line);
}

.data-row > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
}

.data-row > div:last-child {
  display: grid;
}

.data-index {
  grid-row: 1 / span 2;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.data-row strong {
  line-height: 1.35;
}

.data-row > div:last-child strong {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 1.2rem;
}

.data-row small {
  color: var(--ink-muted);
  font-size: 0.69rem;
}

.data-source {
  padding: 13px 22px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.data-source span {
  margin-right: 6px;
  color: var(--cyan);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 9vw, 110px);
}

.faq-section .section-heading {
  display: block;
  margin: 0;
}

.faq-section .section-heading > p {
  margin-top: 22px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 22px 52px 22px 0;
  align-items: center;
  cursor: pointer;
  font-size: 0.99rem;
  font-weight: 760;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 16px;
  height: 1px;
  background: var(--cyan);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details[open] summary {
  color: var(--cyan-bright);
}

.faq-list details p {
  max-width: 680px;
  margin: -5px 0 0;
  padding: 0 50px 24px 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.index-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.7fr 1.3fr;
  border: 1px solid var(--line-strong);
  background: var(--night-raised);
  border-radius: var(--radius-lg);
}

.index-intro {
  padding: clamp(32px, 5vw, 60px);
  border-right: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 20% 0, rgba(116, 242, 223, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.012);
}

.index-intro h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.index-intro > p:last-child {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.route-list {
  display: grid;
}

.route-list a {
  display: grid;
  min-height: 84px;
  padding: 18px 24px;
  align-items: center;
  grid-template-columns: 42px 1fr auto 36px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.route-list a:last-child {
  border-bottom: 0;
}

.route-list a:hover {
  background: rgba(116, 242, 223, 0.06);
}

.route-list a > span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.route-list a > strong {
  font-size: 0.9rem;
}

.route-list a > small {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-list a > b {
  color: var(--ink-muted);
  font-weight: 400;
  transition: color 180ms ease, transform 180ms ease;
}

.route-list a:hover > b {
  color: var(--cyan);
  transform: translate(2px, -2px);
}

.site-footer {
  padding: 74px 0 28px;
  border-top: 1px solid var(--line);
  background: #030708;
}

.footer-grid {
  display: flex;
  padding-bottom: 58px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid > div > p {
  max-width: 470px;
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.footer-wordmark .wordmark-mark {
  width: 44px;
  height: 44px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--cyan-bright);
  text-decoration-color: currentColor;
}

.footer-base {
  display: grid;
  padding-top: 22px;
  grid-template-columns: auto auto 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.footer-base p {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.footer-base p:last-child {
  text-align: right;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.guide-grid [data-reveal]:nth-child(2),
.faq-list[data-reveal] {
  transition-delay: 80ms;
}

.guide-grid [data-reveal]:nth-child(3) {
  transition-delay: 140ms;
}

.guide-grid [data-reveal]:nth-child(4) {
  transition-delay: 200ms;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(86vw, 520px);
    justify-self: center;
  }

  .fact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fact-grid > div:nth-child(3) {
    border-right: 0;
  }

  .fact-grid > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .upgrade-layout,
  .faq-section,
  .index-panel {
    grid-template-columns: 1fr;
  }

  .upgrade-intro {
    max-width: 660px;
  }

  .faq-section .section-heading {
    max-width: 670px;
  }

  .index-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .footer-base {
    grid-template-columns: 1fr 1fr;
  }

  .footer-base p:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav-shell {
    min-height: 68px;
  }

  .primary-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 20px;
    padding-bottom: 12px;
  }

  .js .nav-toggle {
    position: relative;
    display: flex;
  }

  .js .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: grid;
    width: auto;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid transparent;
    background: rgba(5, 13, 14, 0.98);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 160ms ease, transform 160ms ease, padding 220ms ease, border-color 160ms ease;
  }

  .js .primary-nav[data-open="true"] {
    max-height: 360px;
    padding: 12px 20px 20px;
    border-color: var(--line-strong);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .nav-status {
    width: fit-content;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    gap: 50px;
    padding-block: 72px 82px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: space-between;
  }

  .build-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .build-line span {
    width: 100%;
    margin: 4px 0 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero-visual {
    width: min(93vw, 430px);
  }

  .visual-label {
    min-width: 120px;
  }

  .label-top { right: 0; }
  .label-bottom { left: 0; }

  .facts-band {
    padding-block: 44px;
  }

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

  .fact-grid > div,
  .fact-grid > div:first-child {
    display: grid;
    padding: 14px 0;
    grid-template-columns: 130px 1fr;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .fact-grid > div:first-child {
    border-top: 0;
  }

  .fact-grid dt {
    margin: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 18px;
  }

  .section-block {
    padding-block: 78px;
  }

  .patch-panel {
    grid-template-columns: 1fr;
  }

  .patch-version {
    width: 104px;
  }

  .patch-panel .arrow-link {
    justify-self: start;
  }

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

  .guide-card {
    min-height: auto;
  }

  .card-icon {
    margin-block: 34px 28px;
  }

  .data-panel-head,
  .data-row {
    grid-template-columns: 1fr 108px;
  }

  .faq-section {
    gap: 48px;
  }

  .route-list a {
    min-height: 92px;
    grid-template-columns: 32px 1fr 24px;
  }

  .route-list a > small {
    grid-column: 2;
  }

  .route-list a > b {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

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

  .footer-links {
    gap: 12px 22px;
  }

  .footer-base {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-base p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 440px) {
  .wordmark-copy small {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    width: 100%;
  }

  .visual-label {
    padding: 8px 10px;
  }

  .coordinate {
    display: none;
  }

  .fact-grid > div,
  .fact-grid > div:first-child {
    grid-template-columns: 112px 1fr;
  }

  .data-panel-head {
    display: none;
  }

  .data-row {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .data-row > div:last-child {
    padding-left: 32px;
  }

  .data-source {
    padding-inline: 18px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-muted: #aebbb8;
    --line: rgba(220, 242, 238, 0.35);
    --line-strong: rgba(220, 242, 238, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
