:root {
  --ink: #e6edf6;
  --muted: #94a4b9;
  --bg: #160b2e;
  --panel: #21143d;
  --card: rgba(31, 18, 55, 0.92);
  --card-strong: rgba(41, 25, 72, 0.98);
  --border: rgba(196, 181, 253, 0.16);
  --border-strong: rgba(196, 181, 253, 0.28);
  --primary: #7c3aed;
  --primary-deep: #4c1d95;
  --primary-soft: #c4b5fd;
  --accent: #c9aa69;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --glow: 0 18px 38px rgba(124, 58, 237, 0.28);
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.3), transparent 30%),
    radial-gradient(circle at top right, rgba(201, 170, 105, 0.08), transparent 24%),
    linear-gradient(180deg, #160b2e 0%, #231044 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 72%);
  opacity: 0.18;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  background: rgba(24, 12, 49, 0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 132px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  flex: 0 0 auto;
}

.brand-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.brand-sub {
  font-size: 12px;
  color: rgba(230, 237, 246, 0.68);
}

.nav {
  display: none;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 238, 247, 0.78);
}

.nav a.active {
  color: #ffffff;
}

.nav a:hover {
  text-decoration: none;
  color: #ffffff;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 940px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary {
  background: linear-gradient(180deg, #356d9f 0%, #285783 100%);
  color: #f4f8fc;
  box-shadow: var(--glow);
  border-color: rgba(142, 184, 224, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(47, 100, 151, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border-color: rgba(166, 187, 212, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-light {
  background: #ffffff;
  color: #08111d;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.92);
}

.hero,
.page-hero {
  padding: 72px 0 44px;
}

.hero-grid,
.split-grid,
.two-col {
  display: grid;
  gap: 26px;
}

.hero-grid {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(166, 187, 212, 0.11);
  background:
    radial-gradient(circle at top right, rgba(142, 184, 224, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(12, 22, 35, 0.96), rgba(12, 20, 31, 0.92));
  overflow: hidden;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: auto -14% -28% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 170, 105, 0.12), transparent 64%);
  pointer-events: none;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 34px;
  }

  .split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(232, 238, 247, 0.82);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(166, 187, 212, 0.14);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(166, 187, 212, 0.12);
  color: rgba(232, 238, 247, 0.82);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Public Sans", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  margin: 16px 0 10px;
  font-size: 42px;
  line-height: 1.04;
}

h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.1;
}

h3 {
  margin: 0;
  font-size: 18px;
}

@media (min-width: 960px) {
  h1 {
    font-size: 54px;
  }
}

.lead {
  margin: 0;
  max-width: 760px;
  color: rgba(232, 238, 247, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

.page-intro {
  max-width: 760px;
}

.section {
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.section.alt {
  background: rgba(255, 255, 255, 0.028);
}

.section-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.desc,
.muted {
  color: rgba(232, 238, 247, 0.72);
}

.desc {
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.68;
}

.muted {
  font-size: 13px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.grid-2,
.grid-3,
.grid-4,
.coverage-grid,
.package-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

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

  .grid-4,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .grid-3,
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4,
  .coverage-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card,
.panel,
.faq-item,
.cta-bar,
.package-card,
.table-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card,
.panel,
.package-card,
.table-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.card::before,
.panel::before,
.package-card::before,
.table-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 184, 224, 0.34), transparent);
}

.card p,
.panel p,
.package-card p,
.table-card p {
  margin: 10px 0 0;
  color: rgba(232, 238, 247, 0.76);
  font-size: 14px;
}

.panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--card-strong);
}

.panel-list,
.feature-list,
.link-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li,
.feature-list li,
.link-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: rgba(232, 238, 247, 0.8);
}

.panel-list li::before,
.feature-list li::before,
.link-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(241, 197, 106, 0.12);
}

.stat-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 760px) {
  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stat {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(166, 187, 212, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.stat strong {
  display: block;
  font-size: 15px;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: rgba(232, 238, 247, 0.72);
  font-size: 13px;
}

.coverage-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(166, 187, 212, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.coverage-card h3 {
  font-size: 16px;
}

.coverage-card p {
  margin: 10px 0 0;
  color: rgba(232, 238, 247, 0.74);
  font-size: 13px;
}

.section-note {
  margin-top: 18px;
}

.package-card {
  position: relative;
}

.package-card.featured {
  border-color: rgba(142, 184, 224, 0.34);
  box-shadow: 0 24px 54px rgba(31, 76, 120, 0.28);
}

.package-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(142, 184, 224, 0.12);
  color: #bfd6ec;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.package-subtitle {
  margin-top: 8px;
  color: rgba(232, 238, 247, 0.78);
  font-size: 14px;
}

.quote-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 238, 247, 0.68);
  font-size: 12px;
}

.cta-bar,
.callout {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(49, 96, 145, 0.98), rgba(20, 50, 80, 0.98));
  color: #edf4fb;
  box-shadow: var(--glow);
}

.cta-bar p,
.callout p {
  margin: 8px 0 0;
  color: rgba(237, 244, 251, 0.82);
}

.cta-bar .btn-secondary,
.callout .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #edf4fb;
}

@media (min-width: 900px) {
  .cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  overflow: hidden;
  background: rgba(13, 24, 42, 0.9);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: rgba(232, 238, 247, 0.76);
  font-size: 14px;
}

.comparison-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-shell {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 980px) {
  .form-shell {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
  }
}

.form-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--card-strong);
  box-shadow: var(--shadow);
}

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

.form-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

.field label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 238, 247, 0.9);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(166, 187, 212, 0.18);
  border-radius: 14px;
  background: rgba(8, 18, 31, 0.9);
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(232, 238, 247, 0.42);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(142, 184, 224, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 100, 151, 0.16);
  background: rgba(10, 22, 36, 0.96);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.microcopy,
.thank-you-helper {
  margin: 0;
  font-size: 13px;
  color: rgba(232, 238, 247, 0.68);
}

.form-status {
  min-height: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(232, 238, 247, 0.74);
}

.form-status.pending {
  color: #d7e8fa;
}

.form-status.error {
  color: #ffd1c5;
}

.fallback-card {
  padding: 18px;
  border: 1px solid rgba(201, 170, 105, 0.2);
  border-radius: 18px;
  background: rgba(201, 170, 105, 0.08);
}

.fallback-card p {
  margin: 10px 0 0;
}

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

.kicker {
  color: #d4e4f4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.024);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(232, 238, 247, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 144px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

.footer-note {
  margin-top: 12px;
  color: rgba(232, 238, 247, 0.6);
  font-size: 12px;
}

.inline-link {
  color: #b8d6ff;
}

.anchor-offset {
  scroll-margin-top: 96px;
}

@media (max-width: 720px) {
  .topbar-inner,
  .top-actions {
    align-items: flex-start;
  }

  .topbar-inner {
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .top-actions .btn {
    flex: 1 1 220px;
  }

  .brand-logo {
    width: 116px;
  }

  .footer-logo {
    width: 128px;
  }
}
