:root {
  --navy: #0c1f3f;
  --navy-2: #16346b;
  --navy-dark: #081630;
  --blue: #1663e6;
  --teal: #10b3a3;
  --orange: #ff7a1a;
  --orange-dark: #ef6408;
  --amber: #ffbf1f;
  --sign: var(--navy);
  --sign-dark: var(--navy-dark);
  --white: #ffffff;
  --yellow: var(--orange);
  --yellow-dark: var(--orange-dark);
  --asphalt: #1b2233;
  --ink: #0f1b33;
  --muted: #4f5b70;
  --concrete: #f2f5fa;
  --sky: #e7efff;
  --shield: var(--blue);
  --line: #d6deea;
  --radius-sign: 14px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  font: 800 1rem/1 var(--font);
  text-decoration: none; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-ghost { border-color: var(--asphalt); color: var(--asphalt); background: transparent; }
.btn-ghost:hover { background: var(--asphalt); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.text-link { font-weight: 800; color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.more { margin-top: 28px; }

/* Header */
.topbar { background: var(--sign); color: var(--white); position: sticky; top: 0; z-index: 50; }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: rgba(255,255,255,.6); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.nav-cta { min-height: 42px; padding: 10px 16px; }

.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); border-radius: 8px;
  font: 700 1rem var(--font); padding: 8px 12px; min-height: 44px; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .topbar-inner { min-height: 68px; }
  .brand img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--sign-dark); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; border-top: 1px solid rgba(255,255,255,.15);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.12); color: var(--amber); }
  .nav-cta { margin-top: 16px; }
}
@media (max-width: 380px) { .brand img { height: 34px; } .menu-label { display: none; } }

/* Home hero */
.hero { background: var(--sky); position: relative; padding-top: clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-copy { padding-bottom: clamp(56px, 8vw, 104px); }
.lede { font-size: 1.2rem; color: #33383e; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.sign { margin: 0; display: flex; flex-direction: column; align-items: center; }
.sign-face {
  width: 100%; background: linear-gradient(135deg, var(--blue), var(--navy-2) 60%, var(--navy)); color: var(--white);
  border-radius: var(--radius-sign);
  box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 9px rgba(255,255,255,.95), 0 24px 48px -20px rgba(12, 31, 63, .6);
  padding: 30px 32px 0;
}
.sign-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 2px solid rgba(255,255,255,.22); }
.sign-text { font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.15; }
.sign-dist { font-weight: 600; font-size: clamp(.95rem, 1.6vw, 1.15rem); white-space: nowrap; opacity: .9; }
.sign-exit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 18px -32px 0; padding: 14px 32px 18px;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  border-radius: 0 0 var(--radius-sign) var(--radius-sign);
  box-shadow: inset 0 -4px 0 0 var(--white), inset 4px 0 0 0 var(--white), inset -4px 0 0 0 var(--white);
  font-weight: 900; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}
.sign-exit:hover { background: var(--yellow-dark); }
.sign-exit svg { width: 40px; height: 40px; flex: none; }
.sign-exit path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.sign-posts { display: flex; justify-content: space-between; width: 60%; height: 64px; }
.sign-posts span { width: 12px; background: #8a9096; border-radius: 0 0 2px 2px; }

.road {
  height: 56px; background: var(--asphalt);
  background-image: linear-gradient(90deg, var(--amber) 0 60%, transparent 60% 100%);
  background-size: 96px 6px; background-repeat: repeat-x; background-position: 0 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero .road { animation: drive 1.6s linear 1 both; }
  @keyframes drive { from { background-position: 480px 50%; } to { background-position: 0 50%; } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .sign { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* Inner page hero */
.page-hero { background: var(--sky); padding-top: clamp(48px, 7vw, 88px); }
.page-hero .wrap { padding-bottom: clamp(36px, 5vw, 56px); }
.page-hero h1 {
  display: inline-block; background: linear-gradient(135deg, var(--blue), var(--navy-2) 65%, var(--navy)); color: var(--white);
  padding: .26em .55em .2em; border-radius: 12px;
  box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 7px rgba(255,255,255,.95);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}
.page-hero .road { height: 40px; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--concrete); }
.section-lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-bottom: 40px; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin: 0; }
.services > div { padding: 22px 0; border-top: 2px solid var(--ink); }
.services dt { font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.services dd { margin: 0; color: var(--muted); max-width: 32em; }
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.service-list article { padding: 28px 0 12px; border-top: 2px solid var(--ink); }
.service-list h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.service-list p { color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }

.equip-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.equip-chips li, .equip-list dt {
  background: var(--navy); color: var(--white); font-weight: 700; padding: 8px 16px; border-radius: 999px;
  border-left: 5px solid var(--orange);
}
.equip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 40px; margin: 0; }
.equip-list > div { display: grid; gap: 10px; align-content: start; }
.equip-list dt { justify-self: start; }
.equip-list dd { margin: 0; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0; width: 52px; height: 56px;
  display: grid; place-items: center; padding-top: 2px;
  font: 900 1.4rem var(--font); color: var(--white);
  background: var(--shield);
  clip-path: path("M2 2 H50 C50 2 53 12 50 24 C47 38 38 48 26 56 C14 48 5 38 2 24 C-1 12 2 2 2 2 Z");
}
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 10px; border-left: 4px solid var(--teal); border-bottom: 4px solid var(--teal); transform: rotate(-45deg); }
.checks-light li::before { border-color: var(--amber); }
.price-sign {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: var(--white); color: var(--ink); border-radius: var(--radius-sign);
  box-shadow: 0 24px 48px -24px rgba(12,31,63,.35);
  padding: 48px 28px 40px; border: 1px solid var(--line); position: relative; overflow: hidden;
}
.price-sign::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--orange) 0 33%, var(--teal) 33% 66%, var(--blue) 66%); }
.price-label { font-weight: 800; font-size: 1.15rem; }
.price-num { font-weight: 900; font-size: clamp(4.5rem, 10vw, 6.5rem); line-height: 1; margin-top: 8px; }
.price-sub { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

.example { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.example > p { color: var(--muted); font-size: 1.1rem; max-width: 32em; }
.calc { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-sign); overflow: hidden; }
.calc caption { text-align: left; font-weight: 800; padding-bottom: 10px; }
.calc th, .calc td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.calc th { font-weight: 600; }
.calc td { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc .total th, .calc .total td { background: var(--navy); color: var(--white); border-bottom: 0; font-weight: 900; font-size: 1.15rem; }
@media (max-width: 760px) { .example { grid-template-columns: 1fr; gap: 24px; } }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.prose p { font-size: 1.15rem; color: #33383e; max-width: 34em; }
.about-logo { margin: 0; justify-self: center; max-width: 360px; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-logo { max-width: 260px; } }

details { border-top: 2px solid var(--ink); padding: 4px 0; }
details:last-of-type { border-bottom: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 800; font-size: 1.15rem; padding: 16px 40px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.6rem; font-weight: 600; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; max-width: 40em; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--amber) 33%, var(--teal) 33% 66%, var(--blue) 66%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sign-up */
.signup { background: var(--sign); color: var(--white); }
.signup .section-lede { color: rgba(255,255,255,.85); }
.signup-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.contact span { font-weight: 800; }
.contact a { color: var(--amber); font-weight: 700; overflow-wrap: anywhere; }
.footer a { overflow-wrap: anywhere; }
.docs-h { margin-top: 40px; }

.form { background: var(--white); color: var(--ink); border-radius: var(--radius-sign); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid #b9bfbc; border-radius: 8px; padding: 10px 12px; min-height: 46px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(22,99,230,.25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-msg.error { color: #b3261e; }
.form-msg.ok { color: var(--teal); }
@media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy-dark); color: #c9cdd1; padding-top: 56px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 28em; }
.footer-h { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-block: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
