:root {
  --bg: #06060b;
  --bg-elevated: rgba(12, 12, 20, 0.72);
  --ink: #f4f1ff;
  --muted: #9aa0b8;
  --line: rgba(255, 255, 255, 0.1);
  --violet: #863bff;
  --violet-soft: #c4a6ff;
  --cyan: #47bfff;
  --mint: #65e3d0;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.atmosphere-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.15) contrast(1.05);
}

.atmosphere-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(134, 59, 255, 0.28), transparent 42%),
    radial-gradient(ellipse at 90% 10%, rgba(71, 191, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(6, 6, 11, 0.35) 0%, rgba(6, 6, 11, 0.82) 42%, #06060b 78%);
}

.atmosphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.atmosphere-orb-a {
  width: 420px;
  height: 420px;
  left: -80px;
  top: 120px;
  background: rgba(134, 59, 255, 0.22);
}

.atmosphere-orb-b {
  width: 360px;
  height: 360px;
  right: -60px;
  top: 40vh;
  background: rgba(71, 191, 255, 0.14);
}

.atmosphere-grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(6, 6, 11, 0.55);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-mark { width: 30px; height: auto; }

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }
.nav-mobile-cta { display: none; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, #9a5cff, var(--violet));
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(134, 59, 255, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg { min-height: 50px; padding: 0 20px; }

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(101, 227, 208, 0.16);
}

h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.08; }

h1 {
  margin: 18px 0 18px;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
}

h1 em {
  font-style: italic;
  color: var(--violet-soft);
}

h2 {
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
}

.lead, .lede {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-visual { margin: 0; }

.hero-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow), 0 0 80px rgba(134, 59, 255, 0.18);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(6, 6, 11, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.live {
  color: var(--mint);
}

.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 11px;
  color: #c9cde0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 88px 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }

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

.flow-card,
.chip-card,
.gov-card,
.access-form,
.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.flow-card { padding: 22px; }

.flow-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
}

.flow-card h3,
.chip-card h3,
.gov-card h3,
.specialist h3 { margin: 12px 0 8px; font-size: 20px; }

.flow-card p,
.chip-card p,
.gov-card p,
.specialist p,
.faq p { margin: 0; color: var(--muted); font-size: 14px; }

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

.specialist {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 14, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.specialist img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.specialist-body { padding: 18px 18px 22px; }

.tag {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet-soft);
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.chip-card { padding: 18px; }

.sandbox-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.sandbox-visual {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sandbox-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #d7d9ea;
}

.check-list li::before {
  content: "→";
  color: var(--mint);
  margin-right: 10px;
}

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

.gov-card { padding: 24px; }

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.fine { color: #7f859b; font-size: 13px; }

.access-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.access-form label { display: grid; gap: 6px; font-size: 13px; }

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus {
  outline: 2px solid #9a5cff;
  outline-offset: 2px;
}

.form-status { min-height: 1.4em; color: var(--mint); font-size: 13px; }

.faq { display: grid; gap: 10px; }
.faq details { padding: 16px 18px; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
}

.footer-inner { color: var(--muted); }
.footer .brand { margin-bottom: 10px; }

@media (max-width: 960px) {
  .hero-grid,
  .sandbox-grid,
  .access-grid,
  .specialist-grid,
  .gov-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .chip-row { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px 20px 18px;
    flex-direction: column;
    background: #0a0a12;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .nav-mobile-cta {
    display: block;
    margin-top: 8px;
    color: var(--violet-soft);
    font-weight: 600;
  }
}

@media (max-width: 620px) {
  .flow,
  .chip-row { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .section { padding: 64px 0; }
  .nav-actions .btn-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn:hover { transform: none; }
}
