/* Landing page only. Shared tokens live in style.css. */

:root {
  --ghost-border: rgba(255, 255, 255, 0.24);
  --node: #12122a;
  --node-stroke: rgba(167, 139, 250, 0.55);
  --beam: rgba(103, 232, 249, 0.45);
  --pulse: #67e8f9;
  --ring: rgba(167, 139, 250, 0.22);
  --star: rgba(255, 255, 255, 0.55);
  --icon-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.14));
  --icon-fg: #d8d4ff;
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}
@media (prefers-color-scheme: light) {
  :root {
    --ghost-border: rgba(20, 20, 70, 0.18);
    --node: #ffffff;
    --node-stroke: rgba(109, 40, 217, 0.35);
    --beam: rgba(8, 145, 178, 0.45);
    --pulse: #0891b2;
    --ring: rgba(109, 40, 217, 0.18);
    --star: rgba(76, 29, 149, 0.35);
    --icon-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.14));
    --icon-fg: #5b21b6;
    --card-bg: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.75));
  }
}

body.home::before { height: 1300px; }

/* Header nav */
nav.top { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
nav.top a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav.top a:hover { color: var(--text); }
nav.top .pill-link {
  color: var(--text);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
nav.top .pill-link:hover { border-color: var(--violet); }

main#main { padding: 0; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}

.display {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 0 0 28px;
  text-wrap: balance;
}
.display .grad { display: inline-block; padding-bottom: 0.08em; }

.hero-lede {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 34px;
  text-wrap: pretty;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1.04rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.btn.primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 12px 40px -10px rgba(124, 58, 237, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); text-decoration: none; }
.btn.primary:hover svg { transform: translateX(3px); }
.btn.ghost { color: var(--text); border: 1px solid var(--ghost-border, var(--line-strong)); background: var(--surface-2); }
.btn.ghost:hover { border-color: var(--violet); text-decoration: none; }

.proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.proof li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.proof svg { width: 18px; height: 18px; fill: none; stroke: var(--proof-icon, var(--cyan)); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Hero art */
.hero-art { position: relative; }
.constellation { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; overflow: visible; }
.constellation .glow { transform-origin: 300px 300px; animation: breathe 6s ease-in-out infinite; }
.constellation .ring { fill: none; stroke: var(--ring); stroke-width: 1.5; }
.constellation .ring-dash { stroke-dasharray: 2 9; stroke-width: 2; transform-origin: 300px 300px; animation: spin 60s linear infinite; }
.constellation .beams path { stroke: var(--beam); stroke-width: 2; stroke-dasharray: 3 7; fill: none; animation: flow 1.2s linear infinite; }
.constellation .pulses circle { fill: var(--pulse); filter: drop-shadow(0 0 6px var(--pulse)); }
.constellation .pulses circle.soon { opacity: 0.45; }
.constellation .orb-group { transform-origin: 300px 300px; animation: float 7s ease-in-out infinite; }
.constellation .wave rect { fill: #ffffff; opacity: 0.92; transform-box: fill-box; transform-origin: center; animation: wave 1.3s ease-in-out infinite; }
.constellation .wave rect:nth-child(2) { animation-delay: -0.2s; }
.constellation .wave rect:nth-child(3) { animation-delay: -0.55s; }
.constellation .wave rect:nth-child(4) { animation-delay: -0.9s; }
.constellation .wave rect:nth-child(5) { animation-delay: -0.35s; }
.constellation .wave rect:nth-child(6) { animation-delay: -0.75s; }
.constellation .wave rect:nth-child(7) { animation-delay: -0.1s; }
.constellation .wave rect:nth-child(8) { animation-delay: -0.6s; }
.constellation .node circle { fill: var(--node); stroke: var(--node-stroke); stroke-width: 1.5; }
.constellation .node svg path, .constellation .node svg rect { fill: none; stroke: var(--icon-fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.constellation .node text { fill: var(--muted); font-size: 21px; font-weight: 550; text-anchor: middle; font-family: var(--font); }
.constellation .node.soon circle { stroke-dasharray: 4 5; }
.constellation .node.soon svg { opacity: 0.7; }
.constellation .stars circle { fill: var(--star); animation: twinkle 4s ease-in-out infinite; }
.constellation .stars circle:nth-child(3n) { animation-delay: -1.3s; }
.constellation .stars circle:nth-child(3n+1) { animation-delay: -2.6s; }

@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.85; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes float { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
@keyframes wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* Sections */
.section { padding: 100px 0 40px; scroll-margin-top: 60px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
@media (prefers-color-scheme: light) { .eyebrow { color: #0e7490; } :root { --proof-icon: #0e7490; } }
.title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 780;
  margin: 0 0 22px;
  max-width: 18ch;
  text-wrap: balance;
}
.title .grad { padding-bottom: 0.06em; }
.sub {
  font-size: clamp(1.08rem, 1.5vw, 1.27rem);
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 44px;
  text-wrap: pretty;
}

.cards { display: grid; gap: 18px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { margin: 18px 0 8px; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card.small p { margin-bottom: 0; }
.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--icon-bg);
  border: 1px solid var(--line);
  flex: none;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--icon-fg); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
}
.tag.on { border: 1px solid rgba(74, 222, 128, 0.4); color: #86efac; background: rgba(74, 222, 128, 0.08); }
@media (prefers-color-scheme: light) { .tag.on { color: #15803d; border-color: rgba(21, 128, 61, 0.35); } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1fr; }
.split.reverse .home-art { order: -1; }
.split .sub { margin-bottom: 30px; }

.points { list-style: none; padding: 0; margin: 0; }
.points li {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.04rem;
}
.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-btn);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}
.points strong, .pillars strong { color: var(--text); }

/* Converging threads -> topic */
.converge {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
}
.threads { display: grid; gap: 16px; }
.bubble {
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.97rem;
  line-height: 1.45;
  box-shadow: var(--shadow);
}
.bubble .ch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--faint);
}
.bubble .ch svg { width: 14px; height: 14px; fill: none; stroke: var(--proof-icon, var(--cyan)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.links { width: 100%; height: 100%; min-height: 240px; overflow: visible; }
.links path { fill: none; stroke: var(--beam); stroke-width: 2; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; animation: flow 1.2s linear infinite; }

.topic {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.45), 0 0 60px -10px rgba(139, 92, 246, 0.55), var(--shadow);
}
.topic p { margin: 0; }
.topic-head { display: flex; align-items: center; gap: 8px; }
.topic-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-btn); box-shadow: 0 0 10px rgba(139, 92, 246, 0.8); }
.topic-kind { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.topic-name { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; margin: 6px 0 14px !important; }
.topic-label { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px !important; }
@media (prefers-color-scheme: light) { .topic-label { color: #0e7490; } }
.topic-text { color: var(--muted); font-size: 0.97rem; line-height: 1.5; margin-bottom: 14px !important; }
.checks { list-style: none; margin: 0 0 14px; padding: 0; font-size: 0.95rem; }
.checks li { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
}
.checks li.done { color: var(--faint); text-decoration: line-through; }
.checks li.done::before {
  border-color: transparent;
  background: var(--grad-btn) center / 100% no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--grad-btn);
}
.topic-foot { padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); }
.converge figcaption { grid-column: 1 / -1; margin-top: 18px; font-size: 0.85rem; color: var(--faint); text-align: center; }

/* Private */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.5; }
.pillars .icon { width: 44px; height: 44px; border-radius: 13px; }
.pillars .icon svg { width: 22px; height: 22px; }
.pillars li > span:last-child { padding-top: 9px; }

.home-art svg { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; overflow: visible; }
.home-art .house { fill: none; stroke: url(#houseStroke); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.home-art .floor { stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.home-art .cloud-x path { fill: none; stroke: var(--faint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.home-art .cloud-x .x { stroke: var(--pink); opacity: 1; }
.home-art .cloud-x { transform: translate(12px, -22px) scale(1.25); transform-origin: 350px 110px; }
.home-art .beam2 { stroke: var(--beam); stroke-width: 3; stroke-dasharray: 3 6; stroke-linecap: round; animation: flow 1.2s linear infinite reverse; }
.home-art .bob { animation: float 6s ease-in-out infinite; }
.home-art .glow2 { transform-origin: 180px 200px; animation: breathe 6s ease-in-out infinite; }
.home-art .led { animation: twinkle 2.5s ease-in-out infinite; }

/* Beta */
.beta {
  position: relative;
  border-radius: 34px;
  padding: 2px;
  background: linear-gradient(120deg, rgba(167, 139, 250, 0.8), rgba(34, 211, 238, 0.6), rgba(244, 114, 182, 0.7));
  box-shadow: 0 40px 120px -40px rgba(124, 58, 237, 0.7);
}
.beta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 90px 32px 70px;
  text-align: center;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(139, 92, 246, 0.35), transparent 70%),
    radial-gradient(400px 240px at 85% 100%, rgba(34, 211, 238, 0.18), transparent 70%),
    var(--bg);
}
.beta .badge { margin-bottom: 22px; }
.display-2 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0 0 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.beta-lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--muted); max-width: 36rem; margin: 0 auto 34px; text-wrap: pretty; }
.fine { margin: 26px auto 0; max-width: 32rem; font-size: 0.92rem; color: var(--faint); }
.signoff { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.mini-orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #e9d5ff 18%, #8b5cf6 52%, #312e81 100%); box-shadow: 0 0 14px rgba(139, 92, 246, 0.7); }

.sms-cta { max-width: 46rem; }
.sms-cta:hover { border-color: var(--line); }
.sms-cta .sms-cta-main { color: var(--text); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; margin: 0 0 14px; }
.sms-cta .sms-cta-links { margin: 0; font-size: 0.98rem; }

footer.site { margin-top: 90px; }

/* Responsive */
@media (max-width: 1080px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 44px 0 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .home-art { order: 0; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 84px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .constellation .node text { font-size: 28px; }
  .display { font-size: clamp(2.7rem, 12.4vw, 3.6rem); margin-bottom: 22px; }
  .badge { margin-bottom: 20px; font-size: 0.85rem; }
  .btn { padding: 14px 22px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .proof { gap: 10px 18px; font-size: 0.9rem; margin-top: 28px; }
  .cards.four, .cards.three { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; flex-direction: row; flex-wrap: wrap; column-gap: 16px; }
  .card h3 { margin: 10px 0 0; flex: 1; }
  .card p { flex-basis: 100%; margin-top: 10px; }
  .card .tag { margin-top: 0; }
  .card.small { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px; }
  .card.small .icon { width: 44px; height: 44px; grid-row: span 2; }
  .card.small h3 { margin: 0 0 4px; font-size: 1.1rem; }
  .card.small p { margin: 0; font-size: 0.97rem; }
  .converge { grid-template-columns: 1fr; }
  .links { display: none; }
  .threads { position: relative; gap: 12px; margin-bottom: 34px; }
  .threads::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -34px;
    height: 34px;
    border-left: 2px dashed var(--beam);
  }
  .bubble:nth-child(2) { margin-left: 28px; }
  .beta-inner { padding: 64px 20px 48px; border-radius: 26px; }
  .beta { border-radius: 28px; }
  .section { padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .constellation .pulses { display: none; }
  .btn.primary:hover { transform: none; }
}
