/* Scrimmage Seeker website — the app's Clubhouse look (2026-10-06).
   Tokens mirror frontend/lib/config/theme.dart. */
:root {
  --paper: #F5F3ED;
  --surface: #FFFEFA;
  --hairline: #DCE2DD;
  --ink: #122738;
  --ink-muted: #4B5B66;
  --primary: #B8431B;
  --primary-dark: #9E3815;
  --accent-soft: #F8E9DF;
  --tint: #EFEBE2;
  --radius: 12px;
  --radius-sm: 8px;
  --display: 'Squada One', Impact, 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .2px; line-height: 1.05; }
h2 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
h3 { font-size: 24px; margin-bottom: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Buttons — rounded squares, like the app */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; border-radius: var(--radius);
  border: 1.5px solid var(--primary); transition: background .15s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(245, 243, 237, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hairline); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 10px; }
.brand span { font-family: var(--display); font-size: 24px; }
.nav { margin-left: auto; display: none; gap: 22px; }
.nav a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--primary); }
.top .btn-sm { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } .top .btn-sm { margin-left: 8px; } }
@media (max-width: 420px) { .brand span { font-size: 20px; } }

/* Hero */
.hero { padding: 44px 0 28px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 48px; } .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.eyebrow { font-weight: 700; color: var(--primary); font-size: 14px; letter-spacing: .3px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(52px, 9vw, 84px); margin-bottom: 16px; }
.lead { font-size: 18px; color: var(--ink-muted); max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 13px; color: var(--ink-muted); margin-top: 14px; }

/* Phones */
.phone {
  background: var(--ink); padding: 8px; border-radius: 34px;
  box-shadow: 0 24px 48px rgba(18, 39, 56, .18);
  flex: 0 0 auto;
}
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; background: var(--paper); }
.hero-phones { position: relative; height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
.hero-phones .phone { position: absolute; width: 218px; }
.phone-back { left: 4%; top: 30px; transform: rotate(-5deg); }
.phone-front { right: 4%; top: 0; transform: rotate(3deg); }
@media (min-width: 900px) { .hero-phones { height: 560px; } .hero-phones .phone { width: 252px; } }
@media (max-width: 380px) { .hero-phones .phone { width: 180px; } .hero-phones { height: 400px; } }

/* Proof strip */
.strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); }
.strip-row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 14px 16px; }
.strip-row span { font-weight: 700; font-size: 14px; color: var(--ink); }
.strip-row span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-right: 8px; vertical-align: middle; }

/* Sections */
.section { padding: 60px 0; }
.section-tint { background: var(--tint); }
.sub { color: var(--ink-muted); font-size: 17px; margin-bottom: 28px; max-width: 640px; }
.box { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); }

/* Steps */
.steps { list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px; }
.step-n {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--primary); border-radius: var(--radius-sm);
  font-family: var(--display); font-size: 22px; margin-bottom: 12px;
}
.step p, .feat p { color: var(--ink-muted); font-size: 15px; }

/* Role tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); margin-bottom: 26px; flex-wrap: wrap; }
.tabs button {
  font: 700 15px var(--body); color: var(--ink-muted); background: none; border: 0;
  padding: 10px 18px; border-radius: var(--radius-sm); cursor: pointer; min-height: 44px;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { display: grid; gap: 30px; align-items: center; }
.panel[hidden] { display: none; }
@media (min-width: 860px) { .panel { grid-template-columns: 1fr 1fr; } }
.panel-copy h3 { font-size: 32px; margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  border-radius: 6px; background: var(--accent-soft); color: var(--primary);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.panel-shots { display: flex; gap: 16px; justify-content: center; }
.panel-shots .phone { width: min(44%, 230px); }
.phone-offset { margin-top: 40px; }

/* Features */
.grid { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.feat { padding: 22px; }
.feat h3 { font-size: 22px; }

/* Gallery */
.gallery {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 16px 26px; max-width: 1120px; margin: 0 auto;
}
.gallery .phone { width: 210px; scroll-snap-align: start; }
.gallery figcaption { color: #fff; text-align: center; font-weight: 700; font-size: 13px; padding: 8px 0 2px; }
@media (min-width: 640px) { .gallery { padding: 8px 24px 26px; } }

/* FAQ */
.faq-wrap { max-width: 780px; }
.qa { margin-top: 10px; padding: 0 18px; }
.qa summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa p { color: var(--ink-muted); padding-bottom: 16px; }

/* CTA */
.cta-box {
  display: grid; gap: 18px; align-items: center; justify-items: start;
  background: var(--ink); color: #fff; border-radius: 20px; padding: 28px;
}
.cta-box img { border-radius: 16px; }
.cta-box p { color: #C9D3DA; }
@media (min-width: 760px) { .cta-box { grid-template-columns: auto 1fr auto; padding: 32px 36px; } }

/* Footer */
.foot { border-top: 1px solid var(--hairline); padding: 40px 0 28px; background: var(--paper); }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr; } }
.own { color: var(--ink-muted); font-size: 14px; max-width: 520px; margin-top: 12px; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot nav a:hover { color: var(--primary); }
.legal { color: var(--ink-muted); font-size: 12px; margin-top: 28px; }

/* Long-form pages (privacy, terms) */
.doc { max-width: 780px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(44px, 8vw, 64px); margin-bottom: 6px; }
.doc .updated { color: var(--ink-muted); font-size: 14px; margin-bottom: 26px; }
.doc .box { padding: 24px; }
.doc h2 { font-size: 28px; margin: 26px 0 8px; }
.doc h3 { font-size: 22px; margin: 18px 0 6px; }
.doc p, .doc li { color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc a { color: var(--primary); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
