:root {
  --bg: #f2f8ff;
  --bg-top: #fbfdff;
  --bg-bottom: #e5eefb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(244, 250, 248, 0.78);
  --text: #132227;
  --muted: #5b7372;
  --border: rgba(72, 117, 111, 0.16);
  --accent: #7db9ec;
  --accent-strong: #aed8f7;
  --secondary: #5b8fe3;
  --secondary-strong: #3564b3;
  --success: #4aa789;
  --danger: #d66f63;
  --shadow: 0 28px 80px rgba(33, 73, 72, 0.14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--secondary) 16%, white 84%), transparent 28%),
    radial-gradient(circle at 72% 60%, color-mix(in srgb, var(--secondary) 12%, white 88%), transparent 34%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 48%, var(--bg-bottom) 100%);
}

.site-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 16px auto;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 32px;
  padding: 28px 38px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 249, 0.97)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.topbar,
.hero,
.feature-band,
.pricing-panel,
.faq-panel,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand::first-letter {
  color: var(--accent);
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(242, 248, 246, 0.96);
  border: 1px solid var(--border);
}

.nav-pill a {
  color: var(--text);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.nav-pill a:first-child {
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 24%, white 76%), color-mix(in srgb, var(--secondary-strong) 20%, white 80%));
  border: 1px solid color-mix(in srgb, var(--secondary) 34%, transparent);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-button {
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cta-button:hover { transform: translateY(-1px); }

.cta-button--solid {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #172125;
  font-weight: 700;
}

.cta-button--ghost {
  background: rgba(255, 255, 255, 0.84);
  border-color: color-mix(in srgb, var(--secondary) 24%, transparent);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  padding: 78px 0 38px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.hero-copy h1 span {
  display: block;
  margin-bottom: 10px;
}

.tone-secondary { color: var(--secondary); }
.tone-accent { color: var(--accent); }

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 28px;
  color: #526765;
  font-size: 1rem;
}

.hero-visual {
  min-height: 560px;
  border-radius: var(--radius-xl);
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(227, 241, 237, 0.74)),
    radial-gradient(circle at 52% 72%, color-mix(in srgb, var(--secondary) 28%, white 72%), rgba(255, 255, 255, 0.2) 24%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(228, 241, 238, 0.88) 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(206, 233, 230, 0.72));
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background:
    radial-gradient(ellipse at center bottom, color-mix(in srgb, var(--secondary) 16%, white 84%), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 244, 241, 0.96));
}

.hero-visual::after {
  height: 52%;
  clip-path: polygon(0 84%, 18% 72%, 37% 82%, 56% 64%, 77% 74%, 100% 56%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, transparent, rgba(220, 236, 232, 0.82)), linear-gradient(90deg, rgba(221, 237, 233, 0.96), rgba(192, 223, 220, 0.4));
}

.orbital {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--secondary) 30%, transparent);
  border-radius: 999px;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);
}

.orbital-1 { width: 420px; height: 420px; }
.orbital-2 { width: 312px; height: 312px; }
.orbital-3 { width: 224px; height: 224px; }
.orbital-4 { width: 146px; height: 146px; }

.shield-core {
  position: absolute;
  left: 50%;
  top: 39%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--secondary) 28%, white 72%), rgba(255, 255, 255, 0.96));
  box-shadow: 0 0 60px color-mix(in srgb, var(--secondary) 18%, transparent);
}

.shield-icon {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.hero-card {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  backdrop-filter: blur(14px);
}

.hero-card strong { font-size: 1.04rem; }
.hero-card span { color: var(--muted); }
.hero-card--metric { right: 28px; bottom: 34px; }
.hero-card--assurance { left: 28px; top: 28px; }

.feature-band,
.palette-lab,
.pricing-panel,
.faq-panel,
.footer {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 251, 249, 0.96));
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
}

.feature-card {
  padding: 38px 34px 34px;
}

.feature-card + .feature-card {
  border-left: 1px solid color-mix(in srgb, var(--secondary) 16%, transparent);
}

.feature-kicker {
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.feature-card h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.05;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.pricing-panel,
.faq-panel {
  margin-top: 22px;
  padding: 34px 28px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.checkout-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.toggle-chip {
  border: 1px solid color-mix(in srgb, var(--secondary) 24%, transparent);
  background: rgba(19, 36, 41, 0.7);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font: inherit;
  cursor: pointer;
}

.toggle-chip.is-active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 52%, #264744), color-mix(in srgb, var(--secondary-strong) 58%, #173335));
}

.toggle-note {
  color: color-mix(in srgb, var(--secondary) 90%, white 10%);
  font-size: 0.95rem;
}

.email-capture {
  display: grid;
  gap: 8px;
  min-width: min(100%, 320px);
}

.email-capture span {
  color: var(--muted);
  font-size: 0.92rem;
}

.email-capture input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.checkout-status {
  max-width: 920px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  text-align: center;
}

.checkout-status[data-tone="error"] {
  border-color: color-mix(in srgb, var(--danger) 36%, transparent);
  color: #ffd2cb;
}

.checkout-status[data-tone="success"] {
  border-color: color-mix(in srgb, var(--success) 36%, transparent);
  color: #d9fff8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-card {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 248, 0.98));
}

.pricing-card--featured {
  border-color: color-mix(in srgb, var(--accent) 64%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent), 0 24px 60px rgba(0, 0, 0, 0.28);
}

.plan-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-card h3 {
  margin: 0;
  font-size: 2rem;
}

.pricing-card p {
  color: var(--muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
}

.plan-price strong {
  font-size: 3rem;
  letter-spacing: -0.06em;
}

.plan-save {
  min-height: 24px;
  color: var(--secondary);
  font-size: 0.96rem;
}

.plan-features {
  padding: 0;
  margin: 18px 0 28px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plan-features li::before {
  content: "\2713";
  color: var(--secondary);
  margin-right: 10px;
}

.pricing-footnote {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-grid details {
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--secondary) 18%, transparent);
  background: rgba(255, 255, 255, 0.82);
  padding: 18px 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 26px 28px;
}

.footer strong {
  font-size: 1.3rem;
}

.footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 1180px) {
  .topbar,
  .hero,
  .feature-band,
  .pricing-grid,
  .faq-grid,
  .footer,
  .checkout-toolbar {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    justify-items: start;
  }

  .nav-pill {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .feature-card + .feature-card {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--secondary) 16%, transparent);
  }

  .pricing-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout-toolbar {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 12px, 100%);
    margin: 6px auto;
    padding: 18px 16px 22px;
    border-radius: 24px;
  }

  .brand {
    font-size: 1.8rem;
  }

  .nav-pill {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-pill a {
    padding: 10px 16px;
    white-space: nowrap;
  }

  .hero-copy p {
    font-size: 1.12rem;
  }

  .hero-actions,
  .billing-toggle {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card--metric,
  .hero-card--assurance {
    position: static;
    margin: 18px;
  }

  .pricing-card {
    padding: 22px;
  }

  .plan-price strong {
    font-size: 2.5rem;
  }
}
