/* Attention Deficit — marketing site (attentiondeficit.co)
   Tokens are the shipped, approved app palette (products/Attention Deficit/app/src/index.css):
   Strava-faithful — white ground, brand orange, huge bold near-black stats, Inter.
   To re-skin later, change only this :root block. No brand-deviation colors are used here. */
:root {
  --bg: #ffffff;
  --surface: #f7f7fa;
  --surface-2: #ffffff;
  --surface-3: #eef0f4;
  --line: #e7e7ec;

  --ink: #14110f;
  --muted: #6b7280;
  --faint: #9ca3af;

  --brand: #fc4c02;
  --brand-2: #ff6a2b;
  --brand-wash: rgba(252, 76, 2, 0.06);
  --verified: #1fb257;
  --idle: #ffd2bd;

  --board: #14110f;       /* dark sections */
  --board-ink: #ffffff;
  --board-muted: #b9b4ae;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'SF Mono', ui-monospace, 'JetBrains Mono', Menlo, monospace;

  --maxw: 1140px;
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---- skip link / a11y ---- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 14px;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.02; margin: 0; font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); line-height: 1.5; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head .lede { margin-top: 16px; }
em { font-style: normal; color: var(--brand); }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-lock { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.brand-lock img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }
@media (max-width: 720px) { .nav .nav-link { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(252, 76, 2, 0.3); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--faint); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-on-dark.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-on-dark.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---- hero ---- */
.hero { padding: 72px 0 60px; background: radial-gradient(120% 70% at 50% -8%, var(--brand-wash), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); }
.hero .lede { margin: 22px 0 0; max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verified); flex: none; }
.hero-art { display: flex; justify-content: center; }
.phone-shadow { filter: drop-shadow(0 30px 60px rgba(20, 17, 15, 0.22)); border-radius: 30px; }
.hero-art .phone-shadow { width: 300px; max-width: 78vw; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
}

/* ---- logos / trust strip ---- */
.metric-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.metric-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 36px 24px; }
.metric { text-align: center; }
.metric .v { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.metric .v.o { color: var(--brand); }
.metric .l { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 640px) { .metric-strip .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ---- steps (how it works) ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.step .n {
  width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 18px; display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---- signals (what gets tracked) ---- */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.signal { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; }
.signal .tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-wash); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.signal h3 { margin-bottom: 8px; }
.signal p { margin: 0; color: var(--muted); font-size: 16px; }
.signal .small { display: block; margin-top: 12px; font-size: 14px; color: var(--faint); }
@media (max-width: 820px) { .signals { grid-template-columns: 1fr; } }

/* ---- split feature (tracked-not-judged / privacy) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-art { order: -1; }
.split-art { display: flex; justify-content: center; }
.split-art img { width: 280px; max-width: 72vw; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks .ico { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--verified); }
.checks b { font-weight: 700; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-art { order: 0; }
}

/* ---- privacy section emphasis ---- */
.privacy { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pull { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.pull em { color: var(--brand); }

/* ---- gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery img { width: 100%; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 920px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---- platforms ---- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.platform .badge { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--verified); }
.platform .badge.soon { color: var(--faint); }
.platform h3 { margin: 10px 0 6px; }
.platform p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .platforms { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 17px; font-size: 24px; font-weight: 400;
  color: var(--brand); transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 40px 22px 0; color: var(--muted); font-size: 16px; }
.faq .a p { margin: 0 0 10px; }

/* ---- final CTA (dark) ---- */
.cta-final { background: var(--board); color: var(--board-ink); text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final .lede { color: var(--board-muted); margin: 18px auto 0; max-width: 46ch; }
.cta-final .hero-cta { justify-content: center; margin-top: 32px; }

/* ---- footer ---- */
.site-footer { background: var(--board); color: var(--board-muted); padding: 56px 0 48px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-brand { max-width: 360px; }
.footer-brand .brand-lock { color: #fff; margin-bottom: 14px; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; color: var(--board-muted); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer-disclosure { font-size: 13px; color: var(--faint); margin-top: 8px; }

/* ---- legal / privacy page ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 0; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc .meta { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); margin: 36px 0 12px; }
.doc p { color: var(--ink); margin: 0 0 14px; }
.doc a { color: var(--brand); text-decoration: underline; }
.doc .back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
