/* Critical layout -- works even if the pinned Tailwind runtime is slow to load */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #F6F4EF;
  color: #0B1F3A;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #E6392B;
  color: white;
  padding: 0.5rem 1rem;
  z-index: 50;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.75rem;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E6392B;
  margin: 0 0 0.4rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
}
@media (min-width: 640px) {
  .btn-primary, .btn-ghost { width: auto; }
}

.btn-primary {
  background: #E6392B;
  color: #fff;
}
.btn-primary:hover { background: #c92d22; }
.btn-ghost {
  background: transparent;
  border-color: #0B1F3A;
  color: #0B1F3A;
}
.dark .btn-ghost {
  border-color: #F4F7FB;
  color: #F4F7FB;
}

.hero {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(230, 57, 43, 0.12), transparent 50%),
    linear-gradient(180deg, #F6F4EF, #EEEAE2);
}
.dark .hero {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(230, 57, 43, 0.18), transparent 50%),
    linear-gradient(180deg, #071422, #0B1F3A);
}

.stat {
  border-top: 2px solid #E6392B;
  padding-top: 0.55rem;
}
.stat dt {
  font-size: 11px;
  color: #5B6778;
}
.dark .stat dt { color: #9AA6B4; }
.stat dd {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-card {
  background: #0B1F3A;
  color: #F4F7FB;
  border-radius: 1.5rem;
  padding: 1.5rem;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: #E6392B;
  flex-shrink: 0;
}

.card, .plan, .quote, .fact, .form {
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 1.1rem;
  padding: 1.15rem;
}
.dark .card, .dark .plan, .dark .quote, .dark .form {
  background: #0B1F3A;
  border-color: rgba(255,255,255,0.1);
}
.card h3, .plan h3 {
  margin: 0.15rem 0 0.5rem;
  font-size: 1.2rem;
}
.card p, .plan p { margin: 0; line-height: 1.5; color: #3A4658; }
.dark .card p, .dark .plan p { color: #C5CDD8; }
.price {
  margin-top: 1rem !important;
  font-weight: 700;
  color: #0B1F3A !important;
}
.dark .price { color: #F4F7FB !important; }

.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step span {
  font-variant-numeric: tabular-nums;
  color: #C9A227;
  font-weight: 700;
  width: 1.6rem;
}
.step p { margin: 0.15rem 0 0; color: #C5CDD8; font-size: 13px; }

.fact {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #F4F7FB;
}
.fact p { margin: 0.35rem 0 0; color: #C5CDD8; font-size: 13px; }

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 13px;
}
.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 !important;
  color: inherit !important;
}
.plan-featured {
  background: #0B1F3A;
  color: #F4F7FB;
  border-color: #0B1F3A;
}
.plan-featured p { color: #C5CDD8; }
.plan-featured .btn-ghost {
  border-color: #F4F7FB;
  color: #F4F7FB;
}

.quote p { font-size: 1rem; line-height: 1.55; color: inherit; }
.quote footer {
  margin-top: 0.9rem;
  font-size: 12px;
  color: #5B6778;
}

.form {
  display: grid;
  gap: 0.75rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 650;
}
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 2.6rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: #F6F4EF;
  color: #0B1F3A;
  padding: 0.55rem 0.75rem;
  font: inherit;
}
.dark .form input, .dark .form select, .dark .form textarea {
  background: #071422;
  color: #F4F7FB;
  border-color: rgba(255,255,255,0.16);
}
.form textarea { min-height: 5.5rem; resize: vertical; }

@media (prefers-color-scheme: dark) {
  body { background: #071422; color: #F4F7FB; }
}
