:root {
  --paper: #f4f0e8;
  --paper-2: #ebe5d8;
  --card: #fbf9f4;
  --ink: #16130f;
  --ink-2: #4a443b;
  --ink-3: #6e665a;
  --line: #d8d0c0;
  --accent: #c8431a;
  --accent-ink: #a53612;
  --good: #2f6b3a;
  --bad: #a3321b;
  --display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --r: 14px;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; }
.brand__pupil { fill: var(--accent); }
.top nav { display: flex; gap: 6px; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.top nav a:hover { background: var(--paper-2); color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.hero__title { font-weight: 800; font-size: clamp(44px, 7.2vw, 92px); line-height: 0.96; letter-spacing: -0.035em; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.06em; height: 0.16em; background: var(--accent); border-radius: 2px; z-index: -1; opacity: 0.9; }
.hero__lede { margin-top: 26px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent-ink); }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }

/* Quick look teaser */
.spot { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 1px 0 rgba(22,19,15,.04), 0 18px 40px -24px rgba(22,19,15,.35); scroll-margin-top: 20px; }
.spot__head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 12px; }
.spot__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.spot__count { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.spot__frame { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #2a251f; }
.spot__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 2.2)) translate(var(--tx, 0%), var(--ty, 0%)); transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .25s; }
.spot__frame.is-open img { transform: scale(1) translate(0, 0); }
.spot__frame.is-swap img { opacity: 0; }
.spot__reticle { position: absolute; inset: 0; pointer-events: none; transition: opacity .4s; background:
  radial-gradient(circle at 50% 50%, transparent 0 31%, rgba(244,240,232,.9) 31.2% 31.8%, rgba(22,19,15,.38) 32.2%); }
.spot__frame.is-open .spot__reticle { opacity: 0; }
.spot__q { margin: 16px 4px 10px; font-weight: 600; }
.spot__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 500 15px/1.25 var(--body); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt:disabled { cursor: default; }
.opt.is-right { background: #e3efe1; border-color: var(--good); color: #1d4424; font-weight: 600; }
.opt.is-wrong { background: #f6e1da; border-color: var(--bad); color: #7a2412; }
.opt.is-dim { opacity: .55; }
.spot__result { min-height: 0; }
.spot__result:not(:empty) { margin-top: 14px; padding: 14px 4px 2px; border-top: 1px solid var(--line); }
.res__verdict { font: 800 24px/1.1 var(--display); letter-spacing: -0.02em; }
.res__verdict.good { color: var(--good); }
.res__verdict.bad { color: var(--bad); }
.res__mark { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.res__row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 12px; }
.res__play { font-weight: 600; font-size: 15px; color: var(--accent-ink); text-underline-offset: 3px; }
.res__next { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--body); cursor: pointer; }
.res__next:hover { background: var(--accent-ink); }

/* Sections */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 32px; }
.section-title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.section-note { color: var(--ink-3); max-width: 30em; font-size: 16px; }

/* Games */
.games { padding-bottom: clamp(64px, 9vw, 120px); scroll-margin-top: 12px; }
.games__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.game { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.game:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(22,19,15,.45); }
.game__img { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--paper-2); }
.game__img img { width: 100%; height: 100%; object-fit: cover; }
.game__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game__kind { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.game__name { font-size: 28px; font-weight: 800; }
.game__desc { color: var(--ink-2); font-size: 16px; }
.game__play { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.game__play:hover { text-decoration: underline; text-underline-offset: 3px; }
.game--crs { grid-column: 1 / -1; flex-direction: row; }
.game--crs .game__img { flex: 0 0 60%; }
.game--crs .game__body { justify-content: center; padding: 28px 32px; }
.game--crs .game__name { font-size: clamp(30px, 3.4vw, 42px); }
.game--crs .game__play { margin-top: 8px; }

/* How */
.how { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 112px); }
.how__steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.how__steps li { border-top: 1px solid rgba(244,240,232,.25); padding-top: 18px; }
.how__n { display: block; font: 800 15px/1 var(--display); color: #f08a5d; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.how__steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.how__steps p { color: rgba(244,240,232,.78); font-size: 16px; }

/* Support */
.support { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px clamp(32px, 6vw, 80px); padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: 12px; }
.support__lead p { margin-top: 18px; color: var(--ink-2); max-width: 30em; }
.support__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.support__list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.support__game { font: 700 20px/1.2 var(--display); }
.support__links { display: flex; gap: 8px; flex-wrap: wrap; }
.support__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.support__links a:hover { background: var(--ink); color: var(--paper); }
.support__soon { font-size: 14px; color: var(--ink-3); }
.support__sponsor { grid-column: 2; color: var(--ink-2); font-size: 16px; }
.support__sponsor a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--ink-3); display: grid; gap: 10px; }
.foot a { color: var(--ink-2); text-underline-offset: 2px; }
.foot__credits { font-size: 13px; max-width: 70em; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .spot { max-width: 560px; }
  .game--crs .game__img { flex-basis: 52%; }
  .how__steps { grid-template-columns: 1fr 1fr; }
  .support { grid-template-columns: 1fr; }
  .support__sponsor { grid-column: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .games__grid { grid-template-columns: 1fr; }
  .game--crs { flex-direction: column; }
  .game--crs .game__img { flex: none; }
  .game--crs .game__body { padding: 20px 24px 24px; }
  .how__steps { grid-template-columns: 1fr; gap: 22px; }
  .spot { padding: 14px; }
  .opt { font-size: 14px; }
  .top nav a { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
