/* The Bag Man coming-soon site — Slate theme, classic serif from the app */
@font-face {
  font-family: "Liberation Serif";
  src: url("../fonts/LiberationSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("../fonts/LiberationSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("../fonts/LiberationSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("../fonts/LiberationSerif-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Sans";
  src: url("../fonts/LiberationSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Sans";
  src: url("../fonts/LiberationSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #E8EAEE;
  --card: #FFFFFF;
  --ink: #1C1F24;
  --ink2: #3A4048;
  --ink3: #5C6570;
  --accent: #2A2F36;
  --primary: #2A2F36;
  --hero: #2A2F36;
  --soft: #F2F4F7;
  --line: #D5DAE1;
  --gold: #C9A227;
  --gold-ink: #6B5420;
  --on-gold: #111111;
  --green: #0F5132;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Liberation Serif", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", sans-serif;
  --shadow: 0 1px 2px rgba(20, 40, 25, 0.06), 0 6px 18px rgba(20, 40, 25, 0.08);
  --radius: 14px;
  --max: 1080px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--pad) 8px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  flex: 1 1 auto;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex: 0 0 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  padding: 9px 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.btn-gold {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
}
.btn-gold:hover { filter: brightness(0.97); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-dark:hover { background: #1C1F24; }
.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 6px 0 2px;
  min-width: 0;
}
.header-nav a {
  color: var(--ink2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 650;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: var(--ink); }
.header-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* Hero */
.hero {
  background: var(--hero);
  color: #fff;
  padding: 36px 0 40px;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 28px;
  align-items: center;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.hero h1, .page-hero h1, h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
}
.hero h1 { font-size: clamp(2rem, 7vw, 3.25rem); color: #fff; }
.hero .lede {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #E6E8EB;
  line-height: 1.45;
  margin: 0 0 22px;
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Phone placeholder */
.phone-frame {
  width: min(280px, 100%);
  margin: 0 auto;
  background: #1C1F24;
  border-radius: 28px;
  padding: 10px 10px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.phone-notch {
  width: 72px;
  height: 8px;
  border-radius: 8px;
  background: #3A4048;
  margin: 4px auto 10px;
}
.phone-screen {
  background: var(--page);
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.ph-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  margin: 0 0 4px;
}
.ph-tee {
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}
.ph-tee .ph-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.ph-tee .ph-sub { font-size: 0.7rem; color: #C9CED6; margin: 2px 0 0; }
.ph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink);
}
.chip.gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.ph-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.ph-who { font-weight: 700; font-size: 0.8125rem; min-width: 0; }
.ph-score {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.9375rem;
  flex: 0 0 auto;
}
.ph-total {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
}
.ph-caption {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #C9CED6;
  text-align: center;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--hero);
  color: #fff;
  padding: 28px 0 30px;
  position: relative;
}
.page-hero:after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--gold);
}
.page-hero .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.page-hero h1 { font-size: clamp(1.75rem, 6vw, 2.6rem); color: #fff; }
.page-hero .lede { margin: 0; color: #E6E8EB; max-width: 38rem; font-size: 1.0625rem; }

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
main { display: block; }
.section { padding: 28px 0; }
.section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.muted { color: var(--ink3); }
.center { text-align: center; }

/* Cards / grids */
.feature-grid, .game-grid, .step-list, .price-grid, .faq-list {
  display: grid;
  gap: 12px;
}
.feature-grid { grid-template-columns: 1fr; margin-top: 8px; }
.card, .game-card, .step, .price-card, .faq-item, .draft-box, .note-card, .legal-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.feature-grid h3, .game-card h3, .step h3, .price-card h3, .faq-item h2, .legal-block h2 {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  line-height: 1.25;
}
.card p, .game-card p, .step p, .feature-grid p, .legal-block p, .faq-item p {
  margin: 0;
  color: var(--ink2);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  vertical-align: 1px;
  white-space: nowrap;
}
.badge-free { background: #E8F0EA; color: var(--green); }
.badge-soon { background: #FBF5E1; color: var(--gold-ink); }
.badge-pro { background: #475569; color: #fff; }
.badge-gold { background: var(--gold); color: var(--on-gold); }
.badge-plat { background: #F8FAFC; color: var(--ink); border: 1px solid #94A3B8; }
.game-card .badge { margin-bottom: 6px; }

/* How it works steps */
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-top: 4px; }

/* Pricing */
.plan-banner {
  background: #FBF5E1;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 16px;
}
.plan-banner .lbl {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 4px;
}
.plan-banner p { margin: 0; color: var(--ink); font-size: 0.9375rem; }
.price-grid { grid-template-columns: 1fr; }
.price-card { display: flex; flex-direction: column; min-width: 0; }
.price-card .plan-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  margin: 4px 0 2px;
}
.price-card .price {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}
.price-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink2);
  font-size: 0.9375rem;
  flex: 1;
}
.price-card li { margin: 0 0 6px; }
.price-card li:last-child { margin-bottom: 0; }
.price-card .coming-tag { margin-top: auto; }
.coming-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: #FBF5E1;
  border-radius: 999px;
  padding: 4px 9px;
  align-self: flex-start;
}
.referral {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: var(--ink2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.coming-plat {
  background: #FBF5E1;
  border-radius: 8px;
  padding: 6px 8px;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink);
}

/* FAQ */
.faq-item h2 { font-size: 1.125rem; }

/* Draft legal */
.draft-banner {
  background: #2A2F36;
  color: #E6E8EB;
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 0 18px;
}
.draft-banner .lbl {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.draft-banner p { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.draft-banner strong { color: #fff; }
.legal-block { margin: 0 0 12px; }
.legal-block h2 { font-size: 1.1875rem; }
.legal-block ul { margin: 8px 0 0; padding-left: 1.15rem; color: var(--ink2); }
.legal-block li { margin: 0 0 4px; }
.tbd { color: var(--gold-ink); font-weight: 700; }

/* Follow / contact */
.follow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
}
.social:hover { border-color: var(--accent); }
.mailto { word-break: break-word; }

/* Footer */
.site-footer {
  background: var(--accent);
  color: #C9CED6;
  padding: 28px 0 36px;
  margin-top: 12px;
}
.site-footer a { color: #F3F4F6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  text-decoration: none;
}
.foot-brand img { width: 32px; height: 32px; border-radius: 8px; }
.foot-brand span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.0625rem;
  color: #fff;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
}
.foot-note { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: #9AA3AD; }
.foot-note a { color: #C9CED6; }

/* Desktop */
@media (min-width: 800px) {
  :root { --pad: 28px; }
  .header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px var(--pad);
  }
  .header-top { display: contents; }
  .brand { order: 1; flex: 0 0 auto; }
  .header-nav {
    order: 2;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 8px 22px;
    padding: 0;
    margin: 0 8px 0 12px;
  }
  .site-header .btn { order: 3; }
  .hero { padding: 56px 0 60px; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr 1fr 1fr; align-items: stretch; }
  .section { padding: 40px 0; }
  .phone-frame { margin: 0 0 0 auto; }
}
@media (min-width: 800px) and (max-width: 1020px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}

/* Founding Member offer (planned, not live) */
.founding {
  background: #FBF5E1;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  margin: 16px 0 0;
}
.founding .lbl {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 6px;
}
.founding h2 {
  font-family: var(--serif);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}
.founding p { margin: 0 0 8px; color: var(--ink); font-size: 0.9375rem; line-height: 1.45; }
.founding p:last-child { margin-bottom: 0; }

.waitlist-note {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.hero .waitlist-note { color: var(--gold); }
.follow-card .waitlist-note { color: var(--gold-ink); margin: 0 0 12px; }
