:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f7;
  --ink: #13212e;
  --muted: #526575;
  --line: #d8e1e8;
  --navy: #0d2436;
  --navy-soft: #17364c;
  --teal: #087f8c;
  --teal-dark: #066671;
  --accent: #f2b84b;
  --accent-hover: #dda337;
  --max: 1160px;
  --radius: 12px;
  --shadow: 0 12px 34px rgba(13, 36, 54, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell { min-height: 100vh; overflow: hidden; }

.hero {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(8, 127, 140, 0.25), transparent 30%),
    linear-gradient(135deg, #0b2030 0%, #102b3f 100%);
}

/* Capture stays within the Ghostlight system, but uses a cooler product palette. */
.capture-page {
  --teal: #087f8c;
  --teal-dark: #066671;
  --navy: #0a2931;
  --navy-soft: #123e47;
  --surface-alt: #edf7f7;
}

.capture-page .hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(25, 170, 177, 0.28), transparent 31%),
    linear-gradient(135deg, #09242d 0%, #0d3740 100%);
}

.capture-page .brand-mark {
  color: #06282e;
  background: #68d1d2;
}

.capture-page .section-heading .eyebrow,
.capture-page .structure-url,
.capture-page .price-kicker {
  color: #087987;
}

.capture-page .structure-card.structure-highlight {
  border-top-color: #12a6ad;
}

.capture-page .steps article > span,
.capture-page .coverage-card li::before,
.capture-page .contact-list li::before {
  background: #0e939d;
}

.capture-page .contact-section {
  background: #082a32;
}

.capture-page .site-footer {
  background: #061e25;
}

.topbar {
  width: min(calc(100% - 40px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 15px; }
.brand-text span { margin-top: 4px; color: #afc0cc; font-size: 12px; }

.topbar-links { display: flex; align-items: center; gap: 24px; }
.topbar-links > a:not(.button) { color: #d7e1e7; font-size: 14px; font-weight: 600; text-decoration: none; }
.topbar-links > a:not(.button):hover { color: #fff; }

.hero-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 82px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 68px;
  align-items: center;
}

.hero-copy { max-width: 720px; }

.eyebrow,
.panel-label,
.signal-label,
.price-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .panel-label,
.hero .signal-label { color: #7dd4d9; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2, h3 {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 { max-width: 760px; font-size: clamp(40px, 5vw, 64px); font-weight: 750; }
h2 { max-width: 820px; font-size: clamp(30px, 3.5vw, 44px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 750; }

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d4dfe6;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions.compact { margin-top: 20px; }

.button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { color: #14202a; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary, .button-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.button-secondary:hover, .button-ghost:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.07); }

.hero-points,
.contact-list,
.coverage-card ul,
.signal-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points { display: grid; gap: 10px; color: #c4d1da; font-size: 14px; }
.hero-points li, .contact-list li, .coverage-card li, .signal-list li { position: relative; padding-left: 22px; }
.hero-points li::before, .contact-list li::before, .coverage-card li::before, .signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-points li::before, .signal-list li::before { background: var(--accent); }

.hero-panel, .signal-panel { display: grid; gap: 16px; }

.panel-card, .signal-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #dce6eb;
  background: rgba(6, 23, 34, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.panel-card p, .signal-card p { margin-top: 0; }
.panel-card > p:last-child, .signal-card > p:last-child { margin-bottom: 0; }
.panel-muted { background: rgba(255, 255, 255, 0.04); }

.panel-stack { display: grid; gap: 10px; }
.panel-stack article { padding: 15px 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); display: grid; gap: 3px; }
.panel-stack article span { color: #aebfc9; font-size: 12px; }
.panel-stack article strong { color: #fff; }
.panel-stack article.active { border-left: 3px solid var(--accent); }

.signal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.signal-metrics article { padding: 16px 10px; border-radius: 8px; text-align: center; background: rgba(255, 255, 255, 0.06); }
.signal-metrics strong { display: block; color: #fff; font-size: 27px; line-height: 1; }
.signal-metrics span { display: block; margin-top: 7px; color: #afc0ca; font-size: 12px; }
.signal-note { margin: 18px 0 0 !important; color: #bdcbd4; font-size: 14px; }
.glow-card { border-top-color: rgba(242, 184, 75, 0.5); }
.price-range { margin: 0; color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 82px 0;
}

.section + .section { border-top: 1px solid var(--line); }
.section.band { width: 100%; padding-left: max(20px, calc((100% - var(--max)) / 2)); padding-right: max(20px, calc((100% - var(--max)) / 2)); background: var(--surface-alt); }
.section-heading { margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 12px; }

.three-up,
.problem-grid,
.structure-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.three-up article,
.problem-grid article,
.structure-card,
.coverage-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(13, 36, 54, 0.025);
}

.three-up p,
.problem-grid p,
.structure-card p,
.coverage-card p { margin: 13px 0 0; color: var(--muted); }

.structure-card.structure-highlight { border-top: 4px solid var(--teal); padding-top: 23px; }
.structure-url { color: var(--teal) !important; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.steps article { padding: 27px 24px; background: var(--surface); }
.steps article > span { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 18px; border-radius: 7px; color: #fff; background: var(--teal); font-size: 12px; font-weight: 800; }
.steps p { margin: 12px 0 0; color: var(--muted); }

.coverage-card ul { display: grid; gap: 11px; color: var(--muted); }
.coverage-card li::before { top: 0.58em; }

.quote-section { padding-top: 70px; padding-bottom: 70px; text-align: center; }
.quote-section blockquote { max-width: 900px; margin: 0 auto; color: var(--navy); font-size: clamp(28px, 3vw, 40px); font-weight: 750; line-height: 1.3; letter-spacing: -0.03em; }
.quote-section > p { max-width: 720px; margin: 22px auto 0; color: var(--muted); }

.contact-section { width: 100%; padding-left: max(20px, calc((100% - var(--max)) / 2)); padding-right: max(20px, calc((100% - var(--max)) / 2)); color: #fff; background: var(--navy); }
.contact-section .eyebrow { color: #7dd4d9; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr); gap: 48px; align-items: start; }
.contact-grid > div > p { margin-top: 0; color: #ccd8df; }
.contact-list { display: grid; gap: 10px; color: #dbe4e9; }
.contact-list li::before { background: var(--accent); }
.contact-card { padding: 26px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); }
.contact-link { color: #fff; font-size: 20px; font-weight: 750; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.price-copy, .contact-note { color: #c8d4db; }
.contact-note { margin-bottom: 0; font-size: 13px; }

.text-link { display: inline-block; margin-top: 16px; color: var(--teal-dark); font-weight: 800; text-underline-offset: 4px; }

.site-footer {
  min-height: 76px;
  padding: 20px max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #aebec8;
  background: #081b29;
  font-size: 13px;
}
.site-footer a { color: #d9e2e7; }

.legal-page { max-width: 800px; }
.legal-page h1 { color: var(--navy); font-size: clamp(38px, 5vw, 56px); }
.legal-page h2 { margin-top: 40px; font-size: 25px; }
.legal-page .hero-text { color: var(--muted); font-size: 16px; }
.legal-page .button-primary { color: var(--navy); }

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

@media (max-width: 920px) {
  .topbar { min-height: 70px; }
  .topbar-links > a:not(.button) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding: 62px 0 68px; }
  .hero-panel, .signal-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-up, .problem-grid, .structure-grid, .coverage-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar, .hero-grid, .section { width: min(calc(100% - 28px), var(--max)); }
  .topbar { gap: 12px; }
  .brand-text span { display: none; }
  .topbar .button { min-height: 40px; padding: 0 13px; }
  .hero-grid { padding: 48px 0 54px; }
  h1 { font-size: 39px; }
  h2 { font-size: 30px; }
  .hero-text { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-panel, .signal-panel, .three-up, .problem-grid, .structure-grid, .coverage-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section.band, .contact-section { padding: 58px 14px; }
  .three-up article, .problem-grid article, .structure-card, .coverage-card { padding: 22px; }
  .signal-metrics strong { font-size: 23px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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