:root {
  color-scheme: dark;
  --ink: #120f0c;
  --panel: #1c1814;
  --panel-2: #261f19;
  --line: #3a322a;
  --text: #f3ece2;
  --muted: #a3988a;
  --signal: #ff5a1f;
  --signal-hot: #ff7a45;
  --cue: #6ef0a8;
  --cue-dim: rgba(110, 240, 168, 0.18);
  --max: 42rem;
  --wide: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 80% 55% at 70% 0%, rgba(255, 90, 31, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(110, 240, 168, 0.08), transparent 50%),
    linear-gradient(180deg, #16120e 0%, var(--ink) 40%, #0c0a08 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--cue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--signal-hot);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

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

.logo-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

/* —— Landing hero —— */
.hero-stage {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.5rem 4.5rem;
  min-height: min(78vh, 44rem);
  display: grid;
  align-items: end;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-stage {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 5rem;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: rgba(28, 24, 20, 0.7);
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cue);
  box-shadow: 0 0 0 0 rgba(110, 240, 168, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

.brand {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0 0 1.1rem;
  color: var(--text);
}

.brand span {
  display: block;
  color: var(--signal);
}

.hero-line {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: 22rem;
  color: var(--text);
}

.hero-sub {
  margin: 0 0 1.85rem;
  max-width: 24rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 0.55rem;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: #1a0d08;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--signal-hot);
  color: #1a0d08;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--cue);
  color: var(--cue);
  background: var(--cue-dim);
}

/* —— Hero graphic —— */
.hero-art {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 28rem);
  aspect-ratio: 1;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.25;
  transform-origin: center;
  animation: spin 28s linear infinite;
}

.ring-2 {
  stroke: rgba(255, 90, 31, 0.35);
  animation-duration: 18s;
  animation-direction: reverse;
}

.ring-3 {
  stroke: rgba(110, 240, 168, 0.3);
  animation-duration: 22s;
}

.wave-bar {
  transform-origin: center bottom;
  animation: eq 1.1s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) {
  animation-delay: 0s;
}
.wave-bar:nth-child(2) {
  animation-delay: 0.12s;
}
.wave-bar:nth-child(3) {
  animation-delay: 0.05s;
}
.wave-bar:nth-child(4) {
  animation-delay: 0.22s;
}
.wave-bar:nth-child(5) {
  animation-delay: 0.08s;
}
.wave-bar:nth-child(6) {
  animation-delay: 0.18s;
}
.wave-bar:nth-child(7) {
  animation-delay: 0.03s;
}

.pod-core {
  filter: drop-shadow(0 0 24px rgba(255, 90, 31, 0.35));
}

/* —— Strip below hero —— */
.signal-strip {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%);
  overflow: hidden;
}

.signal-strip-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  gap: 2.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.signal-strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.signal-strip-inner span::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  background: var(--signal);
  border-radius: 1px;
}

.features {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 4rem 1.5rem 5.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  animation: rise 0.85s ease-out 0.2s both;
}

@media (min-width: 780px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.feature {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.12), transparent 70%);
  pointer-events: none;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  color: var(--cue);
}

.feature-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--signal);
  margin: 0 0 0.45rem;
}

.feature h2 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.5rem 2.5rem;
  background: rgba(12, 10, 8, 0.55);
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

/* —— Legal / support pages —— */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  animation: rise 0.5s ease-out both;
}

.page h1 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.4rem;
  line-height: 1.1;
}

.meta {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 2rem;
}

.page h2 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.85rem 0 0.5rem;
  color: var(--cue);
}

.page p,
.page ul {
  margin: 0 0 0.85rem;
  color: #d6cdc0;
}

.page ul {
  padding-left: 1.25rem;
}

.page li {
  margin-bottom: 0.35rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.faq-item h2 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.faq-item p {
  margin-bottom: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 240, 168, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.55rem rgba(110, 240, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 240, 168, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes eq {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-art,
  .features,
  .page,
  .live-dot,
  .ring,
  .wave-bar,
  .signal-strip-inner {
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }

  .wave-bar {
    transform: none;
  }
}
