:root {
  --bg: #050914;
  --bg-deep: #03060E;
  --surface: rgba(10, 18, 38, 0.58);
  --surface-strong: rgba(12, 22, 46, 0.82);
  --border: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(20, 210, 250, 0.34);
  --royal: #1E64F0;
  --cyan: #14D2FA;
  --text: #F8FAFC;
  --text-soft: #94A3B8;
  --text-dim: #64748B;
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

::selection {
  background: rgba(30, 100, 240, 0.35);
  color: #FFFFFF;
}

h1, h2, h3, .display-font {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* Floating Glass Navigation */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
  pointer-events: none;
}

.nav-bar {
  pointer-events: auto;
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  padding: 0 14px 0 22px;
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo .mark {
  width: 33px;
  height: 33px;
  display: block;
  flex-shrink: 0;
}

.brand-wordmark-svg {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  pointer-events: auto;
  max-width: 1120px;
  margin: 10px auto 0;
  border-radius: 22px;
  background: rgba(6, 11, 24, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 16px 20px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  border: none;
}

.btn-nav {
  padding: 9px 20px;
  font-size: 0.83rem;
  background: linear-gradient(135deg, rgba(30, 100, 240, 0.92), rgba(20, 210, 250, 0.85));
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(30, 100, 240, 0.35);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(20, 210, 250, 0.42);
}

.btn-primary {
  background: linear-gradient(135deg, #1E64F0 0%, #1595F6 55%, #14D2FA 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 36px rgba(30, 100, 240, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(20, 210, 250, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(20, 210, 250, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* Cinematic Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 0 110px;
  overflow: hidden;
}

#convergence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.hero-aura {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 440px at 50% 34%, rgba(30, 100, 240, 0.24), transparent 70%),
    radial-gradient(420px 300px at 50% 42%, rgba(20, 210, 250, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.1) 0%, rgba(5, 9, 20, 0.72) 78%, #050914 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 68% 58% at 50% 38%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 38%, #000 15%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.prism-pedestal {
  width: 78px;
  height: 78px;
  margin: 0 auto 28px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 25%, rgba(30, 100, 240, 0.25), rgba(5, 9, 20, 0.9) 75%);
  border: 1px solid rgba(20, 210, 250, 0.3);
  box-shadow:
    0 0 60px rgba(30, 100, 240, 0.35),
    0 0 24px rgba(20, 210, 250, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatPulse 6s ease-in-out infinite;
}

.prism-pedestal img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 14px rgba(20, 210, 250, 0.45));
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0px); box-shadow: 0 0 60px rgba(30, 100, 240, 0.32), 0 0 22px rgba(20, 210, 250, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
  50% { transform: translateY(-5px); box-shadow: 0 0 78px rgba(30, 100, 240, 0.46), 0 0 32px rgba(20, 210, 250, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.26); }
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #BAE6FD;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.038em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 20%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #60A5FA 0%, #38BDF8 45%, #14D2FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  color: var(--text-soft);
  max-width: 650px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.68;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-cue {
  margin-top: 72px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  opacity: 0.6;
}

/* Manifesto / Thesis Section */
.manifesto {
  padding: 130px 0;
  position: relative;
}

.manifesto-inner {
  max-width: 920px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
  display: block;
}

.manifesto-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.028em;
  color: #F8FAFC;
}

.manifesto-quote span.dim {
  color: #64748B;
}

/* Flagship Platform Showcase — SYNAXIS VAULT */
.vault-section {
  padding: 110px 0 130px;
  position: relative;
}

.vault-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
}

.vault-lockup {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.vault-lockup .mark {
  width: 48px;
  height: 48px;
  display: block;
  flex-shrink: 0;
}

.vault-lockup .vault-wordmark-svg {
  height: 33px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.vault-header-left h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.vault-header-right {
  max-width: 440px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* Interactive Spotlight Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.bento-card {
  position: relative;
  background: linear-gradient(180deg, rgba(13, 23, 48, 0.62) 0%, rgba(7, 13, 28, 0.86) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 40px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(20, 210, 250, 0.11),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.bento-card:hover::before { opacity: 1; }

.bento-card:hover {
  border-color: rgba(20, 210, 250, 0.28);
  transform: translateY(-3px);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-12 { grid-column: span 12; }

.bento-visual {
  height: 180px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 50%, rgba(30, 100, 240, 0.14), rgba(3, 6, 14, 0.85) 75%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bento-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  display: block;
}

.bento-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.bento-card p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 540px;
}

.bento-wide-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.bento-wide-inner .bento-visual {
  margin-bottom: 0;
  height: 220px;
}

/* Executive Value Strip (#architecture) */
.ethos-section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(900px 380px at 50% 0%, rgba(30, 100, 240, 0.09), transparent 70%);
}

.ethos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.ethos-item {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 210, 250, 0.28);
}

.ethos-index {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 12px;
  display: block;
}

.ethos-item h3 {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.ethos-item p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Private Briefing / Invitation CTA */
.cta-section {
  padding: 140px 0 130px;
  text-align: center;
  position: relative;
}

.cta-panel {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 44px;
  border-radius: 32px;
  background:
    radial-gradient(600px 320px at 50% 0%, rgba(30, 100, 240, 0.24), transparent 70%),
    linear-gradient(180deg, rgba(12, 22, 46, 0.85) 0%, rgba(6, 11, 24, 0.95) 100%);
  border: 1px solid rgba(20, 210, 250, 0.25);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.cta-panel > p {
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Inline Pill Capture (Home) & Minimal Support Form */
.pill-capture {
  max-width: 490px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pill-capture:focus-within {
  border-color: rgba(20, 210, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(20, 210, 250, 0.12);
}

.pill-capture input[type="email"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  outline: none;
  padding-right: 12px;
}

.pill-capture input[type="email"]::placeholder {
  color: var(--text-dim);
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(4, 8, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder {
  color: var(--text-dim);
}

.field-input:focus {
  outline: none;
  border-color: rgba(20, 210, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(20, 210, 250, 0.12);
}

textarea.field-input {
  resize: vertical;
  min-height: 112px;
  line-height: 1.55;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form-subtle-link {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.form-subtle-link a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.form-subtle-link a:hover {
  color: var(--cyan);
}

.form-toast {
  display: none;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--cyan);
  font-weight: 500;
  line-height: 1.5;
}

.form-toast.visible {
  display: block;
}

.form-toast.error {
  color: #FDA4AF;
}

/* Subpages: Support, Privacy, Terms */
.page-main {
  padding: 148px 0 104px;
}

.page-narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  display: block;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.028em;
}

.page-subtitle {
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.page-updated {
  color: var(--text-dim);
  font-size: 0.86rem;
  margin-bottom: 36px;
}

.doc-card {
  background: rgba(12, 22, 46, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 42px;
}

.doc-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 30px 0 10px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.doc-card h2:first-child { margin-top: 0; }

.doc-card p,
.doc-card li {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.72;
  margin-bottom: 12px;
}

.doc-card ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.doc-card a { color: var(--cyan); }
.doc-card a:hover { text-decoration: underline; }

/* Minimal Institutional Footer */
footer {
  padding: 48px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-deep);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.footer-nav a:hover { color: #FFFFFF; }

.footer-fineprint {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 22px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes pulseRing {
  0%, 100% { opacity: 0.35; transform: scale(0.98); }
  50% { opacity: 0.8; transform: scale(1.03); }
}

.ring-pulse {
  transform-origin: center;
  animation: pulseRing 4.5s ease-in-out infinite;
}

/* Responsive */
@media (min-width: 641px) {
  .nav-bar {
    height: 74px;
    padding: 0 16px 0 26px;
  }

  .nav-bar .brand-logo {
    gap: 13px;
  }

  .nav-bar .brand-logo .mark {
    width: 44px;
    height: 44px;
  }

  .nav-bar .brand-wordmark-svg {
    height: 30px;
  }

  .page-main {
    padding-top: 158px;
  }
}

@media (max-width: 960px) {
  .span-7, .span-5, .span-12 { grid-column: span 12; }
  .bento-wide-inner, .ethos-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-bar .btn-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 130px 0 80px; min-height: auto; }
  .manifesto, .vault-section, .cta-section { padding: 84px 0; }
  .bento-card { padding: 28px; }
  .cta-panel { padding: 48px 24px; }
  .doc-card { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .pill-capture {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    gap: 10px;
  }
  .pill-capture input[type="email"] {
    width: 100%;
    padding: 6px 8px;
  }
  .pill-capture .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prism-pedestal, .ring-pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
