:root {
  --bg: #f6f8ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-dark: rgba(16, 22, 61, 0.82);
  --text: #0d122b;
  --text-soft: #43507c;
  --indigo-deep: #171e4b;
  --indigo-main: #24338a;
  --indigo-accent: #5a6eea;
  --indigo-soft: #dce4ff;
  --cyan: #6ee7f5;
  --line: rgba(30, 49, 118, 0.12);
  --line-strong: rgba(118, 145, 255, 0.34);
  --shadow: 0 30px 80px rgba(20, 31, 78, 0.14);
  --shadow-strong: 0 32px 100px rgba(16, 23, 62, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(90, 110, 234, 0.18), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(110, 231, 245, 0.18), transparent 18%),
    linear-gradient(180deg, #f8faff 0%, #f3f5fe 42%, #eef2ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  opacity: 0.4;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(122, 144, 241, 0.16);
  border-radius: 999px;
  background: rgba(248, 250, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(39, 57, 136, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  box-shadow: 0 12px 28px rgba(61, 88, 216, 0.26);
  flex: 0 0 auto;
}

.brand-text {
  font-size: 1.05rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--indigo-main);
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 28px 0 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--indigo-main);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.94;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

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

.button-primary {
  background: linear-gradient(135deg, var(--indigo-main), var(--indigo-accent));
  color: white;
  box-shadow: 0 18px 40px rgba(55, 81, 208, 0.32);
}

.button-secondary,
.button-ghost {
  border-color: rgba(78, 101, 214, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--indigo-deep);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span,
.visual-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(86, 111, 234, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--indigo-main);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.visual-orbit,
.visual-glow {
  position: absolute;
  inset: auto;
}

.visual-orbit {
  border: 1px solid rgba(119, 145, 255, 0.18);
  border-radius: 50%;
}

.visual-orbit-a {
  width: 480px;
  height: 480px;
  transform: rotate(22deg);
}

.visual-orbit-b {
  width: 560px;
  height: 360px;
  transform: rotate(-18deg);
}

.visual-glow {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(90, 110, 234, 0.28), rgba(90, 110, 234, 0.04) 58%, transparent 74%);
  filter: blur(14px);
}

.visual-card {
  position: relative;
  width: min(100%, 520px);
  padding: 22px 22px 18px;
  border: 1px solid rgba(129, 149, 255, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(241, 245, 255, 0.66)),
    linear-gradient(135deg, rgba(132, 156, 255, 0.08), rgba(110, 231, 245, 0.08));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-strong);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.visual-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ascii-scene {
  margin: 0;
  min-height: 380px;
  padding: 20px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(82, 104, 230, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(25, 34, 84, 0.98), rgba(8, 14, 38, 1));
  color: #e8edff;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(8px, 1vw, 11px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-shadow: 0 0 10px rgba(144, 170, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(135, 156, 255, 0.08),
    inset 0 20px 60px rgba(130, 156, 255, 0.05);
  user-select: none;
}

.visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item,
.info-card,
.platform-card,
.statement-card,
.step-card,
.byd-panel,
.cta-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 18px 20px;
  color: var(--indigo-deep);
  font-weight: 700;
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.section-contrast {
  position: relative;
}

.section-contrast::before {
  content: "";
  position: absolute;
  inset: 0 -40px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(221, 229, 255, 0.62), rgba(245, 248, 255, 0.74)),
    radial-gradient(circle at top right, rgba(90, 110, 234, 0.14), transparent 24%);
  z-index: -1;
}

.card-grid,
.platform-grid,
.split-grid,
.steps,
.byd-grid {
  display: grid;
  gap: 18px;
}

.card-grid,
.platform-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.platform-card,
.step-card,
.byd-panel {
  padding: 26px;
}

.info-card p,
.platform-card ul,
.statement-card p,
.step-card p,
.byd-panel ul {
  margin-top: 14px;
}

ul {
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.7;
}

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

.statement-card {
  padding: 28px;
}

.section-dark {
  position: relative;
  padding-inline: clamp(20px, 4vw, 40px);
  border-radius: 42px;
  background:
    radial-gradient(circle at top, rgba(111, 145, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #12183e 0%, #101533 100%);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: auto auto 0 -5%;
  width: 110%;
  height: 140px;
  background: radial-gradient(circle at center, rgba(110, 231, 245, 0.08), transparent 65%);
}

.section-heading-light .eyebrow,
.section-heading-light h2,
.section-heading-light p,
.section-dark h3,
.section-dark li {
  color: #f2f5ff;
}

.byd-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.byd-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(166, 184, 255, 0.14);
  box-shadow: none;
}

.byd-accent {
  background:
    linear-gradient(180deg, rgba(81, 103, 231, 0.22), rgba(19, 24, 62, 0.22)),
    rgba(255, 255, 255, 0.08);
}

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

.step-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--indigo-accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.section-cta {
  padding-bottom: 0;
}

.cta-block {
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(230, 236, 255, 0.82)),
    linear-gradient(180deg, rgba(90, 110, 234, 0.08), rgba(110, 231, 245, 0.06));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-weight: 700;
  color: var(--indigo-deep);
}

.contact-form .field-wide {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(79, 105, 227, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(79, 105, 227, 0.38);
  box-shadow: 0 0 0 4px rgba(90, 110, 234, 0.12);
}

.form-status {
  min-height: 24px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #0f766e;
}

.turnstile-slot {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 4px 0;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
}

.contact-card h3 {
  margin-top: 2px;
}

.contact-card p {
  margin-top: 14px;
}

.contact-card a {
  color: var(--indigo-main);
  font-weight: 700;
}

.legal-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.legal-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(30, 49, 118, 0.08);
}

.legal-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-list dt {
  color: var(--text-soft);
  font-weight: 700;
}

.legal-list dd {
  margin: 0;
  color: var(--indigo-deep);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 12px;
  color: var(--text-soft);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand strong {
  display: inline-block;
  color: var(--indigo-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.footer-brand p,
.footer-meta p {
  margin-top: 8px;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--indigo-main);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero,
  .card-grid,
  .platform-grid,
  .split-grid,
  .steps,
  .trust-strip,
  .byd-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .section-dark {
    padding-inline: 24px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    top: 10px;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero,
  .card-grid,
  .platform-grid,
  .split-grid,
  .steps,
  .trust-strip,
  .byd-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  h2 {
    max-width: 16ch;
  }

  .hero-visual {
    min-height: 460px;
  }

  .visual-orbit-a {
    width: 320px;
    height: 320px;
  }

  .visual-orbit-b {
    width: 380px;
    height: 240px;
  }

  .visual-glow {
    width: 280px;
    height: 280px;
  }

  .visual-card,
  .cta-block {
    padding: 20px;
  }

  .section-dark {
    padding-inline: 16px;
  }

  .site-footer,
  .footer-brand {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .ascii-scene {
    min-height: 280px;
    padding: 14px;
    font-size: 8px;
  }

  .contact-form .field-wide {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
