:root {
  --bg: #050816;
  --bg-elevated: rgba(13, 18, 38, 0.78);
  --bg-solid: #0c1124;
  --panel: rgba(12, 18, 36, 0.72);
  --panel-strong: rgba(16, 24, 46, 0.9);
  --panel-subtle: rgba(255, 255, 255, 0.03);
  --border: rgba(168, 179, 255, 0.14);
  --border-strong: rgba(168, 179, 255, 0.25);
  --text: #f4f7fb;
  --muted: #9ca7bf;
  --muted-strong: #c7d0e3;
  --accent: #8aa4ff;
  --accent-2: #66e3c4;
  --accent-3: #9d7cff;
  --danger: #ff8a80;
  --success: #79f7be;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(102, 227, 196, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(138, 164, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #070b19 0%, #050816 45%, #040611 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.25;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header,
.site-footer,
.section,
.hero {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: rgba(6, 10, 24, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(138, 164, 255, 0.24), rgba(102, 227, 196, 0.18));
  border: 1px solid var(--border-strong);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  gap: 24px;
  color: var(--muted-strong);
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.section {
  padding: 56px 0;
}

.hero {
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow,
.section-kicker,
.panel-kicker,
.muted-label,
.signal-label,
.card-index,
.form-section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted-strong);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 6px rgba(102, 227, 196, 0.08);
}

.hero h1,
.section-heading h2,
.cta-panel h2,
.modal-copy h2 {
  margin: 18px 0 18px;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(3.6rem, 7vw, 6.6rem);
  max-width: 10ch;
}

.hero-subhead,
.section-heading p,
.offer-copy p,
.waitlist-proof p,
.cta-panel p,
.audience-panel p,
.faq-item p,
.info-card p,
.product-list li,
.preview-list p,
.site-footer p,
.offer-price-card p,
.modal-copy p,
.modal-highlights p,
.confirmation-copy p,
.confirmation-summary dd,
.offer-checklist p,
.inline-cta p,
.proof-items article p,
.mini-proof-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subhead {
  font-size: 1.2rem;
  max-width: 60ch;
}

.hero-supporting,
.hero-microcopy,
.microcopy,
.form-note,
.text-link,
.cta-line {
  color: var(--muted-strong);
  line-height: 1.75;
}

.hero-supporting {
  max-width: 62ch;
  margin-bottom: 0;
}

.hero-microcopy,
.microcopy,
.form-note,
.form-feedback,
.text-link {
  font-size: 0.95rem;
}

.hero-actions,
.trust-row,
.tag-row,
.footer-links,
.radio-row,
.cta-button-stack,
.cta-cluster,
.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 14px;
  margin: 28px 0 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fdfefe;
  box-shadow: 0 18px 40px rgba(99, 118, 255, 0.28);
}

.button-secondary,
.button-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-ghost {
  color: var(--muted-strong);
}

.button.wide {
  width: 100%;
}

.trust-row {
  gap: 18px;
}

.trust-row > div {
  min-width: 160px;
  padding: 14px 16px;
  border-left: 1px solid var(--border-strong);
}

.trust-row strong,
.preview-list strong,
.proof-items strong,
.offer-list li,
.info-card h3,
.product-list h3,
.offer-checklist strong,
.mini-proof-grid .metric,
.modal-highlights strong,
.confirmation-summary dt {
  display: block;
  margin-bottom: 8px;
}

.trust-row span {
  color: var(--muted);
  line-height: 1.5;
}

.panel {
  background: linear-gradient(180deg, rgba(15, 21, 41, 0.86), rgba(9, 14, 29, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel-subtle {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
}

.hero-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.panel-header,
.preview-header,
.terminal-bar,
.waitlist-layout,
.product-layout,
.cta-panel,
.offer-price-header,
.modal-grid,
.offer-grid,
.confirmation-panel,
.price-split {
  display: flex;
}

.panel-header,
.preview-header,
.offer-price-header {
  align-items: center;
  justify-content: space-between;
}

.panel-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(138, 164, 255, 0.12);
  border: 1px solid rgba(138, 164, 255, 0.18);
  color: var(--muted-strong);
  font-size: 0.8rem;
}

.panel-pill.subtle {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.price-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(138, 164, 255, 0.11), rgba(102, 227, 196, 0.08));
  border: 1px solid var(--border-strong);
}

.price-split {
  gap: 18px;
  flex-wrap: wrap;
}

.price-split > div {
  flex: 1;
  min-width: 140px;
}

.probability-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 6px;
}

.probability-row strong {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1;
}

.probability-row.compact strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.probability-row span {
  color: var(--muted-strong);
}

.micro-chart {
  margin-top: 18px;
  height: 110px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
}

.micro-chart span {
  display: block;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, rgba(102, 227, 196, 0.95), rgba(138, 164, 255, 0.35));
}

.micro-chart span:nth-child(1) { height: 28%; }
.micro-chart span:nth-child(2) { height: 42%; }
.micro-chart span:nth-child(3) { height: 38%; }
.micro-chart span:nth-child(4) { height: 66%; }
.micro-chart span:nth-child(5) { height: 58%; }
.micro-chart span:nth-child(6) { height: 82%; }

.signal-stack {
  display: grid;
  gap: 14px;
}

.signal-stack article,
.preview-list > div,
.proof-items article,
.offer-checklist > div,
.modal-highlights article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.signal-stack h3,
.preview-list h3,
.product-list h3,
.offer-copy h2,
.waitlist-proof strong,
.faq-item summary,
.cta-panel h2,
.section-heading h2,
.audience-panel h2,
.offer-price-card h3,
.confirmation-copy h3,
.modal-copy h2 {
  margin: 0;
}

.signal-stack ul,
.product-list ul,
.offer-list,
.confirmation-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 700px;
}

.section-heading.left {
  margin-bottom: 18px;
}

.section-heading h2,
.cta-panel h2,
.modal-copy h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

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

.info-card {
  padding: 22px;
}

.card-index,
.section-kicker,
.panel-kicker,
.muted-label,
.signal-label,
.form-section-label {
  color: var(--accent-2);
}

.product-layout,
.offer-grid,
.waitlist-layout,
.confirmation-panel,
.modal-grid {
  gap: 20px;
  align-items: stretch;
}

.product-layout > *,
.waitlist-layout > *,
.offer-grid > *,
.confirmation-panel > *,
.modal-grid > * {
  flex: 1;
}

.product-list,
.product-preview,
.audience-panel,
.waitlist-form,
.waitlist-proof,
.cta-panel,
.offer-copy-card,
.offer-price-card,
.confirmation-panel,
.modal {
  padding: 24px;
}

.inline-cta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inline-cta p {
  margin-top: 0;
}

.terminal-bar {
  gap: 8px;
  margin-bottom: 18px;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.terminal-bar span:first-child { background: #ff5f56; }
.terminal-bar span:nth-child(2) { background: #ffbd2e; }
.terminal-bar span:nth-child(3) { background: #27c93f; }

.preview-list,
.modal-highlights,
.offer-checklist,
.proof-items {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.audience-panel {
  background: linear-gradient(135deg, rgba(157, 124, 255, 0.12), rgba(102, 227, 196, 0.08), rgba(12, 18, 36, 0.92));
}

.audience-emphasis {
  font-size: 1.1rem;
  color: var(--muted-strong) !important;
}

.tag-row {
  gap: 10px;
  margin-top: 22px;
}

.tag-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted-strong);
}

.offer-lead {
  font-size: 1.05rem;
  color: var(--muted-strong) !important;
}

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

.cta-line {
  margin: 26px 0 10px;
}

.cta-cluster {
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.text-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  text-underline-offset: 5px;
}

.offer-price-card {
  min-width: 320px;
}

.comparison-stack {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
}

.comparison-row strong {
  color: var(--text);
}

.comparison-row.strong {
  background: linear-gradient(135deg, rgba(138, 164, 255, 0.12), rgba(157, 124, 255, 0.1));
  border-color: rgba(138, 164, 255, 0.25);
}

.waitlist-form label,
.waitlist-form fieldset,
.modal-form label,
.modal-form fieldset {
  display: block;
  margin-bottom: 18px;
}

.waitlist-form span,
.waitlist-form legend,
.modal-form span,
.modal-form legend {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-strong);
  font-weight: 600;
}

.waitlist-form fieldset,
.modal-form fieldset {
  border: 0;
  padding: 0;
}

.waitlist-form input[type='email'],
.waitlist-form select,
.waitlist-form textarea,
.modal-form input[type='email'],
.modal-form select,
.modal-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.waitlist-form textarea,
.modal-form textarea {
  resize: vertical;
  min-height: 116px;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: rgba(138, 164, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(138, 164, 255, 0.15);
}

.radio-row,
.radio-grid {
  gap: 10px;
}

.radio-grid {
  display: grid;
}

.radio-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radio-row label,
.radio-grid label {
  margin: 0;
  position: relative;
  flex: 1;
}

.radio-row input,
.radio-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-row span,
.radio-grid span {
  min-height: 52px;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
}

.radio-row input:checked + span,
.radio-grid input:checked + span {
  border-color: rgba(138, 164, 255, 0.6);
  background: rgba(138, 164, 255, 0.12);
  color: var(--text);
}

.form-note,
.form-feedback {
  margin: 12px 0 0;
}

.form-feedback {
  color: var(--accent-2);
  min-height: 1.4em;
}

.mini-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.mini-proof-grid > div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mini-proof-grid .metric {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hidden {
  display: none !important;
}

.confirmation-panel {
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(18, 27, 51, 0.92), rgba(10, 16, 32, 0.96));
}

.confirmation-list {
  margin-bottom: 0;
}

.confirmation-actions {
  gap: 12px;
  margin-top: 22px;
}

.confirmation-summary {
  padding: 20px;
}

.confirmation-summary dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.confirmation-summary dt {
  color: var(--muted-strong);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.confirmation-summary dd {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-strong);
  font-size: 1.4rem;
}

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

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
}

.faq-followthrough {
  margin-top: 24px;
}

.final-cta {
  padding-bottom: 40px;
}

.cta-panel {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-button-stack {
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  gap: 18px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 17, 0.78);
  backdrop-filter: blur(10px);
}

.modal {
  width: min(1080px, 100%);
  position: relative;
}

.modal-grid {
  gap: 28px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.5rem;
}

.modal-form {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 1080px) {
  .hero,
  .product-layout,
  .offer-grid,
  .waitlist-layout,
  .cta-panel,
  .card-grid.three-up,
  .confirmation-panel,
  .modal-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .card-grid.three-up {
    display: grid;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 24px;
    padding: 16px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
  }

  .trust-row > div {
    border-left: 0;
    padding-left: 0;
  }

  .radio-grid.two-up,
  .mini-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 14px;
  }

  .site-header {
    position: static;
  }

  .hero {
    padding-top: 32px;
  }

  .section {
    padding: 40px 0;
  }

  .hero-actions,
  .button,
  .radio-row,
  .footer-links,
  .cta-panel,
  .cta-button-stack,
  .cta-cluster,
  .confirmation-actions {
    width: 100%;
  }

  .hero-actions,
  .radio-row,
  .cta-panel,
  .cta-button-stack,
  .cta-cluster,
  .confirmation-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal {
    padding: 18px;
  }
}
