:root {
  --navy: #10233f;
  --navy-2: #18385f;
  --blue: #246bfd;
  --blue-soft: #e8f1ff;
  --amber: #ffb020;
  --green: #138a5b;
  --ink: #17253a;
  --muted: #617087;
  --line: #dce5f1;
  --canvas: #f4f7fb;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 24px 64px rgba(16, 35, 63, .12);
  --content: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(220, 229, 241, .8);
  background: rgba(244, 247, 251, .88);
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: var(--content);
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.3px;
}
.brand img { width: 44px; height: 44px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 23px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 15px;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(36, 107, 253, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(36, 107, 253, .32); }
.button--dark { background: var(--navy); box-shadow: 0 12px 28px rgba(16, 35, 63, .2); }
.button--ghost { color: var(--navy) !important; background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.button--small { min-height: 42px; padding: 9px 16px; border-radius: 12px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 94px;
  background:
    radial-gradient(circle at 78% 28%, rgba(36, 107, 253, .13), transparent 34%),
    radial-gradient(circle at 15% 70%, rgba(255, 176, 32, .11), transparent 30%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -220px;
  border: 72px solid rgba(36, 107, 253, .05);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  width: var(--content);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 3px; border-radius: 2px; background: var(--amber); }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.12; }
h1 { max-width: 730px; margin-bottom: 22px; font-size: clamp(45px, 6vw, 75px); letter-spacing: -.055em; }
h2 { margin-bottom: 14px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
h3 { margin-bottom: 9px; font-size: 20px; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 0 0 28px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.microcopy { margin-top: 18px !important; font-size: 13px !important; }

.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-orbit {
  position: absolute;
  width: 410px;
  height: 410px;
  border: 1px dashed rgba(36, 107, 253, .28);
  border-radius: 50%;
  animation: spin 35s linear infinite;
}
.phone-orbit::before, .phone-orbit::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(255, 176, 32, .16);
}
.phone-orbit::before { top: 38px; left: 70px; }
.phone-orbit::after { right: 30px; bottom: 90px; background: var(--green); box-shadow: 0 0 0 8px rgba(19, 138, 91, .14); }
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: relative;
  z-index: 2;
  width: min(340px, 84vw);
  min-height: 610px;
  padding: 14px;
  border: 7px solid var(--navy);
  border-radius: 42px;
  background: #eef3fa;
  box-shadow: 0 38px 85px rgba(16, 35, 63, .24);
  transform: rotate(2deg);
}
.phone::before { content: ""; position: absolute; z-index: 4; top: 7px; left: 50%; width: 86px; height: 23px; border-radius: 14px; background: var(--navy); transform: translateX(-50%); }
.screen { overflow: hidden; min-height: 568px; border-radius: 29px; background: var(--canvas); }
.screen-top { padding: 38px 20px 24px; color: var(--white); background: linear-gradient(140deg, var(--navy), #24528b); }
.screen-top img { width: 48px; height: 48px; margin-bottom: 24px; border-radius: 13px; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.screen-top small { color: var(--amber); font-weight: 900; letter-spacing: .08em; }
.screen-top h3 { margin: 7px 0 4px; color: var(--white); font-size: 28px; }
.screen-top p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.screen-body { padding: 16px; }
.mini-progress { height: 8px; margin: 4px 0 18px; overflow: hidden; border-radius: 8px; background: #dce5f1; }
.mini-progress span { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--blue), #72a2ff); }
.lesson-tile { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 14px; border-radius: 17px; background: var(--white); box-shadow: 0 5px 16px rgba(16,35,63,.06); }
.lesson-icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; color: var(--blue); background: var(--blue-soft); font-weight: 900; }
.lesson-tile strong { display: block; color: var(--navy); font-size: 14px; }
.lesson-tile span { color: var(--muted); font-size: 12px; }
.lesson-tile.is-green .lesson-icon { color: var(--green); background: #e5f6ef; }

.trust-strip { width: var(--content); margin: -28px auto 0; position: relative; z-index: 5; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.trust-item { padding: 23px 28px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 23px; }
.trust-item span { color: var(--muted); font-size: 13px; font-weight: 650; }

.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--navy { color: var(--white); background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-shell { width: var(--content); margin: auto; }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.section--navy .section-heading p { color: rgba(255,255,255,.68); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 15px; color: var(--blue); background: var(--blue-soft); font-size: 22px; font-weight: 900; }
.feature-card:nth-child(2) .feature-icon, .feature-card:nth-child(5) .feature-icon { color: #9b6500; background: #fff3d9; }
.feature-card:nth-child(3) .feature-icon, .feature-card:nth-child(6) .feature-icon { color: var(--green); background: #e5f6ef; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: setup; }
.step { position: relative; padding-top: 68px; counter-increment: setup; }
.step::before { content: "0" counter(setup); position: absolute; top: 0; left: 0; color: var(--amber); font-size: 38px; font-weight: 950; letter-spacing: -.04em; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 68px; right: 0; height: 1px; background: rgba(255,255,255,.19); }
.step p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.category-row { display: flex; flex-wrap: wrap; gap: 10px; }
.category-chip { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--white); font-size: 14px; font-weight: 800; }
.notice { margin-top: 36px; padding: 22px 24px; border-left: 4px solid var(--amber); border-radius: 4px 16px 16px 4px; background: #fff7e8; color: #624b1e; font-size: 14px; }

.cta-card { position: relative; overflow: hidden; padding: 50px; border-radius: 30px; color: var(--white); background: linear-gradient(135deg, var(--blue), #174aaf); box-shadow: 0 30px 80px rgba(36,107,253,.28); }
.cta-card::after { content: "CDL"; position: absolute; right: -25px; bottom: -70px; color: rgba(255,255,255,.08); font-size: 190px; font-weight: 950; line-height: 1; }
.cta-card h2 { position: relative; z-index: 2; max-width: 660px; color: var(--white); }
.cta-card p { position: relative; z-index: 2; max-width: 620px; color: rgba(255,255,255,.75); }
.cta-card .button { position: relative; z-index: 2; margin-top: 10px; }
.platform-notice { margin-top: 18px; padding: 14px 18px; border: 1px solid #bbd2ff; border-radius: 13px; color: var(--navy); background: var(--blue-soft); }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { width: var(--content); margin: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-copy { max-width: 460px; color: var(--muted); font-size: 13px; }
.footer-title { margin-bottom: 12px; color: var(--navy); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.copyright { width: var(--content); margin: 34px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.legal-hero { padding: 70px 0 42px; background: linear-gradient(180deg, var(--blue-soft), transparent); }
.legal-shell { width: min(840px, calc(100% - 40px)); margin: auto; }
.legal-hero h1 { margin-bottom: 12px; font-size: clamp(38px, 6vw, 58px); }
.legal-hero p { max-width: 720px; color: var(--muted); }
.legal-content { padding: 22px 0 90px; }
.legal-card { padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 15px 50px rgba(16,35,63,.07); }
.legal-card h2 { margin-top: 38px; font-size: 25px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin-top: 26px; font-size: 18px; }
.legal-card p, .legal-card li { color: #43546b; font-size: 15px; }
.legal-card li + li { margin-top: 8px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.legal-card a { color: var(--blue); font-weight: 700; }
.callout { padding: 18px 20px; border-radius: 15px; background: var(--blue-soft); }
.danger-callout { background: #fff0f0; color: #7a2727; }

.ad-hero { min-height: calc(100vh - 76px); display: grid; align-items: center; padding: 64px 0; background: radial-gradient(circle at 90% 10%, rgba(255,176,32,.15), transparent 32%), linear-gradient(150deg, var(--navy), #163c6e); color: var(--white); }
.ad-grid { width: var(--content); margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 68px; }
.ad-hero h1 { color: var(--white); font-size: clamp(46px, 7vw, 78px); }
.ad-hero p { max-width: 650px; color: rgba(255,255,255,.72); font-size: 18px; }
.ad-proof { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 30px; }
.ad-proof span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 800; }
.mock-card { padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: rgba(255,255,255,.09); box-shadow: 0 30px 70px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.score-ring { width: 150px; height: 150px; display: grid; place-items: center; margin: 4px auto 24px; border: 15px solid rgba(255,255,255,.12); border-top-color: var(--amber); border-right-color: var(--amber); border-radius: 50%; transform: rotate(45deg); }
.score-ring span { color: var(--white); font-size: 32px; font-weight: 950; transform: rotate(-45deg); }
.mock-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); }
.mock-row strong { color: var(--white); }

@media (max-width: 900px) {
  .hero-grid, .ad-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone-wrap { margin-top: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 680px) {
  :root { --content: min(100% - 30px, 1160px); }
  .nav-shell { min-height: 68px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 68px; left: 15px; right: 15px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links .button { width: 100%; }
  .hero { padding: 64px 0 78px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: 46px; }
  .phone-orbit { width: 320px; height: 320px; }
  .phone { min-height: 570px; }
  .screen { min-height: 528px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .feature-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .cta-card { padding: 34px 24px; }
  .cta-card::after { font-size: 120px; }
  .legal-hero { padding-top: 48px; }
  .legal-shell { width: min(100% - 30px, 840px); }
  .ad-hero { min-height: auto; }
  .ad-grid { gap: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
