:root {
  --navy-950: #060d18;
  --navy-900: #0b1628;
  --navy-800: #0f1f38;
  --navy-700: #152a4a;
  --navy-600: #1e3a66;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --white: #ffffff;
  --gold: #c9a227;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-200);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 40%, var(--navy-800) 100%);
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--white);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 13, 24, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-600));
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem;
  background: var(--navy-950);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  overflow-y: auto;
}

.site-nav.is-open {
  display: flex;
}

.nav-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: var(--slate-200);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(37, 99, 235, 0.12);
}

.nav-cta {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.72rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), #1d4ed8);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-300);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  cursor: not-allowed;
  opacity: 0.85;
}

.btn-ghost:hover {
  transform: none;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.badge-soon {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold);
}

/* CTA bar */
.cta-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-bar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-bar .btn {
    flex: 1 1 auto;
    min-width: 160px;
  }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-300);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 52ch;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--white);
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0;
  color: var(--slate-300);
  font-size: 0.95rem;
}

.hero-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--blue-400);
}

@media (min-width: 900px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.18);
  border-block: 1px solid rgba(148, 163, 184, 0.08);
}

.section-header {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--slate-400);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-300);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--white);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-400);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--slate-400);
  max-width: 60ch;
}

/* Prose (legal + about) */
.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--white);
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--slate-200);
}

.prose p,
.prose li {
  color: var(--slate-400);
  font-size: 0.95rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose a {
  color: var(--blue-300);
}

.prose .updated {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--white);
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.92rem;
}

/* Service area list */
.zip-regions {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .zip-regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.region-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.region-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--white);
}

.region-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: var(--navy-950);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-name {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline,
.footer-contact {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0.25rem 0;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-note {
  font-size: 0.75rem !important;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}
