:root {
  --bg: #10151c;
  --bg-soft: #161d27;
  --card: #1c2531;
  --card-2: #222d3b;
  --line: #2c3949;
  --text: #eef2f7;
  --muted: #9aa8ba;
  --brand: #e8b04b;
  --brand-dark: #c98f22;
  --board-dark: #2f6b4f;
  --board-light: #e9dcc0;
  --radius: 16px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 21, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

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

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #201803;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--card);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* Store badges ------------------------------------------------------------ */

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.store-badge img {
  height: 54px;
  width: auto;
  display: block;
}

.store-badge.is-disabled {
  cursor: not-allowed;
}

.store-badge.is-disabled:hover {
  transform: none;
}

.store-badge.is-disabled img {
  opacity: 0.5;
}

.badge-soon {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.4;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  padding: 74px 0 58px;
  background:
    radial-gradient(900px 460px at 78% -10%, rgba(232, 176, 75, 0.16), transparent 60%),
    radial-gradient(700px 420px at 8% 10%, rgba(47, 107, 79, 0.28), transparent 60%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 20px 0 16px;
  letter-spacing: -0.5px;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 46ch;
  margin: 0 0 30px;
}

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

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: 320px;
  max-width: 78vw;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Sections ---------------------------------------------------------------- */

section {
  padding: 62px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--card-2);
  color: var(--brand);
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

/* Board strip ------------------------------------------------------------- */

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

.swatch {
  border-radius: var(--radius);
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--card);
}

.checker {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: repeating-conic-gradient(
      var(--c1, var(--board-dark)) 0% 25%,
      var(--c2, var(--board-light)) 0% 50%
    )
    50% / 25% 25%;
}

.checker.ten {
  background-size: 20% 20%;
}

.swatch figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 12px 4px 6px;
}

/* CTA band ---------------------------------------------------------------- */

.cta {
  background: linear-gradient(135deg, #1b2431, #18222c);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 46px 40px;
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.cta p {
  color: var(--muted);
  margin: 0 0 26px;
}

.cta .hero-actions {
  justify-content: center;
}

.cta .store-links {
  justify-content: center;
}

/* Legal / prose ----------------------------------------------------------- */

.page-head {
  padding: 54px 0 8px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 8px;
}

.page-head p {
  color: var(--muted);
  margin: 0 0 26px;
}

.prose {
  max-width: 780px;
  padding: 40px 0 70px;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 38px 0 10px;
}

.prose h3 {
  font-size: 1.08rem;
  margin: 26px 0 8px;
}

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

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -4px;
}

.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--card-2);
  color: var(--text);
}

td {
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 0 30px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

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

  .store-links {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

  .grid,
  .boards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .grid,
  .boards {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 34px 22px;
  }
}

@media (max-width: 460px) {
  .nav a.hide-sm {
    display: none;
  }
}
