/* Blockwell marketing site.
   Direction inherited from the app: a calm printed almanac. Lora sets the display like typeset
   figures, Hanken Grotesk runs the text, a monospace stamp carries the fair-deal seed. Soft matte
   tiles built from the game's own palette, generous quiet space. Ink (dark) is the default; Paper
   (light) follows the system or a manual toggle. Every hex here is copied from src/styles/tokens.css. */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/hanken-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/hanken-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: dark;

  --font-display: 'Lora', ui-serif, 'Iowan Old Style', Palatino, Georgia, serif;
  --font-ui: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Ink (dark, default) — from tokens.css */
  --bg: #0f1420;
  --bg-grad: radial-gradient(120% 82% at 50% -12%, #17203255 0%, #0f142000 62%), #0f1420;
  --surface: #1a2233;
  --surface-2: #212c42;
  --surface-sunken: #121a29;
  --line: rgba(233, 238, 248, 0.09);
  --line-strong: rgba(233, 238, 248, 0.16);
  --text: #eef1f7;
  --text-dim: #a7b1c4;
  --text-mute: #6d7893;
  --accent: #58d1c0;
  --accent-soft: rgba(88, 209, 192, 0.16);
  --accent-ink: #05201d;
  --gold: #e8c37e;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);

  /* game tile palette (same indices as the app) */
  --tile-teal: #58d1c0;
  --tile-pink: #e59fb0;
  --tile-sand: #ecc57f;
  --tile-green: #8ad0a0;
  --tile-top: rgba(255, 255, 255, 0.22);
  --tile-shade: rgba(0, 0, 0, 0.16);

  /* page scale */
  --wrap: 1080px;
  --pad: clamp(20px, 5vw, 40px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sp-section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme='paper'] {
  color-scheme: light;
  --bg: #f4efe4;
  --bg-grad: radial-gradient(120% 82% at 50% -12%, #ffffff88 0%, #f4efe400 60%), #f4efe4;
  --surface: #fffdf7;
  --surface-2: #f1e9da;
  --surface-sunken: #ece3d2;
  --line: rgba(30, 40, 56, 0.12);
  --line-strong: rgba(30, 40, 56, 0.2);
  --text: #1d2733;
  --text-dim: #576174;
  --text-mute: #8b93a2;
  --accent: #0f9a8c;
  --accent-soft: rgba(15, 154, 140, 0.14);
  --accent-ink: #ffffff;
  --gold: #b3862c;
  --shadow: 0 18px 40px rgba(78, 62, 34, 0.18);
  --shadow-sm: 0 2px 10px rgba(78, 62, 34, 0.12);
  --tile-top: rgba(255, 255, 255, 0.34);
  --tile-shade: rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='ink']) {
    color-scheme: light;
    --bg: #f4efe4;
    --bg-grad: radial-gradient(120% 82% at 50% -12%, #ffffff88 0%, #f4efe400 60%), #f4efe4;
    --surface: #fffdf7;
    --surface-2: #f1e9da;
    --surface-sunken: #ece3d2;
    --line: rgba(30, 40, 56, 0.12);
    --line-strong: rgba(30, 40, 56, 0.2);
    --text: #1d2733;
    --text-dim: #576174;
    --text-mute: #8b93a2;
    --accent: #0f9a8c;
    --accent-soft: rgba(15, 154, 140, 0.14);
    --accent-ink: #ffffff;
    --gold: #b3862c;
    --shadow: 0 18px 40px rgba(78, 62, 34, 0.18);
    --shadow-sm: 0 2px 10px rgba(78, 62, 34, 0.12);
    --tile-top: rgba(255, 255, 255, 0.34);
    --tile-shade: rgba(0, 0, 0, 0.12);
  }
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100%;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-grad);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ------------------------------------------------------------------ layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: var(--sp-section);
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.section__head {
  max-width: 46ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.section__lede {
  color: var(--text-dim);
  font-size: 1.08rem;
  margin-top: 14px;
  max-width: 52ch;
}

/* skip link */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-weight: 700;
  transition: top 160ms var(--ease);
}
.skip:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(1.1) blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-head__row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.005em;
  text-decoration: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.site-nav {
  display: none;
  margin-left: auto;
  gap: 28px;
  font-size: 0.96rem;
  color: var(--text-dim);
}
.site-nav a {
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text);
}
.head-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-nav + .head-actions {
  margin-left: 0;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
}
.theme-toggle:hover {
  color: var(--text);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .moon {
  display: none;
}
:root[data-theme='ink'] .theme-toggle .sun,
:root:not([data-theme='paper']) .theme-toggle .sun {
  display: none;
}
:root[data-theme='ink'] .theme-toggle .moon,
:root:not([data-theme='paper']) .theme-toggle .moon {
  display: block;
}
:root[data-theme='paper'] .theme-toggle .sun {
  display: block;
}
:root[data-theme='paper'] .theme-toggle .moon {
  display: none;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 120ms var(--ease), background 200ms, box-shadow 200ms;
}
.btn:active {
  transform: translateY(1px);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface);
}

/* official Google Play badge image link */
.play-badge {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 140ms var(--ease), filter 200ms;
}
.play-badge img {
  height: 56px;
  width: auto;
}
.play-badge:hover {
  transform: translateY(-1px);
}
.play-badge:active {
  transform: translateY(0);
}

/* ------------------------------------------------------------------ game tiles (the signature) */
.piece {
  display: inline-grid;
  grid-template-columns: repeat(var(--cols), var(--cell, 26px));
  grid-auto-rows: var(--cell, 26px);
  gap: var(--gap, 4px);
}
.cell {
  position: relative;
  border-radius: 5px;
  background: var(--c, var(--tile-teal));
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28), inset 0 -3px 6px var(--tile-shade);
}
.cell::before {
  content: '';
  position: absolute;
  inset: 3px 3px auto 3px;
  height: 40%;
  border-radius: 3px 3px 6px 6px;
  background: var(--tile-top);
}
.cell.is-void {
  background: transparent;
  box-shadow: none;
}
.cell.is-void::before {
  display: none;
}
.cell--teal {
  --c: var(--tile-teal);
}
.cell--pink {
  --c: var(--tile-pink);
}
.cell--sand {
  --c: var(--tile-sand);
}
.cell--green {
  --c: var(--tile-green);
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: var(--sp-section);
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 11vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.hero__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  color: var(--accent);
  margin-top: 18px;
}
.hero__lede {
  color: var(--text-dim);
  font-size: 1.12rem;
  margin-top: 20px;
  max-width: 42ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--text-mute);
  font-size: 0.92rem;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* the dealt-hand ledger: the page proves the fairness claim in real game pieces */
.deal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.deal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.deal__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.deal__seed {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: var(--r-sm);
}
.deal__hand {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 16px;
  min-height: 140px;
  padding: 30px 6px 26px;
}
.deal__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.98rem;
}
.deal__check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.deal__check svg {
  width: 15px;
  height: 15px;
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .site-nav {
    display: inline-flex;
  }
  .head-actions {
    margin-left: 0;
  }
}

/* ------------------------------------------------------------------ phone strip */
.shots {
  --frame: 232px;
}
.shots__strip {
  display: flex;
  gap: clamp(18px, 3vw, 30px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  margin-inline: calc(-1 * var(--pad));
  padding-inline: var(--pad);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.shot {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: var(--frame);
  text-align: center;
}
.phone {
  position: relative;
  width: var(--frame);
  aspect-ratio: 1080 / 1920;
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, #2a3243, #10161f);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line-strong);
}
[data-theme='paper'] .phone {
  background: linear-gradient(160deg, #d8cdb8, #b6a98a);
}
.phone::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: var(--surface-sunken);
}
.shot__cap {
  margin-top: 16px;
  font-size: 0.94rem;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------ fairness */
.fair {
  background: var(--surface-sunken);
  border-block: 1px solid var(--line);
}
.fair__list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.fair__item {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--bg);
  align-items: center;
}
.fair__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.fair__term {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 6px;
}
.fair__body {
  color: var(--text-dim);
  margin-top: 8px;
  max-width: 42ch;
}
.fair__art {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 760px) {
  .fair__item {
    grid-template-columns: 1fr auto;
  }
  .fair__art {
    justify-content: flex-end;
  }
}

/* ------------------------------------------------------------------ modes */
.modes__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.mode {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease), border-color 200ms;
}
.mode:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.mode__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.mode__chips {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
}
.mode__chip {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  position: relative;
}
.mode__chip::before {
  content: '';
  position: absolute;
  inset: 2px 2px auto 2px;
  height: 40%;
  border-radius: 2px;
  background: var(--tile-top);
}
.mode__body {
  color: var(--text-dim);
  margin-top: 8px;
  font-size: 0.98rem;
}
@media (min-width: 620px) {
  .modes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .modes__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mode--wide {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
  }
  .mode--wide .mode__body {
    margin-top: 0;
    max-width: 60ch;
  }
}

/* ------------------------------------------------------------------ ads section */
.ads__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.rules {
  list-style: none;
  display: grid;
  gap: 2px;
}
.rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.rules li:last-child {
  border-bottom: 1px solid var(--line);
}
.rules__no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  padding-top: 3px;
}
.rules b {
  font-weight: 600;
}
.rules span {
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
  font-size: 0.96rem;
}
.remove-ads {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.remove-ads__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 4px;
}
.remove-ads ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.remove-ads li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.tick {
  flex: none;
  color: var(--accent);
  margin-top: 3px;
}
.tick svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 820px) {
  .ads__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ------------------------------------------------------------------ faq */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq p {
  color: var(--text-dim);
  padding: 0 4px 26px;
  max-width: 64ch;
}
.faq a {
  color: var(--accent);
}

/* ------------------------------------------------------------------ closing cta */
.closer {
  text-align: center;
}
.closer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.closer__cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

/* ------------------------------------------------------------------ footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 56px;
  color: var(--text-mute);
  font-size: 0.94rem;
}
.site-foot__grid {
  display: grid;
  gap: 32px;
}
.site-foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.site-foot__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-foot nav a {
  color: var(--text-dim);
  text-decoration: none;
}
.site-foot nav a:hover {
  color: var(--text);
}
.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
@media (min-width: 720px) {
  .site-foot__grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .site-foot__legal {
    grid-column: 1 / -1;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    justify-content: space-between;
  }
}

/* ------------------------------------------------------------------ prose (privacy / support) */
.doc {
  padding-top: clamp(40px, 6vw, 72px);
}
.doc__head {
  max-width: 60ch;
  padding-bottom: 34px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.doc__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.doc__meta {
  color: var(--text-mute);
  margin-top: 16px;
  font-size: 0.96rem;
}
.prose {
  max-width: 68ch;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
  margin-top: 44px;
  margin-bottom: 12px;
}
.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 8px;
}
.prose p {
  color: var(--text-dim);
  margin-bottom: 16px;
}
.prose ul {
  color: var(--text-dim);
  margin: 0 0 18px 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.prose li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}
.prose li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-top: 8px;
  background: var(--accent);
  position: relative;
}
.prose li::before {
  box-shadow: inset 0 -2px 3px var(--tile-shade);
}
.prose a {
  color: var(--accent);
}
.prose strong {
  color: var(--text);
  font-weight: 700;
}
.prose .lede {
  font-size: 1.12rem;
  color: var(--text);
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  margin: 8px 0 36px;
  box-shadow: var(--shadow-sm);
  max-width: 68ch;
}
.contact-card a {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.05rem;
}

/* ------------------------------------------------------------------ 404 */
.nf {
  min-height: 68vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 22px;
}
.nf__pieces {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.nf h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3rem);
}
.nf p {
  color: var(--text-dim);
}

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: reveal 640ms var(--ease) forwards;
  }
  .deal__hand .piece {
    animation: drop 520ms var(--ease) backwards;
  }
  .deal__hand .piece:nth-child(1) {
    animation-delay: 120ms;
  }
  .deal__hand .piece:nth-child(2) {
    animation-delay: 240ms;
  }
  .deal__hand .piece:nth-child(3) {
    animation-delay: 360ms;
  }
}
@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
