/* ==========================================================================
   Aqua Launcher — project site
   A self-contained static site. No build step, no external requests.
   Display & body: Minecraftia · Code: monospace
   ========================================================================== */

@font-face {
  font-family: 'Minecraftia';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/minecraftia.woff') format('woff');
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/geist-mono.woff2') format('woff2');
}

:root {
  --bg: #000000;
  --bg-deep: #000000;
  --bg-raised: #181818;
  --panel: #181818;
  --panel-2: #1f1f1f;
  --panel-3: #272727;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-bright: rgba(255, 255, 255, 0.28);
  --text: #ffffff;
  --text-soft: #e6e6e6;
  --body: #a3a3a3;
  --muted: #888888;
  --dim: #666666;
  --accent: #62aaf0;
  --accent-bright: #9fceff;
  --accent-strong: #4f9fe8;
  --accent-ink: #000000;
  --accent-soft: rgba(98, 170, 240, 0.12);
  --accent-softer: rgba(98, 170, 240, 0.06);
  --violet: #6e9fff;
  --violet-soft: rgba(110, 159, 255, 0.12);
  --warm: #e6b483;
  --warm-soft: rgba(230, 180, 131, 0.08);
  --green: #7fe0b0;
  --danger: #ff9aa8;
  --danger-soft: rgba(255, 154, 168, 0.09);

  --font-display: 'Minecraftia', 'Cascadia Mono', monospace;
  --font-sans: 'Minecraftia', 'Cascadia Mono', monospace;
  --font-mono: 'Geist Mono', 'Cascadia Mono', Consolas, ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: 32px;
  --header-h: 72px;
  --section-pad: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --text-xs: 12px;
  --text-xs-lh: 16px;
  --text-sm: 14px;
  --text-sm-lh: 20px;
  --text-base: 16px;
  --text-base-lh: 24px;
  --text-lg: 18px;
  --text-lg-lh: 28px;
  --text-xl: 20px;
  --text-xl-lh: 28px;
  --text-2xl: 24px;
  --text-2xl-lh: 32px;
  --text-3xl: 30px;
  --text-3xl-lh: 36px;
  --text-4xl: 36px;
  --text-4xl-lh: 40px;
  --text-5xl: 48px;
  --text-5xl-lh: 48px;
  --text-6xl: 60px;
  --text-6xl-lh: 1;

  --space-0: 0;
  --space-25: 2px;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--body);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(41, 100, 164, 0.26), transparent 62%),
    radial-gradient(900px 700px at -6% 18%, rgba(24, 78, 118, 0.2), transparent 66%),
    var(--bg);
  -webkit-font-smoothing: none;
  text-rendering: optimizeSpeed;
  font-synthesis: none;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: #1b3145;
  border: 3px solid var(--bg-deep);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #284a66;
}

/* Utilities -------------------------------------------------------------- */
.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.icon--drop {
  width: 13px;
  height: 13px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--text-soft);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 9999px;
  transform: translateY(-80px);
  transition: transform 180ms var(--ease);
}

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

/* Typography ------------------------------------------------------------- */
.section__title,
.hero__title,
.stat__value,
.card__title,
.phase__title,
.hero-card__stat strong,
.brand__name,
.get__head h2,
.platform h3,
.footer__col h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__mark {
  width: 10px;
  height: 10px;
  flex: none;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  filter: drop-shadow(0 0 6px rgba(79, 159, 232, 0.55));
}

.eyebrow__icon {
  width: 17px;
  height: 17px;
  border-radius: 4px;
}

.eyebrow__dot {
  color: var(--dim);
}

.eyebrow__muted {
  color: var(--dim);
  letter-spacing: 0.1em;
}

.section__title {
  margin-top: 18px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

.section__lede {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
}

.section__head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__foot {
  margin-top: 36px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--accent);
  transition: color 160ms ease;
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 160ms var(--ease);
}

.text-link:hover {
  color: var(--accent-bright);
}

.text-link:hover .icon {
  transform: translate(2px, -2px);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn--sm {
  height: 36px;
  padding: 0 13px;
  font-size: 11px;
  border-radius: 6px;
}

.btn--lg {
  height: 50px;
  padding: 0 22px;
  font-size: 13px;
  border-radius: 8px;
}

.btn--lg .icon {
  width: 17px;
  height: 17px;
}

.btn--primary {
  color: var(--accent-ink);
  background: linear-gradient(180deg, #9fceff 0%, #62aaf0 52%, #4f9fe8 100%);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 24px -8px rgba(79, 159, 232, 0.5);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #b9defe 0%, #7bbcff 52%, #5faaf0 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 32px -10px rgba(79, 159, 232, 0.58);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--glass,
.btn--ghost {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn--glass:hover,
.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-bright);
}

/* Header ----------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition:
    border-color 240ms ease,
    background-color 240ms ease,
    box-shadow 240ms ease;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 10, 16, 0.74), rgba(4, 10, 16, 0));
  transition: background 240ms ease;
}

.header.is-scrolled {
  border-bottom: 1px solid var(--line);
}

.header.is-scrolled::before {
  background: rgba(11, 7, 21, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.header.is-scrolled {
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.75);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand__tile {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
}

.brand__tile img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.brand__text {
  display: flex;
  align-items: baseline;
  gap: 7px;
  line-height: 1;
}

.brand__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav__link {
  position: relative;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--body);
  border-radius: 6px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link.is-active {
  color: var(--text);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(79, 159, 232, 0.7);
}

.nav__mobile {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header__gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  font-size: 13px;
  color: var(--body);
  border-radius: 8px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.header__gh .icon {
  width: 17px;
  height: 17px;
}

.header__gh:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  position: relative;
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 10px;
  display: block;
  width: 16px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--text-soft);
  border-radius: 2px;
  transition:
    transform 220ms var(--ease),
    opacity 160ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(5, 3, 11, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(20px, 3vh, 32px);
  overflow: hidden;
  isolation: isolate;
  background: #08131d;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #08131d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-slide.is-active img {
  animation: hero-drift 14s ease-out both;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(4, 10, 16, 0.94) 0%,
      rgba(4, 10, 16, 0.82) 34%,
      rgba(4, 10, 16, 0.28) 64%,
      rgba(4, 10, 16, 0.42) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 10, 16, 0.94) 0%,
      rgba(4, 10, 16, 0.24) 48%,
      rgba(4, 10, 16, 0.46) 100%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.62fr);
  align-items: end;
  gap: clamp(36px, 5vw, 80px);
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-bottom: 24px;
}

.hero__copy {
  min-width: 0;
}

.hero .eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  row-gap: 4px;
  padding: 8px 13px 7px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  background: rgba(5, 13, 21, 0.58);
  border: 1px solid rgba(190, 220, 247, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(35px, 4.4vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}

.hero__grad {
  background: linear-gradient(98deg, #c6e8ff 0%, #62b0f2 46%, #8fb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: #d2e2ef;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #a9bdcd;
}

.hero__meta .icon {
  width: 13px;
  height: 13px;
  color: var(--accent-bright);
}

/* Artwork controls */
.hero__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  align-self: center;
  margin-bottom: 22px;
  padding: 5px 7px 5px 5px;
  background: rgba(5, 12, 20, 0.58);
  border: 1px solid rgba(190, 220, 247, 0.2);
  border-radius: 9999px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8);
}

.hero__arrow,
.hero__pause {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  color: var(--text-soft);
  border-radius: 50%;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.hero__arrow .icon,
.hero__pause .icon {
  width: 14px;
  height: 14px;
}

.hero__arrow:hover,
.hero__pause:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-inline: 4px;
}

.hero__dot {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}

.hero__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(210, 226, 239, 0.42);
  border-radius: 9999px;
  transform: translate(-50%, -50%);
  transition:
    width 220ms var(--ease),
    background-color 220ms ease;
}

.hero__dot:hover::before {
  background: var(--text-soft);
}

.hero__dot.is-active::before {
  width: 17px;
  background: var(--accent-bright);
}

.hero__control-rule {
  width: 1px;
  height: 16px;
  margin-inline: 6px;
  background: var(--line-strong);
}

.hero__slide-label {
  min-width: 82px;
  padding-right: 4px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hero__pause .icon {
  width: 13px;
  height: 13px;
}

.hero__play-icon {
  display: none;
}

.hero__pause[aria-pressed='true'] .hero__pause-icon {
  display: none;
}

.hero__pause[aria-pressed='true'] .hero__play-icon {
  display: block;
}

/* Library card */
.hero-card {
  min-width: 0;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(5, 13, 21, 0.74);
  border: 1px solid rgba(190, 220, 247, 0.2);
  border-radius: var(--radius-lg);
  box-shadow:
    0 36px 90px -28px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(127, 224, 176, 0.08);
  border: 1px solid rgba(127, 224, 176, 0.2);
  border-radius: 9999px;
}

.hero-card__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero-card__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.hero-card__stat strong {
  font-size: 46px;
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
}

.hero-card__stat span {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.edition-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.edition {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.edition__badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 159, 232, 0.2);
  border-radius: 6px;
}

.edition__badge--bedrock {
  color: #a8c2d8;
  background: rgba(168, 194, 216, 0.08);
  border-color: rgba(168, 194, 216, 0.16);
}

.edition__badge--horizon {
  color: #c0dcff;
  background: rgba(79, 159, 232, 0.16);
  border-color: rgba(79, 159, 232, 0.24);
}

.edition__badge .icon {
  width: 15px;
  height: 15px;
}

.edition__text {
  flex: 1;
  min-width: 0;
}

.edition__text b {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0;
  line-height: 1.5;
}

.edition__text small {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edition__action {
  flex: none;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 400;
  color: var(--accent-ink);
  background: var(--accent-bright);
  border-radius: 9999px;
}

.hero-card__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 11px;
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-card__note .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: var(--accent);
}

@keyframes hero-drift {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.01);
  }
}

/* Stats ------------------------------------------------------------------ */
.stats {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 26px;
  min-width: 0;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat__value {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat__label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
}

.stat__label b {
  font-weight: 500;
  color: var(--text-soft);
}

.stat__label small {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

/* Section shell ---------------------------------------------------------- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  scroll-margin-top: var(--header-h);
}

.section--flush {
  padding-top: 40px;
}

/* Bento ------------------------------------------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(79, 159, 232, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.016));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    transform 260ms var(--ease);
}

.card:hover {
  border-color: rgba(170, 200, 255, 0.2);
  transform: translateY(-2px);
}

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

.card--narrow {
  grid-column: span 2;
}

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

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 159, 232, 0.18);
  border-radius: 8px;
}

.card__icon .icon {
  width: 17px;
  height: 17px;
}

.card__title {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.card__copy {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--body);
}

.card__visual {
  margin-top: 22px;
}

.card--full .card__copy {
  max-width: 78ch;
}

/* Mock UI ---------------------------------------------------------------- */
.mock,
.server-mock,
.backup-list,
.theme-mock,
.bedrock-panel {
  font-size: 12.5px;
}

.mock {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: rgba(6, 3, 14, 0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.mock--tight {
  padding: 8px;
}

.mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 3px 8px;
}

.mock__title {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mock-seg {
  display: inline-flex;
  gap: 1px;
  padding: 2px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid var(--line);
  border-radius: 9999px;
}

.mock-seg span {
  padding: 3px 8px;
  font-size: 10px;
  color: var(--dim);
  border-radius: 9999px;
  white-space: nowrap;
}

.mock-seg .is-on {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 9999px;
  white-space: nowrap;
}

.mock-chip--accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(79, 159, 232, 0.3);
}

.mock-chip--ghost {
  color: var(--dim);
  background: transparent;
}

.mock-chip--danger {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: rgba(255, 154, 168, 0.25);
}

.inst,
.file-row,
.backup-row,
.srv {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 8px;
}

.inst {
  border-color: rgba(255, 255, 255, 0.04);
}

.inst.is-on {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}

.inst__name,
.file-row__name,
.srv__name {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.35;
}

.inst__name small,
.file-row__name small,
.srv__name small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cube {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -6px 10px rgba(0, 0, 0, 0.22);
}

.cube--aqua {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(135deg, #7fe6fa 0%, #3fb4d1 55%, #1f7d99 100%);
}

.cube--grass {
  background:
    linear-gradient(180deg, #7fd08a 0 34%, #a97a52 34% 72%, #7a5334 72%),
    #6b4a30;
}

.cube--store {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 50%),
    linear-gradient(145deg, #9aa7c9, #5b6887 60%, #3c4761);
}

.cube--sodium {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 50%),
    linear-gradient(145deg, #ffd58a, #e09a45 58%, #a86a2b);
}

.cube--iris {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 50%),
    linear-gradient(145deg, #c7b1ff, #8f6ce6 58%, #6143ad);
}

.cube--dim {
  opacity: 0.45;
  background: linear-gradient(145deg, #7b7394, #4a4560);
}

.file-row {
  border-color: rgba(255, 255, 255, 0.04);
}

.loader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 9px;
}

.loader {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 11px 10px;
  background: rgba(6, 3, 14, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.loader__dot {
  grid-row: 1 / span 2;
  width: 7px;
  height: 7px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  box-shadow: 0 0 9px color-mix(in srgb, var(--c, var(--accent)) 70%, transparent);
}

.loader b {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-soft);
}

.loader small {
  font-size: 10px;
  line-height: 1.35;
  color: var(--dim);
}

.backup-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: rgba(6, 3, 14, 0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.zip {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  color: var(--warm);
  background: var(--warm-soft);
  border: 1px solid rgba(255, 180, 136, 0.22);
  border-radius: 6px;
}

.zip span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.zip--dim {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.mock-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 4px 3px 1px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--dim);
}

.mock-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--accent);
}

.server-mock {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: rgba(6, 3, 14, 0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.srv__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(127, 224, 176, 0.55);
}

.srv__dot--bedrock {
  background: var(--violet);
  box-shadow: 0 0 9px rgba(79, 159, 232, 0.55);
}

.srv__meta,
.srv__ping {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.srv__ping {
  color: var(--text-soft);
}

.theme-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  background: rgba(6, 3, 14, 0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.theme-swatches {
  display: flex;
  gap: 9px;
}

.swatch {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.swatch.is-on {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.swatch--water {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(145deg, #8feaff, #3aabc8 58%, #17647d);
}

.swatch--moss {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 45%),
    linear-gradient(145deg, #a5d98e, #5e9a54 58%, #326338);
}

.swatch--sand {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 45%),
    linear-gradient(145deg, #f3ddab, #c9a86c 58%, #8e6f3f);
}

.swatch--nether {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, #e58b8b, #a6465e 58%, #5f2439);
}

.theme-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: var(--dim);
}

.accent-dots {
  display: flex;
  gap: 5px;
}

.accent-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.theme-meta__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal {
  overflow: hidden;
  background: #07030e;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.terminal pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.75;
  color: #c3b7dc;
}

.terminal pre code {
  font-size: inherit;
}

.log-dim {
  color: #6e6489;
}

.log-error {
  color: var(--danger);
}

.terminal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 9px 12px;
  font-size: 10.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.terminal__foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.terminal__foot .icon {
  width: 12px;
  height: 12px;
}

/* Screenshot tour -------------------------------------------------------- */
.tour__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.tour__tabs {
  display: inline-flex;
  gap: 2px;
  flex: none;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 9999px;
}

.tour__tab {
  padding: 7px 15px;
  font-size: 12.5px;
  color: var(--muted);
  border-radius: 9999px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.tour__tab:hover {
  color: var(--text-soft);
}

.tour__tab.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tour__stage {
  padding: 7px;
  background: linear-gradient(135deg, rgba(79, 159, 232, 0.32), rgba(110, 159, 255, 0.14) 42%, rgba(255, 255, 255, 0.05));
  border-radius: 24px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.85);
}

.tour__panel {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-deep);
}

.tour__shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
}

.tour__shot img {
  width: 100%;
  height: auto;
}

.tour__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  background: rgba(9, 5, 17, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease);
}

.tour__zoom .icon {
  width: 15px;
  height: 15px;
}

.tour__shot:hover .tour__zoom {
  background: rgba(9, 5, 17, 0.85);
  transform: scale(1.06);
}

.tour__caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.tour__note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--dim);
}

/* Bedrock ---------------------------------------------------------------- */
.bedrock {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(900px 560px at 88% 18%, rgba(79, 159, 232, 0.1), transparent 65%),
    radial-gradient(700px 500px at 0% 90%, rgba(79, 159, 232, 0.07), transparent 68%);
}

.bedrock__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.bedrock__copy .section__title {
  margin-top: 16px;
}

.ticks {
  display: grid;
  gap: 15px;
  margin-top: 30px;
  max-width: 54ch;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

.ticks .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}

.ticks b {
  font-weight: 500;
  color: var(--text-soft);
}

.ticks .mono {
  padding: 1px 5px;
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.bedrock__visual {
  min-width: 0;
}

.bedrock-panel {
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(9, 5, 18, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -36px rgba(0, 0, 0, 0.85);
}

.bedrock-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 12px;
}

.bedrock-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  padding: 12px 2px 2px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.bedrock-panel__foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bedrock-panel__foot .icon {
  width: 13px;
  height: 13px;
}

.build {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.build:last-of-type {
  border-bottom: 0;
}

.build--active {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.build__ver {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}

.build__meta {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.build-progress {
  margin-top: 13px;
  padding: 11px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.build-progress__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: var(--muted);
}

.build-progress__track {
  display: block;
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
}

.build-progress__track i {
  display: block;
  width: 64%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(79, 159, 232, 0.45);
}

.callout {
  margin-top: 12px;
  padding: 15px 16px;
  background: var(--warm-soft);
  border: 1px solid rgba(255, 180, 136, 0.2);
  border-radius: var(--radius-md);
}

.callout strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #ffd2b3;
}

.callout p {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* Roadmap ---------------------------------------------------------------- */
.phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.phase {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 220ms ease;
}

.phase:hover {
  border-color: var(--line-strong);
}

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

.phase__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.phase__title {
  margin-top: 26px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.phase__copy {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.phase__list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.phase__list li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body);
}

.phase__list li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: 0.7;
}

.phase__foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--dim);
}

/* Get started ------------------------------------------------------------ */
.get__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.get__lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

.get__lede code {
  padding: 1px 5px;
  font-size: 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.get__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: start;
}

.get__build {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.code-card {
  overflow: hidden;
  background: #080410;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.9);
}

.code-card__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.code-card__dots {
  display: flex;
  gap: 5px;
}

.code-card__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a2f52;
}

.code-card__dots i:nth-child(2) {
  background: #4a3c68;
}

.code-card__dots i:nth-child(3) {
  background: #5c4a80;
}

.code-card__name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.copy-btn .icon {
  width: 12px;
  height: 12px;
}

.copy-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.copy-btn.is-copied {
  color: var(--green);
  border-color: rgba(127, 224, 176, 0.3);
  background: rgba(127, 224, 176, 0.08);
}

.code-card pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.code-card pre code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: #d6cbe9;
}

.code-comment {
  color: #8c80a8;
}

.reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 22px;
  padding: 2px;
}

.reqs li {
  font-size: 11.5px;
  color: var(--dim);
}

.reqs span {
  margin-right: 5px;
  font-weight: 500;
  color: var(--muted);
}

.get__platforms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.platform {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.platform__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 159, 232, 0.18);
  border-radius: 8px;
}

.platform__icon .icon {
  width: 17px;
  height: 17px;
}

.platform__body {
  min-width: 0;
}

.platform h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.platform p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.get__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.get__note {
  margin-top: 22px;
  padding: 15px 17px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  background: var(--warm-soft);
  border: 1px solid rgba(255, 180, 136, 0.18);
  border-radius: var(--radius-md);
}

.get__note strong {
  margin-right: 5px;
  font-weight: 500;
  color: #ffd2b3;
}

/* FAQ -------------------------------------------------------------------- */
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.faq__lede {
  margin-top: 20px;
  max-width: 40ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body);
}

.faq__intro .text-link {
  margin-top: 22px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-soft);
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease;
}

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

.faq__item summary:hover {
  color: var(--text);
}

.faq__sign {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
}

.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform 220ms var(--ease);
}

.faq__sign::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item[open] .faq__sign {
  color: var(--accent);
}

.faq__item[open] .faq__sign::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__answer {
  padding: 0 34px 22px 0;
}

.faq__answer p {
  max-width: 66ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--body);
}

.faq__answer code {
  padding: 1px 5px;
  font-size: 11.5px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* Footer ----------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 55%), var(--bg-deep);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  padding: 60px 0 48px;
}

.footer__brand .brand {
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.footer__badges span {
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9999px;
}

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

.footer__col h3 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col a {
  display: block;
  margin-top: 11px;
  font-size: 13px;
  color: var(--body);
  transition: color 160ms ease;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.footer__bottom p {
  max-width: 74ch;
}

.footer__build {
  flex: none;
}

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  max-width: min(1180px, 94vw);
  max-height: 92vh;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(5, 3, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox__inner {
  position: relative;
}

.lightbox__inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.9);
}

.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--text);
  background: rgba(20, 12, 38, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease);
}

.lightbox__close:hover {
  background: rgba(40, 26, 70, 0.95);
  transform: scale(1.05);
}

.lightbox__close .icon {
  width: 16px;
  height: 16px;
}

.lightbox__caption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* Reveal animation ------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.85;
    transform: scale(1);
  }
}

@keyframes cloud-drift {
  from {
    transform: translateX(-10px);
  }
  to {
    transform: translateX(16px);
  }
}

@keyframes boat-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.cloud--back {
  animation: cloud-drift 26s ease-in-out infinite alternate;
}

.cloud--mid {
  animation: cloud-drift 34s ease-in-out infinite alternate-reverse;
}

.boat {
  animation: boat-bob 7s ease-in-out infinite;
}

/* Horizon ---------------------------------------------------------------- */
.horizon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(880px 540px at 12% 18%, rgba(79, 159, 232, 0.1), transparent 66%),
    radial-gradient(680px 480px at 96% 86%, rgba(79, 159, 232, 0.045), transparent 70%);
}

.horizon__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.horizon + .bedrock {
  border-top: 0;
}

.horizon__copy .section__title {
  margin-top: 16px;
}

.horizon__visual {
  min-width: 0;
}

.horizon-panel {
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(7, 16, 25, 0.68);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -36px rgba(0, 0, 0, 0.85);
}

.horizon-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
}

.horizon-panel__title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.horizon-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.horizon-panel__sub {
  padding-bottom: 12px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}

.horizon-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.horizon-hero__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: none;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 159, 232, 0.24);
  border-radius: 8px;
}

.horizon-hero__icon .icon {
  width: 17px;
  height: 17px;
}

.horizon-hero__copy {
  flex: 1;
  min-width: 0;
}

.horizon-hero__copy b {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-soft);
}

.horizon-hero__copy small {
  display: block;
  margin-top: 1px;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--dim);
}

.horizon-facts {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 1px;
  margin: 12px 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.horizon-facts div {
  min-width: 0;
  padding: 9px 10px;
  background: rgba(6, 14, 22, 0.72);
}

.horizon-facts dt {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.horizon-facts dd {
  margin: 3px 0 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--text-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 11px 0 13px;
}

.horizon-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--accent-ink);
  background: var(--accent-bright);
  border-radius: 6px;
}

.horizon-play .icon {
  width: 11px;
  height: 11px;
}

.horizon-action {
  padding: 7px 9px;
  font-size: 9px;
  line-height: 1.4;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.horizon-builds {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.horizon-build {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.horizon-build__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-soft);
}

.horizon-build__meta {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.5;
  color: var(--dim);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizon-panel__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding-top: 10px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.horizon-panel__foot .icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

/* Design system ----------------------------------------------------------
   Landing-page system: one typeface, one scale, one spacing rhythm, flat
   surfaces, approved Phosphor icons, and one primary action per screen.
   Minecraftia is the brand typeface; Geist Mono is used for code only. */

/* Named type styles */
.heading-1,
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 400;
  line-height: var(--text-6xl-lh);
  letter-spacing: 0;
  color: var(--text);
}

.heading-2,
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--text-5xl-lh);
  letter-spacing: 0;
  color: var(--text);
}

.heading-3 {
  font-size: var(--text-4xl);
  line-height: var(--text-4xl-lh);
  font-weight: 400;
}

.heading-4 {
  font-size: var(--text-3xl);
  line-height: var(--text-3xl-lh);
  font-weight: 400;
}

.heading-5 {
  font-size: var(--text-2xl);
  line-height: var(--text-2xl-lh);
  font-weight: 400;
}

.heading-6 {
  font-size: var(--text-xl);
  line-height: var(--text-xl-lh);
  font-weight: 400;
}

.title-1 {
  font-size: var(--text-xl);
  line-height: var(--text-xl-lh);
  font-weight: 400;
}

.title-2 {
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
  font-weight: 400;
}

.title-3 {
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  font-weight: 400;
}

.title-4 {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: 400;
}

.title-5 {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  font-weight: 400;
}

.body-1,
.body-2,
.body-3 {
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
}

.body-1 {
  font-weight: 600;
}

.body-2 {
  font-weight: 500;
}

.body-3 {
  font-weight: 400;
}

.body-4,
.body-5,
.body-6 {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.body-4 {
  font-weight: 600;
}

.body-5 {
  font-weight: 500;
}

.body-6 {
  font-weight: 400;
}

.button-md {
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  font-weight: 600;
}

.caption-1,
.caption-2 {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.caption-1 {
  font-weight: 500;
}

.caption-2 {
  font-weight: 400;
}

.caption-3,
.caption-4,
.caption-5 {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.caption-3 {
  font-weight: 600;
}

.caption-4 {
  font-weight: 500;
}

.caption-5 {
  font-weight: 400;
}

/* Page surfaces */
body {
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--body);
  background: var(--bg);
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
}

/* Floating navigation */
.header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  height: auto;
  padding: 0 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.header::before {
  display: none;
}

.header.is-scrolled {
  border: 0;
  box-shadow: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 32px);
  height: 56px;
  margin-inline: auto;
  gap: var(--space-300);
  padding: var(--space-75) var(--space-75) var(--space-75) var(--space-200);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  pointer-events: auto;
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.header.is-scrolled .header__inner {
  background: rgba(18, 18, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 64px -32px rgba(0, 0, 0, 0.95);
}

.brand {
  gap: var(--space-75);
}

.brand__wordmark {
  display: block;
  width: auto;
  height: 28px;
}

.brand__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.brand__text {
  gap: var(--space-50);
}

.brand__name {
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
}

.brand__sub {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  letter-spacing: 0.12em;
}

.nav {
  gap: var(--space-25);
}

.nav__link {
  padding: var(--space-75) var(--space-100);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  border-radius: var(--radius-sm);
  transition:
    color 300ms var(--ease),
    background-color 300ms var(--ease);
}

.nav__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link.is-active::after {
  display: none;
}

.header__actions {
  gap: var(--space-75);
}

.btn.header__cta {
  height: 40px;
  padding-inline: var(--space-200);
  border-radius: 9999px;
}

.legal-top .brand__wordmark {
  height: 30px;
}

.error__brand .brand__wordmark {
  height: 34px;
}

.nav__source {
  display: none;
}

/* Hero */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: var(--space-400);
  background: #000000;
}

.hero-slider {
  background: #000000;
}

.hero__shade {
  background: rgba(0, 0, 0, 0.52);
}

.hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: var(--space-700);
  padding-bottom: 0;
}

.hero__title {
  max-width: 680px;
  margin-top: var(--space-300);
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero__grad {
  background: none;
  color: inherit;
}

.hero .eyebrow {
  gap: var(--space-75);
  padding: var(--space-75) var(--space-100);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  letter-spacing: 0.1em;
  color: var(--text-soft);
  background: rgba(0, 0, 0, 0.55);
  border-color: var(--line-strong);
}

.hero .eyebrow__icon {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-sm);
}

.hero__lede {
  max-width: 640px;
  margin-top: var(--space-300);
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--text-soft);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

.hero__actions {
  align-items: center;
  gap: var(--space-300);
  margin-top: var(--space-400);
}

.hero__source,
.final__source {
  display: inline-flex;
  align-items: center;
  gap: var(--space-75);
  padding-block: var(--space-75);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--text-soft);
  transition: color 300ms var(--ease);
}

.hero__source .icon,
.final__source .icon {
  width: 16px;
  height: 16px;
  transition: transform 300ms var(--ease);
}

.hero__source:hover,
.final__source:hover {
  color: var(--accent-bright);
}

.hero__source:hover .icon,
.final__source:hover .icon {
  transform: translate(2px, -2px);
}

.hero__meta {
  gap: var(--space-75) var(--space-300);
  margin-top: var(--space-400);
}

.hero__meta li {
  gap: var(--space-75);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--text-soft);
}

.hero__meta .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
}

.hero__controls {
  gap: var(--space-50);
  margin-top: var(--space-500);
  margin-bottom: 0;
  padding: var(--space-50);
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--line-strong);
  border-radius: 9999px;
  transition: background-color 300ms var(--ease);
}

.hero__arrow,
.hero__pause {
  width: 32px;
  height: 32px;
  transition:
    color 300ms var(--ease),
    background-color 300ms var(--ease),
    transform 300ms var(--ease);
}

.hero__arrow:active,
.hero__pause:active,
.hero__dot:active {
  transform: scale(0.94);
}

.hero__arrow .icon,
.hero__pause .icon {
  width: 16px;
  height: 16px;
}

.hero__dots {
  gap: var(--space-50);
  padding-inline: var(--space-50);
}

.hero__dot {
  width: 24px;
  height: 24px;
}

.hero__dot::before {
  width: 17px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scaleX(0.35);
  transition:
    transform 300ms var(--ease),
    background-color 300ms var(--ease);
}

.hero__dot.is-active::before {
  width: 17px;
  background: var(--accent-bright);
  transform: translate(-50%, -50%) scaleX(1);
}

.hero__slide-label {
  min-width: 96px;
  padding-right: var(--space-50);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.hero-card {
  padding: var(--space-200);
  background: rgba(24, 24, 24, 0.94);
  border-color: var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px -40px rgba(0, 0, 0, 0.9);
}

.hero-card__head {
  gap: var(--space-100);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.hero-card__status {
  gap: var(--space-50);
  padding: var(--space-25) var(--space-75);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.hero-card__stat {
  gap: var(--space-200);
  margin-top: var(--space-200);
  padding-bottom: var(--space-200);
}

.hero-card__stat strong {
  font-size: var(--text-5xl);
  line-height: var(--text-5xl-lh);
}

.hero-card__stat span {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.edition-list {
  gap: var(--space-75);
  margin-top: var(--space-200);
}

.edition {
  gap: var(--space-100);
  padding: var(--space-75);
  border-radius: var(--radius-sm);
}

.edition__badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.edition__badge .icon {
  width: 16px;
  height: 16px;
}

.edition__text b {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.edition__text small,
.hero-card__note {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.edition__text small {
  margin-top: var(--space-25);
}

.edition__action {
  padding: var(--space-25) var(--space-75);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.hero-card__note {
  gap: var(--space-75);
  margin-top: var(--space-100);
}

.hero-card__note .icon {
  width: 14px;
  height: 14px;
}

/* Section rhythm */
.section {
  padding: var(--section-pad) 0;
}

.section--flush {
  padding-top: var(--space-600);
}

.section__head {
  max-width: 760px;
  margin-bottom: var(--space-500);
}

.eyebrow {
  gap: var(--space-75);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  letter-spacing: 0.12em;
}

.eyebrow__mark {
  width: 12px;
  height: 12px;
  background: var(--accent);
  filter: none;
}

.eyebrow__icon {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-sm);
}

.section__title {
  max-width: 680px;
  margin-top: var(--space-200);
}

.section__lede {
  max-width: 62ch;
  margin-top: var(--space-300);
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--body);
}

.section__foot {
  margin-top: var(--space-500);
}

.text-link {
  gap: var(--space-75);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  transition: color 300ms var(--ease);
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 300ms var(--ease);
}

/* Buttons */
.btn {
  gap: var(--space-75);
  height: auto;
  min-height: 42px;
  padding: var(--space-75) var(--space-100);
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  border-radius: var(--radius-sm);
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    color 300ms var(--ease),
    transform 300ms var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--sm {
  min-height: 36px;
  padding: var(--space-75) var(--space-100);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  border-radius: var(--radius-sm);
}

.btn--lg {
  min-height: 48px;
  padding: var(--space-75) var(--space-100);
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  border-radius: var(--radius-sm);
}

.btn--primary {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: transparent;
  box-shadow: none;
}

.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn--primary:active,
.btn:active {
  transform: scale(0.98);
}

.btn--glass,
.btn--ghost {
  color: var(--text-soft);
  background: var(--panel);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--glass:hover,
.btn--ghost:hover {
  color: var(--text);
  background: var(--panel-3);
  border-color: var(--line-bright);
}

/* Proof strip */
.stats {
  background: var(--panel);
}

.stat {
  gap: var(--space-200);
  padding: var(--space-400) var(--space-300);
}

.stat__value {
  font-size: var(--text-4xl);
  line-height: var(--text-4xl-lh);
  letter-spacing: 0;
}

.stat__label {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.stat__label small {
  margin-top: var(--space-25);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

/* Benefits */
.bento {
  gap: var(--space-200);
}

.card {
  padding: var(--space-300);
  background: var(--panel-2);
  border-color: var(--line);
  border-radius: var(--radius-lg);
  transition:
    border-color 300ms var(--ease),
    background-color 300ms var(--ease),
    transform 500ms var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--panel-3);
  transform: translateY(-2px);
}

.card__head {
  gap: var(--space-100);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.card__icon .icon {
  width: 20px;
  height: 20px;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--text-xl-lh);
  letter-spacing: 0;
}

.card__copy {
  max-width: 62ch;
  margin-top: var(--space-200);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.card__visual {
  margin-top: var(--space-300);
}
/* Product mock UI */
.mock,
.server-mock,
.backup-list,
.bedrock-panel,
.theme-mock {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  background: #000000;
  border-color: var(--line);
  border-radius: var(--radius-md);
}

.mock,
.server-mock,
.backup-list {
  gap: var(--space-75);
  padding: var(--space-100);
}

.mock__head {
  gap: var(--space-100);
  padding: 0 0 var(--space-75);
}

.mock__title,
.mock-seg span,
.mock-chip,
.mock-note,
.loader small,
.inst__name small,
.file-row__name small,
.srv__name small,
.srv__meta,
.srv__ping,
.zip span,
.terminal__bar,
.terminal__foot,
.bedrock-panel__foot,
.build__meta,
.callout p,
.horizon-panel__sub,
.horizon-panel__foot,
.horizon-build__meta {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.mock__title {
  letter-spacing: 0.08em;
}

.mock-seg span,
.mock-chip {
  padding: var(--space-25) var(--space-75);
}

.inst,
.file-row,
.backup-row,
.srv {
  gap: var(--space-100);
  padding: var(--space-75) var(--space-100);
  border-radius: var(--radius-sm);
}

.inst__name,
.file-row__name,
.srv__name {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.inst__name small,
.file-row__name small,
.srv__name small {
  margin-top: var(--space-25);
}

.cube {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.cube--aqua { background: #3fb4d1; }
.cube--grass { background: #6f9e56; }
.cube--store { background: #6f7b96; }
.cube--sodium { background: #d99b43; }
.cube--iris { background: #8f6ce6; }
.cube--dim { background: #5a5470; }
.cube--rust { background: #b7694d; }

.loader-grid {
  gap: var(--space-75);
  margin-bottom: var(--space-75);
}

.loader {
  column-gap: var(--space-75);
  padding: var(--space-100);
  background: #000000;
  border-radius: var(--radius-sm);
}

.loader b {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.zip {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.srv__meta,
.srv__ping {
  font-family: var(--font-mono);
}

.mock-note {
  gap: var(--space-75);
  padding: var(--space-50) var(--space-25);
}

.mock-note .icon {
  width: 14px;
  height: 14px;
}

.theme-mock {
  gap: var(--space-200);
  padding: var(--space-200);
}

.theme-swatches {
  gap: var(--space-75);
}

.swatch {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.swatch--water { background: #3aabc8; }
.swatch--moss { background: #5e9a54; }
.swatch--sand { background: #c9a86c; }
.swatch--nether { background: #a6465e; }

.theme-meta {
  gap: var(--space-100);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.accent-dots {
  gap: var(--space-50);
}

.accent-dots i {
  width: 12px;
  height: 12px;
}

.terminal {
  background: #000000;
  border-radius: var(--radius-md);
}

.terminal__bar {
  gap: var(--space-200);
  padding: var(--space-75) var(--space-100);
}

.terminal pre {
  padding: var(--space-200);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.terminal__foot {
  gap: var(--space-200);
  padding: var(--space-75) var(--space-100);
}

.terminal__foot .icon {
  width: 14px;
  height: 14px;
}

/* Tagline reveal */
.tagline {
  padding: var(--space-900) 0;
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.tagline__inner {
  max-width: 900px;
}

.tagline__text {
  max-width: 680px;
  margin-top: var(--space-300);
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--text-5xl-lh);
  color: var(--text);
}

.tagline__word {
  opacity: 0.3;
  transition: opacity 500ms var(--ease);
}

.tagline__word.is-lit {
  opacity: 1;
}

.tagline__note {
  max-width: 60ch;
  margin-top: var(--space-400);
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--body);
}

/* Screenshot tour */
.tour__head {
  gap: var(--space-300);
  margin-bottom: var(--space-400);
}

.tour__tabs {
  gap: var(--space-50);
  padding: var(--space-50);
}

.tour__tab {
  padding: var(--space-75) var(--space-200);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  transition:
    color 300ms var(--ease),
    background-color 300ms var(--ease);
}

.tour__stage {
  padding: var(--space-75);
  background: var(--panel-3);
  border-radius: var(--radius-xl);
  box-shadow: none;
}

.tour__panel {
  border-radius: var(--radius-lg);
  background: #000000;
}

.tour__zoom {
  right: var(--space-200);
  bottom: var(--space-200);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--line-strong);
  border-radius: 9999px;
}

.tour__zoom .icon {
  width: 18px;
  height: 18px;
}

.tour__caption {
  margin-top: var(--space-200);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.tour__note {
  margin-top: var(--space-50);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}
/* Horizon and Bedrock */
.horizon,
.bedrock {
  background: var(--panel);
}

.horizon__inner,
.bedrock__inner {
  gap: var(--space-800);
}

.ticks {
  gap: var(--space-200);
  margin-top: var(--space-400);
  max-width: 56ch;
}

.ticks li {
  gap: var(--space-100);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.ticks .icon {
  width: 18px;
  height: 18px;
  margin-top: var(--space-25);
}

.ticks .mono {
  padding: var(--space-25) var(--space-50);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  border-radius: var(--radius-sm);
}

.horizon-panel,
.bedrock-panel {
  padding: var(--space-200);
  background: var(--panel-2);
  border-color: var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px -40px rgba(0, 0, 0, 0.9);
}

.horizon-panel__head {
  gap: var(--space-100);
  padding-bottom: var(--space-100);
}

.horizon-wordmark {
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
}

.horizon-panel__sub {
  padding-bottom: var(--space-100);
}

.horizon-hero {
  gap: var(--space-100);
  padding: var(--space-100) 0;
}

.horizon-hero__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.horizon-hero__copy b {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.horizon-hero__copy small {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.horizon-facts {
  gap: var(--space-25);
  margin: var(--space-100) 0;
  border-radius: var(--radius-sm);
}

.horizon-facts div {
  padding: var(--space-75) var(--space-100);
  background: #000000;
}

.horizon-facts dt,
.horizon-facts dd {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.horizon-actions {
  gap: var(--space-50);
  margin: var(--space-100) 0;
}

.horizon-play {
  gap: var(--space-50);
  padding: var(--space-50) var(--space-100);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  border-radius: var(--radius-sm);
}

.horizon-action {
  padding: var(--space-50) var(--space-100);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  border-radius: var(--radius-sm);
}

.horizon-builds {
  gap: var(--space-50);
}

.horizon-build {
  gap: var(--space-100);
  padding: var(--space-75) var(--space-100);
  border-radius: var(--radius-sm);
}

.horizon-build__tag {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.horizon-panel__foot {
  gap: var(--space-75);
  margin-top: var(--space-100);
  padding-top: var(--space-75);
}

.horizon-panel__foot .icon {
  width: 14px;
  height: 14px;
}

.bedrock-panel__head {
  gap: var(--space-100);
  padding-bottom: var(--space-100);
}

.bedrock-panel__foot {
  gap: var(--space-200);
  margin-top: var(--space-100);
  padding: var(--space-100) var(--space-25) var(--space-25);
}

.bedrock-panel__foot .icon {
  width: 14px;
  height: 14px;
}

.build {
  gap: var(--space-100);
  padding: var(--space-75) var(--space-100);
}

.build__ver {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.build--active {
  border-radius: var(--radius-sm);
}

.build-progress {
  margin-top: var(--space-100);
  padding: var(--space-100);
  border-radius: var(--radius-sm);
}

.build-progress__label {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.build-progress__track {
  margin-top: var(--space-75);
}

.build-progress__track i {
  background: var(--accent);
}

.callout {
  margin-top: var(--space-200);
  padding: var(--space-200);
  background: var(--panel-2);
  border-color: var(--line);
  border-radius: var(--radius-lg);
}

.callout strong {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.callout p {
  margin-top: var(--space-50);
  color: var(--body);
}

/* Roadmap */
.phases {
  gap: var(--space-200);
}

.phase {
  padding: var(--space-300);
  background: var(--panel-2);
  border-color: var(--line);
  border-radius: var(--radius-lg);
}

.phase__num {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.phase__title {
  margin-top: var(--space-300);
  font-size: var(--text-xl);
  line-height: var(--text-xl-lh);
  font-weight: 400;
  letter-spacing: 0;
}

.phase__copy {
  margin-top: var(--space-75);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.phase__list {
  gap: var(--space-75);
  margin-top: var(--space-300);
  padding-top: var(--space-200);
}

.phase__list li {
  padding-left: var(--space-200);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.phase__list li::before {
  top: 8px;
  width: 4px;
  height: 4px;
}

.phase__foot {
  padding-top: var(--space-200);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

/* Get started */
.get__head {
  gap: var(--space-600);
  margin-bottom: var(--space-600);
}

.get__lede {
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
}

.get__lede code {
  padding: var(--space-25) var(--space-50);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  border-radius: var(--radius-sm);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-200);
  margin-bottom: var(--space-600);
}

.step {
  padding: var(--space-300);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  color: var(--accent);
}

.step__title {
  margin-top: var(--space-300);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--text-xl-lh);
  font-weight: 400;
  color: var(--text);
}

.step__copy {
  margin-top: var(--space-75);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--body);
}

.get__grid {
  gap: var(--space-300);
}

.get__build {
  gap: var(--space-200);
}

.code-card {
  background: #000000;
  border-color: var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.code-card__bar {
  gap: var(--space-100);
  padding: var(--space-75) var(--space-100);
}

.code-card__name,
.copy-btn {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.copy-btn {
  gap: var(--space-50);
  padding: var(--space-50) var(--space-75);
  border-radius: var(--radius-sm);
  transition:
    color 300ms var(--ease),
    border-color 300ms var(--ease),
    background-color 300ms var(--ease);
}

.copy-btn .icon {
  width: 14px;
  height: 14px;
}

.code-card pre {
  padding: var(--space-300);
}

.code-card pre code {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.reqs {
  gap: var(--space-75) var(--space-300);
  padding: var(--space-25);
}

.reqs li {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.reqs span {
  margin-right: var(--space-50);
}

.get__platforms {
  gap: var(--space-100);
}

.platform {
  gap: var(--space-200);
  padding: var(--space-300);
  background: var(--panel-2);
  border-color: var(--line);
  border-radius: var(--radius-lg);
}

.platform__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.platform h3 {
  gap: var(--space-75);
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  font-weight: 400;
  letter-spacing: 0;
}

.platform p {
  margin-top: var(--space-50);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.get__actions {
  gap: var(--space-75);
  margin-top: var(--space-50);
}

.get__note {
  margin-top: var(--space-300);
  padding: var(--space-200) var(--space-300);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  background: var(--panel-2);
  border-color: var(--line);
  border-radius: var(--radius-lg);
}

.get__risk {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-75) var(--space-300);
  margin-top: var(--space-300);
}

.get__risk span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-50);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--body);
}

.get__risk .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
/* FAQ */
.faq__inner {
  gap: var(--space-800);
}

.faq__intro {
  top: calc(var(--header-h) + 40px);
}

.faq__lede {
  margin-top: var(--space-300);
  max-width: 44ch;
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
}

.faq__intro .text-link {
  margin-top: var(--space-300);
}

.faq__item summary {
  gap: var(--space-300);
  padding: var(--space-300) 0;
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
  transition: color 300ms var(--ease);
}

.faq__answer {
  padding: 0 var(--space-400) var(--space-300) 0;
}

.faq__answer p {
  max-width: 66ch;
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
}

.faq__answer code {
  padding: var(--space-25) var(--space-50);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  border-radius: var(--radius-sm);
}

.faq__sign::before,
.faq__sign::after {
  transition: transform 300ms var(--ease);
}

/* Final call to action */
.final {
  padding: var(--space-900) 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.final__inner {
  max-width: 760px;
  text-align: center;
}

.final__inner .eyebrow {
  justify-content: center;
}

.final__title {
  margin-top: var(--space-300);
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--text-5xl-lh);
  color: var(--text);
  text-wrap: balance;
}

.final__copy {
  max-width: 56ch;
  margin: var(--space-300) auto 0;
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--body);
}

.final__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-200) var(--space-300);
  margin-top: var(--space-400);
}

.final__risk {
  margin-top: var(--space-300);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  color: var(--muted);
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid var(--line);
}

.footer__top {
  gap: var(--space-700);
  padding: var(--space-700) 0 var(--space-600);
}

.footer__brand p {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

.footer__badges {
  gap: var(--space-50);
  margin-top: var(--space-300);
}

.footer__badges span {
  padding: var(--space-25) var(--space-75);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

.footer__cols {
  gap: var(--space-300);
}

.footer__col h3 {
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  letter-spacing: 0.12em;
}

.footer__col a {
  margin-top: var(--space-100);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  transition: color 300ms var(--ease);
}

.footer__bottom {
  gap: var(--space-300);
  padding: var(--space-300) 0;
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
}

/* Lightbox */
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.lightbox__inner img {
  background: #000000;
  border-radius: var(--radius-xl);
  box-shadow: none;
}

.lightbox__close {
  width: 40px;
  height: 40px;
  background: var(--panel-2);
  border-color: var(--line-strong);
  border-radius: 9999px;
}

.lightbox__close:hover {
  background: var(--panel-3);
}

.lightbox__caption {
  margin-top: var(--space-100);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

/* Motion */
.js .reveal {
  transform: translateY(var(--space-400));
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.hero-slide {
  transition: opacity 900ms var(--ease);
}

.hero-slide.is-active img {
  animation: hero-drift 14s var(--ease) both;
}

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

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

  .js .reveal,
  .tagline__word {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transition: none;
  }
}
/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root {
    --gutter: 24px;
    --section-pad: 96px;
  }

  .hero__inner {
    gap: 44px;
  }

  .stat {
    padding: 26px 20px;
  }
}

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 20px;
  }

  .hero-card {
    display: none;
  }

  .hero__copy {
    max-width: 800px;
  }
}

@media (max-width: 1040px) {
  .hero__lede {
    max-width: 62ch;
  }

  .horizon__inner,
  .bedrock__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .horizon__copy,
  .bedrock__copy {
    max-width: 720px;
  }
}

@media (max-width: 980px) {
  .header__inner {
    gap: 14px;
  }

  .header__actions {
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 12px;
    right: 12px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: rgba(7, 16, 25, 0.97);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 200ms ease,
      transform 200ms var(--ease),
      visibility 200ms;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    padding: 12px 12px;
    font-size: 13px;
    color: var(--text-soft);
    border-radius: 8px;
  }

  .nav__link.is-active {
    background: rgba(255, 255, 255, 0.055);
  }

  .nav__link.is-active::after {
    display: none;
  }

  .nav__mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav__mobile .btn {
    width: 100%;
    height: 44px;
  }

  .nav-toggle {
    display: grid;
  }

  .header__gh span {
    display: none;
  }

  .header__gh {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .header__cta {
    display: inline-flex;
  }

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

  .card,
  .card--narrow {
    grid-column: span 1;
  }

  .card--wide,
  .card--full {
    grid-column: span 2;
  }

  .get__head,
  .get__grid,
  .faq__inner,
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .get__head {
    gap: 20px;
  }

  .get__lede {
    max-width: 58ch;
    margin-top: -10px;
  }

  .faq__intro {
    position: static;
  }

  .faq__intro .section__title {
    max-width: 18ch;
  }

  .faq__lede {
    max-width: 56ch;
  }

  .footer__top {
    gap: 40px;
    padding-top: 48px;
  }

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

  .phase {
    padding: 22px;
  }

  .phase__title {
    margin-top: 18px;
  }

  .phase__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }

  .phase__foot {
    margin-top: 16px;
  }

  .tour__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

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

  .stat {
    padding: 21px 18px;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section-pad: 76px;
    --header-h: 60px;
  }

  .brand__sub {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 16px);
  }

  .hero__inner {
    padding-bottom: 16px;
    gap: 0;
  }

  .hero__title {
    margin-top: 20px;
    font-size: clamp(32px, 9vw, 46px);
  }

  .hero__lede {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.85;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__actions .btn--lg {
    height: 46px;
    padding: 0 18px;
    font-size: 12px;
  }

  .hero__meta {
    margin-top: 18px;
    gap: 8px 18px;
  }

  .hero__controls {
    margin-bottom: 14px;
  }

  .section__title {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.28;
  }

  .section__lede {
    font-size: 13px;
    line-height: 1.85;
  }

  .section__head {
    margin-bottom: 34px;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .card,
  .card--narrow,
  .card--wide,
  .card--full {
    grid-column: span 1;
  }

  .card {
    padding: 20px;
  }

  .card__title {
    font-size: 16px;
  }

  .tour__stage {
    padding: 5px;
    border-radius: 16px;
  }

  .tour__panel {
    border-radius: 12px;
  }

  .tour__shot img {
    border-radius: 0;
  }

  .tour__zoom {
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
  }

  .phases {
    gap: 10px;
  }

  .get__head {
    margin-bottom: 28px;
  }

  .code-card pre {
    padding: 16px;
  }

  .code-card pre code {
    font-size: 11.5px;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .faq__item summary {
    padding: 16px 0;
    font-size: 13px;
  }

  .faq__answer {
    padding-right: 20px;
  }

  .lightbox__close {
    top: -10px;
    right: -6px;
  }

  .lightbox__inner img {
    border-radius: 8px;
  }

  .callout,
  .bedrock-panel,
  .horizon-panel {
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .header__cta {
    display: none;
  }

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

  .stat {
    padding: 16px 2px;
    gap: 16px;
  }

  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat__value {
    min-width: 72px;
    font-size: 32px;
  }

  .hero .eyebrow {
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 6px 11px 6px 9px;
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .hero .eyebrow__dot,
  .hero .eyebrow__muted {
    display: none;
  }

  .hero__meta li {
    gap: 6px;
    font-size: 10px;
    white-space: nowrap;
  }

  .hero__meta .icon {
    width: 12px;
    height: 12px;
  }

  .hero__controls {
    margin-bottom: 12px;
    padding: 4px 6px 4px 4px;
  }

  .hero__slide-label,
  .hero__control-rule {
    display: none;
  }

  .hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .theme-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .theme-swatches {
    gap: 7px;
  }

  .swatch {
    width: 36px;
    height: 36px;
  }

  .install-list {
    gap: 4px;
  }

  .get__actions .btn {
    width: 100%;
  }

  .footer__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .faq__item summary {
    gap: 13px;
  }

  .terminal__foot {
    gap: 12px;
  }

  .terminal pre {
    font-size: 10px;
  }

  .srv__meta {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero .eyebrow__prefix {
    display: none;
  }

  .hero__title {
    font-size: 30px;
  }
}

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

/* Responsive system */
@media (max-width: 1180px) {
  :root {
    --gutter: 24px;
    --section-pad: 80px;
  }

  .hero__inner {
    gap: var(--space-600);
  }
}

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero-card {
    display: none;
  }

  .hero__copy {
    max-width: 800px;
  }

  .horizon__inner,
  .bedrock__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-600);
  }
}

@media (max-width: 980px) {
  .header {
    padding: 0 var(--space-200);
  }

  .header__inner {
    width: 100%;
    gap: var(--space-100);
    padding: var(--space-75) var(--space-75) var(--space-75) var(--space-200);
  }

  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    z-index: 3;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-h) + var(--space-200)) var(--gutter) var(--space-400);
    background: rgba(0, 0, 0, 0.96);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 300ms var(--ease),
      visibility 300ms var(--ease);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav__link {
    padding: var(--space-200) 0;
    font-size: var(--text-2xl);
    line-height: var(--text-2xl-lh);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    opacity: 0;
    transform: translateY(var(--space-300));
    transition:
      opacity 300ms var(--ease),
      transform 500ms var(--ease),
      color 300ms var(--ease);
  }

  .nav__link.is-active {
    color: var(--accent);
    background: none;
  }

  .nav.is-open .nav__link {
    opacity: 1;
    transform: none;
  }

  .nav.is-open .nav__link:nth-child(1) { transition-delay: 0ms; }
  .nav.is-open .nav__link:nth-child(2) { transition-delay: 60ms; }
  .nav.is-open .nav__link:nth-child(3) { transition-delay: 120ms; }
  .nav.is-open .nav__link:nth-child(4) { transition-delay: 180ms; }
  .nav.is-open .nav__link:nth-child(5) { transition-delay: 240ms; }
  .nav.is-open .nav__link:nth-child(6) { transition-delay: 300ms; }

  .nav__mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-200);
    margin-top: auto;
    padding-top: var(--space-300);
    opacity: 0;
    transform: translateY(var(--space-300));
    transition:
      opacity 300ms var(--ease),
      transform 500ms var(--ease);
  }

  .nav.is-open .nav__mobile {
    opacity: 1;
    transform: none;
    transition-delay: 360ms;
  }

  .nav__source {
    display: inline-flex;
    align-items: center;
    gap: var(--space-75);
    padding: var(--space-75) 0;
    font-size: var(--text-base);
    line-height: var(--text-base-lh);
    color: var(--body);
  }

  .nav__source .icon {
    width: 18px;
    height: 18px;
  }

  .nav__mobile .btn {
    width: 100%;
    min-height: var(--space-600);
    justify-content: center;
  }

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

  .card,
  .card--narrow {
    grid-column: span 1;
  }

  .card--wide,
  .card--full {
    grid-column: span 2;
  }

  .get__head,
  .get__grid,
  .faq__inner,
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .get__head {
    gap: var(--space-300);
    margin-bottom: var(--space-400);
  }

  .get__lede {
    max-width: 58ch;
  }

  .faq__intro {
    position: static;
  }

  .faq__intro .section__title {
    max-width: 18ch;
  }

  .faq__lede {
    max-width: 56ch;
  }

  .footer__top {
    gap: var(--space-600);
    padding-top: var(--space-600);
  }

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

  .phase {
    padding: var(--space-300);
  }

  .phase__title {
    margin-top: var(--space-200);
  }

  .phase__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-75) var(--space-300);
  }

  .phase__foot {
    margin-top: var(--space-200);
  }

  .tour__head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-300);
  }
}

@media (max-width: 940px) {
  .heading-2,
  .section__title {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl-lh);
  }

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

  .stat {
    padding: var(--space-300) var(--space-200);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section-pad: 64px;
    --header-h: 68px;
  }

  .brand__sub {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + var(--space-200));
    padding-bottom: var(--space-300);
  }

  .hero__title {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl-lh);
  }

  .hero__lede {
    margin-top: var(--space-200);
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
  }

  .hero__actions {
    gap: var(--space-100) var(--space-200);
    margin-top: var(--space-300);
  }

  .hero__meta {
    gap: var(--space-50) var(--space-200);
    margin-top: var(--space-300);
  }

  .hero__controls {
    margin-top: var(--space-400);
  }

  .heading-2,
  .section__title {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl-lh);
  }

  .section__lede {
    margin-top: var(--space-200);
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
  }

  .section--flush {
    padding-top: var(--space-500);
  }

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

  .card,
  .card--wide,
  .card--narrow,
  .card--full {
    grid-column: span 1;
  }

  .card {
    padding: var(--space-300);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: var(--space-400);
  }

  .tagline {
    padding: var(--space-700) 0;
  }

  .tagline__text {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl-lh);
  }

  .tagline__note {
    margin-top: var(--space-300);
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
  }

  .final {
    padding: var(--space-700) 0;
  }

  .final__title {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl-lh);
  }

  .faq__item summary {
    gap: var(--space-200);
    padding: var(--space-300) 0;
    font-size: var(--text-base);
    line-height: var(--text-base-lh);
  }

  .faq__answer {
    padding-right: 0;
  }

  .faq__answer p {
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
  }

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

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-100);
  }

  .tour__tab {
    padding: var(--space-75) var(--space-100);
  }
}

@media (max-width: 480px) {
  .hero__title,
  .heading-2,
  .section__title,
  .tagline__text,
  .final__title {
    font-size: var(--text-3xl);
    line-height: var(--text-3xl-lh);
  }

  .hero .eyebrow__prefix,
  .hero .eyebrow__dot,
  .hero .eyebrow__muted {
    display: none;
  }

  .hero__controls {
    gap: var(--space-25);
    padding: var(--space-25);
  }

  .hero__slide-label,
  .hero__control-rule {
    display: none;
  }

  .hero__arrow,
  .hero__pause {
    width: 32px;
    height: 32px;
  }

  .hero__meta li {
    font-size: var(--text-xs);
    line-height: var(--text-xs-lh);
  }

  .stat {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-75);
  }

  .stat__value {
    font-size: var(--text-3xl);
    line-height: var(--text-3xl-lh);
  }

  .nav__link {
    font-size: var(--text-xl);
    line-height: var(--text-xl-lh);
  }

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

  .get__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Final spacing and mobile normalization */
p,
li {
  text-wrap: pretty;
}

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

.nav-toggle,
.hero__arrow,
.hero__pause,
.hero__dot {
  padding: 0;
}

.hero__control-rule {
  margin-inline: var(--space-75);
}

.mock-seg {
  gap: var(--space-25);
}

.horizon-panel__title {
  gap: var(--space-75);
}

.horizon-facts dd {
  margin-top: var(--space-50);
}

.code-card__dots {
  gap: var(--space-50);
}

.callout strong {
  margin-right: var(--space-50);
}

.bedrock-panel__head,
.mock__head,
.horizon-panel__head {
  flex-wrap: wrap;
  row-gap: var(--space-75);
}

.bedrock-panel,
.horizon-panel,
.terminal,
.code-card {
  overflow: hidden;
}

@media (max-width: 760px) {
  .hero .eyebrow {
    padding: var(--space-75) var(--space-100);
    font-size: var(--text-xs);
    line-height: var(--text-xs-lh);
  }

  .hero__title {
    margin-top: var(--space-300);
  }

  .hero__meta {
    gap: var(--space-75) var(--space-200);
  }

  .section__head {
    margin-bottom: var(--space-400);
  }

  .tour__stage {
    padding: var(--space-75);
  }

  .horizon-panel,
  .callout,
  .bedrock-panel {
    padding: var(--space-200);
  }

  .phases {
    gap: var(--space-200);
  }

  .get__lede {
    margin-top: 0;
  }

  .code-card pre code,
  .terminal pre,
  .get__lede code,
  .faq__answer code,
  .ticks .mono {
    font-size: var(--text-xs);
    line-height: var(--text-xs-lh);
  }
}

/* Legal pages and 404 ---------------------------------------------------- */
.legal-page,
.error-page {
  min-height: 100svh;
  background: var(--bg);
}

.legal-top {
  padding: var(--space-200) 0;
  border-bottom: 1px solid var(--line);
}

.legal-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-200);
}

.legal {
  padding: var(--space-900) 0;
}

.legal__inner {
  max-width: 760px;
}

.legal__title {
  max-width: 680px;
  margin-top: var(--space-300);
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--text-5xl-lh);
  color: var(--text);
}

.legal__date {
  margin-top: var(--space-200);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  color: var(--muted);
}

.legal__body {
  display: grid;
  gap: var(--space-500);
  margin-top: var(--space-600);
}

.legal__body h2 {
  margin-bottom: var(--space-100);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--text-2xl-lh);
  color: var(--text);
}

.legal__body p,
.legal__body li {
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--body);
}

.legal__body p + p {
  margin-top: var(--space-200);
}

.legal__body ul {
  display: grid;
  gap: var(--space-75);
  margin-top: var(--space-100);
  padding-left: var(--space-300);
  list-style: disc;
}

.legal__body a,
.legal-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__body a:hover,
.legal-footer a:hover {
  color: var(--accent-bright);
}

.legal__body code {
  padding: var(--space-25) var(--space-50);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  color: var(--text-soft);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-footer {
  padding: var(--space-300) 0;
  border-top: 1px solid var(--line);
}

.legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-100) var(--space-300);
  font-size: var(--text-xs);
  line-height: var(--text-xs-lh);
  color: var(--muted);
}

.error-page {
  display: grid;
  place-items: center;
  padding: var(--space-400);
}

.error {
  max-width: 680px;
  text-align: center;
}

.error__brand {
  justify-content: center;
  margin-bottom: var(--space-600);
}

.error__eyebrow {
  justify-content: center;
}

.error__title {
  margin-top: var(--space-300);
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--text-5xl-lh);
  color: var(--text);
}

.error__copy {
  max-width: 52ch;
  margin: var(--space-300) auto 0;
  font-size: var(--text-base);
  line-height: var(--text-base-lh);
  color: var(--body);
}

.error .btn {
  margin-top: var(--space-400);
}

.error__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-100);
  margin-top: var(--space-300);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--muted);
}

.error__links a {
  color: var(--body);
}

.error__links a:hover {
  color: var(--accent-bright);
}

@media (max-width: 760px) {
  .legal {
    padding: var(--space-700) 0;
  }

  .legal__title,
  .error__title {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl-lh);
  }

  .legal__body {
    gap: var(--space-400);
    margin-top: var(--space-500);
  }

  .legal__body h2 {
    font-size: var(--text-xl);
    line-height: var(--text-xl-lh);
  }

  .legal__body p,
  .legal__body li {
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
  }

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

@media (max-width: 480px) {
  .legal__title,
  .error__title {
    font-size: var(--text-3xl);
    line-height: var(--text-3xl-lh);
  }

  .error-page {
    padding: var(--space-300);
  }
}
