:root {
  --navy: #071827;
  --graphite: #1d2935;
  --cyan: #19c9d8;
  --gold: #c9a45c;
  --silver: #f4f7fa;
  --muted: #70808f;
  --line: rgba(7, 24, 39, 0.12);
  --shadow: 0 24px 80px rgba(7, 24, 39, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 36%, #f4f7fa 100%);
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: rgba(244, 247, 250, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 24, 39, 0.08);
}

.brand img { width: 148px; height: auto; display: block; }
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--graphite); }
.nav-cta { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--cyan); padding-bottom: 4px; }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(54px, 8vw, 112px) clamp(22px, 5vw, 72px);
}

.hero h1, .section h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.hero h1 { font-size: clamp(46px, 7vw, 86px); max-width: 940px; }
.section h2 { font-size: clamp(34px, 4.6vw, 58px); max-width: 860px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lead {
  margin: 24px 0 0;
  max-width: 690px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--graphite);
}
.microcopy { color: var(--muted); margin: 18px 0 0; font-size: 14px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}
.button.primary { background: var(--navy); color: white; box-shadow: 0 14px 32px rgba(7,24,39,.2); }
.button.secondary { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,.62); }
.button.light { background: #fff; color: var(--navy); }

.hero-card {
  background: var(--navy);
  color: white;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -88px;
  top: -88px;
  background: radial-gradient(circle, rgba(25,201,216,.28), transparent 64%);
}
.card-topline { width: 72px; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--gold)); border-radius: 4px; margin-bottom: 48px; }
.hero-card h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.03em; }
.hero-card p { color: rgba(255,255,255,.76); line-height: 1.6; }
.hero-card ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero-card li { padding-left: 28px; position: relative; }
.hero-card li:before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px rgba(25,201,216,.12); }

.section { padding: clamp(58px, 8vw, 104px) clamp(22px, 5vw, 72px); }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.panel, .feature, .steps > div {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(7,24,39,.06);
}
.panel p { font-size: 19px; color: var(--graphite); line-height: 1.6; margin-top: 0; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.grid span, .feature p, .steps p { display: block; color: var(--muted); line-height: 1.55; margin-top: 8px; }
.feature h3, .steps h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.025em; }

.process { background: var(--navy); color: white; }
.process .section h2, .process h2 { color: white; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.steps > div { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.13); box-shadow: none; }
.steps span { color: var(--cyan); font-weight: 900; letter-spacing: .16em; display: inline-block; margin-bottom: 18px; }
.steps p { color: rgba(255,255,255,.72); }

.cta-band {
  margin: clamp(28px, 5vw, 72px);
  border-radius: 36px;
  background: linear-gradient(135deg, var(--navy), #0c2c42 70%, #0d4c58);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: white; }
.cta-band p:not(.eyebrow) { color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.6; max-width: 720px; }
.cta-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.82);
}
.cta-checklist li {
  position: relative;
  padding-left: 24px;
}
.cta-checklist li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(25,201,216,.12);
}
.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
  min-width: min(100%, 260px);
}
.cta-note {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.45;
  max-width: 260px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}
.site-footer div { display: grid; gap: 4px; }
.site-footer strong { color: var(--navy); }

@media (max-width: 880px) {
  nav a:not(.nav-cta) { display: none; }
  .hero, .split, .grid.two, .grid.three, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .cta-band, .site-footer { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .brand img { width: 120px; }
}

.chat-intake {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: calc(100vw - 32px);
}

.chat-launcher {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--navy);
  color: white;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 16px 42px rgba(7,24,39,.24);
  cursor: pointer;
}

.chat-launcher span { display: inline-flex; align-items: center; gap: 8px; }
.chat-launcher span:before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(25,201,216,.14); }

.chat-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 96px));
  display: grid;
  grid-template-rows: auto auto minmax(160px, 1fr) auto auto auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.chat-panel[hidden] { display: none; }

.chat-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.chat-panel-header div { display: grid; gap: 4px; }
.chat-panel-header strong { color: var(--navy); font-size: 16px; }
.chat-panel-header span, .chat-privacy-note { color: var(--muted); font-size: 12px; line-height: 1.4; }

.chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--graphite);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.chat-privacy-note {
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--silver);
}

.chat-log {
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 2px 4px 2px 0;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 17px;
  line-height: 1.45;
  font-size: 14px;
}

.chat-message.is-bot {
  background: var(--silver);
  color: var(--graphite);
  border-bottom-left-radius: 5px;
}

.chat-message.is-user {
  justify-self: end;
  background: var(--navy);
  color: white;
  border-bottom-right-radius: 5px;
}

.chat-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-choice {
  border: 1px solid rgba(25,201,216,.36);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(25,201,216,.08);
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.chat-form {
  display: flex;
  gap: 8px;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  min-height: 42px;
  color: var(--navy);
  font: inherit;
  background: #fff;
}

.chat-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--cyan);
  color: var(--navy);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.chat-form button:disabled, .chat-form input:disabled { opacity: .55; cursor: not-allowed; }
.chat-mail { width: 100%; min-height: 44px; }

@media (max-width: 560px) {
  .chat-intake { right: 12px; bottom: 12px; left: 12px; justify-items: stretch; }
  .chat-launcher { justify-self: end; }
  .chat-panel { width: 100%; max-height: calc(100vh - 84px); }
}
