:root {
  --brand-navy: #0b1d35;
  --brand-blue: #1e5bd9;
  --brand-sky: #58a6ff;
  --brand-amber: #f7b731;
  --brand-coral: #ef6f6c;
  --ink-900: #0e1526;
  --ink-700: #2c3b52;
  --ink-500: #5b6b85;
  --ink-300: #9aa8bf;
  --cloud-100: #f6f8fb;
  --cloud-200: #e7edf5;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow-strong: 0 28px 55px rgba(5, 18, 41, 0.25);
  --shadow-soft: 0 16px 30px rgba(12, 28, 58, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(circle at top left, #f7f9ff 0%, #eef3fb 40%, #ffffff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 27, 54, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--brand-navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
}

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

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

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  color: white;
  box-shadow: 0 18px 30px rgba(30, 91, 217, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--brand-navy);
  border: 1px solid rgba(30, 91, 217, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(30, 91, 217, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--brand-navy);
}

.hero p {
  font-size: 1.1rem;
  color: var(--ink-700);
  margin-bottom: 28px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(30, 91, 217, 0.12);
}

.hero-card .stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(12, 28, 58, 0.12);
}

.hero-card .stat:last-child {
  border-bottom: none;
}

.hero-card .stat strong {
  font-size: 1.1rem;
}

.hero-shape {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.4), rgba(88, 166, 255, 0));
  filter: blur(12px);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--brand-navy);
}

.section-subtitle {
  color: var(--ink-500);
  max-width: 720px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 29, 53, 0.08);
}

.card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.feature-shelf .card {
  position: relative;
  overflow: hidden;
}

.feature-shelf .card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(247, 183, 49, 0.2);
  border-radius: 40px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.panel {
  background: linear-gradient(130deg, #ffffff 0%, #f2f6ff 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid rgba(30, 91, 217, 0.12);
  box-shadow: var(--shadow-strong);
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
}

.highlight-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-amber);
  box-shadow: 0 0 0 6px rgba(247, 183, 49, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 29, 53, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card.highlight {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 22px 40px rgba(30, 91, 217, 0.25);
}

.price {
  font-size: 2rem;
  font-family: "Space Grotesk", "Sora", sans-serif;
}

.table-wrap {
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 28, 58, 0.08);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(12, 28, 58, 0.08);
  text-align: left;
  font-size: 14px;
}

.table th {
  background: #f2f6ff;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 91, 217, 0.12);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
}

.cta {
  background: linear-gradient(135deg, var(--brand-navy), #0f2e5a);
  color: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 48px;
  display: grid;
  gap: 16px;
}

.cta .btn-primary {
  background: var(--brand-amber);
  color: var(--brand-navy);
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

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

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(12, 28, 58, 0.16);
  font-family: inherit;
  font-size: 14px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--ink-500);
}

/* Carrier Lookup Section */
.lookup-section {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.lookup-label {
  display: block;
  font-size: 13px;
  color: var(--ink-600);
  margin-bottom: 8px;
  font-weight: 500;
}

.lookup-toggle {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dot-mc-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: left;
}

.dot-mc-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  line-height: 1;
}

.dot-mc-option input[type="radio"] {
  margin: 0;
}

.toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--cloud-300);
  background: var(--cloud-100);
  font-size: 12px;
  color: var(--ink-600);
  cursor: pointer;
}

.toggle-option input[type="radio"] {
  width: auto;
  padding: 0;
  margin: 0;
  border: none;
  accent-color: var(--brand-blue);
}

.toggle-option span {
  line-height: 1;
}

.toggle-option input[type="radio"]:checked + span {
  color: var(--brand-blue);
  font-weight: 600;
}

.toggle-option input[type="radio"]:focus-visible + span {
  outline: 2px solid rgba(30, 91, 217, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 520px) {
  .dot-mc-toggle {
    flex-direction: column;
    align-items: flex-start;
  }
}

.lookup-input-row {
  display: flex;
  gap: 8px;
}

.lookup-input-row input {
  flex: 1;
  margin-bottom: 0;
}

.btn-small {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.lookup-status {
  font-size: 13px;
  margin-top: 8px;
  min-height: 18px;
}

.lookup-switch {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand-blue);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.lookup-switch:focus-visible {
  outline: 2px solid rgba(30, 91, 217, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

.form-divider {
  display: flex;
  align-items: center;
  margin: 10px 0 12px;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cloud-300);
}

.form-divider span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--cloud-300);
  background: var(--cloud-100);
}

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

.input-row input {
  flex: 1;
  margin-bottom: 12px;
}

.input-row input:last-child {
  flex: 0.5;
}

.inline-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.inline-field label {
  font-size: 0.9rem;
  color: var(--carbon);
  white-space: nowrap;
  font-weight: 500;
}

.inline-field input {
  flex: 1;
  margin-bottom: 0;
}

.footer {
  padding: 60px 0;
  background: var(--brand-navy);
  color: white;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--brand-navy);
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(12, 28, 58, 0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 60px 0 80px;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 18px;
  }

  .cta {
    padding: 28px;
  }
}
