:root {
  --l8-navy: #0b1220;
  --l8-text: #101827;
  --l8-muted: #475569;
  --l8-border: #e2e8f0;
  --l8-soft: #f8fafc;
  --l8-blue: #2563eb;
  --l8-purple: #7c3aed;
  --l8-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #a855f7 100%);
  --l8-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --l8-shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.08);
  --l8-radius: 24px;
  --l8-max: 1200px;
}

* {
  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(--l8-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--l8-max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--l8-max));
  min-height: 72px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button--primary {
  color: #fff;
  background: var(--l8-gradient);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.25);
}

.button--secondary {
  color: var(--l8-navy);
  background: #fff;
  box-shadow: var(--l8-shadow-soft);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.menu-toggle {
  display: inline-grid;
  align-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--l8-shadow-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--l8-navy);
}

.hero {
  position: relative;
  min-height: clamp(560px, 58vw, 700px);
  overflow: hidden;
  background: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0% 8%, rgba(255,255,255,.97) 18%, rgba(255,255,255,.88) 30%, rgba(255,255,255,.55) 42%, rgba(255,255,255,.12) 51%, transparent 58%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 58vw, 700px);
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero__copy {
  width: min(100%, 560px);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero h1 span,
.gradient-text {
  background: var(--l8-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  margin: 0 0 22px;
  color: var(--l8-muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--l8-muted);
  font-size: 14px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px max(16px, calc((100vw - var(--l8-max)) / 2));
  color: var(--l8-muted);
  background: var(--l8-soft);
  border-top: 1px solid var(--l8-border);
  border-bottom: 1px solid var(--l8-border);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.trust-bar span::before {
  content: "✓ ";
  color: var(--l8-navy);
}

.choice-section {
  padding: 70px 0 42px;
  background: #fff;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.choice-card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--l8-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--l8-shadow);
}

.choice-card img {
  width: 100%;
  display: block;
}

.plans-section,
.process-section,
.reasons-section,
.coverage-section,
.faq-section,
.app-section {
  padding: 70px 0;
}

.plans-section,
.reasons-section,
.faq-section {
  background: var(--l8-soft);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.app-section h2 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading p,
.app-section p {
  margin: 0;
  color: var(--l8-muted);
  font-size: 18px;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-card,
.coverage-card,
details {
  position: relative;
  background: #fff;
  border: 1px solid var(--l8-border);
  border-radius: var(--l8-radius);
  padding: 28px;
  box-shadow: var(--l8-shadow-soft);
}

.plan-card--featured {
  border-color: rgba(124, 58, 237, .5);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, .25), var(--l8-shadow-soft);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--l8-gradient);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.plan-card__data {
  margin: 0 0 10px;
  font-size: clamp(40px, 6vw, 54px);
  line-height: .95;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: var(--l8-navy);
}

.plan-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.plan-card__price {
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.plan-card__price span {
  color: var(--l8-muted);
  font-size: 16px;
  font-weight: 700;
}

.plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--l8-muted);
  list-style: none;
}

.plan-card li::before {
  content: "• ";
  color: var(--l8-purple);
}

.proof-section {
  color: #fff;
  background: var(--l8-navy);
  padding: 70px 0;
  text-align: center;
}

.proof-inner {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.stars {
  color: #fbbf24;
  letter-spacing: .18em;
  font-size: 28px;
}

.proof-section h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.04em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  font-weight: 900;
}

.steps span {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  color: var(--l8-navy);
  background: #fff;
  border: 2px solid var(--l8-border);
  border-radius: 999px;
  box-shadow: var(--l8-shadow-soft);
  font-size: 24px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reason-grid div {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--l8-border);
  border-radius: var(--l8-radius);
  box-shadow: var(--l8-shadow-soft);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.app-grid img {
  width: min(100%, 400px);
  justify-self: center;
}

.app-grid .button {
  margin-top: 22px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

input {
  flex: 1 1 240px;
  min-height: 48px;
  border: 1px solid var(--l8-border);
  border-radius: 999px;
  padding: 0 16px;
}

.coverage-result {
  margin-top: 16px;
  padding: 16px;
  color: #07522d;
  background: #e9fff4;
  border-radius: 16px;
}

details {
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--l8-muted);
  line-height: 1.6;
}

.bottom-nav {
  display: none;
}

.menu-drawer {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  display: grid;
  gap: 8px;
  width: min(82vw, 320px);
  padding: 18px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--l8-border);
  border-radius: 24px;
  box-shadow: var(--l8-shadow);
  backdrop-filter: blur(16px);
}

.menu-drawer[hidden] {
  display: none !important;
}

.menu-drawer a,
.menu-drawer__close {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 16px;
  color: var(--l8-navy);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.menu-drawer a:hover,
.menu-drawer__close:hover {
  background: var(--l8-soft);
}

.menu-drawer__close {
  justify-content: flex-end;
  color: var(--l8-muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  z-index: 40;
  width: min(calc(100% - 28px), 440px);
  transform: translateX(-50%);
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: var(--l8-navy);
  box-shadow: var(--l8-shadow);
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 78px;
    width: 100%;
    padding: 8px 16px 0;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.56), transparent);
  }

  .brand img {
    height: 48px;
  }

  .hero,
  .hero__inner {
    min-height: 590px;
  }

  .hero__image {
    position: absolute;
    height: 100%;
    object-fit: cover;
    object-position: 66% center;
  }

  .hero__fade {
    display: block;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 20%, rgba(255,255,255,.72) 34%, rgba(255,255,255,.12) 48%, transparent 58%);
  }

  .hero__inner {
    display: flex;
    align-items: flex-end;
    padding-top: 120px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero__checks {
    gap: 10px 14px;
    font-size: 12px;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px 16px;
    font-size: 12px;
  }

  .choice-section,
  .plans-section,
  .process-section,
  .reasons-section,
  .coverage-section,
  .faq-section,
  .app-section,
  .proof-section {
    padding: 44px 0;
  }

  .choice-grid,
  .plan-list,
  .reason-grid,
  .app-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .choice-card {
    border-radius: 24px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .steps span {
    width: 66px;
    height: 66px;
  }

  .app-grid {
    text-align: center;
  }

  .input-row .button {
    width: 100%;
  }

  .bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 30;
    width: min(100%, 520px);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--l8-border);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, .1);
    backdrop-filter: blur(16px);
  }

  .bottom-nav a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 16px;
    color: var(--l8-muted);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
  }

  .bottom-nav a.is-active {
    color: #fff;
    background: var(--l8-gradient);
    box-shadow: 0 8px 22px rgba(79, 70, 229, .22);
  }
}
