:root {
  color-scheme: light;
  --ink: #101623;
  --muted: #4d5b6b;
  --night: #0e1625;
  --storm: #141c2f;
  --rain-slate: #526982;
  --harbor: #315f7c;
  --copper: #c85d33;
  --copper-dark: #9c3f20;
  --amber: #ffd166;
  --amber-dark: #8a5d00;
  --paper: #fffaf0;
  --mist: #f4f7fb;
  --line: #cdd8e4;
  --white: #ffffff;
  --danger: #b7322c;
  --focus: #f4b942;
  --shadow: 0 24px 70px rgba(14, 22, 37, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-height: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--mist);
  color: var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.18), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4f8 48%, #fffaf0 100%);
  color: var(--ink);
}

img { max-width: 100%; height: auto; display: block; }

a { color: #1d5678; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
a:hover { color: var(--copper-dark); }

button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 22, 37, 0.94);
  color: var(--paper);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  max-width: var(--max);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0.55rem clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-lockup, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brand-name { display: block; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-sub { display: block; color: #d7e3ef; font-size: 0.76rem; font-weight: 700; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.6vw, 1rem);
  font-size: 0.92rem;
}

.site-nav a {
  color: #eff6ff;
  text-decoration: none;
  font-weight: 750;
  padding: 0.55rem 0.35rem;
  border-radius: 999px;
}

.site-nav a:hover { color: var(--amber); }

.header-cta, .header-phone, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  background: var(--amber);
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(255, 209, 102, 0.22);
}

.header-phone {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.button:hover, .header-cta:hover, .header-phone:hover { transform: translateY(-1px); }
.button-primary { background: var(--amber); color: var(--ink); box-shadow: 0 14px 30px rgba(255, 209, 102, 0.24); }
.button-primary:hover { background: #ffc247; color: var(--ink); }
.button-ghost { color: var(--paper); border: 1px solid rgba(255, 255, 255, 0.44); background: rgba(255, 255, 255, 0.08); }
.button-ghost:hover { color: var(--white); background: rgba(255, 255, 255, 0.15); }
.button-text { color: #ffe3a0; min-height: 44px; padding-inline: 0.25rem; }
.button-text:hover { color: var(--white); }

.section-dark {
  background:
    linear-gradient(135deg, rgba(20, 28, 47, 0.98), rgba(14, 22, 37, 0.96)),
    radial-gradient(circle at top right, rgba(255, 209, 102, 0.22), transparent 28rem);
  color: var(--paper);
}

.section-dark a:not(.button) { color: #ffe3a0; }
.section-dark a:not(.button):hover { color: var(--white); }
.section-dark .surface-card, .surface-card {
  background: rgba(255, 250, 240, 0.98);
  color: var(--ink);
  border: 1px solid rgba(205, 216, 228, 0.9);
  box-shadow: var(--shadow);
}
.section-dark .surface-card p, .section-dark .surface-card li, .surface-card p, .surface-card li { color: #2d3948; }
.section-dark .surface-card h2, .section-dark .surface-card h3, .surface-card h2, .surface-card h3 { color: var(--ink); }

.hero {
  padding: clamp(2.25rem, 5vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2.75rem);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.hero-copy h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 11ch;
}

.hero-lede, .page-hero p {
  color: #dce8f4;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 58ch;
}

.eyebrow, .form-kicker {
  margin: 0 0 0.7rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 950;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

.triage-list {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.triage-list li {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #eef5fb;
}

.emergency-card {
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.35rem);
}

.emergency-card h2 { margin: 0 0 0.5rem; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1; }

.hero-figure {
  max-width: var(--max);
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.3);
  background: var(--night);
}

.hero-figure img { width: 100%; max-height: 420px; object-fit: cover; }
.hero-figure figcaption, .caption {
  margin: 0;
  padding: 0.8rem 1rem;
  color: #eaf1f8;
  background: rgba(14, 22, 37, 0.94);
  font-size: 0.94rem;
}

.section, .page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.section-tight { padding-top: clamp(2rem, 4vw, 3.2rem); }

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.section-heading h2, .content-stack h2, .feature-copy h2, .cta-slab h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading p, .content-stack p, .feature-copy p, .cta-slab p { color: var(--muted); font-size: 1.02rem; }

.problem-grid, .step-grid, .service-list, .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.problem-card, .step-card, .info-card, .faq-item {
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.35rem);
}

.problem-card h3, .step-card h3, .info-card h3, .faq-item h2 { margin: 0.5rem 0 0.45rem; font-size: 1.28rem; line-height: 1.12; }

.status-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(20, 28, 47, 0.07);
}
.status-dot.amber { background: var(--amber); }
.status-dot.red { background: var(--danger); }
.status-dot.blue { background: var(--harbor); }

.feature-band {
  max-width: var(--max);
  margin: clamp(1rem, 4vw, 2rem) auto;
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  box-shadow: var(--shadow);
}

.feature-media {
  border-radius: 24px;
  overflow: hidden;
  background: var(--night);
}

.feature-copy p, .feature-copy li { color: #e5edf7; }
.feature-copy .eyebrow { color: var(--amber); }

.check-list {
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--amber);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--storm);
  color: var(--amber);
  font-weight: 950;
}

.cta-slab {
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-slab p { color: #e1ebf5; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; }

.page-hero {
  padding: clamp(2.4rem, 6vw, 5.2rem) clamp(1rem, 4vw, 2rem);
}

.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { max-width: 14ch; }
.page-hero .button { margin-top: 0.8rem; }

.page-shell { padding-top: clamp(2rem, 4vw, 3rem); }
.content-stack { max-width: 900px; }
.content-stack > * + * { margin-top: 1rem; }
.content-stack h2 { margin-top: 2.25rem; }
.content-stack h3 { margin-top: 1.5rem; font-size: 1.3rem; }
.content-stack ul, .content-stack ol { padding-left: 1.3rem; color: var(--muted); }
.content-stack li + li { margin-top: 0.45rem; }

.callout, .notice-box {
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  background: #fff3cf;
  border: 1px solid #e6bd5b;
  color: #3a2b0a;
}

.content-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.image-proof {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow);
}

.lead-form { display: grid; gap: 0.9rem; margin-top: 1rem; }
.field-row { display: grid; gap: 0.8rem; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-control { display: grid; gap: 0.35rem; }
.field-control label, .consent-check label { font-weight: 850; color: var(--ink); }
.field-control label span { color: var(--muted); font-weight: 750; }
.field-control label strong { color: var(--copper-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.field-control input, .field-control select, .field-control textarea {
  width: 100%;
  border: 1px solid #aebdca;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 0.82rem 0.88rem;
  min-height: 46px;
}
.field-control textarea { resize: vertical; }
.field-note, .form-disclaimer { margin: 0; color: #526070; font-size: 0.88rem; }
.consent-check { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.consent-check input { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-submit { width: 100%; }

.site-footer {
  background: var(--night);
  color: var(--paper);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 1rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: clamp(1rem, 4vw, 3rem);
}
.site-footer h2 { font-size: 1rem; margin: 0 0 0.7rem; color: var(--amber); }
.site-footer p, .site-footer li { color: #d7e3ef; }
.site-footer a { color: #ffe3a0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 0.85rem; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-grid, .feature-band, .split-heading, .cta-slab { grid-template-columns: 1fr; }
  .problem-grid, .step-grid, .service-list, .faq-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a:nth-child(n+3) { display: none; }
  .header-phone { display: none; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  :root { --header-height: 62px; }
  .header-inner { gap: 0.55rem; padding: 0.42rem 0.75rem; }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 0.95rem; }
  .site-nav { display: none; }
  .header-cta { padding: 0.7rem 0.82rem; font-size: 0.88rem; }
  .hero { padding-top: 2rem; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.35rem, 16vw, 4.2rem); }
  .problem-grid, .step-grid, .service-list, .faq-grid, .footer-grid, .two-col, .content-grid-two { grid-template-columns: 1fr; }
  .hero-figure figcaption, .caption { font-size: 0.88rem; }
  .footer-bottom { display: grid; }
}

@media (max-height: 480px) and (orientation: landscape) {
  :root { --header-height: 52px; }
  .header-inner { min-height: var(--header-height); padding-block: 0.25rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-sub { display: none; }
  .hero { padding-top: 1.25rem; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 3.4rem); }
  .hero-lede { font-size: 1rem; }
  .triage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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