:root {
  color-scheme: dark;
  --bg: #060816;
  --bg-elevated: #0d1224;
  --bg-panel: rgba(14, 20, 37, 0.84);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f7ff;
  --muted: #a6afca;
  --accent: #8ef7c7;
  --accent-strong: #4de3ad;
  --accent-ink: #07261b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
  --font-display: "Sora", "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Aptos", "Segoe UI", sans-serif;
  --stcmBackgroundColor: rgba(7, 10, 22, 0.96);
  --stcmTextColor: #f5f7ff;
  --stcmPrimaryButtonColor: #8ef7c7;
  --stcmPrimaryButtonTextColor: #07261b;
  --stcmSecondaryButtonColor: transparent;
  --stcmSecondaryButtonTextColor: #f5f7ff;
  --stcmBorderColor: rgba(255, 255, 255, 0.12);
  --stcmOverlayColor: rgba(3, 5, 12, 0.68);
  --stcmFocusColor: #8ef7c7;
  --stcmPromptMaxWidth: 28rem;
  --stcmModalMaxWidth: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(77, 227, 173, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(111, 140, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #08101f 0%, #050712 52%, #04050d 100%);
  color: var(--text);
  min-height: 100vh;
}

.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
}

a,
button {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 22, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header--legal {
  position: relative;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark--header {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a,
.text-button {
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.top-nav a:hover,
.text-button:hover {
  color: var(--text);
}

.nav-ghost {
  border: 1px solid var(--line);
  border-radius: 999px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(142, 247, 199, 0.3);
  background: linear-gradient(135deg, var(--accent) 0%, #b3ffd9 100%);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(77, 227, 173, 0.22);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(77, 227, 173, 0.28);
}

.cta-button--small {
  min-height: 2.75rem;
  padding-inline: 1rem;
}

.cta-button--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--accent);
}

.hero-section {
  padding: 4rem 0 2.25rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-copy,
.hero-panel,
.proof-bar,
.stat-card,
.bridge-step,
.signal-card,
.pricing-card,
.faq-item,
.final-cta,
.legal-shell,
.policy-row {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
  border-radius: clamp(1.5rem, 3vw, 2.2rem);
}

.hero-copy h1,
.section-heading h2,
.pricing-card h3,
.final-cta h2,
.legal-shell h1 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 10vw, 6.7rem);
  max-width: 12ch;
}

.hero-lede,
.section-heading p,
.bridge-step p,
.signal-card p,
.pricing-card p,
.faq-item p,
.site-footer p,
.legal-intro,
.legal-shell p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 42rem;
  font-size: 1.06rem;
  margin: 1.25rem 0 0;
}

.hero-actions {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.setup-note {
  margin: 0;
  max-width: 28rem;
  color: #d7def8;
}

.hero-panel {
  padding: 1.2rem;
  border-radius: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  gap: 0.85rem;
}

.hero-panel__card {
  padding: 1.1rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel__card strong,
.stat-card strong,
.bridge-step h3,
.signal-label,
.plan-name {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.hero-panel__card strong {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.hero-panel__card p,
.policy-row span {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.panel-label,
.step-kicker {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.hero-panel__rail {
  display: flex;
  gap: 0.5rem;
  padding-inline: 0.35rem;
}

.hero-panel__rail span {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 247, 199, 0.15), rgba(142, 247, 199, 0.72));
}

.hero-panel__rail--outcome span {
  background: linear-gradient(90deg, rgba(143, 168, 255, 0.22), rgba(143, 168, 255, 0.88));
}

.proof-section {
  padding-bottom: 1.5rem;
}

.proof-bar,
.stats-grid,
.bridge-grid,
.split-grid,
.faq-list,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.proof-bar {
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.proof-title {
  margin: 0;
  font-weight: 700;
}

.proof-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.proof-mark {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e7fb;
  font-size: 0.92rem;
}

.stats-grid {
  margin-top: 1rem;
}

.stat-card {
  border-radius: var(--radius-sm);
  padding: 1.4rem;
}

.stat-card strong {
  font-size: clamp(2rem, 8vw, 3.6rem);
  margin-bottom: 0.5rem;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 2rem 0;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2,
.final-cta h2,
.legal-shell h1 {
  font-size: clamp(2.4rem, 7vw, 4.7rem);
}

.bridge-grid,
.split-grid,
.faq-list {
  margin-top: 1.25rem;
}

.bridge-step {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.bridge-step--accent {
  background:
    linear-gradient(180deg, rgba(142, 247, 199, 0.09), rgba(142, 247, 199, 0.02)),
    var(--bg-panel);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
  font-weight: 700;
}

.bridge-step h3 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
}

.feature-list,
.pricing-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.feature-list li,
.pricing-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #d8def4;
  line-height: 1.6;
}

.feature-list li::before,
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(142, 247, 199, 0.14);
}

.signal-stack {
  display: grid;
  gap: 1rem;
}

.signal-card,
.pricing-card,
.final-cta,
.legal-shell {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.signal-label,
.plan-name {
  margin-bottom: 0.65rem;
  font-size: 1.02rem;
}

.pricing-wrap {
  margin-top: 1.2rem;
  justify-items: stretch;
}

.pricing-card {
  display: grid;
  gap: 1.4rem;
}

.pricing-card__top {
  display: grid;
  gap: 0.85rem;
}

.pricing-card__headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-card__headline-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 0.55rem;
}

.plan-name {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.pricing-card h3 {
  flex: 1 1 auto;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.pricing-card h4 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
}

.plan-price {
  display: grid;
  gap: 0.05rem;
  width: fit-content;
  margin: 0;
  padding: 0.65rem 0.8rem 0.6rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(142, 247, 199, 0.22), rgba(142, 247, 199, 0.12)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(142, 247, 199, 0.3);
  box-shadow: 0 20px 50px rgba(77, 227, 173, 0.18);
  color: var(--text);
  text-align: right;
  flex: 0 0 auto;
  align-self: flex-start;
}

.plan-price__amount {
  font-size: clamp(5rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 900;
  color: var(--accent);
}

.plan-price__suffix {
  color: #e7fff1;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.pricing-card--featured {
  border-color: rgba(142, 247, 199, 0.22);
  background:
    linear-gradient(180deg, rgba(142, 247, 199, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-panel);
}

@media (max-width: 719px) {
  .pricing-card__headline-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card h3 {
    white-space: normal;
  }

  .plan-price {
    text-align: left;
  }
}

.faq-item {
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding-right: 2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.1rem;
  font-size: 1.4rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0.85rem 0 0;
}

.final-cta {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(142, 247, 199, 0.2), transparent 32%),
    var(--bg-panel);
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.legal-main {
  padding: 2rem 0 3rem;
}

.legal-shell {
  display: grid;
  gap: 1rem;
}

.legal-shell section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.legal-shell h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.legal-shell p {
  margin: 0;
}

.policy-table {
  display: grid;
  gap: 0.65rem;
}

.policy-row {
  display: grid;
  gap: 0.75rem;
  border-radius: 1.2rem;
  padding: 1rem;
}

.policy-row--head {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@media (min-width: 720px) {
  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .hero-section {
    padding-top: 5rem;
  }

  .stats-grid,
  .bridge-grid,
  .split-grid,
  .footer-grid,
  .policy-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-actions {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .split-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  }

  .pricing-wrap {
    display: grid;
    justify-items: center;
  }

  .pricing-card {
    width: min(100%, 48rem);
  }

  .final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(21rem, 0.8fr);
    align-items: stretch;
  }

  .proof-bar {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .proof-marks {
    justify-content: flex-end;
    margin-top: 0;
  }

  .site-footer {
    padding-bottom: 3rem;
  }
}

@media (max-width: 639px) {
  .top-nav {
    gap: 0.35rem;
  }

  .top-nav a,
  .text-button {
    padding-inline: 0.45rem;
  }

  .top-nav a:not(.cta-button):not(.nav-ghost),
  .site-header--legal .top-nav a:not(.cta-button),
  .site-header--legal .top-nav .text-button {
    font-size: 0.9rem;
  }

  .nav-ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
