/* TenthPocket marketing site. One stylesheet, no inline styles (the CSP allows only 'self').
   Palette and type match the app: web/src/index.css and claude/tenthpocket-brand.md. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #13233F;
  --ink-2: #0E1B33;
  --navy: #1E3A66;
  --line-dark: #2A4A7C;
  --muted: #5B6B82;
  --muted-light: #C9D3E3;
  --canvas: #F4F6F9;
  --line: #E2E7EE;
  --white: #FFFFFF;
  --coral: #F25A4E;
  --coral-text: #D63B30;
  --teal: #2BB3C0;
  --teal-soft: #E3F4F6;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
}
a { color: var(--navy); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { background: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a.plain { color: var(--muted-light); text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.plain:hover { color: var(--white); }
.nav .btn { margin-left: 6px; }
@media (max-width: 560px) { .nav a.hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--canvas); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy); color: var(--white); }
.btn-ghost { color: var(--white); border: 1px solid var(--line-dark); }
.btn-ghost:hover { color: var(--white); background: var(--ink-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-lg { min-height: 52px; font-size: 17px; }

/* Hero */
.hero { background: var(--ink); color: var(--white); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-end; padding-top: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; padding-bottom: 48px; }
.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text); }
.hero .kicker, .band .kicker { color: var(--coral); }
h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.tagline { margin: 18px 0 0; font-size: 18px; font-weight: 700; }
.lede { margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted-light); max-width: 540px; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--muted-light); }
.phone-col { flex: 0 1 340px; min-width: 0; display: flex; justify-content: center; margin: 0 auto; }
.phone { width: 300px; max-width: 100%; background: var(--ink-2); border-radius: 40px 40px 0 0; padding: 12px 12px 0; }
.screen { background: var(--canvas); border-radius: 30px 30px 0 0; overflow: hidden; color: var(--ink); }
.screen-head { background: var(--ink); padding: 16px 16px 0; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.screen-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--white); }
.pill { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.pill-warn { color: #976300; background: #FFF4DB; }
.pill-good { color: #157E4A; background: #E3F2EA; }
.pill-line { color: var(--navy); border: 1px solid var(--muted-light); padding: 3px 8px; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.tabs span { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted-light); padding: 12px 0; border-bottom: 3px solid transparent; }
.tabs span.on { font-weight: 800; color: var(--white); border-bottom-color: var(--coral); }
.screen-body { padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.card-row { display: flex; gap: 12px; align-items: flex-start; }
.card-pic { flex: 0 0 72px; height: 100px; border-radius: 6px; background: var(--navy); border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted-light); font-size: 10px; font-weight: 700; text-align: center; }
.card-name { font-size: 16px; font-weight: 800; line-height: 1.2; }
.card-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.price-box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.price-top { padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.price-top span:first-child { font-size: 12px; color: var(--muted); font-weight: 600; }
.price-top span:last-child { font-size: 20px; font-weight: 800; }
.price-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.price-split div { padding: 8px 12px; }
.price-split div:first-child { border-right: 1px solid var(--line); }
.price-split small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.price-split b { font-size: 17px; font-weight: 800; }
.fake-btn { min-height: 48px; border-radius: 12px; background: var(--navy); color: var(--white); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.stripe { height: 3px; background: linear-gradient(90deg, var(--coral), #E0567A, var(--teal)); }
.example-note { margin: 12px auto 0; font-size: 12px; color: var(--muted); text-align: right; }

/* Sections */
.section { padding-top: 64px; padding-bottom: 64px; }
h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; max-width: 900px; }
h3 { margin: 0; font-size: 20px; font-weight: 800; }
.group { margin-top: 32px; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.group-sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.badge { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--teal-soft); border: 1px solid var(--teal); border-radius: 999px; padding: 3px 10px; }
.grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.tile.soon { background: var(--canvas); border-style: dashed; border-color: var(--muted-light); }
.tile h4 { margin: 0; font-size: 18px; font-weight: 800; }
.tile p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.games { margin: 24px 0 0; font-size: 15px; color: var(--muted); }
.white-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.split > :first-child { flex: 1 1 340px; min-width: 0; }
.split > :last-child { flex: 2 1 480px; min-width: 0; }
.split p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Pricing */
.sub { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.founding { margin-top: 28px; border: 2px solid var(--coral); border-radius: 16px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--white); }
.founding > div { flex: 1 1 380px; min-width: 0; }
.founding .kicker { margin: 0; font-size: 13px; }
.founding-line { margin-top: 6px; font-size: 21px; line-height: 1.3; font-weight: 800; }
.plans { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan .kicker { margin: 0; font-size: 13px; }
.plan-name { font-size: 24px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price span, .plan > p { font-size: 15px; color: var(--muted); }
.plan > p { margin: 0; line-height: 1.5; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.ticks li::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); flex: 0 0 8px; margin-top: 7px; }

/* Start band */
.band { background: var(--ink); color: var(--white); }
.band .lede { max-width: 620px; }
.steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; counter-reset: step; }
.steps li { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 20px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 999px; background: var(--coral); color: var(--white); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps b { display: block; font-size: 18px; }
.steps span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted-light); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-size: 18px; font-weight: 700; cursor: pointer; min-height: 28px; }
details p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--ink); }
.foot .brand span { font-size: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot small { font-size: 14px; color: var(--muted); }

/* Text pages */
.doc { padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: #2B3A52; }
.doc ul { padding-left: 20px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; background: var(--canvas); }
tr:last-child td { border-bottom: 0; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
