@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --felt-950: #060e07;
  --felt-900: #0a160b;
  --felt-800: #0d1f0d;
  --felt-700: #13291a;
  --gold-200: #ffe3a0;
  --gold-300: #f7c35a;
  --gold-400: #f2a61a;
  --gold-500: #d98c00;
  --gold-600: #a86a00;
  --ink: #f4f1e8;
  --ink-2: rgba(244, 241, 232, 0.72);
  --ink-3: rgba(244, 241, 232, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);
  --blue: #2e73f2;
  --red: #e64040;
  --green: #26b866;
  --suit-red: #e0393e;
  --suit-black: #1b1b1f;
  --corner: #faf2d1;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --font-display: ui-serif, "New York", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 68px;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--felt-950);
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--felt-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: rgba(242, 166, 26, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.page {
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold-400);
  color: #1d1200;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 720px at 50% -12%, rgba(242, 166, 26, 0.11), transparent 62%),
    radial-gradient(900px 640px at 88% 28%, rgba(38, 120, 60, 0.2), transparent 66%),
    radial-gradient(900px 720px at 8% 72%, rgba(38, 110, 55, 0.16), transparent 62%),
    linear-gradient(180deg, #0b1a0c 0%, #081309 48%, #060e07 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.gold-text {
  background: linear-gradient(180deg, #f9c04a 0%, var(--gold-400) 45%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* MARK: - Nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.nav.is-scrolled {
  background: rgba(8, 18, 9, 0.66);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand__name {
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
}

.nav__links {
  display: flex;
  gap: 30px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav__links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav .nav__cta {
  height: 38px;
  padding: 0 18px;
  font-size: 14.5px;
}

@media (max-width: 820px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    margin-left: auto;
  }
}

/* MARK: - Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s;
}

.btn--gold {
  color: #1d1200;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 10px 30px -12px rgba(217, 140, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(217, 140, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--line-2);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--glass-2);
  border-color: rgba(242, 166, 26, 0.4);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.store-badge {
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.35s var(--ease-out), filter 0.35s;
}

.store-badge img {
  height: 54px;
  width: auto;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

/* MARK: - Shared type */

.kicker {
  display: inline-block;
  font-family: var(--font-round);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.h2 em,
.h3 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, #f9c04a 0%, var(--gold-400) 50%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.sub {
  max-width: 580px;
  margin: 20px 0 0;
  font-size: clamp(1.03rem, 1.3vw, 1.15rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

.section {
  position: relative;
  padding: clamp(90px, 10vw, 144px) 0;
}

.section__head {
  max-width: 760px;
}

.section__head--center {
  margin: 0 auto;
  text-align: center;
}

.section__head--center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* MARK: - Reveal */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* MARK: - Hero */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(44px, 7vw, 84px)) 0 0;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid rgba(242, 166, 26, 0.28);
  border-radius: 999px;
  background: rgba(242, 166, 26, 0.07);
  font-family: var(--font-round);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-300);
}

.hero__badge-star {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--corner);
  color: #e3a500;
  font-size: 12px;
  line-height: 1;
}

.wordmark {
  margin: 26px 0 0;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 12vw, 10.2rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  background: linear-gradient(100deg, var(--gold-500) 0%, var(--gold-400) 30%, var(--gold-200) 45%, var(--gold-400) 60%, var(--gold-500) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(217, 140, 0, 0.3));
}

.tagline {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
}

.hero__lede {
  max-width: 610px;
  margin: 18px auto 0;
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-round);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--gold-400));
  box-shadow: 0 0 10px var(--dot, var(--gold-400));
}

.stage {
  position: relative;
  width: min(1120px, 100%);
  margin: clamp(40px, 5vw, 64px) auto 0;
  perspective: 1400px;
}

.stage__glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 78%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 166, 26, 0.2), rgba(242, 166, 26, 0.05) 60%, transparent);
  filter: blur(10px);
  pointer-events: none;
}

.stage__device {
  position: relative;
  width: clamp(300px, 50vw, 590px);
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.stage__device img {
  width: 100%;
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}

.float {
  position: absolute;
  z-index: 3;
  will-change: transform;
  pointer-events: none;
}

.float__inner {
  animation: bob var(--dur, 7s) var(--ease-in-out) infinite alternate;
  animation-delay: var(--delay, 0s);
}

@keyframes bob {
  from {
    transform: translate3d(0, -9px, 0) rotate(var(--rot, 0deg));
  }
  to {
    transform: translate3d(0, 9px, 0) rotate(calc(var(--rot, 0deg) + 3deg));
  }
}

.f-card-1 { left: 7%; top: 14%; --rot: -14deg; --dur: 7.5s; }
.f-card-2 { right: 6%; top: 30%; --rot: 11deg; --dur: 8.5s; --delay: -2s; }
.f-chip-1 { left: 17%; top: 60%; --dur: 6.5s; --delay: -1s; }
.f-chip-2 { right: 17%; top: 72%; --dur: 7s; --delay: -3s; }
.f-chip-3 { right: 24%; top: 6%; --dur: 9s; --delay: -4s; }
.f-chip-4 { left: 26%; top: 2%; --dur: 8s; --delay: -5s; }

@media (max-width: 760px) {
  .f-card-1 { left: 1%; top: 4%; }
  .f-card-2 { right: -5%; top: 42%; }
  .f-chip-1 { left: 3%; top: 64%; }
  .f-chip-2 { right: 4%; top: 86%; }
  .f-chip-3,
  .f-chip-4 { display: none; }
}

/* MARK: - Playing card + chip primitives */

.pcard {
  position: relative;
  width: var(--w, 92px);
  aspect-ratio: 5 / 7;
  border-radius: calc(var(--w, 92px) * 0.11);
  background: linear-gradient(160deg, #ffffff 0%, #f4f2ec 100%);
  color: var(--suit-black);
  box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-family: var(--font-text);
}

.pcard--red {
  color: var(--suit-red);
}

.pcard__corner {
  position: absolute;
  left: 11%;
  top: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: calc(var(--w, 92px) * 0.24);
  line-height: 1;
}

.pcard__corner span:last-child {
  margin-top: 0.12em;
  font-size: 0.8em;
}

.pcard__pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: calc(var(--w, 92px) * 0.5);
  line-height: 1;
}

.pcard__face {
  position: absolute;
  inset: 26% 18% 14%;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(242, 166, 26, 0.16), rgba(242, 166, 26, 0.05));
  border: 1px solid rgba(217, 140, 0, 0.35);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--w, 92px) * 0.36);
  color: var(--gold-500);
}

.chip {
  width: var(--s, 54px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 50% 50%, var(--c1) 0 56%, var(--c2) 100%);
  box-shadow: inset 0 0 0 calc(var(--s, 54px) * 0.06) rgba(255, 255, 255, 0.28), inset 0 -3px 6px rgba(0, 0, 0, 0.25), 0 14px 26px -8px rgba(0, 0, 0, 0.6);
}

.chip--blue {
  --c1: #3d82ff;
  --c2: #1f56c9;
}

.chip--red {
  --c1: #f05252;
  --c2: #b92d2d;
}

.chip--green {
  --c1: #33c774;
  --c2: #1d8f4f;
}

/* MARK: - Ticker */

.ticker {
  position: relative;
  margin-top: clamp(40px, 6vw, 70px);
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 38s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: italic;
  color: var(--ink-2);
  white-space: nowrap;
}

.ticker__group span::after {
  content: "♦";
  margin-left: 44px;
  font-style: normal;
  font-size: 0.7em;
  color: var(--gold-500);
  vertical-align: 0.15em;
}

@keyframes ticker {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* MARK: - How it plays */

.how {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 72px);
}

.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 16px;
  padding: 22px 22px 24px;
  border-radius: 20px;
  border: 1px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s var(--ease-out), background-color 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}

.step.is-active {
  opacity: 1;
  background: var(--glass);
  border-color: var(--line);
}

.step__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-400);
}

.step__title {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.005em;
}

.step__text {
  margin: 4px 0 0;
  font-size: 15.5px;
  color: var(--ink-2);
}

.step__bar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s;
}

.step.is-active .step__bar {
  opacity: 1;
}

.step__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
}

.step.is-active .step__bar::after {
  animation: step-progress var(--step-ms, 1500ms) linear forwards;
}

@keyframes step-progress {
  to {
    transform: scaleX(1);
  }
}

.board-wrap {
  position: relative;
}

.board-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8%;
  background: radial-gradient(closest-side, rgba(242, 166, 26, 0.14), transparent);
  filter: blur(20px);
  pointer-events: none;
}

.board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(2px, 0.35vw, 4px);
  padding: clamp(8px, 1.2vw, 14px);
  border-radius: clamp(14px, 2vw, 24px);
  background: linear-gradient(180deg, #0f2412, #0a180b);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1600px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.6s var(--ease-out);
}

.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  border-radius: clamp(3px, 0.5vw, 6px);
  background: #fff;
  color: var(--suit-black);
  font-weight: 650;
  font-size: clamp(8.5px, 1.25vw, 15px);
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.5s var(--ease-out), background-color 0.5s;
}

.cell__suit {
  margin-top: 0.18em;
}

.cell--red {
  color: var(--suit-red);
}

.cell--free {
  background: var(--corner);
  color: #e3a500;
  font-size: clamp(10px, 1.5vw, 18px);
}

.cell.is-valid {
  background: #e5eeff;
  box-shadow: 0 0 0 2px var(--blue), 0 0 16px rgba(46, 115, 242, 0.55);
}

.cell.is-win {
  box-shadow: 0 0 0 2px var(--gold-400), 0 0 18px rgba(242, 166, 26, 0.7);
}

.cell .chip {
  --s: 74%;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.6);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 4px 8px -2px rgba(0, 0, 0, 0.5);
}

.cell .chip.is-on {
  animation: chip-drop 0.6s var(--ease-out) forwards;
}

.cell .chip.is-instant {
  animation-duration: 0.45s;
}

.cell.is-win .chip {
  box-shadow: inset 0 0 0 2px rgba(255, 227, 160, 0.9), 0 0 12px rgba(242, 166, 26, 0.8);
}

@keyframes chip-drop {
  0% {
    opacity: 0;
    transform: translate(-50%, -110%) scale(1.7);
  }
  60% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }
}

.board.is-clearing .chip.is-on {
  animation: chip-out 0.6s var(--ease-out) forwards;
}

@keyframes chip-out {
  from {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
}

.board__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.board__line line {
  stroke: #f7c35a;
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(242, 166, 26, 0.9));
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  opacity: 0;
}

.board__line.is-drawn line {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s var(--ease-out), opacity 0.2s;
}

.board__toast {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  padding: 0.28em 0.7em 0.32em;
  border-radius: 0.4em;
  border: 1px solid rgba(242, 166, 26, 0.45);
  background: rgba(8, 18, 9, 0.84);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(242, 166, 26, 0.25);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  pointer-events: none;
}

.board__toast span {
  background: linear-gradient(180deg, #ffe08a, var(--gold-400) 55%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.board__toast.is-on {
  animation: toast 2.6s var(--ease-out) forwards;
}

@keyframes toast {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
  28%,
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.board-hand {
  position: absolute;
  right: -4%;
  bottom: -13%;
  z-index: 4;
  display: flex;
  transform: rotate(4deg);
  pointer-events: none;
}

.board-hand .pcard {
  --w: clamp(54px, 7vw, 86px);
  margin-left: calc(var(--w) * -0.42);
  transform-origin: bottom center;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}

.board-hand .pcard:nth-child(1) { transform: rotate(-12deg) translateY(10px); }
.board-hand .pcard:nth-child(2) { transform: rotate(-4deg); }
.board-hand .pcard:nth-child(3) { transform: rotate(6deg) translateY(6px); }

.board-hand .pcard.is-lifted {
  transform: rotate(-2deg) translateY(-26px);
  box-shadow: 0 0 0 2px var(--blue), 0 0 24px rgba(46, 115, 242, 0.6), 0 24px 40px -12px rgba(0, 0, 0, 0.6);
}

.board-hand .pcard.is-played {
  transform: rotate(-2deg) translate(-40px, -120px) scale(0.6);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.5s 0.15s;
}

.rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(84px, 9vw, 128px);
}

.rule {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.rule__visual {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 58px;
  border-radius: 8px;
  background: #fff;
  color: var(--suit-black);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.6);
}

.rule__visual--red {
  color: var(--suit-red);
}

.rule__visual--free {
  background: var(--corner);
  color: #e3a500;
  font-size: 22px;
}

.rule__visual--swap {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-300);
  font-size: 22px;
}

.rule h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.rule p {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* MARK: - Modes */

.modes {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.modes__media {
  position: relative;
}

.modes__media img {
  width: min(460px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
}

.modes__media::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(closest-side, rgba(38, 140, 70, 0.35), transparent);
  filter: blur(30px);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.tile {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background-color 0.5s;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 166, 26, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 166, 26, 0.3);
}

.tile:hover::before {
  opacity: 1;
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(242, 166, 26, 0.1);
  border: 1px solid rgba(242, 166, 26, 0.22);
  color: var(--gold-300);
}

.tile__icon svg {
  width: 22px;
  height: 22px;
}

.tile h3 {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 650;
}

.tile p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* MARK: - Feature rows */

.features {
  display: grid;
  gap: clamp(110px, 14vw, 180px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.feature--flip .feature__media {
  order: 2;
}

.feature__media {
  position: relative;
}

.feature__media::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(closest-side, var(--halo, rgba(242, 166, 26, 0.16)), transparent);
  filter: blur(26px);
  pointer-events: none;
}

.feature__media img {
  position: relative;
  width: min(var(--img-w, 520px), 100%);
  margin: 0 auto;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.feature__list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 15.5px;
}

.feature__list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%231d1200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    linear-gradient(180deg, var(--gold-400), var(--gold-500));
}

.swatches {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.swatch-row {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-2);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.swatch:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 166, 26, 0.35);
}

.swatch__table {
  display: flex;
  gap: 3px;
  padding: 6px 7px;
  border-radius: 8px;
  background: var(--felt);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.swatch__table i {
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: var(--card);
}

.swatch__table i:last-child {
  background: var(--corner-c);
}

.swatch__chips {
  display: flex;
}

.swatch__chips .chip {
  --s: 24px;
  box-shadow: inset 0 0 0 1.5px var(--rim, rgba(255, 255, 255, 0.25)), 0 3px 6px rgba(0, 0, 0, 0.4);
}

.swatch__chips .chip + .chip {
  margin-left: -8px;
}

.chip--brass {
  --rim: rgba(255, 219, 122, 0.85);
}

.chip--marble {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.25), transparent 40%),
    radial-gradient(circle at 50% 50%, var(--c1) 0 50%, var(--c2) 100%);
  --rim: rgba(255, 255, 255, 0.5);
}

.chip--glass {
  opacity: 0.82;
  --rim: rgba(255, 255, 255, 0.7);
}

.pro-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* MARK: - Gallery */

.gallery {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: clamp(56px, 7vw, 84px);
  padding: 20px var(--gutter) 40px;
}

.shot {
  flex: none;
  margin: 0;
  text-align: center;
}

.shot:nth-child(even) {
  margin-top: 64px;
}

.phone {
  position: relative;
  width: clamp(210px, 21vw, 270px);
  aspect-ratio: 1206 / 2622;
  padding: 9px;
  border-radius: clamp(36px, 3.6vw, 46px);
  background: linear-gradient(145deg, #3a3f3b 0%, #15181a 40%, #2a2e2b 100%);
  box-shadow: 0 50px 70px -30px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 3px #0b0c0c;
  transition: transform 0.6s var(--ease-out);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(28px, 2.9vw, 37px);
}

.phone::after {
  content: "";
  position: absolute;
  top: 3.1%;
  left: 50%;
  width: 31%;
  height: 3.3%;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}

.shot:hover .phone {
  transform: translateY(-10px) rotate(-1deg);
}

.shot figcaption {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
}

@media (max-width: 1100px) {
  .gallery {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .shot {
    scroll-snap-align: center;
  }

  .shot:nth-child(even) {
    margin-top: 0;
  }
}

/* MARK: - Pro */

.pro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  padding: clamp(36px, 6vw, 76px);
  border-radius: clamp(26px, 3vw, 40px);
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(20, 38, 22, 0.96), rgba(9, 19, 10, 0.98)) padding-box,
    linear-gradient(135deg, rgba(247, 195, 90, 0.75), rgba(242, 166, 26, 0.08) 38%, rgba(242, 166, 26, 0.05) 62%, rgba(247, 195, 90, 0.6)) border-box;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  isolation: isolate;
}

.pro::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  z-index: -1;
  width: 70%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(242, 166, 26, 0.16), transparent);
}

.pro__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.pro__promise {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
}

.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.perk svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--gold-300);
}

.perk strong {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
}

.perk span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.pro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.pro__fine {
  margin: 0;
  max-width: 340px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.pro__emblem {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.pro__emblem::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 166, 26, 0.35), transparent 70%);
  filter: blur(18px);
}

.pro__emblem img {
  position: relative;
  width: min(300px, 70%);
  border-radius: 22.5%;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: emblem 12s var(--ease-in-out) infinite alternate;
}

@keyframes emblem {
  from {
    transform: rotateY(-14deg) rotateX(6deg) translateY(-6px);
  }
  to {
    transform: rotateY(14deg) rotateX(-4deg) translateY(6px);
  }
}

/* MARK: - FAQ */

.faq {
  max-width: 820px;
  margin: clamp(44px, 6vw, 64px) auto 0;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, background-color 0.3s;
}

.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold-300);
  transform: translate(-50%, -50%);
}

.qa__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.5s var(--ease-out);
}

.qa[open] .qa__icon {
  transform: rotate(180deg);
  background: rgba(242, 166, 26, 0.1);
  border-color: rgba(242, 166, 26, 0.4);
}

.qa[open] .qa__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.qa summary:hover .qa__icon {
  border-color: rgba(242, 166, 26, 0.4);
}

.qa__body {
  padding: 0 60px 26px 4px;
  color: var(--ink-2);
}

.qa__body p {
  margin: 0;
}

.qa__body p + p {
  margin-top: 12px;
}

.qa::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
}

.qa[open]::details-content {
  block-size: auto;
}

/* MARK: - Final CTA */

.finale {
  position: relative;
  text-align: center;
  padding-bottom: clamp(120px, 14vw, 190px);
}

.finale::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(900px, 120%);
  height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(242, 166, 26, 0.15), transparent);
  pointer-events: none;
}

.finale__mark {
  position: relative;
  text-transform: uppercase;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
}

.finale__line {
  position: relative;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--ink-2);
}

.finale .hero__actions {
  position: relative;
}

.finale__chips {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: max-content;
  margin: 50px auto 0;
}

.finale__chips::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  box-shadow: 0 0 14px rgba(242, 166, 26, 0.8);
  transform: translateY(-50%);
}

.finale__chips .chip {
  --s: 28px;
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255, 227, 160, 0.85), 0 0 12px rgba(242, 166, 26, 0.6);
}

/* MARK: - Footer */

.footer {
  position: relative;
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-3);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--gold-300);
}

.footer__legal {
  margin: 32px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* MARK: - Document pages */

.doc-hero {
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 100px)) 0 clamp(36px, 5vw, 56px);
}

.doc-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.doc-hero__meta {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

.doc {
  max-width: 780px;
  padding-bottom: clamp(90px, 10vw, 140px);
}

.doc-hero .doc {
  padding-bottom: 0;
}

.summary-card {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(242, 166, 26, 0.25);
  background: linear-gradient(160deg, rgba(242, 166, 26, 0.07), rgba(255, 255, 255, 0.02));
}

.summary-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.summary-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.summary-card li {
  display: flex;
  gap: 12px;
  color: var(--ink-2);
}

.summary-card li::before {
  content: "♦";
  flex: none;
  color: var(--gold-400);
  font-size: 0.8em;
  line-height: 2;
}

.toc {
  margin: 36px 0 0;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.toc p {
  margin: 0 0 10px;
  font-family: var(--font-round);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-3);
  font-size: 15px;
}

.toc li {
  padding: 3px 0;
  break-inside: avoid;
}

.toc a {
  color: var(--ink-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--gold-300);
}

.prose {
  margin-top: 20px;
  color: var(--ink-2);
}

.prose h2 {
  margin: 56px 0 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  color: var(--ink);
}

.prose h3 {
  margin: 30px 0 0;
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--ink);
}

.prose p,
.prose ul {
  margin: 14px 0 0;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--gold-500);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose a {
  color: var(--gold-300);
  text-decoration-color: rgba(247, 195, 90, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s;
}

.prose a:hover {
  text-decoration-color: var(--gold-300);
}

.data-table {
  width: 100%;
  margin: 20px 0 0;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-family: var(--font-round);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 550;
  white-space: nowrap;
}

.table-scroll {
  overflow-x: auto;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding: clamp(24px, 3.5vw, 34px);
  border-radius: 24px;
  border: 1px solid rgba(242, 166, 26, 0.25);
  background: linear-gradient(160deg, rgba(242, 166, 26, 0.08), rgba(255, 255, 255, 0.02));
}

.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.contact-card p {
  margin: 6px 0 0;
  color: var(--ink-2);
}

.contact-form {
  flex-basis: 100%;
  display: grid;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.field__hint {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field ::placeholder {
  color: var(--ink-3);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(242, 166, 26, 0.2);
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  transform: none;
  cursor: progress;
}

.contact-form__status {
  font-size: 15px;
  color: var(--ink-2);
}

.contact-form__status[data-state="ok"] {
  color: var(--gold-300);
}

.contact-form__status[data-state="error"] {
  color: #ff7a70;
}

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
  text-align: center;
}

.notfound__cards {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.notfound__cards .pcard {
  --w: 84px;
}

.notfound__cards .pcard:first-child {
  transform: rotate(-10deg) translateX(14px);
}

.notfound__cards .pcard:last-child {
  transform: rotate(10deg) translateX(-14px) translateY(6px);
}

/* MARK: - Responsive */

@media (max-width: 1000px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .how,
  .modes,
  .feature,
  .pro {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--flip .feature__media {
    order: 0;
  }

  .modes__media img {
    width: min(360px, 80%);
  }

  .pro__emblem {
    order: -1;
  }

  .pro__emblem img {
    width: min(200px, 50%);
  }

  .board-hand {
    right: 0;
    bottom: -12%;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .mode-grid,
  .perks,
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    padding: 22px;
  }

  .step {
    grid-template-columns: 40px 1fr;
    padding: 18px 16px 22px;
  }

  .step__num {
    font-size: 24px;
  }

  .toc ol {
    columns: 1;
  }

  .qa__body {
    padding-right: 8px;
  }

  .contact-form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-badge img {
    height: 50px;
  }

  .btn {
    height: 50px;
  }
}

/* MARK: - Intro motion */

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wordmark-in {
  from {
    opacity: 0;
    letter-spacing: 0.16em;
    filter: blur(16px) drop-shadow(0 0 0 rgba(217, 140, 0, 0));
  }
  to {
    opacity: 1;
    letter-spacing: 0.005em;
    filter: blur(0) drop-shadow(0 0 30px rgba(217, 140, 0, 0.3));
  }
}

@keyframes shimmer {
  0%,
  18% {
    background-position: 100% 0;
  }
  70%,
  100% {
    background-position: 0% 0;
  }
}

@keyframes device-in {
  from {
    opacity: 0;
    transform: translate3d(0, 80px, 0) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .intro {
    animation: rise 1.1s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 110ms + 150ms);
  }

  .js .wordmark {
    animation: wordmark-in 1.7s var(--ease-out) both, shimmer 8s var(--ease-in-out) 1.9s infinite;
    animation-delay: 0.2s, 1.9s;
  }

  .js .stage__device img {
    animation: device-in 1.6s var(--ease-out) 0.55s both;
  }

  .js .float {
    animation: fade 1.6s var(--ease-out) both;
    animation-delay: calc(0.9s + var(--i, 0) * 120ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker__track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
