* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --text: #0f1f33;
  --muted: #3f4d61;
  --blue-50: #eef6ff;
  --blue-100: #dceeff;
  --blue-500: #266fc9;
  --blue-700: #184f96;
  --orange-500: #d87824;
  --orange-600: #be671c;
  --border: #d7e2ef;
  --card: #ffffff;
  --bg: #f8fbff;
  --footer: #1d2f45;
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

a { color: var(--blue-500); }
a:hover { color: var(--blue-700); }

.container { width: min(var(--max), 92%); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0; 
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(3px);
}

.site-nav .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 0 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 999px;
}

.brand-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-text span {
  color: var(--blue-500);
}

.nav-toggle {
  display: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: 1px solid #cfd8e4;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-links a.is-active {
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 700;
}

.nav-links .nav-cta {
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
}

.nav-links .nav-cta:hover {
  background: var(--orange-600);
  color: #fff;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.lang-switcher a {
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  color: #5a6b7f;
  border: 1px solid #d8e2ee;
  border-radius: 999px;
  padding: 0.18rem 0.4rem;
  background: rgba(255, 255, 255, 0.75);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-switcher:hover {
  opacity: 0.95;
}

.lang-switcher a.is-active {
  color: #37587c;
  border-color: #b6cadf;
  background: #f2f7fc;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    z-index: 5;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
  }

  .lang-switcher {
    display: inline-flex;
    margin-left: auto;
  }

  .lang-switcher a {
    font-size: 0.68rem;
    padding: 0.16rem 0.34rem;
  }
}

.hero {
  background: linear-gradient(165deg, var(--blue-100) 0%, #f3f9ff 70%, #fff 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.7rem 1.25rem 2.3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.03rem;
  color: var(--muted);
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.urgency {
  font-size: 0.88rem;
  color: #5a6d82;
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.55;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 10px 22px rgba(190, 103, 28, 0.25);
}

.btn-primary:hover {
  background: var(--orange-600);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--blue-700);
  border: 1.5px solid #b9d2ef;
}

.btn-secondary:hover {
  background: #f2f8ff;
  color: var(--blue-700);
}

.section {
  padding: 2rem 1.25rem;
}

.intent-section {
  padding-top: 1.6rem;
}

.section-light {
  background: #fff;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  text-align: left;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.credibility-strip {
  background: #f7fbff;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
}

.credibility-strip .section-inner {
  text-align: center;
  color: #47617e;
  font-size: 0.9rem;
  font-weight: 600;
}

.tile {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
  background: var(--card);
  box-shadow: 0 7px 26px rgba(21, 42, 68, 0.06);
}

.tile h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tile p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
}

.intent-cards .tile {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intent-cards .tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 42, 68, 0.1);
}

.cohort {
  background: linear-gradient(165deg, #f5fbff 10%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cohort p {
  max-width: 48rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
  line-height: 1.75;
}

section.trust {
  background: #fff;
}

section.trust .notice {
  border: 1px solid #cfe0f2;
  border-radius: 16px;
  background: #f7fbff;
  padding: 1rem 1.1rem;
  color: #415167;
  font-size: 0.94rem;
  line-height: 1.7;
}

p.trust {
  font-size: 0.86rem;
  color: #4f5f70;
  text-align: center;
  margin: 0.65rem auto 0;
  line-height: 1.5;
}

.about-copy {
  color: var(--muted);
  line-height: 1.75;
  max-width: 52rem;
}

.about-build-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.waitlist-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(20, 45, 76, 0.09);
  padding: 1.35rem;
}

.waitlist-intro {
  max-width: 720px;
  margin: 0 auto 1rem;
}

.waitlist-intro h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.waitlist-intro p {
  color: var(--muted);
  line-height: 1.7;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #29415f;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c7d7e8;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.form-row textarea {
  min-height: 112px;
  resize: vertical;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #29415f;
}

.form-group .req {
  color: #b45309;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c7d7e8;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.form-group textarea {
  min-height: 5rem;
  resize: vertical;
}

/* 16px+ on waitlist avoids iOS zoom on focus */
.waitlist-wrap .form-group input,
.waitlist-wrap .form-group select,
.waitlist-wrap .form-group textarea {
  font-size: 1rem;
}

.form-group .error {
  font-size: 0.75rem;
  color: #b91c1c;
  margin-top: 0.25rem;
  display: none;
}

.form-group.is-invalid .error {
  display: block;
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: #b91c1c;
}

.form-group.is-invalid .checkbox-row input {
  outline: 2px solid #b91c1c;
  outline-offset: 2px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 0.35rem;
}

.form-submit-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.form-privacy-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-regulatory {
  padding-top: 0;
}

.contact-regulatory-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.contact-regulatory p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

.form-message {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

.thank-you-body {
  padding-top: 1rem;
}

.thank-you-inner {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.thank-you-inner p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.thank-you-lead {
  font-size: 1.05rem;
  color: var(--text);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  justify-content: flex-start;
}

details.form-extra {
  margin-top: 1rem;
  border: 1px solid #c7d8ea;
  border-radius: 14px;
  background: #f7fbff;
  padding: 0.7rem 0.9rem 0.25rem;
}

details.form-extra summary {
  cursor: pointer;
  color: #234b79;
  font-weight: 700;
  list-style: none;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.form-extra summary::-webkit-details-marker {
  display: none;
}

details.form-extra summary:focus {
  outline: none;
}

details.form-extra summary::marker {
  content: "";
}

details.form-extra summary::after {
  content: "+";
  font-size: 1.1rem;
  color: #2c4c70;
}

details.form-extra[open] summary::after {
  content: "-";
}

details.form-extra .form-group:first-of-type {
  margin-top: 0.8rem;
}

details.form-extra summary:focus-visible {
  outline: 2px solid #8fb6e1;
  outline-offset: 2px;
}

.site-footer {
  background: var(--footer);
  padding: 2.4rem 1.25rem 1.5rem;
  margin-top: 3rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand-stack {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.footer-brand-stack span span {
  color: #86b8f2;
}

.footer-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  background-color: transparent;
}

.footer-tag {
  font-size: 0.88rem;
  color: #bfcbdd;
  margin-top: 0.35rem;
  max-width: 28rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #d2deec;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.79rem;
  color: #9fb3cc;
  text-align: center;
  padding: 1.25rem 1.25rem 0;
  max-width: 52rem;
  margin: 1.25rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.7;
}

.page-hero {
  padding: 2rem 1.25rem 1.4rem;
  background: linear-gradient(165deg, var(--blue-100) 0%, #f4f9ff 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.page-hero .sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 40rem;
}

.content-block {
  padding: 2.5rem 1.25rem 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.content-block h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.content-block ul {
  margin: 0.5rem 0 0 1.25rem;
}

.content-block li + li {
  margin-top: 0.35rem;
}

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

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem 2.7rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .page-hero {
    padding: 2.3rem 1rem 1.8rem;
  }
}
