:root {
  --bg: #090c11;
  --bg-elevated: #0e131a;
  --bg-card: #121821;
  --border: rgba(244, 247, 251, 0.09);
  --border-strong: rgba(244, 247, 251, 0.16);
  --text: #f4f7fb;
  --muted: #9aa6b5;
  --accent: #00d9e8;
  --accent-dim: rgba(0, 217, 232, 0.12);
  --accent-glow: rgba(0, 217, 232, 0.32);
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1040px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --orbit-duration: 28s;
  --space: clamp(3rem, 6vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

kbd {
  display: inline-block;
  padding: 0.1em 0.42em;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font: 0.85em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace;
  color: var(--text);
}

.plus {
  margin: 0 0.15rem;
  color: var(--muted);
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 75% 8%, rgba(0, 217, 232, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 85%, rgba(0, 100, 160, 0.06), transparent 50%);
  z-index: -1;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(14px);
  background: rgba(9, 12, 17, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent) !important;
  border: 1px solid rgba(0, 217, 232, 0.25);
}

.nav-cta:hover {
  background: rgba(0, 217, 232, 0.2);
  text-decoration: none;
}

/* —— Hero —— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem var(--space);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.15rem, 4.5vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 26rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  background: none;
}

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

.btn-primary {
  background: var(--accent);
  color: #041015;
  box-shadow: 0 0 28px var(--accent-glow);
}

.btn-primary:hover {
  background: #33e2ee;
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Orbit */
.hero-visual {
  display: flex;
  justify-content: center;
}

.ring-stage {
  --orbit-r: 42%;
  --n: 6;
  --logo-size: 48%;
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  width: min(100%, 340px);
  aspect-ratio: 1;
}

.orbit-ring,
.ring-logo,
.node-track {
  grid-area: 1 / 1;
}

.orbit-ring {
  position: relative;
  place-self: center;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 232, 0.2);
  pointer-events: none;
  z-index: 1;
}

.orbit-ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 217, 232, 0.1);
}

.ring-logo {
  place-self: center;
  width: var(--logo-size);
  height: auto;
  border-radius: 28%;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(0, 217, 232, 0.22),
    0 0 50px var(--accent-glow),
    var(--shadow);
  animation: pulse 4.5s ease-in-out infinite;
}

.node-track {
  position: relative;
  z-index: 3;
  transform-origin: center;
  animation: orbit-spin var(--orbit-duration) linear infinite;
  animation-delay: calc(var(--i) * var(--orbit-duration) / var(--n) * -1);
  will-change: transform;
  pointer-events: none;
}

.node {
  position: absolute;
  top: calc(50% - var(--orbit-r));
  left: 50%;
  width: max-content;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 217, 232, 0.32);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: orbit-counter var(--orbit-duration) linear infinite;
  animation-delay: inherit;
  will-change: transform;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-counter {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 217, 232, 0.3)); }
  50% { filter: drop-shadow(0 0 24px rgba(0, 217, 232, 0.55)); }
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space) 1.25rem;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 28rem;
}

.section-head.tight {
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.band {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* —— Spotlights (product) —— */
.spotlights {
  display: grid;
  gap: 1rem;
}

.spotlight {
  display: grid;
  grid-template-columns: auto 1fr minmax(140px, 200px);
  gap: 1.25rem 1.75rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.spotlight.reverse {
  grid-template-columns: auto minmax(140px, 200px) 1fr;
}

.spotlight.reverse .spotlight-aside {
  order: 2;
}

.spotlight.reverse .spotlight-body {
  order: 3;
}

.spotlight-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  align-self: start;
  padding-top: 0.2rem;
}

.spotlight-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.spotlight-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

.spotlight-aside {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 5.5rem;
}

/* Small abstract mocks — one visual per feature, not icon soup */
.mock {
  width: 100%;
  max-width: 160px;
}

.mock-ring {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 232, 0.28);
}

.mock-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.mock-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(0, 217, 232, 0.75);
  transform: rotate(var(--a)) translateX(34px);
}

.mock-list {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.mock-list span {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 217, 232, 0.06);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-list span.muted {
  color: var(--muted);
  border-style: dashed;
}

.mock-drag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.mock-drag .chip {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 217, 232, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-drag .arrow {
  color: var(--accent);
  font-weight: 600;
}

.mock-drag .slot {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  border: 1px dashed rgba(0, 217, 232, 0.4);
}

/* —— Chips —— */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips li {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* —— Steps —— */
.steps-row {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps-row li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.steps-row .n {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #041015;
  font-size: 0.82rem;
  font-weight: 700;
}

.steps-row h3 {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.02rem;
}

.steps-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Tips (text only) —— */
.tips-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.tips-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.tips li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(0, 217, 232, 0.35);
}

.tips strong {
  color: var(--text);
  font-weight: 600;
}

/* —— Feedback —— */
.feedback-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.feedback-intro h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
}

.soft {
  margin: 0;
  color: var(--muted);
}

.feedback-panel {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.feedback-grid .field {
  margin-bottom: 0;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 6rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(154, 166, 181, 0.8);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 217, 232, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 217, 232, 0.1);
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.field select option {
  background: var(--bg-card);
  color: var(--text);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  margin: 0 0 0.85rem;
  min-height: 65px;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.feedback-actions .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

#feedback-status {
  margin: 0;
}

/* —— Download —— */
.download-panel {
  text-align: center;
  padding: 2.25rem 1.25rem 1.85rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(0, 217, 232, 0.1), transparent 55%),
    var(--bg-card);
  border: 1px solid rgba(0, 217, 232, 0.18);
  box-shadow: var(--shadow);
}

.download-panel img {
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  box-shadow: 0 0 32px var(--accent-glow);
}

.download-panel h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  letter-spacing: -0.03em;
}

.version-line {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.install-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.35rem 0 1rem;
  text-align: center;
}

.install-card {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  padding: 1.1rem 0.7rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.install-card:hover {
  text-decoration: none;
  border-color: rgba(0, 217, 232, 0.35);
  transform: translateY(-2px);
}

.install-card.accent {
  background: var(--accent-dim);
  border-color: rgba(0, 217, 232, 0.3);
}

.install-num {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #041015;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.install-card strong {
  font-size: 0.95rem;
}

.install-card span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.fine-print {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .ring-stage {
    width: min(100%, 290px);
  }

  .spotlight,
  .spotlight.reverse {
    grid-template-columns: auto 1fr;
  }

  .spotlight-aside {
    display: none;
  }

  .spotlight.reverse .spotlight-body {
    order: unset;
  }

  .steps-row,
  .tips-split,
  .feedback-split,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .install-cards {
    grid-template-columns: 1fr;
  }

  .ring-stage {
    --orbit-r: 44%;
  }

  .node {
    font-size: 0.64rem;
    padding: 0.28rem 0.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

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

  .node-track {
    animation: none;
    transform: rotate(calc(var(--i) * 360deg / var(--n)));
  }

  .node {
    animation: none;
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * -360deg / var(--n)));
  }

  .ring-logo {
    animation: none;
  }

  .btn:hover,
  .install-card:hover {
    transform: none;
  }
}
