
:root {
  --bg: #070d19;
  --bg-soft: #0d1730;
  --panel: rgba(14, 24, 46, 0.78);
  --panel-strong: rgba(18, 30, 56, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef4ff;
  --muted: #bdd0f3;
  --signal: #63d6ff;
  --signal-2: #2b7fff;
  --edit: #ffbe5c;
  --edit-2: #ff883d;
  --support: #ff8ac8;
  --support-2: #b388ff;
  --hero: #89e2ff;
  --green: #6de7b7;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(99, 214, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(255, 138, 200, 0.14), transparent 24%),
    radial-gradient(circle at 48% 88%, rgba(179, 136, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #09101d 0%, #050912 100%);
  min-height: 100vh;
}

.landing-body {
  --cursor-x: 50%;
  --cursor-y: 30%;
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(99, 214, 255, 0.12), transparent 18%),
    radial-gradient(circle at 10% 10%, rgba(99, 214, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(255, 138, 200, 0.14), transparent 24%),
    radial-gradient(circle at 48% 88%, rgba(179, 136, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #09101d 0%, #050912 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.42;
  z-index: 0;
}
.ambient-a {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 180px;
  background: rgba(99, 214, 255, 0.18);
}
.ambient-b {
  width: 300px;
  height: 300px;
  right: 6%;
  top: 420px;
  background: rgba(255, 190, 92, 0.14);
}
.ambient-c {
  width: 360px;
  height: 360px;
  left: 42%;
  bottom: -120px;
  background: rgba(179, 136, 255, 0.16);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.panel,
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 20px;
  padding: 30px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(99,214,255,0.16), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(255,190,92,0.12), transparent 20%),
    radial-gradient(circle at 70% 90%, rgba(179,136,255,0.12), transparent 26%);
  pointer-events: none;
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.eyebrow,
.paper-kicker,
.link-kicker,
.view-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--signal);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.95;
}

.hero-tag {
  margin: 0 0 14px;
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.3;
  color: #d8eaff;
  font-weight: 700;
}

.hero-text,
.intro-card p,
.paper-body p,
.process-step p,
.view-copy p,
.closing-card p,
.hero-note li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

.hero-text {
  max-width: 72ch;
  margin: 0 0 12px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.chip-signal { box-shadow: inset 0 0 0 1px rgba(99,214,255,0.28); }
.chip-edit { box-shadow: inset 0 0 0 1px rgba(255,190,92,0.30); }
.chip-support { box-shadow: inset 0 0 0 1px rgba(255,138,200,0.28); }
.chip-live { box-shadow: inset 0 0 0 1px rgba(109,231,183,0.22); }

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.primary-link-card,
.secondary-link-card {
  display: grid;
  gap: 7px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
}

.primary-link-card {
  background: linear-gradient(140deg, rgba(43,127,255,0.28), rgba(99,214,255,0.20));
}
.primary-link-card::after,
.secondary-link-card::after,
.paper-link::after,
.launch-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.14) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform 500ms ease;
  pointer-events: none;
}
.primary-link-card:hover::after,
.secondary-link-card:hover::after,
.paper-link:hover::after,
.launch-button:hover::after {
  transform: translateX(120%);
}
.secondary-link-card {
  background: linear-gradient(140deg, rgba(179,136,255,0.20), rgba(255,138,200,0.12));
}
.primary-link-card strong,
.secondary-link-card strong {
  font-size: 21px;
}
.primary-link-card span:last-child,
.secondary-link-card span:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.primary-link-card:hover,
.secondary-link-card:hover,
.paper-card:hover,
.process-step:hover,
.view-card:hover,
.intro-card:hover,
.closing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
  border-color: rgba(255,255,255,0.2);
}

.project-credit {
  margin: 18px 0 0;
  color: #f5f8ff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-orbit {
  position: relative;
  min-height: 260px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(circle at 40% 35%, rgba(99,214,255,0.20), transparent 18%),
    radial-gradient(circle at 72% 64%, rgba(255,190,92,0.20), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  overflow: hidden;
}
.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
}
.orbit-one { inset: 28px; }
.orbit-two { inset: 56px; border-style: dashed; }
.orbit-three { inset: 86px; }
.hero-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 26px currentColor;
}
.node-a { top: 30px; left: 118px; color: var(--signal); background: var(--signal); }
.node-b { top: 96px; right: 46px; color: var(--edit); background: var(--edit); }
.node-c { bottom: 54px; left: 64px; color: var(--support); background: var(--support); }
.node-d { bottom: 96px; right: 112px; color: var(--green); background: var(--green); }

.panel-inset {
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-note-kicker {
  margin: 0 0 10px;
  font-weight: 700;
  color: #e7efff;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
}
.clean-list li {
  margin-bottom: 8px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.section-pill {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.intro-card,
.process-card,
.closing-card {
  padding: 24px;
  margin-bottom: 18px;
}

.paper-section,
.live-views {
  margin-bottom: 18px;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.paper-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 18px;
  gap: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.paper-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
}
.paper-authors {
  margin-top: 0;
  font-weight: 600;
}
.paper-body {
  display: grid;
  gap: 10px;
}
.paper-why {
  color: #f5f8ff !important;
}
.paper-link {
  width: fit-content;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.paper-link:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

.signal-card { box-shadow: inset 0 0 0 1px rgba(99,214,255,0.26), var(--shadow); }
.edit-card { box-shadow: inset 0 0 0 1px rgba(255,190,92,0.26), var(--shadow); }
.support-card { box-shadow: inset 0 0 0 1px rgba(255,138,200,0.24), var(--shadow); }

.paper-visual {
  min-height: 152px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal-visual {
  background: radial-gradient(circle at 20% 20%, rgba(99,214,255,0.20), transparent 30%), rgba(16, 35, 62, 0.88);
}
.edit-visual {
  background: radial-gradient(circle at 74% 24%, rgba(255,190,92,0.20), transparent 28%), rgba(32, 24, 12, 0.36);
}
.support-visual {
  background: radial-gradient(circle at 18% 76%, rgba(255,138,200,0.18), transparent 26%), rgba(34, 20, 49, 0.38);
}
.paper-visual svg {
  width: 100%;
  height: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.process-step {
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.signal-step { background: linear-gradient(180deg, rgba(99,214,255,0.10), rgba(255,255,255,0.03)); }
.edit-step { background: linear-gradient(180deg, rgba(255,190,92,0.10), rgba(255,255,255,0.03)); }
.support-step { background: linear-gradient(180deg, rgba(255,138,200,0.10), rgba(255,255,255,0.03)); }
.debate-step { background: linear-gradient(180deg, rgba(179,136,255,0.10), rgba(255,255,255,0.03)); }

.step-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.process-step h3,
.view-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.view-card {
  padding: 18px;
  display: grid;
  gap: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.image-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0a1222;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.image-frame img {
  width: 100%;
  height: clamp(230px, 28vw, 320px);
  object-fit: cover;
}
.view-copy {
  display: grid;
  gap: 10px;
}

.launch-button {
  position: relative;
  overflow: hidden;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.primary-launch {
  background: linear-gradient(140deg, rgba(43,127,255,0.32), rgba(99,214,255,0.20));
}
.secondary-launch {
  background: linear-gradient(140deg, rgba(255,190,92,0.18), rgba(179,136,255,0.18));
}
.launch-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.26);
  border-color: rgba(255,255,255,0.18);
}

.interactive-tilt {
  will-change: transform;
}

.cursor-dot,
.cursor-ring,
.click-burst {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  border-radius: 50%;
  border: 1px solid rgba(99,214,255,0.46);
  box-shadow: 0 0 24px rgba(99,214,255,0.22);
  transition:
    width 120ms ease,
    height 120ms ease,
    margin-left 120ms ease,
    margin-top 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}
.cursor-ring.cursor-active {
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
}
.click-burst {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(99,214,255,0.95);
}

@media (max-width: 1120px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .paper-grid,
  .process-grid,
  .view-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 24px, 100%);
    padding-top: 18px;
  }
  .hero-card,
  .panel,
  .intro-card,
  .process-card,
  .closing-card {
    border-radius: 24px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-copy,
  .hero-side,
  .intro-card,
  .process-card,
  .closing-card,
  .view-card,
  .paper-card {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .interactive-tilt,
  .primary-link-card,
  .secondary-link-card,
  .paper-card,
  .process-step,
  .view-card,
  .launch-button,
  .paper-link {
    transition: none !important;
  }
  .ambient,
  .cursor-dot,
  .cursor-ring,
  .click-burst {
    display: none !important;
  }
}
