/* Agent Integrations — official navy / cyan / violet */
:root {
  --bg: #050816;
  --bg-2: #0B1224;
  --bg-3: #10182C;
  --bg-elev: #0E1628;
  --ink: #F4F7FB;
  --ink-2: #C5D0DC;
  --muted: #8B9AAB;
  --cyan: #00BFFF;
  --cyan-2: #5AD4FF;
  --purple: #8A2BE2;
  --line: rgba(232, 238, 246, 0.10);
  --line-strong: rgba(0, 191, 255, 0.32);
  --focus: #00BFFF;
  --danger: #E06B5C;
  --grad: linear-gradient(90deg, #00BFFF, #8A2BE2);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --header-h: 4.75rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; scroll-padding-top: 5.2rem; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--cyan-2); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.85rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--cyan);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--grad);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  grid-column: 2;
  justify-self: center;
}
.brand img.logo {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
  grid-column: 3;
  justify-self: end;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--cyan);
  color: var(--ink);
}
.nav .btn { border-bottom: 0; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
}
.nav-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 820px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: inline-flex; grid-column: 1; justify-self: start; }
  .brand { grid-column: 2; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1.1rem;
    gap: 0;
    grid-column: 1 / -1;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn {
    margin-top: 0.7rem;
    text-align: center;
    border-bottom: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--cyan);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  border: 1px solid var(--cyan);
  line-height: 1.2;
  cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--cyan-2); color: var(--bg); border-color: var(--cyan-2); }
.nav .btn { border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0, 191, 255, 0.45);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: transparent; }
.btn-ink {
  background: var(--bg-3);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ink:hover { background: var(--bg-elev); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

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

/* Hero */
.hero {
  background: linear-gradient(180deg, #050816 0%, #0B1224 100%);
  color: var(--ink);
  padding: 3rem 0 3.2rem;
  position: relative;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}
.hero h1 { color: var(--ink); max-width: 22ch; margin-inline: auto; }
.hero .lede { color: var(--ink-2); max-width: 36rem; margin-inline: auto; }
.hero .btn-row { justify-content: center; }
.hero-brand {
  order: -1;
  justify-self: center;
  width: min(100%, 280px);
  margin-inline: auto;
}
.hero-brand img { width: 100%; height: auto; display: block; margin-inline: auto; }
.hero-note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  max-width: 36rem;
}
@media (max-width: 800px) {
  .hero { padding: 2.3rem 0 2.6rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-brand { display: block; width: min(100%, 220px); }
}

/* Sections */
.section { padding: 2.8rem 0; }
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 38rem; margin-bottom: 2rem; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  height: 100%;
}
.step .num {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.55rem;
  letter-spacing: -0.03em;
}
.step h3 { margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow);
}
.card .flag {
  position: absolute;
  top: 0;
  right: 1rem;
  background: var(--bg);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 0 0 6px 6px;
  border: 1px solid var(--line);
  border-top: 0;
}
.card h3 { margin-top: 0.15rem; }
.card .who { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.8rem; }
.card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink-2);
  flex: 1;
}
.card li { margin: 0.28rem 0; }
.card > p:not(.who):not(.includes) { flex: 1; }
.card .includes {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
}

.agents {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.agent {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.2rem 1rem 1.15rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.agent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}
.agent h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.agent p { margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 980px) {
  .agents { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .agents { grid-template-columns: 1fr; }
}

.trades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trades li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.trades .tick {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  background: var(--cyan);
  border-radius: 50%;
}
.trades strong { display: block; font-size: 1.02rem; color: var(--ink); }
.trades span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) {
  .trades { grid-template-columns: 1fr; }
}

.cta-band {
  background: var(--bg-2);
  color: var(--ink);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.cta-band::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--grad);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); max-width: 36rem; }

.page-hero {
  background: linear-gradient(180deg, #050816 0%, #0B1224 100%);
  color: var(--ink);
  padding: 2.2rem 0 1.8rem;
}
.page-hero h1 { color: var(--ink); max-width: 20ch; }
.page-hero .lede { color: var(--ink-2); }

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.compare th, .compare td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare th {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--bg-3);
}
.compare td:first-child { font-weight: 600; width: 28%; color: var(--ink); }
.yes { color: var(--ink); }
.yes::before { content: "Yes — "; color: var(--cyan); font-weight: 700; }

/* Forms */
form {
  display: grid;
  gap: 0.95rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.4rem;
  border-radius: var(--radius);
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
input, textarea, select {
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #080C18;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.18);
}
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.form-status {
  display: none;
  padding: 0.7rem 0.8rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.92rem;
}
.form-status.is-on { display: block; }

.prose p { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { max-width: 42rem; }
.fine { font-size: 0.92rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: #040612;
  color: var(--muted);
  padding: 2.2rem 0 1.6rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.site-footer a { color: var(--cyan); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--cyan-2); }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.footer-lockup {
  display: block;
  margin-bottom: 0.75rem;
  width: fit-content;
  text-decoration: none;
}
.footer-lockup img {
  height: 72px;
  width: auto;
}
.footer-lockup strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.parent {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #6E7C8C;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.legal { padding: 2.4rem 0 3rem; }
.legal h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.rule {
  height: 2px;
  width: 3.2rem;
  background: var(--grad);
  border: 0;
  margin: 0 0 1.1rem;
}

.site-footer p { color: var(--muted); }
.btn:visited { color: var(--bg); }
.btn-ghost:visited { color: var(--ink); }
.btn-ink:visited { color: var(--ink); }
a.btn { text-decoration: none; }
.compare td:not(:first-child) { color: var(--muted); }
.compare .yes { color: var(--ink-2); }
.page-hero a { color: var(--cyan); }

.card.featured h3 { padding-right: 5rem; }

/* Contact is the booking page. Form is a fallback. */
.page-contact .booking { padding-top: 2.4rem; }
.page-contact form { padding: 1.6rem 1.5rem 1.7rem; }
.page-contact textarea { min-height: 8rem; }

/* Benefits — three short claims */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 1.8rem;
}
.benefits article { padding: 0; }
.benefits h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.benefits p { margin: 0; color: var(--muted); }
@media (max-width: 800px) {
  .benefits { grid-template-columns: 1fr; }
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .cards-3 { grid-template-columns: 1fr; }
}
.addon {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Book a call — full-width HighLevel embed target */
.booking {
  padding: 2.8rem 0 3.4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  position: relative;
}
.booking::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--grad);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.booking h1, .booking h2 { margin-bottom: 0.4rem; }
.booking h1 { max-width: 16ch; }
.ghl-calendar:has(iframe) .calendar-fallback { display: none; }
.ghl-calendar {
  margin-top: 1.4rem;
  min-height: 640px;
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ghl-calendar iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: #fff;
}
.calendar-fallback {
  margin: 0;
  padding: 4.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
