/* Landing page only. Shared tokens and base styles live in style.css. */
:root {
  --accent-soft: #e8f0fe;
  --accent-strong: #1558b0;
  --success: #188038;
  --band: #0b57d0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 35, 40, .06), 0 8px 24px rgba(31, 35, 40, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent-soft: #10243f;
    --accent-strong: #8ab4f8;
    --success: #6fcf8a;
    --band: #1a4fa8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

html:has(body.home) { scroll-padding-top: 80px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.home) { scroll-behavior: auto; } }
body.home { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.wrap.wide { max-width: 1140px; }
.center { text-align: center; }

/* Skip link + focus */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-fg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.home a:focus-visible, .home button:focus-visible, .home summary:focus-visible, .home video:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.site-header .wrap { height: 64px; }
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a:not(.btn) { margin-left: 0; padding: 10px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.site-header nav a:not(.btn):hover { color: var(--fg); background: var(--card); }
.site-header .btn-sm { margin: 0 0 0 8px; }

/* Buttons */
.home .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; margin: 0; border-radius: 10px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.home .btn:hover { background: var(--accent-strong); }
.home .btn:active { transform: translateY(1px); }
.home .btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.home .btn-lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.home .btn-ghost { background: transparent; color: var(--accent); border-color: var(--border); }
.home .btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }
.home .btn-light { background: #fff; color: #0b57d0; }
.home .btn-light:hover { background: #e8f0fe; color: #0b57d0; }
.home .btn-block { display: flex; width: 100%; margin-top: 10px; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(1200px 500px at 80% -10%, var(--accent-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 14px; font-weight: 600; }
.home h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 800; text-wrap: balance; }
.accent { color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-media { margin: 0; }
.home .promo { margin-top: 0; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--card); }
.hero-media figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (min-width: 960px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 0.95fr 1.05fr; gap: 56px; }
}

/* Problem band */
.band { background: var(--band); color: #fff; padding: 0; }
.band-text { margin: 0; padding: 22px 0; font-size: clamp(16px, 2vw, 19px); text-align: center; }
.band-text b { font-weight: 800; }

/* Sections */
.home .section { padding: 72px 0; }
.home .section.alt { background: var(--card); }
.section-title { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.02em; text-align: center; margin: 0 0 12px; font-weight: 800; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 36em; }
.home .section-title + .features, .home .section-title + .steps-grid, .home .section-title + .faq { margin-top: 36px; }

/* Features */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature h3 { margin: 14px 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* Steps */
.steps-grid { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: none; }
.steps-grid li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps-grid h3 { margin: 12px 0 6px; font-size: 18px; }
.steps-grid p { margin: 0; color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 800; }
@media (min-width: 820px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.fine { color: var(--muted); font-size: 14px; max-width: 46em; margin: 16px auto 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan h3 { margin: 0 0 8px; font-size: 18px; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-note { margin: 0 0 16px; color: var(--muted); }
.plan-pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-fg); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border-left: 3px solid var(--success); border-bottom: 3px solid var(--success); transform: rotate(-45deg); }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Final CTA */
.final-cta { background: var(--band); color: #fff; text-align: center; padding: 72px 0; }
.final-cta h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 800; }
.final-cta p { margin: 0 0 28px; opacity: .9; font-size: 18px; }

/* Small screens */
.site-header .btn-sm { white-space: nowrap; }
@media (max-width: 719px) {
  .hide-sm { display: none; }
  .eyebrow { font-size: 13px; padding: 5px 10px; }
  .site-header .brand { font-size: 16px; }
  .cta-row .btn { flex: 1 1 100%; }
  .home .section { padding: 56px 0; }
}

@media (max-width: 400px) {
  .hide-xs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home * { transition: none !important; }
}
