:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #080808;
  --panel-soft: #101010;
  --text: #f3f3f3;
  --muted: #a9a9a9;
  --line: #e9e9e9;
  --line-soft: #4d4d4d;
  --accent: #d60000;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent 0, transparent calc(50% - 1px), rgba(255,255,255,.025) 50%, transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent 0, transparent calc(50% - 1px), rgba(255,255,255,.018) 50%, transparent calc(50% + 1px));
  opacity: .35;
}

a {
  color: inherit;
}

.site-header,
main {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-name {
  font-size: clamp(32px, 2.55vw, 46.4px);
  letter-spacing: -.04em;
  line-height: 1;
  font-weight: 300;
}

.brand-mark {
  display: block;
  width: 74.4px;
  height: 74.4px;
  flex: 0 0 auto;
}

.top-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  color: var(--muted);
  font-size: .98rem;
  text-decoration: none;
  transition: color .16s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
}

main {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
}

.section-frame,
.content-section {
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, .92);
}

.hero {
  min-height: 490px;
  padding: clamp(36px, 7vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 52px;
  align-items: center;
}

.eyebrow,
.status-label,
.release-kicker,
.legacy-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.3rem, 9vw, 8.5rem);
  line-height: .86;
  letter-spacing: -0.075em;
  font-weight: 200;
}

.hero-text {
  max-width: 770px;
  margin-bottom: 32px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.hero-actions,
.release-box,
.legacy-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: background .14s ease, color .14s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--text);
  color: var(--bg);
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: transparent;
  color: var(--text);
}

.status-card {
  min-height: 280px;
  border: 2px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: var(--panel);
}

.status-card strong {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.045em;
}

.status-card > span:not(.status-label):not(.status-note) {
  font-size: 1.15rem;
}

.status-line {
  width: 100%;
  height: 6px;
  margin: 28px 0 18px;
  border: 1px solid var(--line);
  position: relative;
}

.status-line::before {
  content: "";
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 22%;
  background: var(--line);
}

.status-note {
  color: var(--muted);
  line-height: 1.4;
}

.content-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 430px;
}

.section-number {
  border-right: 2px solid var(--line);
  padding: 36px 24px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: .12em;
}

.section-content {
  padding: clamp(34px, 6vw, 70px);
}

.section-content h2,
.legacy-section h2 {
  margin-bottom: 30px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 250;
  letter-spacing: -0.055em;
}

.section-content > p,
.legacy-section p {
  max-width: 860px;
  color: #dedede;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.62;
}

.flow {
  margin: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
}

.flow-box {
  min-height: 104px;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-size: 1.04rem;
}

.flow-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  color: var(--muted);
  font-size: 1.8rem;
}

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

.info-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line-soft);
}

.info-grid h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  font-weight: 350;
}

.info-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.release-box,
.warning-box,
.wiki-link {
  margin-top: 34px;
  border: 2px solid var(--line);
}

.release-box {
  justify-content: space-between;
  padding: 24px;
  background: var(--panel);
}

.release-box strong {
  display: block;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 350;
}

.warning-box {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
}

.warning-box strong {
  font-size: 1.15rem;
  font-weight: 500;
}

.warning-box span {
  color: var(--muted);
  line-height: 1.5;
}

.wiki-link {
  min-height: 120px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  transition: background .14s ease, color .14s ease;
}

.wiki-link small,
.wiki-link strong {
  display: block;
}

.wiki-link small {
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.wiki-link strong {
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  font-weight: 320;
}

.wiki-link-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  transition: filter .14s ease;
}

.wiki-link.is-disabled {
  opacity: .58;
  cursor: default;
}

.wiki-link:not(.is-disabled):hover,
.wiki-link:not(.is-disabled):focus-visible {
  background: var(--text);
  color: var(--bg);
}

.wiki-link:not(.is-disabled):hover small,
.wiki-link:not(.is-disabled):focus-visible small {
  color: #444;
}

.wiki-link:not(.is-disabled):hover .wiki-link-icon,
.wiki-link:not(.is-disabled):focus-visible .wiki-link-icon {
  filter: brightness(0);
}

.legacy-section {
  min-height: 310px;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 70px);
}

.legacy-section > div {
  max-width: 790px;
}

.legacy-section h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

@media (max-width: 1500px), (max-height: 820px) {
  .brand {
    gap: 14.7px;
  }

  .brand-mark {
    width: 58.1px;
    height: 58.1px;
  }

  .brand-name {
    font-size: clamp(28px, 2.55vw, 40.6px);
  }
}

@media (max-width: 980px) {
  .brand-mark {
    width: 49px;
    height: 49px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-block: 28px;
    align-items: flex-start;
  }

  .top-nav {
    max-width: 340px;
  }

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

  .content-section {
    grid-template-columns: 1fr;
  }

  .section-number {
    border-right: 0;
    border-bottom: 2px solid var(--line);
    padding: 18px 24px;
  }

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

  .flow-arrow {
    width: auto;
    height: 48px;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .site-header,
  main {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    min-height: 0;
    flex-direction: column;
  }

  .brand-mark {
    width: 68px;
  }

  .top-nav {
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .hero,
  .section-content,
  .legacy-section {
    padding: 28px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.8rem, 21vw, 5.6rem);
  }

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

  .release-box,
  .legacy-section {
    align-items: stretch;
    flex-direction: column;
  }

  .release-box .button,
  .legacy-section .button {
    width: 100%;
  }
}
