:root {
  --bg: #0b1220;
  --bg-elev: #10192b;
  --surface: #152033;
  --surface-2: #1b2940;
  --line: rgba(197, 210, 228, 0.16);
  --text: #f4f7fb;
  --muted: #c5d2e4;
  --accent: #2dd4bf;
  --accent-2: #5eead4;
  --accent-ink: #04211e;
  --gold: #f6d776;
  --ok-bg: #123028;
  --ok-text: #d7ffe9;
  --warn-bg: #2a2416;
  --warn-text: #ffe7b8;
  --input: #0e1728;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1080px;
  --header: 4.5rem;
  --font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(45, 212, 191, 0.14), transparent 60%),
    var(--bg);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--accent-2);
}

a:hover {
  color: #e7fffb;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

.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;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.kicker {
  margin-bottom: 0.6rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section-head p,
.lede,
.fine-print {
  color: var(--muted);
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.98rem;
}

section {
  padding: 4.25rem 0;
  scroll-margin-top: 5.25rem;
}

.band {
  background: var(--bg-elev);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-top: 3px solid var(--accent);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.wordmark {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: clamp(0.98rem, 2.4vw, 1.2rem);
  line-height: 1.2;
}

.wordmark:hover {
  color: var(--text);
}

.wordmark-tail {
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-close {
  display: none;
}

.nav-open .icon-open {
  display: none;
}

.nav-open .icon-close {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.45rem 0.1rem;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-links a[aria-current="true"] {
  color: var(--accent-2);
}

.header-phone {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent-2);
}

.menu-contact {
  display: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-2);
  color: var(--accent-ink);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(94, 234, 212, 0.75);
}

.btn-secondary:hover {
  background: rgba(45, 212, 191, 0.12);
  color: var(--text);
  text-decoration: none;
}

.nav-links a.nav-cta {
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.nav-links a.nav-cta:hover {
  background: var(--accent-2);
  color: var(--accent-ink);
}

.hero-grid,
.contact-grid,
.plan-grid,
.service-grid,
.why-grid,
.steps {
  display: grid;
  gap: 1rem;
}

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

.lede {
  font-size: 1.08rem;
  max-width: 42rem;
}

.glance,
.card,
.plan,
.why-lead,
.contact-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glance,
.why-lead,
.contact-card,
.form-card,
.card,
.plan,
.step {
  padding: 1.25rem;
}

.glance h2 {
  font-size: 1.25rem;
}

.facts {
  margin: 0;
}

.facts div + div {
  margin-top: 0.9rem;
}

.facts dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

.why-lead {
  border-color: rgba(45, 212, 191, 0.45);
  margin-bottom: 1rem;
}

.why-grid {
  gap: 1rem;
}

.card h3,
.step h3,
.plan h3 {
  margin-top: 0.35rem;
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-2);
}

.icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.card p,
.step p,
.plan p,
.why-lead p,
.contact-card p {
  color: var(--muted);
}

.plan-kicker {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-price {
  margin: 0.85rem 0 0;
}

.plan-amount {
  display: block;
  color: var(--text);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan-cadence {
  color: var(--muted);
  font-size: 0.92rem;
}

.plan ul,
.step-list {
  margin: 0.9rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.plan {
  display: flex;
  flex-direction: column;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.range-board {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.range-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.range-figure strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

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

.step-num {
  margin-bottom: 0.35rem;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.client-strip {
  padding: 2rem 0;
  border-block: 1px solid var(--line);
}

.client-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}

.client-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-link {
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.form-note,
.form-status {
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
}

.form-note,
.form-status.is-warning {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.form-status.is-ok {
  background: var(--ok-bg);
  color: var(--ok-text);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.req {
  color: var(--accent-2);
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(197, 210, 228, 0.28);
  background: var(--input);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

::placeholder {
  color: #b7c6db;
  opacity: 1;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-2) 50%),
    linear-gradient(135deg, var(--accent-2) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.75rem) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: #ffb4b4;
}

.form-card .btn {
  width: 100%;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  background: #080e1a;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 799px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.5rem 1rem 1rem;
    background: #10192b;
    border-bottom: 1px solid var(--line);
  }

  .nav-open .menu-contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.35rem;
  }

  .nav-links a.nav-cta {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .btn-row .btn,
  .plan .btn,
  .form-card .btn {
    width: 100%;
  }
}

@media (min-width: 700px) {
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .range-board {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
