:root {
  --ink: #0f172a;
  --slate-700: #334155; --slate-600: #475569; --slate-500: #64748b;
  --slate-300: #cbd5e1; --slate-200: #e2e8f0; --slate-100: #f1f5f9; --slate-50: #f8fafc;
  --paper: #fff; --indigo: #6366f1; --indigo-600: #4f46e5; --indigo-50: #eef2ff;
  --font: "Inter Tight", "Helvetica Neue", system-ui, sans-serif;
  --mono: "Space Grotesk", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--slate-50); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.site-header {
  position: sticky; top: 0; z-index: 5; height: 64px; padding: 0 clamp(18px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #ffffffeb; border-bottom: 1px solid var(--slate-200); backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; border-radius: 7px; }
.brand img { width: auto; height: 25px; }
.brand span { padding: 3px 7px; color: var(--indigo-600); background: var(--indigo-50); border-radius: 6px; font: 700 11px var(--mono); letter-spacing: .2em; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font-size: 14px; font-weight: 650; }
nav a { text-decoration: none; }
.nav-cta { padding: 9px 13px; color: #fff; background: var(--indigo-600); border-radius: 8px; }
.brand:focus-visible, a:focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }

main { overflow: hidden; }
.hero, .workflow, .game-note, .closing { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero { min-height: min(760px, calc(100dvh - 64px)); padding: clamp(82px, 12vw, 150px) 0 90px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 14px; color: var(--indigo-600); font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 1000px; margin: 0; font-size: clamp(54px, 9vw, 116px); letter-spacing: -.065em; line-height: .87; }
h1 span { color: var(--indigo-600); }
.hero-copy { max-width: 720px; margin: 34px 0 0; color: var(--slate-600); font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; padding: 0 19px; align-items: center; justify-content: center; border-radius: 10px; font-weight: 750; text-decoration: none; }
.button--primary { color: #fff; background: var(--indigo-600); box-shadow: 0 15px 30px -18px #4338ca; }
.button--secondary { color: var(--ink); background: var(--paper); border: 1px solid var(--slate-300); }
.button:hover { transform: translateY(-1px); }

.workflow { padding: clamp(70px, 10vw, 128px) 0; border-top: 1px solid var(--slate-200); }
.section-intro { max-width: 670px; }
h2 { margin: 0; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.045em; line-height: .98; }
.workflow-grid { margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border: 1px solid var(--slate-200); border-radius: 18px; overflow: hidden; }
.workflow-grid li { min-height: 290px; padding: clamp(24px, 4vw, 44px); background: var(--paper); }
.workflow-grid li + li { border-left: 1px solid var(--slate-200); }
.step { color: var(--indigo-600); font: 700 12px var(--mono); }
h3 { margin: 66px 0 10px; font-size: 30px; letter-spacing: -.03em; }
.workflow-grid p, .game-note p { margin: 0; color: var(--slate-600); font-size: 17px; line-height: 1.55; }

.game-note { margin-block: 40px 120px; padding: clamp(34px, 7vw, 76px); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(38px, 8vw, 100px); align-items: center; color: #fff; background: #12141f; border-radius: 24px; }
.game-note .eyebrow { color: #a5b4fc; }
.game-note h2 { font-size: clamp(36px, 5vw, 62px); }
.game-note p:last-child { margin-top: 24px; color: #cbd5e1; }
.game-mark { aspect-ratio: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; transform: rotate(8deg); }
.game-mark span { background: var(--indigo); border-radius: 8px; box-shadow: inset 0 0 0 1px #ffffff20; }
.game-mark span:nth-child(2), .game-mark span:nth-child(3) { background: #3e4252; }

.closing { padding: 70px 0 120px; text-align: center; }
.closing .eyebrow { text-align: center; }
.closing h2 { max-width: 880px; margin-inline: auto; }
.closing .hero-actions { justify-content: center; }
.text-link { color: var(--indigo-600); font-weight: 750; text-underline-offset: 4px; }
footer { min-height: 120px; padding: 28px clamp(20px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--paper); border-top: 1px solid var(--slate-200); }
footer img { height: 25px; }
footer div { display: flex; gap: 22px; color: var(--slate-600); font-size: 13px; }

@media (max-width: 760px) {
  .site-header { height: 56px; }
  nav > a:first-child { display: none; }
  .nav-cta { padding: 8px 10px; font-size: 12px; }
  .hero { min-height: auto; padding: 90px 0 76px; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  h1 br { display: none; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: 210px; }
  .workflow-grid li + li { border-left: 0; border-top: 1px solid var(--slate-200); }
  h3 { margin-top: 38px; }
  .game-note { margin-bottom: 70px; grid-template-columns: 1fr; }
  .game-mark { width: min(220px, 65%); }
  footer { align-items: flex-start; }
  footer div { flex-direction: column; gap: 9px; }
}

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