@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --back: #020611;
  --back-2: #0a1020;
  --back-3: #111a2f;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --accent: #53d8b1;
  --accent-2: #74b7ff;
  --text: #e5ecff;
  --muted: #98a3c7;
  --muted-strong: #bdc7ea;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(116, 183, 255, 0.22);
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.88);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(116, 183, 255, 0.28), transparent 34%),
    radial-gradient(circle at 84% 11%, rgba(83, 216, 177, 0.16), transparent 32%),
    radial-gradient(circle at 50% 120%, rgba(83, 216, 177, 0.1), transparent 45%),
    linear-gradient(180deg, rgba(2, 6, 18, 0.98), #02040b 52%, #02040b);
  color: var(--text);
  font-family: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  pointer-events: none;
  z-index: 0;
}

main {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

header {
  background: rgba(3, 7, 18, 0.82);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1.3rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 0;
}

.nav-brand strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.nav-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #04131c;
  box-shadow: 0 18px 40px rgba(83, 216, 177, 0.16);
}

.secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
}

.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.primary:hover {
  box-shadow: 0 22px 46px rgba(116, 183, 255, 0.18);
}

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

button.primary,
button.secondary {
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

section {
  margin-top: 2rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.9), rgba(10, 14, 24, 0.94));
  border: 1px solid var(--border);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(116, 183, 255, 0.05), transparent 48%, rgba(83, 216, 177, 0.04));
  pointer-events: none;
}

.section-strong {
  background: linear-gradient(180deg, rgba(8, 13, 25, 0.98), rgba(14, 20, 35, 0.95));
}

.section-muted {
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.82), rgba(7, 11, 22, 0.9));
}

section > * {
  position: relative;
  z-index: 1;
}

section h1,
section h2,
section h3 {
  margin-top: 0;
}

section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

section p,
section li {
  color: var(--muted);
  line-height: 1.7;
}

section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

section li + li {
  margin-top: 0.4rem;
}

section a {
  color: var(--accent-2);
}

section label {
  font-size: 1rem;
  color: var(--text);
  display: block;
}

section label span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 7, 18, 0.68);
  padding: 0.95rem 1rem;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(83, 216, 177, 0.08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

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

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 183, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.card h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.card p {
  margin: 0;
}

.card span.label,
.eyebrow {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin-bottom: 0.8rem;
}

.hero {
  margin-top: 1.5rem;
  min-height: 74vh;
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 3rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(83, 216, 177, 0.14), transparent 32%),
    radial-gradient(circle at 15% 15%, rgba(116, 183, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(7, 12, 30, 0.98), rgba(8, 12, 24, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  width: 100%;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted-strong);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stat {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.hero-panel {
  border-radius: 26px;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.hero-panel h3 {
  font-size: 1.1rem;
}

.panel-list {
  display: grid;
  gap: 0.85rem;
}

.panel-list div {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(3, 7, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

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

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.process-step .dot {
  width: 48px;
  height: 48px;
  background: rgba(83, 216, 177, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 48px;
}

.timeline-card {
  position: relative;
}

.timeline-card::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  display: block;
  margin-top: auto;
}

.support-note {
  border-left: 3px solid rgba(116, 183, 255, 0.45);
  padding-left: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  color: #020617;
  border-radius: 999px;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
  z-index: 20;
}

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

.site-logo {
  height: 52px;
  width: auto;
  vertical-align: middle;
}

body.site-light {
  color-scheme: light;
  --back: #f8fbff;
  --back-2: #eef8fb;
  --back-3: #e7f1fb;
  --card: rgba(255, 255, 255, 0.86);
  --card-strong: rgba(240, 248, 255, 0.95);
  --accent: #18a89c;
  --accent-2: #2d7cf4;
  --text: #101b36;
  --muted: #64748b;
  --muted-strong: #4a5d78;
  --border: rgba(148, 163, 184, 0.26);
  --border-strong: rgba(24, 168, 156, 0.28);
  --shadow: 0 28px 60px rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 88% 14%, rgba(119, 234, 219, 0.18), transparent 30%),
    radial-gradient(circle at 6% 92%, rgba(96, 165, 250, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #f3f8fd 100%);
  color: var(--text);
}

body.site-light::after {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 90%);
}

.site-light main {
  padding: 0 1.5rem 4.5rem;
}

.site-light header {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(18px);
}

.site-light nav a {
  color: var(--text);
}

.site-light nav a:hover,
.site-light nav a[aria-current="page"] {
  color: #0e7f93;
}

.site-light .nav-brand strong {
  font-size: 1.05rem;
}

.site-light .nav-toggle {
  color: #334155;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(203, 213, 225, 0.85);
}

.site-light section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.98));
  border: 1px solid rgba(203, 213, 225, 0.75);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
  padding: 2rem;
}

.site-light section::before {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.07), transparent 46%, rgba(45, 124, 244, 0.04));
}

.site-light .section-strong {
  background: linear-gradient(180deg, #ffffff, #f5fbff);
}

.site-light .section-muted {
  background: linear-gradient(180deg, #f8fcff, #f2f7fd);
}

.site-light section p,
.site-light section li {
  color: #5f7088;
}

.site-light section a {
  color: #0e7f93;
}

.site-light section h1,
.site-light section h2,
.site-light section h3 {
  color: #13213e;
}

.site-light .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.12);
}

.site-light .card:hover {
  border-color: rgba(45, 124, 244, 0.22);
  background: linear-gradient(180deg, #ffffff, rgba(239, 248, 255, 0.98));
  box-shadow: 0 20px 38px rgba(148, 163, 184, 0.16);
}

.site-light .primary {
  background: #149388;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(20, 147, 136, 0.22);
}

.site-light .primary:hover {
  box-shadow: 0 20px 40px rgba(45, 124, 244, 0.18);
}

.site-light .secondary {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(203, 213, 225, 0.9);
  color: #334155;
}

.site-light .secondary:hover {
  border-color: rgba(45, 124, 244, 0.22);
  color: var(--text);
}

.site-light .eyebrow,
.site-light .card span.label {
  color: #0f8d8b;
}

.site-light .process-step .dot {
  background: rgba(22, 158, 149, 0.12);
  color: #0f766e;
}

.site-light .timeline-card::after {
  background: linear-gradient(90deg, #18a89c, #2d7cf4);
}

.hero-light {
  min-height: 0;
  padding: 3.4rem 1.6rem 2.5rem;
  text-align: center;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow: hidden;
}

.hero-light::before {
  content: "";
  position: absolute;
  inset: -12% -10% auto auto;
  width: 58%;
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 222, 0.14), rgba(110, 231, 222, 0.04) 58%, transparent 72%);
}

.hero-light::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -28%;
  width: 42%;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12), rgba(96, 165, 250, 0.03) 58%, transparent 72%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  position: relative;
  padding: 0.78rem 1.35rem 0.78rem 2.3rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: rgba(255, 255, 255, 0.74);
  color: #0f766e;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.hero-badge::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18a89c, #2d7cf4);
}

.hero-light h1 {
  font-size: clamp(3rem, 6.8vw, 5.2rem);
  line-height: 0.96;
  margin: 1.6rem auto 0;
  max-width: 11.8ch;
  letter-spacing: -0.06em;
  color: #13213e;
}

.hero-accent {
  background: linear-gradient(135deg, #18a89c, #2d7cf4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 930px;
  margin: 1.7rem auto 0;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: #5e6e85;
}

.hero-support {
  max-width: 980px;
  margin: 1.2rem auto 0;
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
  line-height: 1.6;
  color: #7b8aa0;
}

.home-page .hero-cta {
  justify-content: center;
  margin-top: 2rem;
}

.home-page .hero-cta .primary,
.home-page .hero-cta .secondary {
  min-width: 250px;
  padding: 1rem 1.55rem;
}

.hero-audience-grid {
  margin-top: 2.15rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  text-align: left;
}

.audience-card {
  padding: 1.55rem 1.45rem;
}

.audience-card h3 {
  font-size: 1.22rem;
  margin: 0;
}

.audience-card .label {
  color: #0f8d8b;
}

.audience-card p {
  margin: 0;
  color: #6b7b91;
}

.site-light footer {
  color: #64748b;
  border-top: 1px solid rgba(203, 213, 225, 0.8);
}

.site-light footer a {
  color: #0f8d8b;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    align-items: center;
    padding: 0.95rem 1rem;
  }

  .nav-brand {
    gap: 0.7rem;
    max-width: calc(100% - 70px);
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-group {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    width: auto;
    margin-top: 0;
    padding: 1rem;
    gap: 0.35rem;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(10, 16, 28, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  nav a {
    margin-left: 0;
    margin-right: 0;
    padding: 0.35rem 0;
  }

  body.nav-open .nav-group {
    display: flex;
  }

  .site-light .nav-group {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(203, 213, 225, 0.92);
    box-shadow: 0 20px 38px rgba(148, 163, 184, 0.18);
  }

  .hero {
    min-height: auto;
    padding: 2rem;
  }

  .hero-light {
    padding: 2.7rem 1.1rem 2.1rem;
  }

  .hero-badge {
    width: auto;
    max-width: min(100%, 320px);
    padding: 0.72rem 1rem 0.72rem 2rem;
    font-size: 0.88rem;
  }

  .hero-badge::before {
    left: 0.85rem;
    width: 10px;
    height: 10px;
  }

  .hero-light h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
    max-width: 10.3ch;
  }

  .hero-summary,
  .hero-support {
    max-width: none;
  }

  .hero-audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  section {
    padding: 1.5rem;
  }

  .site-light main {
    padding: 0 0.85rem 3.5rem;
  }

  .process-step {
    flex-direction: column;
  }
}
