* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.55;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-hero-top {
  background: #1d4ed8;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  color: white;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #1d4ed8;
  padding: 11px 16px;
  font-weight: 600;
}

.cta-primary {
  background: #1d4ed8;
  color: #fff;
}

.cta-primary:hover {
  text-decoration: none;
  background: #1e40af;
}

.cta-outline {
  background: #fff;
  color: #1d4ed8;
}

.hero {
  padding: 64px 0 30px;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
}

.hero-card {
  min-height: min(72vh, 680px);
  display: grid;
  place-items: center;
}

.hero-inner {
  max-width: 760px;
  text-align: center;
}

.hero-cta {
  margin-top: 24px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.muted {
  color: #475569;
}

.section {
  padding: 24px 0;
}

.section-intro {
  margin: 0 0 16px;
}

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

.plans-grid {
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card h3 {
  margin: 0 0 8px;
}

.plan-code {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1e3a8a;
}

.plan-price {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.plan-features {
  margin: 16px 0 22px;
}

.plan-card .cta {
  width: 100%;
  margin-top: auto;
}

.plan-card-highlight {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.1);
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li {
  margin-bottom: 8px;
}

.footer {
  margin-top: 34px;
  padding: 26px 0 40px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

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

.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  color: #0f172a;
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 600;
  padding: 5px 10px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 60px;
  }

  .hero-card {
    min-height: 62vh;
  }
}
