:root {
  --navy: #14287a;
  --navy-dark: #0c1a55;
  --red: #e4202b;
  --red-dark: #c01620;
  --ink: #1b2236;
  --muted: #55607a;
  --tint: #f2f5fc;
  --line: #dbe2f0;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(20, 40, 122, 0.12);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 0.5em; color: var(--navy-dark); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75em; }
.eyebrow.light { color: #ffb3b7; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #f7b500; outline-offset: 2px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--tint); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-dark); }
.brand-mark svg { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--head); }
.brand-text strong { font-size: 1rem; }
.brand-text span { font-size: 0.78rem; color: var(--red); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint), var(--white)); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-note { color: var(--muted); font-size: 0.98rem; }
.hero-card { position: relative; overflow: hidden; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 28px 28px 84px; border: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat:last-of-type { border-bottom: 0; }
.stat-num { font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: var(--red); }
.stat-label { color: var(--ink); font-weight: 600; line-height: 1.35; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.option-card { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.option-card:nth-child(2) { border-top-color: var(--red); }
.option-tag { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--tint); color: var(--navy); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.option-card h3 { font-size: 1.5rem; }
.option-sum { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.best-for { font-size: 0.95rem; background: var(--tint); border-radius: 10px; padding: 12px 14px; margin: 0; }
.both-note { text-align: center; margin: 32px auto 0; max-width: 40em; color: var(--muted); }

.provide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.provide-item { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.provide-item svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tint); fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.provide-item p { color: var(--muted); margin: 0; font-size: 1rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.why-list { list-style: none; counter-reset: why; padding: 0; margin: 0; }
.why-list li { counter-increment: why; position: relative; padding: 0 0 22px 64px; }
.why-list li::before { content: "0" counter(why); position: absolute; left: 0; top: -4px; font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--red); }
.why-list p { color: var(--muted); margin: 0; }

.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mini-steps { padding-left: 1.2em; color: var(--muted); }
.mini-steps li { margin-bottom: 6px; }
.sample-card { margin: 0; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); transform: rotate(-1.5deg); }
.sample-top { background: var(--navy); color: var(--white); padding: 18px 24px; display: flex; flex-direction: column; }
.sample-school { font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.sample-sub { opacity: 0.85; font-size: 0.9rem; }
.sample-body { padding: 24px; text-align: center; }
.sample-big { font-family: var(--head); font-weight: 800; color: var(--red); font-size: 1.8rem; margin-bottom: 0.3em; }
.sample-code { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.12em; border: 2px dashed var(--navy); border-radius: 10px; padding: 8px 18px; color: var(--navy); }
.sample-small { color: var(--muted); margin: 0; }
.sample-foot { border-top: 4px solid var(--red); padding: 12px 24px; display: flex; flex-direction: column; font-size: 0.85rem; color: var(--muted); background: var(--tint); }
.sample-foot span:first-child { font-weight: 700; color: var(--navy-dark); }
.sample-card figcaption { font-size: 0.8rem; color: var(--muted); padding: 8px 24px 12px; background: var(--tint); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--head); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.location { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.address { font-weight: 700; font-size: 1.15rem; color: var(--navy-dark); }
.text-link { font-weight: 700; }
.map-card svg { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }

.faq { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-family: var(--head); font-weight: 700; color: var(--navy-dark); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* Request form */
.request-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.request-intro p { color: #dfe5f7; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { margin-bottom: 14px; display: flex; flex-direction: column; }
.contact-list span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #aebbe6; }
.contact-list a { color: var(--white); font-weight: 700; overflow-wrap: anywhere; }
.request-form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 0.95rem; color: var(--navy-dark); padding: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid #c4cde2; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red); }
.choice label { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1.5px solid #c4cde2; border-radius: 10px; margin-top: 6px; cursor: pointer; font-size: 1rem; }
.choice label:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.choice input { accent-color: var(--red); width: 18px; height: 18px; }
.error { color: var(--red-dark); font-size: 0.88rem; min-height: 0; }
.error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--red-dark); font-weight: 600; margin: 12px 0 0; }
.privacy { font-size: 0.88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-success h3 { font-size: 1.5rem; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c9d2ee; padding: 36px 0; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-small { max-width: 26em; font-size: 0.85rem; margin: 0; }

/* Simple pages (thanks, 404) */
.simple { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.simple p { color: var(--muted); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid, .why-grid, .sample-grid, .location, .request-grid, .options { grid-template-columns: 1fr; }
  .provide-grid, .steps { grid-template-columns: 1fr 1fr; }
  .sample-card { transform: none; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .phone-link { display: none; }
  .header-row { gap: 10px; }
  .header-cta .btn-sm { padding: 9px 14px; font-size: 0.82rem; }
  .brand-mark svg { width: 34px; height: 34px; }
  .brand-text strong { font-size: 0.9rem; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 56px 0; }
  .provide-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .option-card, .request-form { padding: 24px 20px; }
  .stat { grid-template-columns: 76px 1fr; }
  .stat-num { font-size: 2rem; }
  .hero-actions .btn { width: 100%; }
}

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