:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #dbe3ee;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --blue: #2563eb;
  --blue-dark: #173b9c;
  --orange: #f97316;
  --green: #0f9f6e;
  --navy: #0f172a;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.78);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark) 56%, var(--orange));
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: #b5c7e0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-panel.open {
  display: block;
}

.mobile-panel .shell {
  display: grid;
  gap: 8px;
  padding: 12px 0 16px;
}

.mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-weight: 750;
}

.mobile-panel a.active,
.mobile-panel a:hover {
  color: var(--navy);
  background: var(--wash);
}

.mobile-panel .btn {
  margin-top: 6px;
  color: #fff;
}

.mobile-cta {
  display: none;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  padding: 40px 0 22px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  gap: 54px;
  align-items: center;
  padding: 70px 0 62px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

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

h1 {
  max-width: 820px;
  margin: 22px 0 18px;
  color: var(--navy);
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(42px, 5.2vw, 66px);
}

.hero-copy,
.page-copy {
  max-width: 650px;
  color: #3f4957;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 650px;
}

.proof,
.mini-proof,
.card,
.step,
.price-card,
.faq-item,
.form-panel,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.proof {
  padding: 14px;
}

.proof strong {
  display: block;
  color: var(--navy);
  font-size: 21px;
  line-height: 1;
  margin-bottom: 6px;
}

.proof span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.dashboard {
  overflow: hidden;
  border: 1px solid #cad6e6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-dots span:nth-child(1) {
  background: #fb7185;
}

.window-dots span:nth-child(2) {
  background: #fbbf24;
}

.window-dots span:nth-child(3) {
  background: #34d399;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #075b42;
  background: #e7f8f1;
  border: 1px solid #bdebd8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}

.dash-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  min-height: 500px;
}

.dash-sidebar {
  padding: 18px;
  background: #f8fafc;
  border-right: 1px solid var(--line);
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 13px;
  border: 1px solid #dbe5f2;
  border-radius: var(--radius);
  background: #fff;
}

.metric label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.territory {
  margin-top: 14px;
  padding: 14px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #233252);
}

.territory p {
  margin: 7px 0 0;
  color: #cdd8e7;
  font-size: 14px;
}

.dash-main {
  padding: 18px;
}

.pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.pipeline-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: 0;
}

.pipeline-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}

.tab.active {
  color: #fff;
  background: var(--blue);
}

.lead-list {
  display: grid;
  gap: 10px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border 160ms ease, transform 160ms ease;
}

.lead-row:hover {
  border-color: #b5c7e0;
  transform: translateY(-1px);
}

.lead-row h3 {
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0;
}

.lead-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.badge.hot {
  color: #084734;
  background: #dcfce7;
}

.badge.warm {
  color: #7a3412;
  background: #ffedd5;
}

.handoff {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border-radius: var(--radius);
  background: #eef4ff;
  border: 1px solid #cfe0ff;
}

.handoff strong {
  color: var(--blue-dark);
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  min-height: 250px;
  padding: 24px;
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  font-weight: 900;
}

.step h3,
.card h3,
.price-card h3,
.faq-item h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.step p,
.card p,
.faq-item p,
.summary-panel p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
}

.card h3 {
  margin-top: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.timeline-day {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.rules-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.rules-list li::before,
.check-list li::before {
  position: absolute;
  left: 4px;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #075b42;
  background: var(--green);
  content: "";
  transform: scale(0.48);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 28px;
}

.price-card.featured {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.price-card h3 {
  margin: 0;
  font-size: 24px;
}

.price {
  margin: 16px 0;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.price span {
  font-size: 15px;
  font-weight: 700;
  color: inherit;
  opacity: 0.72;
}

.price-card p,
.price-card li {
  color: inherit;
  opacity: 0.78;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0 0 0 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  padding: 22px;
}

.faq-item h3 {
  margin-top: 0;
  font-size: 18px;
}

.form-panel {
  padding: 28px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: var(--blue);
}

.notice {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.success {
  display: none;
  margin-top: 18px;
  padding: 14px;
  color: #075b42;
  border: 1px solid #bdebd8;
  border-radius: var(--radius);
  background: #e7f8f1;
  font-weight: 750;
}

.summary-panel {
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.summary-panel h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 28px;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-proof {
  padding: 14px;
}

.mini-proof strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.mini-proof span {
  color: var(--muted);
  font-size: 13px;
}

.onboarding-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.68fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 62px;
}

.onboarding-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 650px;
}

.onboarding-strip div,
.onboarding-card,
.intake-rail,
.form-section,
.onboarding-summary,
.legal-doc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.onboarding-strip div {
  padding: 14px;
}

.onboarding-strip strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}

.onboarding-strip span {
  color: var(--muted);
  font-weight: 750;
}

.onboarding-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.onboarding-card h2 {
  margin: 18px 0 16px;
  color: var(--navy);
  font-size: 30px;
}

.onboarding-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.access-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 58px 0 42px;
}

.private-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 680px;
}

.private-steps div,
.access-card,
.status-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.private-steps div {
  padding: 14px;
}

.private-steps strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}

.private-steps span {
  color: var(--muted);
  font-weight: 750;
}

.access-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.access-card h2 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 30px;
}

.access-card p {
  color: var(--muted);
}

.access-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.status-note {
  display: none;
  padding: 12px;
  color: var(--muted);
  background: #fbfcff;
  font-size: 14px;
  font-weight: 700;
}

.status-note.success,
.status-note.error {
  display: block;
}

.status-note.success {
  color: #076448;
  background: #e7f8f1;
}

.status-note.error {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.intake-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.intake-rail {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.intake-rail h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 22px;
}

.rail-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--muted);
}

.rail-item.active,
.rail-item:hover {
  color: var(--navy);
  background: #eef4ff;
}

.rail-item span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.intake-form {
  display: grid;
  gap: 18px;
}

.form-section {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.form-section.compact {
  gap: 12px;
}

.form-section h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 26px;
}

.section-kicker {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.check-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 700;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.check-field a {
  color: var(--blue-dark);
  text-decoration: underline;
}

.onboarding-summary {
  display: none;
  padding: 14px;
  color: var(--muted);
  background: #fbfcff;
}

.onboarding-summary.show {
  display: block;
}

.legal-page {
  padding: 62px 0 82px;
  background: var(--wash);
}

.legal-doc {
  max-width: 880px;
  padding: 34px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.legal-doc h1 {
  font-size: clamp(42px, 5.2vw, 64px);
}

.legal-doc h2 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 24px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.cta-band {
  padding: 54px 0;
  color: #fff;
  background: var(--navy);
}

.cta-band .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.cta-band p {
  margin: 0;
  color: #cbd5e1;
}

.footer {
  padding: 34px 0;
  color: #cbd5e1;
  background: #0b1120;
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #fff;
}

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

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .page-hero,
  .onboarding-hero,
  .access-hero,
  .split {
    grid-template-columns: 1fr;
  }

  .dashboard {
    max-width: 820px;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 66px;
  }

  .nav-links,
  .nav-actions > .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .page-hero,
  .access-hero {
    gap: 34px;
    padding-top: 42px;
  }

  .dash-grid,
  .intake-layout,
  .feature-grid,
  .steps,
  .pricing,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intake-rail {
    position: static;
  }

  .pipeline-head,
  .handoff,
  .cta-band .shell {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .shell {
    width: min(100% - 28px, 1160px);
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-copy,
  .page-copy {
    font-size: 17px;
  }

  .proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .proof {
    min-width: 0;
    padding: 10px;
  }

  .proof strong {
    font-size: 18px;
  }

  .proof span {
    font-size: 11px;
  }

  .dash-status {
    max-width: 180px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-strip,
  .private-steps {
    grid-template-columns: 1fr;
  }

  .price-card,
  .form-panel,
  .summary-panel,
  .legal-doc,
  .access-card,
  .card,
  .step {
    padding: 20px;
  }

  .mobile-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 40;
    display: flex;
    justify-content: center;
    min-height: 50px;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.34);
  }
}
