:root {
  --navy: #0a1f5c;
  --navy-2: #071544;
  --blue: #1646c8;
  --red: #e11d2e;
  --red-dark: #bf1424;
  --yellow: #ffd60a;
  --green: #1db954;
  --ink: #0d1330;
  --muted: #5b6380;
  --paper: #ffffff;
  --soft: #f2f5fc;
  --line: rgba(13, 19, 48, 0.12);
  --shell: min(1120px, calc(100% - 32px));
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.035em; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 80px 0; }
.center { text-align: center; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 12px 18px;
  background: #fff; color: var(--ink); border-radius: 8px; font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 10px;
  font-weight: 900; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(255, 214, 10, .6); outline-offset: 3px;
}
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.button-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 26px rgba(255, 214, 10, .28); }
.button-yellow:hover { background: #ffe14d; }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 12px 28px rgba(225, 29, 46, .3); }
.button-primary:hover { background: var(--red-dark); }
.button-submit { width: 100%; margin-top: 18px; background: var(--green); color: #fff; font-size: 17px; box-shadow: 0 12px 26px rgba(29, 185, 84, .3); }
.button-submit:hover { background: #17a34a; }
.button-submit svg { width: 22px; height: 22px; fill: currentColor; }
.button[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 118px; height: auto; }
.brand-partner { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); font-size: 11px; line-height: 1.2; color: rgba(255,255,255,.75); max-width: 130px; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 112px 0 64px;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(22, 70, 200, .75), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66% 100%);
}
.hero-grid { display: grid; gap: 36px; align-items: start; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 14px;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,214,10,.25); }
h1 { margin-bottom: 18px; font-weight: 950; text-transform: uppercase; }
.h1-top { display: block; font-size: clamp(50px, 14vw, 104px); }
.h1-mid {
  display: inline-block; margin-top: 8px; padding: 6px 14px 8px; background: var(--yellow); color: var(--ink);
  font-size: clamp(24px, 6.4vw, 46px); letter-spacing: -0.02em;
}
.hero-promise { margin-bottom: 14px; font-size: clamp(22px, 4.6vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.hero-promise strong { color: var(--yellow); }
.hero-lead { max-width: 560px; font-size: 18px; color: rgba(255,255,255,.85); }
.hero-lead strong { color: var(--yellow); }

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none;
}
.facts li { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.fact-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.facts strong { display: block; font-size: 17px; line-height: 1.2; }
.facts small { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7); }
.facts .free { color: #5dff9a; font-size: 26px; }

/* Form card */
.form-card { padding: 26px 22px; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.35); scroll-margin-top: 16px; }
.form-tag { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 6px; background: #e8f9ee; color: #0f7a37; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.form-head h2 { margin-bottom: 8px; font-size: 28px; }
.form-head p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.field { margin-bottom: 14px; }
label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; }
input[type="text"], input[type="tel"], select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--soft); color: var(--ink); font-size: 16px; appearance: none;
}
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%230d1330' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
select:invalid { color: #8a91a8; }
select option { color: var(--ink); }
input:focus, select:focus { border-color: var(--blue); background-color: #fff; outline: none; box-shadow: 0 0 0 4px rgba(22,70,200,.15); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.phone-field { display: grid; grid-template-columns: 64px 1fr; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); overflow: hidden; }
.phone-field b { text-align: center; font-size: 15px; border-right: 1.5px solid var(--line); line-height: 50px; }
.phone-field input { border: 0; border-radius: 0; background: transparent; box-shadow: none !important; }
.phone-field:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(22,70,200,.15); }
.field-error { margin: 5px 0 0; min-height: 0; color: var(--red); font-size: 13px; font-weight: 700; }
.honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 18px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.form-note { margin: 12px 0 0; text-align: center; color: #8a91a8; font-size: 12px; }
.form-status { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--red); }
.form-status a { color: var(--blue); }

.form-success { padding: 18px 0 6px; text-align: center; }
.form-success h2 { font-size: 30px; margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 34px; font-weight: 900; }
.redirect-note { margin: 14px 0 0; font-size: 13px; }
.form-success[hidden], #form-wrap[hidden] { display: none; }

/* Sections */
.section-heading { max-width: 780px; margin-bottom: 40px; }
.section-heading.center { margin-inline: auto; }
.kicker { margin-bottom: 12px; color: var(--red); font-size: 12px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.kicker-yellow { color: var(--yellow); }
.section-heading h2, .story-copy h2 { font-size: clamp(30px, 6vw, 48px); font-weight: 950; margin-bottom: 14px; }
.section-heading p:last-child { color: var(--muted); font-size: 17px; }

.learn { background: var(--paper); }
.learn-grid { display: grid; gap: 16px; }
.learn-card { padding: 28px 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); border-top: 5px solid var(--blue); }
.learn-card:nth-child(2) { border-top-color: var(--red); }
.learn-card:nth-child(3) { border-top-color: var(--yellow); }
.num { display: block; margin-bottom: 18px; color: var(--blue); font-size: 13px; font-weight: 950; letter-spacing: .14em; }
.learn-card h3 { margin-bottom: 10px; font-size: 22px; }
.learn-card p { margin: 0; color: var(--muted); }

.story { padding: 72px 0; color: #fff; background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); }
.story-inner { display: grid; gap: 36px; align-items: center; }
.story-quote { position: relative; padding: 38px 28px 30px; border-radius: 20px; background: #fff; color: var(--red); box-shadow: 0 24px 50px rgba(0,0,0,.25); transform: rotate(-1.5deg); }
.quote-mark { position: absolute; top: -6px; left: 18px; font-size: 96px; line-height: 1; font-weight: 950; color: var(--yellow); }
.story-quote p { margin: 14px 0 12px; font-size: clamp(26px, 6vw, 38px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.story-quote small { font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story-copy > p:not(.kicker) { max-width: 540px; margin-bottom: 26px; font-size: 18px; color: rgba(255,255,255,.92); }

.steps { background: var(--soft); }
.steps-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps-list li { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 950; }
.steps-list h3 { margin-bottom: 6px; font-size: 20px; }
.steps-list p { margin: 0; color: var(--muted); }
.cta-row { margin-top: 36px; }

.faq-grid { display: grid; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 20px 36px 20px 0; font-weight: 850; font-size: 17px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 20px; color: var(--muted); }

/* Footer */
.footer { padding: 40px 0 110px; background: var(--navy-2); color: #fff; }
.footer-inner { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-brand img { width: 120px; }
.footer-brand span { font-size: 13px; color: rgba(255,255,255,.7); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 700; }
.footer p { margin: 0; font-size: 12px; color: rgba(255,255,255,.5); }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy-2); color: #fff;
  border-top: 2px solid var(--yellow); transform: translateY(0); transition: transform .25s ease;
}
.mobile-cta span { font-size: 13px; font-weight: 800; }
.mobile-cta .button { min-height: 46px; padding: 0 22px; }
.mobile-cta.is-hidden { transform: translateY(110%); }

/* Reveal */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* Tablet and desktop */
@media (min-width: 760px) {
  .section { padding: 104px 0; }
  .brand img { width: 138px; }
  .brand-partner { font-size: 12px; max-width: 150px; }
  .facts { grid-template-columns: repeat(4, auto); width: max-content; max-width: 100%; }
  .learn-grid, .steps-list { grid-template-columns: repeat(3, 1fr); }
  .story-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .footer { padding-bottom: 44px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer p { grid-column: 1 / -1; }
  .mobile-cta { display: none; }
}
@media (min-width: 980px) {
  .hero { padding: 140px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr 460px; gap: 64px; }
  .form-card { padding: 32px 30px; position: sticky; top: 24px; }
  .facts { grid-template-columns: repeat(2, 1fr); width: auto; }
}
@media (min-width: 1100px) {
  .facts { grid-template-columns: repeat(4, auto); width: max-content; }
}
