:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --surface: rgba(12, 25, 43, 0.78);
  --surface-strong: #10233c;
  --surface-light: #eef4ff;
  --card-border: rgba(145, 177, 232, 0.18);
  --text: #f4f7fb;
  --muted: #9eb0ca;
  --heading: #ffffff;
  --accent: #76a7ff;
  --accent-strong: #9dc1ff;
  --accent-soft: rgba(118, 167, 255, 0.16);
  --success: #c7f5d2;
  --danger: #ffb4b4;
  --shadow: 0 30px 90px rgba(1, 6, 15, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(88, 130, 255, 0.2), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(50, 121, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #081220 0%, #07111f 48%, #091726 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: 120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 167, 255, 0.12), transparent 64%);
  filter: blur(8px);
}

body::after {
  bottom: 8%;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 191, 255, 0.08), transparent 66%);
  filter: blur(12px);
}

body.modal-open {
  overflow: hidden;
}

button,
a,
input,
summary {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 8px 0 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(157, 193, 255, 0.95), rgba(87, 130, 255, 0.42)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px rgba(50, 112, 255, 0.22);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.88);
}

.brand-mark::before {
  width: 18px;
  height: 18px;
  top: 9px;
  left: 9px;
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  right: 10px;
  bottom: 10px;
}

.eyebrow,
.brand-name,
.section-tag,
.panel-label,
.compare-label,
.process-step,
.impact-index {
  margin: 0;
}

.eyebrow,
.section-tag,
.panel-label {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-name {
  margin-top: 3px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
}

main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-grid,
.content-section,
.proof-strip {
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(14, 28, 48, 0.82), rgba(8, 18, 32, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  padding: 32px;
  border-radius: var(--radius-xl);
}

.hero-copy h1,
.content-section h2,
.final-cta h2,
.modal h2 {
  margin: 12px 0 0;
  color: var(--heading);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.hero-lead,
.info-card p,
.highlight-block p,
.process-card p,
.trust-card p,
.faq-item p,
.final-cta p,
.modal-copy,
.form-note {
  color: var(--muted);
  line-height: 1.6;
}

.hero-lead {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 1.03rem;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #04101d;
  background: linear-gradient(135deg, #f4f8ff, #90b5ff);
  box-shadow: 0 16px 40px rgba(111, 157, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #ffffff, #a7c6ff);
}

.btn-secondary {
  color: var(--text);
  background: rgba(118, 167, 255, 0.08);
  border-color: rgba(157, 193, 255, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(157, 193, 255, 0.42);
  background: rgba(118, 167, 255, 0.14);
}

.btn-large {
  min-width: min(100%, 280px);
}

.btn-full {
  width: 100%;
}

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

.meta-card,
.panel-surface,
.info-card,
.process-card,
.trust-card,
.highlight-block,
.faq-item,
.final-cta {
  border-radius: var(--radius-lg);
}

.meta-card {
  flex: 1 1 220px;
  padding: 18px 20px;
  border: 1px solid rgba(157, 193, 255, 0.12);
  background: rgba(118, 167, 255, 0.06);
}

.meta-card strong,
.info-card h3,
.process-card h3,
.trust-card h3,
.modal h2 {
  display: block;
  margin: 0 0 8px;
}

.meta-card span {
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

.hero-panel {
  min-width: 0;
}

.panel-surface {
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(157, 193, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 35, 58, 0.96), rgba(9, 19, 34, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}

.impact-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.impact-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--heading);
  background: rgba(118, 167, 255, 0.12);
  border: 1px solid rgba(157, 193, 255, 0.18);
  font-weight: 800;
}

.impact-list strong,
.compare-label {
  color: var(--heading);
}

.impact-list p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.proof-item {
  padding: 20px 22px;
  background: rgba(10, 22, 38, 0.78);
  color: var(--text);
  line-height: 1.55;
}

.content-section {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.content-section h2,
.final-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  max-width: 18ch;
}

.process-grid,
.trust-grid,
.compare-grid {
  display: grid;
  gap: 18px;
}

.info-card,
.process-card,
.trust-card,
.faq-item {
  padding: 22px;
  border: 1px solid rgba(157, 193, 255, 0.12);
  background: rgba(117, 149, 196, 0.06);
}

.split-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.highlight-block {
  padding: 26px;
}

.highlight-block.dark {
  background: linear-gradient(180deg, rgba(16, 35, 60, 0.95), rgba(8, 17, 31, 0.95));
  border: 1px solid rgba(157, 193, 255, 0.12);
}

.highlight-block.light {
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.96), rgba(226, 236, 252, 0.94));
  color: #0d1b2d;
}

.highlight-block.light ul,
.highlight-block.light li,
.highlight-block.light p,
.highlight-block.light .compare-label {
  color: #17304f;
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 100%;
}

.compare-grid ul {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.7;
}

.single-column {
  grid-template-columns: 1fr;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.narrow h2 {
  max-width: 18ch;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid.short-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-card,
.trust-card {
  position: relative;
  overflow: hidden;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(118, 167, 255, 0.12);
  border: 1px solid rgba(157, 193, 255, 0.2);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.trust-card.accent {
  background: linear-gradient(180deg, rgba(117, 167, 255, 0.12), rgba(117, 167, 255, 0.05));
}

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

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--heading);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-strong);
}

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

.faq-item p {
  margin: 16px 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(118, 167, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 35, 60, 0.98), rgba(8, 17, 31, 0.98));
}

.final-cta h2 {
  max-width: 15ch;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.68);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(157, 193, 255, 0.18);
  background: linear-gradient(180deg, rgba(16, 35, 60, 0.98), rgba(8, 17, 31, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(157, 193, 255, 0.14);
  background: rgba(118, 167, 255, 0.08);
  color: var(--text);
  font-size: 1.5rem;
}

.modal-state[hidden] {
  display: none;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
}

.waitlist-form span {
  color: var(--heading);
  font-weight: 600;
}

.waitlist-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(157, 193, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.waitlist-form input::placeholder {
  color: #7d91b1;
}

.waitlist-form input:focus {
  border-color: rgba(157, 193, 255, 0.46);
  box-shadow: 0 0 0 4px rgba(118, 167, 255, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.94rem;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 180, 180, 0.24);
  background: rgba(255, 180, 180, 0.09);
  color: var(--danger);
}

.modal-success-state p:last-of-type {
  margin-bottom: 24px;
}

@media (max-width: 1120px) {
  .hero,
  .section-grid,
  .split-highlight,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .process-grid,
  .trust-grid.short-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-bottom: 44px;
  }

  .site-header {
    padding-bottom: 18px;
  }

  .hero,
  .content-section,
  .modal-dialog {
    padding: 22px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 12vw, 3.3rem);
  }

  .content-section h2,
  .final-cta h2,
  .modal h2 {
    max-width: 100%;
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .proof-item,
  .process-card,
  .trust-card,
  .faq-item,
  .highlight-block,
  .meta-card,
  .panel-surface {
    padding: 20px;
  }

  .impact-list li {
    grid-template-columns: 46px 1fr;
  }

  .impact-index {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}
