:root {
  --navy: #173653;
  --navy-deep: #10283d;
  --cream: #f4f0e5;
  --paper: #fffdf7;
  --ink: #152330;
  --muted: #66727c;
  --blue: #5593b9;
  --yellow: #dda92e;
  --orange: #d35d31;
  --line: rgba(85, 147, 185, 0.25);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.75rem clamp(1.2rem, 4vw, 4.5rem);
  color: white;
  background: rgba(16, 40, 61, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.wordmark {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.meeple {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--navy-deep);
  background: var(--cream);
  border-radius: 4px;
}
.meeple svg { display: block; width: 1.35rem; height: 1.35rem; fill: currentColor; }
nav { display: flex; gap: 1.7rem; align-items: center; }
nav a { font-size: 0.9rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta {
  padding: 0.55rem 0.85rem;
  color: var(--navy-deep);
  background: var(--yellow);
  border-radius: 3px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 7rem);
  overflow: hidden;
  color: white;
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}
.network { position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.network::before, .network::after {
  content: "";
  position: absolute;
  height: 2px;
  background: rgba(119, 186, 220, 0.55);
  transform-origin: left center;
}
.network::before { width: 42vw; left: 3vw; top: 74%; transform: rotate(-28deg); }
.network::after { width: 35vw; right: -4vw; top: 35%; transform: rotate(38deg); }
.node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--navy); }
.node-a { left: 8%; top: 72%; }
.node-b { left: 42%; top: 27%; background: var(--blue); }
.node-c { right: 26%; top: 68%; background: var(--orange); }
.node-d { right: 8%; top: 24%; }
.hero-copy { max-width: 54rem; }
.launch-status {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  margin: 0 0 1.4rem;
  padding: 0.65rem 0.85rem;
  color: var(--navy-deep);
  background: var(--yellow);
  border-left: 7px solid var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.launch-status strong { font-size: 1rem; }
.eyebrow {
  margin: 0 0 1rem;
  color: #a9d1e7;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #356b8b; }
h1, h2, h3 { font-family: var(--display); line-height: 0.98; text-transform: uppercase; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(3.3rem, 7vw, 7.3rem); letter-spacing: -0.02em; }
h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -0.015em; }
h3 { margin: 0.6rem 0; font-size: 2rem; }
.intro { max-width: 46rem; margin: 1.8rem 0 2.2rem; color: #d7e1e8; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.primary { color: var(--navy-deep); background: var(--yellow); }
.secondary { color: white; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.04); }
.night-card {
  padding: 2rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(255,255,255,0.45);
  border-top: 10px solid var(--orange);
  box-shadow: 18px 18px 0 rgba(4,18,29,0.28);
  transform: rotate(1deg);
}
.card-label { margin: 0; color: var(--orange); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.time { margin: 0.15rem 0 0; font-family: var(--display); font-size: 4.6rem; font-weight: 800; line-height: 1; }
.time span { color: var(--blue); }
.time small { font-size: 1.4rem; }
.rule { height: 3px; margin: 1.3rem 0; background: var(--ink); }
.night-card p:not(.card-label):not(.time), address { font-size: 0.93rem; }
.schedule-row {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #c7c3b8;
  font-size: 0.9rem;
  line-height: 1.45;
}
.schedule-row strong { color: var(--orange); font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.opening-callout { padding: 0.8rem; color: white; background: var(--navy); }
address { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid #c7c3b8; font-style: normal; }

.plain-truth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-deep);
  color: #dce8ef;
}
.plain-truth p { margin: 0; padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem); border-right: 1px solid rgba(255,255,255,0.12); }
.plain-truth strong { display: block; color: white; font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.02em; text-transform: uppercase; }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem); }
.light {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(85,147,185,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,147,185,0.12) 1px, transparent 1px);
  background-size: 55px 55px;
}
.section-heading { max-width: 62rem; margin-bottom: 3.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps article { min-height: 17rem; padding: 2rem; background: rgba(255,255,255,0.92); border: 1px solid #d9dde0; border-top: 7px solid var(--blue); }
.steps article:nth-child(2) { border-top-color: var(--yellow); transform: translateY(1.3rem); }
.steps article:nth-child(3) { border-top-color: var(--orange); }
.step-number { color: #9ba5ad; font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.steps p, .game-card p, .split-copy p { color: var(--muted); }

.games { color: white; background: var(--navy); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.game-card { position: relative; min-height: 22rem; padding: 2rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.055); }
.game-card::after { content: ""; position: absolute; right: -5rem; bottom: -5rem; width: 13rem; height: 13rem; border: 2px solid rgba(255,255,255,0.13); border-radius: 50%; }
.game-card p { color: #cedbe3; }
.game-number { position: absolute; right: 1.5rem; top: 0.8rem; font-family: var(--display); font-size: 4rem; font-weight: 800; opacity: 0.2; }
.color-dot { width: 3.5rem; height: 3.5rem; margin-bottom: 4rem; border-radius: 50%; background: var(--blue); }
.casual .color-dot { background: var(--yellow); }
.deep .color-dot { background: var(--orange); }
.archive-link { margin-top: 2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); background: var(--cream); }
.split h2 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.split-copy p { margin-top: 0; font-size: 1.1rem; }

.final-cta { display: grid; grid-template-columns: minmax(16rem, 32rem) 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem); color: white; background: var(--orange); }
.final-cta img { display: block; width: 100%; box-shadow: 16px 16px 0 rgba(82,29,13,0.22); transform: rotate(-1deg); }
.final-cta p:not(.eyebrow) { max-width: 42rem; font-size: 1.1rem; }
.final-cta .eyebrow { color: #ffe6d8; }
.light-button { margin-top: 0.8rem; background: var(--cream); }
.interest-form { max-width: 42rem; margin-top: 1.8rem; }
.form-row { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.form-row label, .interest-form legend { font-weight: 800; }
.form-row label span { font-size: 0.82rem; font-weight: 500; opacity: 0.8; }
.interest-form input[type="text"],
.interest-form input[type="email"],
.interest-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid rgba(73, 25, 10, 0.42);
  border-radius: 3px;
  font: inherit;
}
.interest-form input:focus,
.interest-form textarea:focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.interest-form fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin-top: 0.55rem; }
.check-grid label { display: flex; gap: 0.55rem; align-items: center; padding: 0.65rem 0.75rem; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-radius: 3px; }
.check-grid input { width: 1.1rem; height: 1.1rem; accent-color: var(--navy); }
.form-note { margin: 0.75rem 0 0; font-size: 0.84rem !important; opacity: 0.86; }
.form-message { min-height: 1.6rem; margin: 0.35rem 0 0; font-weight: 700; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.25rem, 7vw, 8rem); color: #cbd6dd; background: var(--navy-deep); font-size: 0.9rem; }
footer p { margin: 0; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .night-card { max-width: 34rem; transform: none; }
  .plain-truth, .steps, .game-grid { grid-template-columns: 1fr; }
  .plain-truth p { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .steps article:nth-child(2) { transform: none; }
  .split { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta img { max-width: 32rem; }
  .check-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 4rem; padding: 0.65rem 1rem; }
  .wordmark span:last-child { font-size: 1.05rem; }
  .meeple { width: 1.7rem; height: 1.7rem; }
  .nav-cta { padding: 0.45rem 0.6rem; font-size: 0.8rem; }
  .hero { padding-top: 3rem; background-size: 38px 38px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .night-card { padding: 1.5rem; box-shadow: 9px 9px 0 rgba(4,18,29,0.28); }
  .time { font-size: 3.7rem; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .game-card { min-height: 19rem; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .button:focus-visible { transform: none; }
}

/* Small post-launch content additions; retain the established layout. */
.launch-note { max-width: 42rem; margin: -0.5rem 0 1.8rem; color: #d7e1e8; }
.new-games-link { display: inline-block; margin: 0.75rem 0 0.75rem 1rem; text-underline-offset: 4px; }
.final-cta img { height: auto; }
#interest, #how-it-works, #games { scroll-margin-top: 6rem; }
@media (max-width: 560px) { .new-games-link { display: block; margin-left: 0; } }
