/* Retro Blackjack site.
   Layout: a light, roomy product page. A bold headline beside a phone in the hero, numbered steps beside a
   phone, a three-up grid of pastel feature tiles, a cast card with round portraits, casino cards, a price
   card, then a felt-green footer. One accent (felt green) carries every button. Single light look. */
:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #12161c;
  --muted: #5b6370;
  --line: #e2e5df;
  --numeral: #dfe3dc;
  --accent: #0f7a45;
  --accent-press: #0b5f35;
  --on-accent: #ffffff;
  --gold: #e5a50a;
  --red: #c8202a;
  --phone: #1a1c21;
  --tile-mint: #e6f2ea;
  --tile-cream: #f6eedc;
  --tile-blush: #f8e5e7;
  --tile-ice: #e4edf3;
  --scrap: #8a5a2b;
  --neon: #c2185b;
  --high: #b8860b;

  --font: ui-rounded, "Nunito", "SF Pro Rounded", system-ui, sans-serif;
  --font-card: "Playfair Display", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.86rem, 0.83rem + 0.12vw, 0.94rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.35rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.4rem);

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); font-weight: 600; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-press); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 900; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Buttons ---- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap;
  background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: var(--step-0);
  border-radius: 999px; padding: 12px 22px; border: 0; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pill:hover { background: var(--accent-press); color: var(--on-accent); }
.pill:active { transform: scale(0.98); }
.pill.big { padding: 16px 30px; font-size: var(--step-1); }
.pill svg { width: 20px; height: 20px; flex: none; }
.under-pill { margin-top: 10px; font-size: var(--step--1); color: var(--muted); font-weight: 700; }

/* ---- Nav ---- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.08rem; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; gap: 6px 30px; margin-inline: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); }
@media (max-width: 1040px) { .nav-links { gap: 6px 18px; } }
.nav .pill { padding: 10px 18px; font-size: var(--step--1); }
@media (max-width: 820px) { .nav-links { display: none; } .nav .wrap { gap: 12px; } .nav .pill { margin-left: auto; } }

/* ---- Hero ---- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; padding-block: clamp(32px, 6vw, 72px); min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero .sub { font-size: var(--step-1); color: var(--muted); max-width: 32rem; line-height: 1.5; font-weight: 600; }
.hero-cta { display: grid; justify-items: start; margin-top: 6px; }
.hero-media { display: flex; justify-content: center; padding-block: clamp(16px, 4vw, 48px); min-width: 0; }
/* The iPhone Duo half-folded on the felt: dealer standing up, table lying flat */
.duo-shot { width: min(100%, 580px); height: auto; aspect-ratio: 1; border-radius: 32px; box-shadow: 0 32px 64px -28px rgba(6, 40, 24, 0.55), 0 0 0 6px var(--surface); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-media { padding-block: 0 40px; }
  .duo-shot { width: min(100%, 460px); border-radius: 24px; }
}

/* A phone: dark bezel, gold rim, rounded like the real thing */
.phone {
  border-radius: 48px; border: 9px solid var(--phone); box-shadow: 0 0 0 2px var(--gold), 0 30px 60px -24px rgba(18, 22, 28, 0.45);
  overflow: hidden; background: #000; flex: none; max-width: 100%;
}
.phone img { width: 100%; }

/* ---- Sections ---- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.center-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.center-head h2, .split-head h2 { font-size: var(--step-3); }
.center-head p, .split-head p { color: var(--muted); font-size: var(--step-1); max-width: 34rem; line-height: 1.5; }
.suit { color: var(--red); font-family: var(--font-card); }

/* Steps: phone on the left, numbered rows on the right */
.steps .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps .media { display: flex; justify-content: center; }
.steps .media .phone { width: min(100%, 320px); }
.steps .split-head { margin-bottom: 18px; }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); }
.step-list li:last-child { border-bottom: 0; }
.step-list h3 { font-size: var(--step-1); }
.step-list p { color: var(--muted); grid-column: 1; font-weight: 600; }
.step-list .num { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); font-weight: 900; color: var(--numeral); font-variant-numeric: tabular-nums; line-height: 1; }
@media (max-width: 820px) { .steps .wrap { grid-template-columns: minmax(0, 1fr); } .steps .media { order: 2; } }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.tile { display: grid; gap: 14px; margin: 0; min-width: 0; }
.tile figcaption { text-align: center; font-weight: 800; font-size: var(--step-0); }
.tile .art {
  --tint: var(--tile-mint);
  position: relative; aspect-ratio: 1 / 1.02; border-radius: 28px; overflow: hidden; max-width: 100%;
  background-color: var(--tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='%2312161c' fill-opacity='.05' font-family='Georgia' font-size='14'%3E%3Ctext x='6' y='18'%3E%E2%99%A0%3C/text%3E%3Ctext x='38' y='50'%3E%E2%99%A5%3C/text%3E%3C/g%3E%3C/svg%3E");
}
.tile .art.cream { --tint: var(--tile-cream); }
.tile .art.blush { --tint: var(--tile-blush); }
.tile .art.ice { --tint: var(--tile-ice); }
.tile .peek { position: absolute; left: 50%; top: 12%; width: 58%; transform: translateX(-50%); border-radius: 34px; border-width: 7px; }
.tile .card { position: absolute; left: 50%; top: 50%; width: 84%; transform: translate(-50%, -50%); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 40px -20px rgba(18, 22, 28, 0.45); }
.tile .card.wide { width: 90%; border: 6px solid var(--phone); border-radius: 22px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* The cast card: words on the left, round portraits on the right */
.cast-card { background: var(--surface); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px 48px; align-items: center; box-shadow: 0 1px 0 var(--line); }
.cast-card .copy { display: grid; gap: 16px; min-width: 0; }
.cast-card h2 { font-size: var(--step-3); }
.cast-card p { color: #333943; font-size: var(--step-0); line-height: 1.65; max-width: 38rem; }
.cast-card strong { color: var(--ink); font-weight: 900; }
.roster { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.roster li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.roster img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.roster b { display: block; font-weight: 900; }
.roster span { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 700; }
.circles { position: relative; height: 440px; }
.circles img { position: absolute; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--surface), 0 14px 30px -14px rgba(18, 22, 28, 0.5); }
.circles img:nth-child(1) { width: 150px; height: 150px; left: 4%; top: 0; }
.circles img:nth-child(2) { width: 124px; height: 124px; right: 6%; top: 6%; }
.circles img:nth-child(3) { width: 132px; height: 132px; left: 34%; top: 30%; }
.circles img:nth-child(4) { width: 112px; height: 112px; left: 0; top: 52%; }
.circles img:nth-child(5) { width: 140px; height: 140px; right: 0; top: 50%; }
.circles img:nth-child(6) { width: 118px; height: 118px; left: 32%; bottom: 0; }
@media (max-width: 900px) {
  .cast-card { grid-template-columns: minmax(0, 1fr); }
  .circles { height: auto; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
  .circles img { position: static; width: 96px !important; height: 96px !important; }
}
@media (max-width: 520px) { .roster { grid-template-columns: minmax(0, 1fr); } }

/* Casino cards */
.split-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.casino-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.casino { background: var(--surface); border-radius: 28px; padding: 22px; display: grid; gap: 18px; align-content: start; min-width: 0; box-shadow: 0 1px 0 var(--line); }
.casino header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.casino .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--font-card); font-weight: 900; font-size: 1.3rem; }
.casino.scrap .mark { background: var(--scrap); }
.casino.neon .mark { background: var(--neon); }
.casino.high .mark { background: var(--high); }
.casino h3 { font-size: var(--step-1); }
.casino header p { font-size: var(--step--1); color: var(--muted); font-weight: 700; }
.badge { font-size: 0.78rem; font-weight: 900; border-radius: 999px; padding: 6px 12px; background: var(--ink); color: #fff; white-space: nowrap; }
.casino.scrap .badge { background: var(--accent); }
.casino .thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.casino .thumbs img { border-radius: 14px; aspect-ratio: 520 / 483; object-fit: cover; width: 100%; }
.casino .note { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
@media (max-width: 960px) { .casino-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* Price card */
.price-card { background: var(--surface); border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: grid; justify-items: center; gap: 18px; text-align: center; box-shadow: 0 1px 0 var(--line); }
.price-card h2 { font-size: var(--step-3); }
.price-card p { color: var(--muted); font-size: var(--step-1); max-width: 36rem; line-height: 1.5; }
.nots { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.nots li { background: var(--bg); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: var(--step--1); }
.nots li::before { content: "✕"; color: var(--red); margin-right: 8px; font-weight: 900; }

/* ---- Footer ---- */
.foot { background: var(--accent); color: var(--on-accent); border-radius: 40px 40px 0 0; margin-top: clamp(56px, 8vw, 96px); }
.foot .wrap { padding-block: 56px calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 40px; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand .brand { color: var(--on-accent); }
.foot-brand p { color: color-mix(in srgb, var(--on-accent) 80%, transparent); font-size: var(--step--1); max-width: 18rem; }
.foot h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 900; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.foot a:hover { text-decoration: underline; color: var(--on-accent); }
.foot .legal { border-top: 1px solid color-mix(in srgb, var(--on-accent) 25%, transparent); padding-top: 24px; text-align: center; font-size: 0.82rem; color: color-mix(in srgb, var(--on-accent) 80%, transparent); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---- Text pages: support, privacy, press ---- */
.page-head { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 40px); display: grid; gap: 14px; justify-items: start; }
.page-head h1 { font-size: var(--step-4); }
.page-head .sub { font-size: var(--step-1); color: var(--muted); max-width: 40rem; line-height: 1.5; }
.doc .cols { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.doc aside { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 10px; font-size: var(--step--1); }
.doc aside a { color: var(--muted); font-weight: 800; text-decoration: none; }
.doc aside a:hover { color: var(--accent); }
.doc article { display: grid; gap: 24px; min-width: 0; }
.doc section { background: var(--surface); border-radius: 28px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 12px; box-shadow: 0 1px 0 var(--line); }
.doc h2 { font-size: var(--step-2); }
.doc h3 { font-size: var(--step-1); margin-top: 6px; }
.doc p, .doc li { color: #333943; line-height: 1.65; font-weight: 600; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc a { font-weight: 800; }
.doc .meta { color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.doc table { border-collapse: collapse; width: 100%; font-size: var(--step--1); }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc tr:last-child th, .doc tr:last-child td { border-bottom: 0; }
.doc th { font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; color: var(--muted); }
.doc td { font-weight: 700; color: #333943; }
.doc .scroll { overflow-x: auto; }
.callout { background: var(--bg); border-radius: 16px; padding: 16px 18px; display: grid; gap: 8px; }
.email { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email code { font-family: var(--font); font-weight: 900; font-size: var(--step-1); color: var(--ink); background: var(--bg); padding: 8px 14px; border-radius: 12px; user-select: all; overflow-wrap: anywhere; }
.copy-btn { font: 800 var(--step--1) var(--font); background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.copy-btn:hover { background: var(--accent-press); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 900; color: var(--ink); }
.faq details[open] summary { margin-bottom: 8px; }
.faq details > * + * { margin-top: 8px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.shots figure { margin: 0; display: grid; gap: 6px; font-size: 0.8rem; color: var(--muted); font-weight: 800; }
.shots img { border-radius: 14px; background: #000; }
@media (max-width: 760px) {
  .doc .cols { grid-template-columns: minmax(0, 1fr); }
  .doc aside { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
}
