:root {
  --ink: #0c100d;
  --ink-soft: #121814;
  --surface: #171e18;
  --surface-raised: #1d261f;
  --surface-pale: #e6e1d6;
  --cream: #f1ede3;
  --muted: #a7afa4;
  --muted-dark: #657064;
  --moss: #91aa6e;
  --moss-bright: #b7cf8f;
  --gold: #d2ae72;
  --red: #cf8177;
  --line: rgba(239, 235, 225, 0.11);
  --line-strong: rgba(239, 235, 225, 0.2);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --shell: min(1240px, calc(100vw - 40px));
  --font: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  font-family: var(--font);
  line-height: 1.6;
  background:
    radial-gradient(circle at 11% 12%, rgba(145, 170, 110, 0.1), transparent 26rem),
    linear-gradient(180deg, #0c100d 0%, #101611 48%, #0b0f0c 100%);
}

body.nav-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--moss-bright);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 18px;
  z-index: 999;
  padding: 11px 16px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--moss-bright);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(11, 15, 12, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(1440px, calc(100vw - 40px));
  min-height: 84px;
  margin-inline: auto;
  gap: 30px;
}

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

.brand-mark {
  width: 37px;
  height: 37px;
  padding: 7px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--cream);
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand > span,
.window-title > span,
.footer-brand div {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: -0.035em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: #c6cdc4;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--moss-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: grid;
  min-width: 140px;
  margin-left: 12px;
  padding: 10px 17px;
  color: var(--ink);
  line-height: 1.12;
  text-align: center;
  background: var(--moss-bright);
  border: 1px solid var(--moss-bright);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #c6dda0;
  transform: translateY(-2px);
}

.header-cta span {
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-cta small {
  margin-top: 4px;
  font-size: 0.56rem;
  opacity: 0.68;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 860px;
  padding: 150px 0 102px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: min(48vw, 700px);
  aspect-ratio: 1;
  content: "";
  opacity: 0.32;
  background:
    linear-gradient(45deg, transparent 49.7%, rgba(241, 237, 227, 0.08) 50%, transparent 50.3%),
    linear-gradient(-45deg, transparent 49.7%, rgba(241, 237, 227, 0.08) 50%, transparent 50.3%);
  background-size: 11.11% 11.11%;
  transform: rotate(9deg);
  mask-image: radial-gradient(circle, black, transparent 68%);
}

.hero-glow {
  position: absolute;
  top: 24%;
  right: 11%;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: rgba(145, 170, 110, 0.13);
  filter: blur(120px);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss-bright);
  box-shadow: 0 0 0 5px rgba(183, 207, 143, 0.09), 0 0 18px rgba(183, 207, 143, 0.38);
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--moss-bright);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.fair-play-copy h2,
.download-intro h2,
.references h2 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.062em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 730px;
  margin-top: 18px;
  font-size: clamp(3.6rem, 6.2vw, 6.8rem);
}

h1 em,
h2 em {
  color: var(--moss-bright);
  font-family: var(--serif);
  font-weight: 400;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: #b9c1b7;
  font-size: clamp(1rem, 1.35vw, 1.17rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: var(--ink);
  border-color: var(--moss-bright);
  background: var(--moss-bright);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #c5dc9e;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: var(--moss-bright);
  border-color: rgba(183, 207, 143, 0.58);
}

.button small {
  margin-left: 9px;
  padding-left: 9px;
  border-left: 1px solid currentColor;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0;
  opacity: 0.62;
  text-transform: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  list-style: none;
}

.hero-meta li {
  position: relative;
}

.hero-meta li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 3px;
  height: 3px;
  content: "";
  border-radius: 50%;
  background: var(--moss);
}

.app-stage {
  position: relative;
  min-width: 0;
  padding: 30px 0 42px;
}

.window-shadow {
  position: absolute;
  right: 3%;
  bottom: 7%;
  left: 3%;
  height: 60%;
  background: rgba(0, 0, 0, 0.6);
  filter: blur(50px);
  transform: perspective(500px) rotateX(70deg);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(241, 237, 227, 0.17);
  border-radius: 13px;
  background: #161b17;
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.52), 0 2px 0 rgba(255, 255, 255, 0.06) inset;
  transform: perspective(1500px) rotateY(-3deg) rotateX(1deg);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #111612;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pawn-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  border-radius: 9px;
  background: var(--moss-bright);
}

.window-title strong {
  font-size: 0.78rem;
}

.window-title small {
  margin-top: 4px;
  color: #788276;
  font-size: 0.57rem;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #697267;
  font-size: 0.72rem;
}

.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  min-height: 530px;
}

.board-wrap {
  padding: 18px;
  background: #1a211b;
}

.player-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  gap: 9px;
}

.player-row--top {
  margin-bottom: 10px;
}

.player-row:not(.player-row--top) {
  margin-top: 10px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #26301f;
  font-size: 0.67rem;
  font-weight: 900;
  border-radius: 8px;
  background: #9aad7b;
}

.avatar--dark {
  color: #d5d8d0;
  background: #3f493e;
}

.player-row > span:nth-child(2) {
  display: grid;
  line-height: 1;
}

.player-row strong {
  font-size: 0.64rem;
}

.player-row small {
  margin-top: 4px;
  color: #6f796d;
  font-size: 0.53rem;
}

.player-row time {
  min-width: 58px;
  padding: 6px 7px;
  color: #bec5ba;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  border-radius: 6px;
  background: #101511;
}

.player-row .active-clock {
  color: #222b1c;
  background: var(--moss-bright);
}

.chessboard {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: conic-gradient(from 90deg at 25% 25%, #748765 25%, #c4c4ab 0 50%, #748765 0 75%, #c4c4ab 0) 0 0 / 25% 25%;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.pieces {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
}

.pieces span {
  z-index: 2;
  display: grid;
  grid-column: var(--file);
  grid-row: var(--row);
  place-items: center;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", var(--serif);
  font-size: clamp(1.25rem, 3.15vw, 2.65rem);
  line-height: 1;
  transform: translateY(-1px);
}

.pieces--dark span {
  color: #232921;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 5px rgba(0, 0, 0, 0.36);
}

.pieces--light span {
  color: #f2eee3;
  text-shadow: 0 1px 0 #fff, 0 2px 4px rgba(24, 29, 24, 0.58);
}

.last-square {
  position: absolute;
  z-index: 1;
  width: 12.5%;
  height: 12.5%;
  background: rgba(219, 188, 79, 0.42);
  box-shadow: 0 0 0 2px rgba(241, 210, 96, 0.18) inset;
}

.square-c6 { left: 25%; top: 25%; }
.square-d4 { left: 37.5%; top: 50%; }

.move-panel {
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: #121713;
}

.opening-label {
  display: grid;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.opening-label small {
  color: #667064;
  font-size: 0.51rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.opening-label strong {
  margin-top: 3px;
  color: #d7dbd2;
  font-family: var(--serif);
  font-size: 0.76rem;
  font-weight: 400;
}

.move-list {
  padding: 0;
  margin: 15px 0;
  list-style: none;
}

.move-list li {
  display: grid;
  grid-template-columns: 22px 1fr 1fr;
  align-items: center;
  min-height: 31px;
  color: #aab2a7;
  font-size: 0.6rem;
}

.move-list li > span {
  color: #5e675c;
}

.move-list b {
  padding: 5px 6px;
  font-weight: 650;
  border-radius: 4px;
}

.move-list .recent-move {
  color: #dce5cf;
  background: rgba(145, 170, 110, 0.16);
}

.quiet-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  margin-top: auto;
  border: 1px solid rgba(183, 207, 143, 0.15);
  border-radius: 7px;
  background: rgba(145, 170, 110, 0.07);
}

.quiet-card > span {
  color: var(--moss-bright);
  line-height: 1;
}

.quiet-card p {
  display: grid;
  margin: 0;
  line-height: 1.25;
}

.quiet-card strong {
  color: #d8dfd2;
  font-size: 0.56rem;
}

.quiet-card small {
  margin-top: 4px;
  color: #707a6e;
  font-size: 0.47rem;
}

.panel-actions {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 5px;
  margin-top: 12px;
}

.panel-actions span {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: #768074;
  font-size: 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: #181e19;
}

.stage-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 66%;
  margin: 20px 0 0 auto;
  color: #707a6e;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-note i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 207, 143, 0.35), transparent);
}

.review-strip {
  border-block: 1px solid var(--line);
  background: rgba(5, 8, 6, 0.34);
}

.review-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.review-strip__grid > div {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
}

.review-strip__grid > div:last-child {
  border-right: 1px solid var(--line);
}

.review-strip small {
  color: var(--muted-dark);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-strip strong {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
}

.section {
  position: relative;
  padding: clamp(86px, 9vw, 132px) 0;
}

.section--tinted {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, rgba(145, 170, 110, 0.1), transparent 23rem),
    #111713;
}

.section--compact {
  padding-block: 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.6fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 50px;
}

.section-heading h2,
.fair-play-copy h2,
.download-intro h2,
.references h2 {
  margin-top: 16px;
  font-size: clamp(2.55rem, 4.6vw, 5.1rem);
}

.section-heading > p,
.fair-play-copy > p,
.pending-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.feature-card {
  position: relative;
  min-height: 340px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(145, 170, 110, 0.09), transparent 45%),
    linear-gradient(155deg, #181f19, #111612);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
}

.feature-card--wide {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  min-height: 390px;
  grid-column: 1 / -1;
  align-content: end;
  align-items: end;
  gap: 36px;
}

.card-index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(241, 237, 227, 0.08);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
}

.feature-card h3,
.steps-heading h3,
.status-card h3,
.boundary-callout h3,
.download-card h3,
.checksums h3,
.demo-band h3 {
  margin: 12px 0 0;
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.feature-card p:not(.card-kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
}

.privacy-card {
  min-height: 0;
}

.privacy-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  color: var(--muted);
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 22px;
}

.privacy-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--moss-bright);
  box-shadow: 0 0 0 4px rgba(183, 207, 143, 0.08);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 8px;
}

.feature-tags span {
  padding: 8px 11px;
  color: #cbd3c7;
  font-size: 0.67rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.steps-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: 56px;
  padding: 44px;
  margin-top: 18px;
  color: #253024;
  background: var(--surface-pale);
}

.steps-heading .eyebrow,
.steps-heading .card-kicker {
  color: #63774b;
}

.steps-heading h3 {
  color: #20271f;
}

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

.review-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(32, 39, 31, 0.14);
}

.review-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.review-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #f5f0e5;
  font-size: 0.65rem;
  font-weight: 850;
  border-radius: 50%;
  background: #34422e;
}

.review-steps p {
  display: grid;
  margin: 0;
  line-height: 1.3;
}

.review-steps strong {
  font-size: 0.83rem;
}

.review-steps small {
  margin-top: 5px;
  color: #667064;
  font-size: 0.73rem;
}

.architecture {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 8, 0.42);
}

.architecture-track + .architecture-track {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.track-label {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.track-label > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss-bright);
  box-shadow: 0 0 16px rgba(183, 207, 143, 0.36);
}

.architecture-track--future .track-label > span {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(210, 174, 114, 0.32);
}

.track-label strong {
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.track-label small {
  color: var(--muted-dark);
  font-size: 0.63rem;
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
}

.flow-node {
  display: grid;
  min-height: 130px;
  align-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: #161c17;
}

.flow-node small {
  color: var(--muted-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-node strong {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.flow-node span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.67rem;
}

.flow-node--accent {
  border-color: rgba(183, 207, 143, 0.3);
  background: rgba(104, 128, 78, 0.12);
}

.flow-node--pending {
  border-color: rgba(210, 174, 114, 0.28);
  background: rgba(210, 174, 114, 0.07);
}

.flow-arrow {
  color: #71806d;
  font-size: 1.2rem;
  text-align: center;
}

.status-card {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151b16;
}

.status-card__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}

.status-stamp {
  padding: 7px 11px;
  color: var(--muted);
  font-size: 0.61rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--muted-dark);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.13);
}

tbody th {
  width: 29%;
  color: #d8ddd4;
  font-size: 0.78rem;
  font-weight: 700;
}

tbody td {
  color: var(--muted);
  font-size: 0.73rem;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-width: 104px;
  padding: 5px 9px;
  font-size: 0.6rem;
  font-weight: 800;
  border: 1px solid;
  border-radius: 999px;
}

.status-pill::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.status-pill--working { color: #b8d394; border-color: rgba(184, 211, 148, 0.25); background: rgba(184, 211, 148, 0.06); }
.status-pill--capable { color: #d7b982; border-color: rgba(215, 185, 130, 0.24); background: rgba(215, 185, 130, 0.06); }
.status-pill--pending { color: #d89087; border-color: rgba(216, 144, 135, 0.24); background: rgba(216, 144, 135, 0.06); }
.status-pill--private { color: #a9b8c7; border-color: rgba(169, 184, 199, 0.24); background: rgba(169, 184, 199, 0.06); }

.boundary-callout {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 34px;
  margin-top: 18px;
  color: #293226;
  background: #d9d8c8;
}

.boundary-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #d9d8c8;
  font-size: 1.5rem;
  border-radius: 50%;
  background: #3e4d37;
}

.boundary-callout .card-kicker {
  color: #5b6f4b;
}

.boundary-callout p:last-child {
  max-width: 920px;
  margin: 15px 0 0;
  color: #5a6457;
}

.fair-play-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1.25fr);
  align-items: center;
  gap: clamp(50px, 7vw, 105px);
}

.fair-play-copy > p {
  max-width: 540px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--moss-bright);
  font-size: 0.74rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(183, 207, 143, 0.35);
}

.guard-card {
  border: 1px solid var(--line);
  background: #151b16;
  box-shadow: var(--shadow);
}

.guard-core {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px;
  color: #222a20;
  background: #dfe0d0;
}

.guard-core svg {
  width: 58px;
  flex: 0 0 auto;
}

.guard-core path {
  fill: none;
  stroke: #425239;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guard-core div {
  display: grid;
}

.guard-core small {
  color: #74806d;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guard-core strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 400;
}

.guard-list {
  padding: 8px 30px 20px;
  margin: 0;
  list-style: none;
}

.guard-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.guard-list > li:first-child {
  border-top: 0;
}

.guard-list li > span {
  color: #6f7d6b;
  font-family: var(--serif);
  font-size: 0.75rem;
}

.guard-list p {
  display: grid;
  margin: 0;
  line-height: 1.32;
}

.guard-list strong {
  color: #d3d9cf;
  font-size: 0.76rem;
}

.guard-list small {
  margin-top: 5px;
  color: #768075;
  font-size: 0.67rem;
}

.safeguards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 18px;
}

.safeguard {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.safeguard > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--moss-bright);
  font-size: 1.15rem;
  border: 1px solid rgba(183, 207, 143, 0.22);
  border-radius: 50%;
}

.safeguard h3 {
  margin: 23px 0 0;
  font-size: 1rem;
}

.safeguard p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.section--downloads {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(145, 170, 110, 0.08), transparent 38%),
    #111613;
}

.download-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 70px;
}

.unsigned-notice {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  padding: 17px;
  color: #ddc39c;
  border: 1px solid rgba(210, 174, 114, 0.28);
  background: rgba(210, 174, 114, 0.07);
}

.unsigned-notice > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-weight: 900;
  border: 1px solid rgba(210, 174, 114, 0.45);
  border-radius: 50%;
}

.unsigned-notice p {
  display: grid;
  margin: 0;
  line-height: 1.3;
}

.unsigned-notice strong {
  font-size: 0.75rem;
}

.unsigned-notice small {
  margin-top: 5px;
  color: #9c8f7a;
  font-size: 0.67rem;
}

.pending-copy {
  max-width: 920px;
  margin-top: 38px;
  padding-left: 17px;
  border-left: 2px solid var(--gold);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #171d18;
}

.download-card--primary {
  border-color: rgba(183, 207, 143, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(145, 170, 110, 0.12), transparent 45%),
    #171e18;
}

.download-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: #20281e;
  font-size: 1.25rem;
  background: #daddcc;
}

.recommended,
.preview-label {
  padding: 6px 10px;
  color: var(--moss-bright);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  border: 1px solid rgba(183, 207, 143, 0.25);
  border-radius: 999px;
  text-transform: uppercase;
}

.preview-label {
  color: var(--muted);
  border-color: var(--line);
}

.download-card > p:not(.card-kicker) {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.81rem;
}

.download-card dl {
  margin: 26px 0;
}

.download-card dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.download-card dt {
  color: var(--muted-dark);
  font-size: 0.64rem;
}

.download-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #bdc5ba;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.61rem;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.button--disabled {
  cursor: not-allowed;
  color: #6f796d;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.button--disabled:hover,
.button--disabled:focus-visible {
  color: #8d978a;
  border-color: rgba(210, 174, 114, 0.22);
  transform: none;
}

.checksums {
  padding: 30px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 9, 0.32);
}

.checksums__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
}

.checksums__head small {
  color: var(--muted-dark);
  font-size: 0.62rem;
}

.hash-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.hash-row > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.hash-row small {
  color: var(--muted-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hash-row code {
  overflow: hidden;
  color: #bac4b6;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.66rem;
  text-overflow: ellipsis;
}

.hash-row button {
  min-width: 70px;
  min-height: 35px;
  color: var(--moss-bright);
  font-size: 0.62rem;
  font-weight: 800;
  border: 1px solid rgba(183, 207, 143, 0.23);
  background: rgba(183, 207, 143, 0.04);
}

.hash-row button:hover,
.hash-row button:focus-visible {
  background: rgba(183, 207, 143, 0.1);
}

.demo-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 32px;
  margin-top: 18px;
  color: #253024;
  background: #dfe0d0;
}

.demo-band .card-kicker {
  color: #5d704e;
}

.demo-band h3 {
  color: #20271f;
}

.demo-band p:not(.card-kicker) {
  margin: 9px 0 0;
  color: #646f61;
  font-size: 0.76rem;
}

.demo-band .button {
  flex: 0 0 auto;
}

.references {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 70px;
}

.references h2 {
  font-size: clamp(2rem, 3.4vw, 3.75rem);
}

.reference-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.reference-links a {
  position: relative;
  display: grid;
  min-height: 92px;
  align-content: center;
  padding: 16px 44px 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.reference-links a:nth-child(even) {
  border-right: 0;
}

.reference-links a:hover,
.reference-links a:focus-visible {
  background: rgba(145, 170, 110, 0.06);
}

.reference-links span {
  color: var(--muted-dark);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-links strong {
  margin-top: 3px;
  color: #d3d9d0;
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 400;
}

.reference-links i {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--moss);
  font-style: normal;
  transform: translateY(-50%);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: #090d0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .pawn-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
}

.footer-brand strong {
  font-size: 0.76rem;
}

.footer-brand small {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 0.55rem;
}

.footer-grid > p {
  margin: 0;
  color: #697267;
  font-family: var(--serif);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: 0.66rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--moss-bright);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 16px;
  color: #273123;
  font-size: 0.72rem;
  font-weight: 750;
  background: #dfe0d0;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

@media (max-width: 1120px) {
  .site-nav {
    gap: 17px;
  }

  .site-nav a {
    font-size: 0.69rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(490px, 1.2fr);
    gap: 42px;
  }

  .game-shell {
    grid-template-columns: 1fr 150px;
  }

  .fair-play-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 920px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 14px 20px 30px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 15, 12, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 5px;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero {
    padding-top: 128px;
  }

  .hero-grid,
  .section-heading,
  .fair-play-grid,
  .download-intro,
  .references {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 58px;
  }

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

  .section-heading,
  .fair-play-grid,
  .download-intro,
  .references {
    gap: 34px;
  }

  .review-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-strip__grid > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

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

  .steps-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fair-play-copy > p {
    max-width: 700px;
  }

  .download-intro {
    align-items: start;
  }

  .unsigned-notice {
    max-width: 520px;
  }

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

  .footer-grid > p {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(1240px, calc(100vw - 28px));
  }

  .header-inner {
    width: calc(100vw - 28px);
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .hero {
    min-height: 0;
    padding: 112px 0 74px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .app-stage {
    width: calc(100vw - 16px);
    margin-left: -6px;
  }

  .app-window {
    transform: none;
  }

  .game-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .move-panel {
    display: none;
  }

  .board-wrap {
    padding: 12px;
  }

  .pieces span {
    font-size: clamp(1.5rem, 10.2vw, 2.75rem);
  }

  .review-strip__grid {
    width: 100%;
  }

  .review-strip__grid > div {
    min-height: 90px;
    padding: 17px 14px;
  }

  .review-strip strong {
    font-size: 0.88rem;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading h2,
  .fair-play-copy h2,
  .download-intro h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .review-grid,
  .download-grid,
  .safeguards-grid,
  .reference-links {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card--wide {
    display: block;
    min-height: 330px;
    padding: 27px;
  }

  .feature-tags {
    margin-top: 28px;
  }

  .steps-panel,
  .architecture,
  .status-card__head,
  .boundary-callout,
  .guard-core,
  .download-card,
  .checksums,
  .demo-band {
    padding: 25px;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .track-label {
    grid-template-columns: 9px 1fr;
  }

  .track-label small {
    grid-column: 2;
  }

  .status-card__head,
  .checksums__head,
  .demo-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-stamp {
    display: none;
  }

  .boundary-callout {
    grid-template-columns: 1fr;
  }

  .guard-core {
    align-items: flex-start;
  }

  .download-card {
    min-height: 410px;
  }

  .hash-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hash-row code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hash-row button {
    justify-self: start;
  }

  .demo-band .button {
    width: 100%;
  }

  .reference-links a,
  .reference-links a:nth-child(even) {
    border-right: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .button-row,
  .header-cta,
  .toast {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .hero,
  .section {
    min-height: 0;
    padding: 32px 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
