/* Scoreleap marketing pages: landing, privacy, terms. Tokens match app/styles.css. */
:root {
  --bg: #ffffff;
  --surface: #f3f3f1;
  --ink: #121212;
  --muted: #595957;
  --line: #e2e2de;
  --accent: #1743d0;
  --accent-hover: #1234a8;
  --accent-soft: #e8eefd;
  --accent-ink: #ffffff;
  --green: #17683f;
  --green-soft: #def1e4;
  --radius: 18px;
  --content: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-lead: clamp(18px, 1.05rem + .4vw, 21px);
  --t-head: clamp(28px, 1.2rem + 1.4vw, 40px);
  --t-display: clamp(38px, 1.4rem + 3.6vw, 66px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(100% - 32px, var(--content)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 19px; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .site-nav .nav-link { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.button.secondary { border-color: var(--line); color: var(--ink); background: var(--bg); }
.button.secondary:hover { border-color: var(--ink); color: var(--ink); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: var(--t-display); font-weight: 800; }
.hero .lead { font-size: var(--t-lead); color: var(--muted); margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Hero visual: a plain mock of the weak-spot report */
.report { background: var(--surface); border-radius: 24px; padding: 24px; }
.report-card { background: var(--bg); border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 2px rgba(18, 18, 18, .06); }
.report-card + .report-card { margin-top: 12px; }
.report-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.report-row { display: grid; grid-template-columns: 1fr 2fr 40px; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.report-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.bar { height: 10px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.report-row.weak .bar i { background: #c2410c; }
.report-row.weak span:first-child::after { content: " · focus"; color: #c2410c; font-weight: 700; }
.report-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-next strong { display: block; font-size: 17px; }
.report-next small { color: var(--muted); font-size: 14px; }
.report-next .pill { flex: 0 0 auto; background: var(--accent); color: #fff; border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 14px; }

/* Sections */
section { scroll-margin-top: 72px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tint { background: var(--surface); }
.section-head { max-width: 44em; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: var(--t-head); font-weight: 800; }
.section-head p { font-size: var(--t-lead); color: var(--muted); margin-top: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); margin-top: 8px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Comparison */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 700; background: var(--surface); }
.compare thead th.us { color: var(--accent); }
.compare tbody th { font-weight: 650; width: 30%; }
.compare td.us { background: var(--accent-soft); font-weight: 600; }
.compare-note { margin-top: 18px; color: var(--muted); max-width: 48em; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.plan { border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; background: var(--bg); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 18px 50px rgba(23, 67, 208, .12); }
.plan h3 { font-size: 20px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin-top: 12px; line-height: 1; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.plan .button { margin-top: auto; }
.pricing-note { margin-top: 20px; color: var(--muted); max-width: 48em; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Closing call to action */
.closing { text-align: center; }
.closing h2 { font-size: var(--t-head); font-weight: 800; }
.closing p { color: var(--muted); font-size: var(--t-lead); margin: 14px auto 28px; max-width: 32em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); }
.disclaimer { font-size: 13px; }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 72px) 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 1.2rem + 2vw, 44px); font-weight: 800; }
.legal .updated { color: var(--muted); margin-top: 10px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .summary { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; margin-top: 28px; }
.legal .summary ul { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
