:root {
  --color-primary: #1a237e;
  --color-secondary: #00bfa5;
  --color-accent: #ffffff;
  --color-primary-light: #2c3aa5;
  --color-primary-dark: #11195a;
  --color-body: #0b102f;
  --color-text: #e8ecff;
  --color-muted: rgba(232, 236, 255, 0.7);
  --color-card-bg: rgba(17, 25, 90, 0.65);
  --font-body: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-soft: 0 20px 50px rgba(11, 16, 47, 0.25);
  --shadow-card: 0 16px 30px rgba(17, 25, 90, 0.3);
  --radius-md: 16px;
  --radius-lg: 28px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(0, 191, 165, 0.08), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(26, 35, 126, 0.35), transparent 40%),
    var(--color-body);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  position: relative;
  z-index: 5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(232, 236, 255, 0.72);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-secondary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 4px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: clamp(70px, 10vw, 110px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.25));
}

.brand-mark--hero {
  margin-bottom: 1.75rem;
}

.brand-mark--nav {
  max-width: 150px;
}

.brand-mark--cta {
  justify-content: center;
  margin: 0 auto 1.5rem;
  max-width: 150px;
  filter: drop-shadow(0 8px 16px rgba(0, 191, 165, 0.25));
}

.brand-mark--footer {
  max-width: 140px;
}

@media (max-width: 600px) {
  .brand-mark img {
    width: clamp(48px, 28vw, 80px);
  }
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.hero {
  padding: clamp(3rem, 5vw, 6rem) 0 5rem;
  background:
    radial-gradient(circle at 10% -20%, rgba(0, 191, 165, 0.28), transparent 60%),
    radial-gradient(circle at 82% 12%, rgba(26, 35, 126, 0.75), transparent 55%),
    linear-gradient(135deg, rgba(26, 35, 126, 0.96), rgba(11, 16, 47, 0.92));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 165, 0.35), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

@supports (-webkit-touch-callout: none) {
  .hero__form-wrapper {
    background: rgba(11, 16, 47, 0.8);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .highlight,
  .form-options label {
    background: rgba(11, 16, 47, 0.65);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.hero::before {
  width: clamp(240px, 70vw, 420px);
  height: clamp(240px, 70vw, 420px);
  top: clamp(-160px, -18vw, -100px);
  left: clamp(-180px, -22vw, -120px);
}

.hero::after {
  width: clamp(220px, 60vw, 380px);
  height: clamp(220px, 60vw, 380px);
  bottom: clamp(-180px, -22vw, -120px);
  right: clamp(-170px, -18vw, -110px);
}


.hero__stack {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.8rem, 4vw, 4.2rem);
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.hero__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(0, 191, 165, 0.15);
  border: 1px solid rgba(0, 191, 165, 0.35);
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  align-self: center;
}

.hero__subhead {
  font-size: 1.1rem;
  max-width: 40ch;
  color: rgba(232, 236, 255, 0.8);
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.highlight {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 191, 165, 0.25);
  background: rgba(11, 16, 47, 0.8);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.highlight__label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 236, 255, 0.62);
  margin-bottom: 0.5rem;
}

.highlight__value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__cta-caption {
  font-size: 0.9rem;
  color: rgba(232, 236, 255, 0.7);
}

.hero__form-wrapper {
  position: relative;
  background: rgba(11, 16, 47, 0.9);
  border-radius: 32px;
  padding: clamp(2rem, 3.5vw, 2.75rem);
  border: 1px solid rgba(0, 191, 165, 0.3);
  box-shadow: 0 35px 60px rgba(9, 14, 45, 0.45);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto;
  width: min(720px, 100%);
  will-change: transform;
}

.hero__form-wrapper::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 191, 165, 0.6), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero__form-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.hero__form-header img {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 191, 165, 0.3));
}

.hero__form-kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 236, 255, 0.55);
  margin-bottom: 0.35rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.form-field label,
.form-field legend {
  font-weight: 600;
  color: var(--color-accent);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 236, 255, 0.22);
  background: rgba(17, 25, 90, 0.45);
  color: var(--color-accent);
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300BFA5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.25);
}

.optional-field {
  display: none;
}

.optional-field.visible {
  display: flex;
}

.form-options {
  display: grid;
  gap: 0.75rem;
}

.form-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 236, 255, 0.18);
  background: rgba(17, 25, 90, 0.4);
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-options input[type="radio"] {
  accent-color: var(--color-secondary);
}

.form-options label:hover,
.form-options label.is-selected {
  border-color: rgba(0, 191, 165, 0.35);
  background: rgba(0, 191, 165, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  letter-spacing: 0.01em;
  -webkit-appearance: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(0, 191, 165, 0.45);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(120deg, var(--color-secondary), #1de9b6);
  color: var(--color-body);
  box-shadow: 0 12px 30px rgba(0, 191, 165, 0.3);
}

.btn--primary.btn--full {
  width: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 191, 165, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(232, 236, 255, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(232, 236, 255, 0.12);
  color: var(--color-accent);
  background: rgba(11, 16, 47, 0.35);
  box-shadow: 0 10px 24px rgba(0, 191, 165, 0.18);
}

.btn--ghost:hover {
  border-color: rgba(0, 191, 165, 0.4);
  color: var(--color-secondary);
}

.btn--secondary:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.form-footnote {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(232, 236, 255, 0.6);
  text-align: center;
}

.form-notice {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 191, 165, 0.35);
  background: rgba(0, 191, 165, 0.12);
  color: var(--color-accent);
  font-size: 0.95rem;
}

.form-notice p {
  color: rgba(232, 236, 255, 0.8);
  margin-bottom: 0.75rem;
}

.form-notice ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(232, 236, 255, 0.8);
}

.form-notice span {
  color: var(--color-secondary);
  font-weight: 600;
}

.form-notice code {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  background: rgba(232, 236, 255, 0.12);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  color: var(--color-accent);
}

.form-notice--error {
  border-color: rgba(255, 99, 132, 0.55);
  background: rgba(255, 99, 132, 0.15);
  color: #ffe7ed;
}

.form-notice--error p,
.form-notice--error ul {
  color: #ffe7ed;
}

.form-notice--error span {
  color: #ffb0c1;
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section--contrast {
  background: linear-gradient(160deg, rgba(17, 25, 90, 0.85), rgba(26, 35, 126, 0.6));
  border-top: 1px solid rgba(0, 191, 165, 0.15);
  border-bottom: 1px solid rgba(0, 191, 165, 0.15);
}

.section__content {
  display: grid;
  gap: 1.5rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1.25rem 1.5rem;
  background: rgba(11, 16, 47, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 191, 165, 0.2);
  box-shadow: var(--shadow-card);
}

.feature-list strong {
  display: block;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}

.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0, 191, 165, 0.2);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 191, 165, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.benefits-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.benefit {
  background: rgba(11, 16, 47, 0.6);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(0, 191, 165, 0.18);
  box-shadow: var(--shadow-card);
}

.benefit ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.benefit li {
  margin-bottom: 0.65rem;
}

.section__closing {
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 1rem;
}

.section--cta {
  text-align: center;
  background: linear-gradient(140deg, rgba(17, 25, 90, 0.8), rgba(0, 191, 165, 0.15));
  border-top: 1px solid rgba(0, 191, 165, 0.2);
}

.footer {
  padding: 2.5rem 0;
  background: rgba(11, 16, 47, 0.85);
  border-top: 1px solid rgba(0, 191, 165, 0.15);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(232, 236, 255, 0.72);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer__links a:hover {
  color: var(--color-secondary);
}

@media (max-width: 900px) {
  .hero {
    padding: 3.5rem 0;
  }

  .hero__stack {
    margin-top: 2.5rem;
    text-align: center;
  }

  .hero__intro {
    max-width: 620px;
    margin: 0 auto;
  }

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

  .hero__form-wrapper {
    margin: 0 auto;
    max-width: 520px;
  }

  .hero__cta-row {
    align-items: center;
  }

  .hero__subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section__content {
    text-align: center;
  }

  .feature-list li,
  .benefit {
    text-align: left;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(11, 16, 47, 0.95);
    border: 1px solid rgba(0, 191, 165, 0.25);
    border-radius: 16px;
    padding: 1rem;
    gap: 1rem;
    min-width: 200px;
    box-shadow: 0 25px 50px rgba(9, 14, 45, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  body.nav-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .btn--ghost {
    display: none;
  }

  body.nav-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__subhead {
    font-size: 1rem;
  }

  .brand-mark img {
    width: clamp(60px, 30vw, 100px);
  }

  .hero__stack {
    margin-top: 2rem;
    gap: 2.5rem;
  }

  .hero__highlights {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .hero__form-wrapper {
    padding: 1.75rem;
  }

  .waitlist-form {
    padding: 0;
  }

  .form-options label {
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    text-align: left;
    align-items: flex-start;
  }

  .section {
    padding: 3rem 0;
  }

  .section__content {
    gap: 1.25rem;
  }

  .btn {
    width: 100%;
  }

  .card {
    padding: 1.5rem;
    text-align: left;
  }

  .benefits-grid {
    gap: 1.25rem;
  }

  .footer__content {
    font-size: 0.9rem;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .brand-mark--footer {
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 2.8rem 0;
  }

  .hero__stack {
    margin-top: 1.75rem;
    gap: 2.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero__form-header img {
    width: 45px;
  }

  .feature-list li {
    padding: 1rem 1.25rem;
  }

  .card {
    padding: 1.25rem;
  }

  .benefit {
    padding: 1.4rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section__content {
    gap: 1.1rem;
  }
}

@media (min-width: 900px) {
  .hero__subhead {
    font-size: 1.2rem;
  }

  .hero__stack {
    text-align: left;
    gap: 3rem;
  }

  .hero__cta-row {
    align-items: flex-start;
  }

  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
