:root {
  --bg: #0A0E14;
  --panel: rgba(17, 22, 30, 0.78);
  --panel-solid: #11161E;
  --border: #1F2733;
  --text: #F5F7FA;
  --muted: #8B939F;
  --faint: #66707D;
  --accent: #3B82F6;
  --accent-strong: #60A5FA;
  --teal: #02C4D6;
  --navy: #052F46;
  --font-display: 'Maven Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Maven Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
::selection { background: var(--accent); color: #FFFFFF; }

.splash {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 48px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(59,130,246,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59,130,246,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0 36%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0 36%, transparent 72%);
  z-index: -3;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}
.orb--one {
  width: 48vw;
  height: 48vw;
  max-width: 620px;
  max-height: 620px;
  right: -14vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 66%);
  z-index: -2;
}
.orb--two {
  width: 34vw;
  height: 34vw;
  left: -16vw;
  bottom: -18vw;
  background: radial-gradient(circle, rgba(2,196,214,0.12), transparent 70%);
  z-index: -2;
}

.panel {
  width: min(100%, 1040px);
  min-height: min(700px, calc(100svh - 40px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 40px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(31, 39, 51, 0.95);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(59,130,246,0.1), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(2,196,214,0.06), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)),
    var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(59,130,246,0.02) inset;
  backdrop-filter: blur(18px);
}

.brand-row,
.micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.045em;
}
.brand__mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.26);
}
.brand__word { display: inline-flex; }
.accent { color: var(--accent); }
.status {
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}

.content {
  align-self: center;
  max-width: 760px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
}
.lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}
.actions {
  display: flex;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #FFFFFF; box-shadow: 0 12px 24px rgba(59,130,246,0.22); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--full { width: 100%; }

.micro {
  color: var(--faint);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal.is-open { display: grid; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}
.modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 34px);
  background:
    radial-gradient(circle at 84% 0%, rgba(59,130,246,0.16), transparent 32%),
    var(--panel-solid);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.64);
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.modal__eyebrow { margin-bottom: 14px; }
.modal h2 {
  margin: 0;
  padding-right: 34px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.modal__lede {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.lead-form {
  display: grid;
  gap: 14px;
}
.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(59,130,246,0.68);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.lead-form textarea { resize: vertical; }
.form-note,
.form-status {
  margin: 0;
  color: var(--faint);
  font-size: 12.5px;
}
.form-status:not(:empty) {
  color: var(--text);
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .splash { place-items: stretch; }
  .panel { min-height: calc(100svh - 40px); }
  .brand-row, .micro { align-items: flex-start; flex-direction: column; }
  .content { align-self: center; }
  .actions { align-items: stretch; }
  .btn { width: 100%; }
  h1 { letter-spacing: -0.045em; }
}

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