/* Atom Cloud — intentionally small, static, and dependency-free. */

:root {
  --night: #070b16;
  --night-soft: #10182a;
  --ink: #ecf3ff;
  --muted: #9aabc3;
  --line: rgba(197, 216, 255, 0.16);
  --glow: #99baff;
  --shell: 1800px;
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 4;
  top: 0;
  left: -999px;
  padding: 10px 14px;
  color: var(--night);
  background: #fff;
}

.skip-link:focus { left: 0; }

.stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px clamp(32px, 5vw, 92px) 34px;
  overflow: hidden;
}

.stage::before,
.stage::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.stage::before {
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(119, 92, 255, 0.25), transparent 30rem),
    radial-gradient(circle at 84% 30%, rgba(65, 209, 220, 0.15), transparent 26rem),
    linear-gradient(145deg, transparent 38%, rgba(110, 152, 255, 0.06) 48%, transparent 62%);
}

.stage::after {
  inset: 10px;
  border: 1px solid rgba(193, 215, 255, 0.11);
  border-radius: 26px;
}

.signal {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -15%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(171, 202, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(150, 185, 255, 0.025), 0 0 0 112px rgba(150, 185, 255, 0.018);
}

.masthead,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.masthead { min-height: 44px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(152, 186, 255, 0.42));
}

.masthead p,
footer p,
.section-label,
.eyebrow,
.labs > span,
.path-index {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro {
  max-width: 1120px;
  padding: clamp(88px, 16vh, 168px) 0 clamp(68px, 12vh, 116px);
}

.eyebrow { margin-bottom: 21px; color: #b9caff; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(48px, 6.8vw, 112px);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.mission {
  max-width: 62ch;
  margin: 32px 0 0;
  color: #b8c6d9;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.work { padding: 0 0 84px; }

.section-label { margin-bottom: 18px; }

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
}

.path {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  grid-template-rows: auto 1fr;
  gap: 22px 16px;
  align-items: start;
  min-height: 252px;
  padding: clamp(24px, 2.4vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(190, 215, 255, 0.055), rgba(190, 215, 255, 0.018));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 186, 255, 0.09), transparent 67%);
  content: "";
  pointer-events: none;
}

.path:hover,
.path:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(197, 216, 255, 0.34);
  background: linear-gradient(145deg, rgba(190, 215, 255, 0.09), rgba(190, 215, 255, 0.03));
  outline: none;
}

.path-index {
  grid-row: 1;
  grid-column: 1;
}

.path-copy {
  grid-row: 2;
  grid-column: 1 / 3;
  display: grid;
  gap: 11px;
}

.product-mark {
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0.94;
}

.path strong {
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 540;
  letter-spacing: -0.035em;
}

.path-copy span {
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.privacyfirst strong { color: #b9cdff; }
.indexio strong { color: #9ce0d7; }
.cortexbee strong { color: #ffd49a; }

.arrow {
  position: relative;
  z-index: 1;
  grid-row: 2;
  grid-column: 3;
  justify-self: end;
  color: var(--glow);
  font-size: 23px;
  transition: transform 180ms ease;
}
.path:hover .arrow, .path:focus-visible .arrow { transform: translate(3px, -3px); }

.labs {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  max-width: 760px;
  padding: 24px 0 74px;
}

.labs p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.labs strong { color: var(--ink); font-weight: 600; }

footer { border-top: 1px solid var(--line); padding-top: 20px; }
footer p { letter-spacing: 0.08em; text-transform: none; }

@media (max-width: 960px) {
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 190px; }
  .path-copy span { max-width: 58ch; }
}

@media (max-width: 640px) {
  .stage { padding: 20px 22px 24px; }
  .stage::after { inset: 6px; border-radius: 18px; }
  .intro { padding-top: 105px; padding-bottom: 72px; }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  .mission { margin-top: 27px; font-size: 17px; }
  .path {
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    gap: 18px 12px;
    min-height: 196px;
    padding: 24px 20px;
    border-radius: 18px;
  }
  .path-index { font-size: 10px; }
  .product-mark { width: 36px; height: 36px; }
  .path-copy span { font-size: 14px; }
  .labs { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .path, .arrow { transition: none; }
}
