:root {
  --paper: #f4f2ee;
  --card: #fffdf9;
  --ink: #1a1c28;
  --navy: #1e2450;
  --muted: #5c6174;
  --line: #d8d4cc;
  --hot: #c43c2c;
  --warm: #c9841a;
  --cold: #2a6f94;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17.5px;
  line-height: 1.55;
}

.spot {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 20%), rgba(255,255,255,0.55), transparent 55%);
}

.nav, main, footer { position: relative; z-index: 1; }

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
}
.brand img { width: 36px; height: auto; border-radius: 4px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav nav a:hover { opacity: 0.65; }

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30,36,80,0.16); }
.btn-ghost { background: transparent; color: var(--navy) !important; }
.btn-small { padding: 7px 12px; font-size: 0.86rem; }

.hero {
  max-width: 720px;
  margin: 12px auto 56px;
  padding: 0 28px;
  text-align: center;
}
.float-stage {
  height: 340px;
  display: grid;
  place-items: center;
  perspective: 900px;
  margin-bottom: 4px;
}
.lockup {
  width: min(300px, 68vw);
  height: auto;
  display: block;
  transform-style: preserve-3d;
  will-change: transform;
  animation: float 5.4s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(30, 36, 80, 0.18));
  cursor: grab;
}
.lockup:active { cursor: grabbing; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}
.hint {
  margin: 0 0 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 12px;
}
.sublede { color: var(--muted); margin: 0 0 24px; }
.cta-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 700px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 8px;
}
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.2;
}
.body { margin: 0 0 18px; color: #33364a; }

.play {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.play-lead { max-width: 640px; }
.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
  min-height: 44px;
}
.page {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: 600 0.86rem/1 "Source Sans 3", sans-serif;
  padding: 9px 12px;
  cursor: grab;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
}
.page:hover { transform: translateY(-2px); }
.page.selected, .page:focus-visible {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,36,80,0.12);
}
.page[data-heat="hot"] { border-color: #e8b4ac; }
.page[data-heat="warm"] { border-color: #e6c98a; }
.page[data-heat="cold"] { border-color: #b7c9d6; }
.page.placed { cursor: grab; }
.play-status {
  min-height: 1.4em;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lane {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 210px;
  padding: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.lane:hover, .lane.over {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(30,36,80,0.08);
  border-color: #b9b5ad;
}
.lane header h3 { margin: 0; font-size: 1.15rem; color: var(--navy); }
.lane header span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 0 10px;
}
.t0 { border-top: 4px solid var(--hot); }
.t1 { border-top: 4px solid var(--warm); }
.t2 { border-top: 4px solid var(--cold); }
.drop {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
}
.play-actions { margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }

.how { padding: 64px 0; }
.steps { list-style: none; margin: 0 0 20px; padding: 0; }
.steps li { border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  padding: 14px 0;
  font: 650 1.05rem/1.2 "Source Serif 4", Georgia, serif;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}
.step-btn span { font-family: "Source Sans 3", sans-serif; font-size: 0.75rem; color: var(--muted); }
.steps p {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  color: #3a3d4e;
  transition: max-height 0.28s ease, padding 0.28s ease;
  padding: 0 0 0 38px;
}
.steps li.open p { max-height: 120px; padding-bottom: 14px; }
.note {
  font-size: 0.9rem;
  color: var(--muted);
  background: #ece9e3;
  padding: 14px 16px;
}

.company { background: var(--navy); color: #e6e8f0; padding: 64px 0; }
.company h2 { color: #fff; }
.company .eyebrow { color: #b4b8c8; }
.company .body, .company address { color: #c8cbd8; font-style: normal; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.mail a { color: #fff; font-size: 1.35rem; font-weight: 650; text-decoration: none; }
.mail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.domains { margin: 14px 0 0; color: #9aa0b4; font-size: 0.9rem; }

footer { background: #141832; color: #8b90a4; font-size: 0.82rem; }
.foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px 28px; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .nav nav a:not(.btn) { display: none; }
  .lanes, .split, .foot { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .float-stage { height: 260px; }
  .play, .how, .company { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lockup { animation: none; }
  .btn:hover, .lane:hover { transform: none; }
}
