:root {
  --bg: #07111d;
  --bg-soft: #0d1726;
  --surface: rgba(9, 18, 30, 0.58);
  --surface-strong: rgba(10, 20, 34, 0.84);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(173, 205, 255, 0.14);
  --text: #eef6ff;
  --muted: rgba(238, 246, 255, 0.7);
  --subtle: rgba(238, 246, 255, 0.48);
  --accent: #7cf2d3;
  --accent-strong: #78a6ff;
  --warm: #ffab82;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --pointer-x: 50vw;
  --pointer-y: 10vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 18%, rgba(120, 166, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 16%, rgba(255, 171, 130, 0.16), transparent 26%),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(124, 242, 211, 0.12), transparent 14%),
    linear-gradient(180deg, #07111d 0%, #091827 42%, #07111d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 85%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

.constellation,
.noise,
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.constellation {
  z-index: 0;
  opacity: 0.95;
}

.noise {
  z-index: 1;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px),
    radial-gradient(circle at 45% 80%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1px);
  background-size: 160px 160px;
}

.ambient {
  z-index: 0;
  filter: blur(90px);
  opacity: 0.55;
}

.ambient-a {
  inset: auto auto 20% 2%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(120, 166, 255, 0.34), transparent 68%);
}

.ambient-b {
  inset: 6% 0 auto auto;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(255, 171, 130, 0.26), transparent 72%);
}

.ambient-c {
  inset: auto 18% 10% auto;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(124, 242, 211, 0.22), transparent 70%);
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  padding: 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 20px rgba(124, 242, 211, 0.55);
}

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

.micro-pill,
.micro-link {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.hero {
  padding: 56px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-label,
.tiny-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.hero-title {
  margin-top: 18px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line > span {
  display: block;
}

.accent-line > span {
  background: linear-gradient(90deg, var(--text), var(--accent), var(--warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 41rem;
  margin-top: 22px;
  font-size: clamp(1.08rem, 2.25vw, 1.28rem);
  line-height: 1.7;
  color: var(--muted);
}

.actions,
.install-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary:hover,
.secondary:hover,
.action-button:hover,
.micro-link:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, rgba(124, 242, 211, 0.98), rgba(120, 166, 255, 0.96));
  color: #07111d;
  box-shadow: 0 18px 40px rgba(120, 166, 255, 0.22);
}

.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
}

.action-button {
  cursor: pointer;
  appearance: none;
}

.compact {
  min-height: 50px;
  padding: 0 18px;
}

.trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  row-gap: 16px;
  padding: 6px 0 4px;
  align-items: flex-start;
}

.trust-row span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(173, 205, 255, 0.18);
  background: rgba(9, 18, 30, 0.48);
  color: rgba(238, 246, 255, 0.84);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
  will-change: transform;
  box-shadow: 0 10px 24px rgba(3, 10, 19, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

.tag-row span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 242, 211, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.visual-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.orbit-a {
  inset: 6% 10% auto auto;
  width: 150px;
  height: 150px;
}

.orbit-b {
  inset: auto auto 10% 0;
  width: 220px;
  height: 220px;
}

.scan-surface,
.panel,
.workflow,
.install-band,
.install-modal {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 22, 36, 0.88), rgba(8, 16, 28, 0.7));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.scan-surface {
  position: relative;
  width: min(100%, 520px);
  border-radius: 30px;
  overflow: hidden;
}

.scan-head,
.scan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.window-chrome {
  display: inline-flex;
  gap: 8px;
}

.window-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.window-chrome span:first-child {
  background: rgba(255, 171, 130, 0.9);
}

.window-chrome span:nth-child(2) {
  background: rgba(255, 227, 117, 0.9);
}

.window-chrome span:nth-child(3) {
  background: rgba(124, 242, 211, 0.9);
}

.scan-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.scan-badge i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(124, 242, 211, 0.7);
}

.scan-body {
  padding: 8px 22px 24px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.radar {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(124, 242, 211, 0.15);
  background:
    radial-gradient(circle at center, rgba(124, 242, 211, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(120, 166, 255, 0.08), rgba(124, 242, 211, 0.03));
  overflow: hidden;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  inset: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.radar::before {
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.radar::after {
  width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.radar-ring,
.radar-sweep,
.radar-node {
  position: absolute;
}

.radar-ring {
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(124, 242, 211, 0.18);
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 42%;
  height: 42%;
}

.ring-2 {
  width: 68%;
  height: 68%;
}

.ring-3 {
  width: 92%;
  height: 92%;
}

.radar-sweep {
  inset: -10%;
  background: conic-gradient(from 45deg, rgba(124, 242, 211, 0.32), transparent 22%, transparent 100%);
  animation: rotate-sweep 7s linear infinite;
}

.radar-node {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(124, 242, 211, 0.7);
}

.node-1 {
  top: 26%;
  left: 63%;
}

.node-2 {
  top: 59%;
  left: 71%;
}

.node-3 {
  top: 40%;
  left: 28%;
}

.node-4 {
  top: 74%;
  left: 41%;
}

.node-5 {
  top: 18%;
  left: 49%;
}

.scan-stack {
  display: grid;
  gap: 10px;
}

.stack-stat,
.stream-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-stat span,
.stream-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stack-stat strong,
.stream-row b,
.panel strong,
.modal-card strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.stack-stat strong,
.stream-row b {
  font-size: 1.02rem;
}

.stream-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.stream-row b {
  font-size: 0.92rem;
  color: var(--text);
}

.foot-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  font-size: 0.82rem;
}

.scan-track {
  margin-top: 14px;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.scan-track span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong), var(--warm));
}

.float-note {
  position: absolute;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 20, 34, 0.76);
  color: var(--text);
  font-size: 0.92rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.note-one {
  top: 8%;
  left: -2%;
}

.note-two {
  right: -2%;
  bottom: 9%;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.panel {
  border-radius: 28px;
  padding: 26px;
}

.panel h2,
.section-header h2,
.install-copy h2,
.install-modal h2 {
  margin-top: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.panel p,
.step p,
.install-copy p,
.install-card li,
.modal-card li,
.modal-lede {
  color: var(--muted);
  line-height: 1.7;
}

.panel-story {
  grid-column: span 6;
  min-height: 290px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.panel-stat,
.panel-privacy {
  grid-column: span 3;
}

.panel-export,
.panel-memory {
  grid-column: span 6;
}

.tiny-label {
  display: block;
  margin-bottom: 18px;
}

.panel strong,
.modal-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.panel span:last-child,
.modal-card span:last-child {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.workflow,
.install-band {
  margin-top: 18px;
  border-radius: 32px;
  padding: 28px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.step {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(124, 242, 211, 0.11);
  color: var(--accent);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.install-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.install-card,
.modal-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.install-code {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.install-code span {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(3, 10, 19, 0.86);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

.install-card ol,
.modal-card ol {
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 12;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.58);
  backdrop-filter: blur(18px);
}

.install-modal {
  position: relative;
  width: min(920px, calc(100% - 28px));
  margin: 6vh auto;
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(14, 24, 39, 0.94), rgba(8, 15, 27, 0.88));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

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

.modal-lede {
  margin-top: 18px;
  max-width: 46rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.page-footer {
  position: relative;
  z-index: 2;
  padding: 56px 20px 40px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.footer-rule {
  position: relative;
  width: min(75vw, 980px);
  height: 10px;
  overflow: hidden;
}

.footer-rule-base,
.footer-rule-beam {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}

.footer-rule-base {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 246, 255, 0.16), rgba(238, 246, 255, 0.32), transparent);
}

.footer-rule-beam {
  width: 17%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(124, 242, 211, 0.46), rgba(120, 166, 255, 0.58), transparent);
  filter: blur(3px);
  opacity: 0.92;
}

.page-footer p {
  color: var(--subtle);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.modal-open {
  overflow: hidden;
}

@keyframes rotate-sweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1040px) {
  .hero,
  .install-band,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .scan-surface {
    width: 100%;
  }

  .panel-story,
  .panel-stat,
  .panel-privacy,
  .panel-export,
  .panel-memory {
    grid-column: span 6;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body::before,
  .noise,
  .constellation {
    opacity: 0.6;
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    padding-top: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 38px;
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .actions,
  .install-actions,
  .modal-actions,
  .topbar-actions,
  .trust-row {
    width: 100%;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .scan-body {
    grid-template-columns: 1fr;
  }

  .radar {
    max-width: 240px;
    width: 100%;
    margin-inline: auto;
  }

  .foot-row {
    flex-direction: column;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .panel-story,
  .panel-stat,
  .panel-privacy,
  .panel-export,
  .panel-memory {
    grid-column: auto;
  }

  .panel,
  .workflow,
  .install-band,
  .scan-surface,
  .install-modal {
    border-radius: 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .scan-head,
  .scan-foot {
    padding-left: 0;
    padding-right: 0;
  }

  .scan-body {
    padding-left: 0;
    padding-right: 0;
  }

  .float-note {
    display: none;
  }

  .page-footer {
    padding-top: 44px;
  }

  .install-modal {
    margin-top: 3vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .radar-sweep {
    animation: none;
  }
}
