@font-face { font-family: "Abril Fatface"; font-weight: 400; font-display: swap; src: url("/blackjack/fonts/AbrilFatface_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Karla"; font-weight: 500; font-display: swap; src: url("/blackjack/fonts/Karla_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Karla"; font-weight: 800; font-display: swap; src: url("/blackjack/fonts/Karla_800ExtraBold.ttf") format("truetype"); }

:root {
  --cloth: #2A5D8C; --deep: #17324D; --paper: #FBF5E6; --line: #C4D9E8; --ink: #1D1C1A; --pencil: #6A655C; --red: #D13B2A; --cream: #FFF9EC;
  --check: 56px;
  --side: clamp(20px, 6vw, 88px);
  --display: "Abril Fatface", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--cream); overflow-x: hidden;
  font: 500 1.0625rem/1.55 Karla, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--cloth);
  background-image: linear-gradient(90deg, rgba(255,255,255,0.075) 50%, transparent 50%), linear-gradient(rgba(255,255,255,0.075) 50%, transparent 50%);
  background-size: var(--check) var(--check);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--side); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(1.375rem, 5.6vw, 1.75rem); line-height: 1; text-decoration: none; white-space: nowrap; text-shadow: 3px 3px 0 var(--ink); }
.brand img { display: block; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
nav { display: flex; gap: 8px; font-weight: 800; font-size: 0.875rem; }
nav a, nav span { padding: 6px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--deep); text-decoration: none; }
nav a:hover { background: var(--ink); }
nav span { background: var(--paper); color: var(--ink); }

.hero, .feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 7vw, 96px) var(--side); }
.feature.flip > .slip { order: 2; }

h1 { font-size: clamp(3.25rem, 8vw, 8rem); text-shadow: 0.05em 0.05em 0 var(--ink); text-wrap: wrap; }
h1 span { display: block; white-space: nowrap; }
.lede { max-width: 31em; margin-top: clamp(20px, 2.5vw, 32px); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); }

.stores { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.button { display: inline-block; padding: 15px 22px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 400 1.1875rem/1.1 var(--display); text-decoration: none; }
.button.solid { background: var(--red); color: var(--cream); }
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button:active { transform: translate(5px, 5px); box-shadow: none; }
.note { margin-top: 18px; font-size: 0.9375rem; }

.phone { margin: 0 auto; width: min(100%, 350px); }
.phone img { display: block; width: 100%; height: auto; border: 9px solid var(--ink); border-radius: 13% / 6%; background: var(--ink); box-shadow: 12px 12px 0 rgba(10, 24, 42, 0.45); }
.feature:nth-of-type(odd) .phone { transform: rotate(1.6deg); }
.feature:nth-of-type(even) .phone { transform: rotate(-1.6deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: deal 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.06) 0.15s both; }
  @keyframes deal { from { transform: translate(60vw, -20px) rotate(24deg); } to { transform: rotate(-2deg); } }
}
.hero .phone { transform: rotate(-2deg); }

.slip { padding: clamp(24px, 3.4vw, 44px); border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 rgba(10, 24, 42, 0.45); transform: rotate(-1deg); }
.feature.flip > .slip { transform: rotate(1deg); }
.slip h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.slip > p:not(.hand) { max-width: 30em; margin-top: 16px; font-size: 1.125rem; color: var(--pencil); }
.slip ul { margin: 20px 0 0; padding: 0; list-style: none; }
.slip li { position: relative; padding: 11px 0 11px 30px; border-top: 2px solid var(--line); font-weight: 800; }
.slip li::before { content: ""; position: absolute; left: 6px; top: 13px; width: 3px; height: 20px; border-radius: 2px; background: var(--ink); transform: rotate(8deg); }
.hand { margin-bottom: 14px; }

.tally { display: inline-flex; gap: 12px; }
.five { position: relative; display: inline-flex; gap: 6px; }
.five b { display: block; width: 3px; height: 24px; border-radius: 2px; background: var(--ink); }
.five b:nth-child(odd) { transform: rotate(5deg); }
.five b:nth-child(even) { transform: rotate(-4deg); }
.five.full::after { content: ""; position: absolute; left: -5px; right: -5px; top: 10px; height: 3px; border-radius: 2px; background: var(--ink); transform: rotate(-24deg); }

.pad { position: relative; margin: 0; padding: 0; list-style: none; border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 rgba(10, 24, 42, 0.45); }
.pad::before { content: ""; position: absolute; left: 22px; right: 22px; top: 12px; height: 9px; background: radial-gradient(circle, var(--cloth) 4.5px, transparent 5px) 0 0 / 34px 9px repeat-x; }
.sheet { padding: clamp(8px, 2vw, 24px) var(--side) clamp(24px, 4vw, 48px); }
.sheet .pad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 34px clamp(8px, 2vw, 24px) 18px; transform: rotate(-0.8deg); }
.sheet li { padding: 6px clamp(10px, 1.6vw, 22px) 8px; border-left: 2px solid var(--line); }
.sheet li:first-child { border-left: 0; }
.sheet strong { display: block; font: 400 clamp(2.75rem, 6vw, 5rem)/1.05 var(--display); }
.sheet li:nth-child(3) strong { color: var(--red); }
.sheet span { display: block; color: var(--pencil); font-size: 0.9375rem; line-height: 1.3; }

.questions { padding: clamp(40px, 7vw, 96px) var(--side); }
.questions h2 { margin-bottom: clamp(20px, 3vw, 36px); font-size: clamp(2.5rem, 5.6vw, 4.75rem); text-shadow: 0.05em 0.05em 0 var(--ink); }
.questions .pad { padding: 30px clamp(20px, 3.4vw, 44px) 10px; }
.questions div { padding: 20px 0; border-top: 2px solid var(--line); }
.questions div:first-child { border-top: 0; }
dt { font: 400 clamp(1.375rem, 2.4vw, 1.75rem)/1.2 var(--display); }
dd { margin: 8px 0 0; max-width: 40em; color: var(--pencil); }

.closing { padding: clamp(48px, 8vw, 112px) var(--side); background: var(--deep); border-top: 2px solid var(--ink); }
.closing h2 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); text-shadow: 0.05em 0.05em 0 var(--ink); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--side) 40px; background: var(--deep); font-size: 0.9375rem; }

@media (max-width: 820px) {
  :root { --check: 44px; }
  .hero, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > .slip { order: 0; }
  h1 { font-size: clamp(3.25rem, 16vw, 6rem); }
  .phone { width: min(72%, 310px); }
  .sheet .pad { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .sheet li:nth-child(3) { border-left: 0; }
}
