@font-face {
  font-family: "Monoir";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Monoir-Regular.ttf") format("truetype");
}

:root {
  --bg: #050807;
  --bg-2: #08100d;
  --panel: rgba(13, 24, 20, 0.54);
  --panel-strong: rgba(15, 35, 26, 0.72);
  --line: rgba(176, 255, 204, 0.2);
  --line-bright: rgba(99, 255, 76, 0.5);
  --text: #f1fff0;
  --muted: #a9bdae;
  --dust: #68766e;
  --green: #4dff19;
  --green-2: #bcff2f;
  --cyan: #48f2ff;
  --violet: #9b7cff;
  --red: #ff5d7f;
  --display: "Monoir";
  --body: "Monoir";
  --mono: "Monoir";
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 24% 14%, rgba(77, 255, 25, 0.16), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(72, 242, 255, 0.14), transparent 24%),
    radial-gradient(circle at 66% 72%, rgba(155, 124, 255, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 52%, #030504);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(176, 255, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 255, 204, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(77, 255, 25, 0.035) 50%, rgba(0, 0, 0, 0.16) 50%),
    radial-gradient(circle at 50% 42%, transparent 0 38%, rgba(0, 0, 0, 0.18) 76%, rgba(0, 0, 0, 0.58) 100%);
  background-size: 100% 6px, 100% 100%;
  opacity: 0.58;
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.screen-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

main,
.site-nav,
.footer {
  position: relative;
  z-index: 2;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(77, 255, 25, 0.14), transparent 34%),
    rgba(3, 7, 5, 0.96);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.preloader.done {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.preloader-box {
  width: min(340px, 100%);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.preloader-box img {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(77, 255, 25, 0.44);
  filter: drop-shadow(0 0 28px rgba(77, 255, 25, 0.38));
}

.preloader-box span {
  display: block;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 400;
}

.preloader-box b {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
}

.preloader-bar {
  height: 9px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--green-2));
  animation: preload-scan 980ms ease-in-out infinite;
}

@keyframes preload-scan {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(260%);
  }
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px);
}

.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(72, 242, 255, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(188, 255, 47, 0.15), transparent 24%, transparent 72%, rgba(72, 242, 255, 0.12));
  opacity: 0.72;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(72, 242, 255, 0.18), transparent 2px),
    radial-gradient(circle at 76% 66%, rgba(77, 255, 25, 0.22), transparent 1px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.36) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(72, 242, 255, 0.11) 68px 69px);
  background-size: 180px 180px, 132px 132px, 100% 4px, 100% 100%;
  animation: noiseDrift 7s steps(2, end) infinite;
  mix-blend-mode: overlay;
}

@keyframes noiseDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  33% {
    transform: translate3d(-1px, 2px, 0);
  }

  66% {
    transform: translate3d(2px, -1px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 7, 0.72);
  backdrop-filter: blur(22px);
}

.nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(77, 255, 25, 0.38);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(126, 255, 61, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(105, 255, 39, 0.1), rgba(94, 242, 255, 0.06)),
    rgba(8, 20, 14, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(78, 255, 23, 0.08);
  backdrop-filter: blur(16px);
}

.nav-links::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 36%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(95, 255, 235, 0.16), transparent);
  transform: translateX(-120%);
  animation: navSweep 4.8s linear infinite;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.76;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: rgba(102, 255, 39, 0.36);
  background:
    linear-gradient(180deg, rgba(116, 255, 44, 0.18), rgba(95, 255, 235, 0.05)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 18px rgba(83, 255, 22, 0.09);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a.is-active span {
  color: var(--acid);
}

@keyframes navSweep {
  0% {
    transform: translateX(-120%);
  }

  55%,
  100% {
    transform: translateX(320%);
  }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(54px, 7vw, 90px);
}

#matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
}

.ticker {
  width: max-content;
  margin-top: 18px;
  border: 1px solid rgba(72, 242, 255, 0.34);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(72, 242, 255, 0.09);
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 600;
}

.hero-sub {
  max-width: 56ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
}

.hero-actions,
.community-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 4%, rgba(255, 255, 255, 0.2) 18%, transparent 34%);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity 180ms ease, transform 300ms ease;
}

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

.btn:hover::after {
  opacity: 1;
  transform: translateX(45%);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.command-row button:focus-visible,
.command-row input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #071005;
  box-shadow:
    0 18px 40px rgba(77, 255, 25, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -10px 22px rgba(17, 116, 0, 0.24);
}

.btn.ghost {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(72, 242, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.07);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.btn[data-link-pending="true"] {
  color: rgba(241, 255, 240, 0.7);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 44px;
}

.metrics div {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(188, 255, 47, 0.09), rgba(72, 242, 255, 0.04) 44%, rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

.metrics div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent);
  opacity: 0.68;
}

.metrics b {
  display: block;
  font-family: var(--display);
  font-size: 25px;
}

.metrics b.metric-wide {
  font-size: 15px;
}

@media (min-width: 641px) and (max-width: 1120px) {
  .metrics b.metric-wide {
    font-size: 13px;
  }
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

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

.halo {
  position: absolute;
  width: min(520px, 92vw);
  aspect-ratio: 1;
  border: 1px solid rgba(77, 255, 25, 0.24);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(77, 255, 25, 0.12),
    0 0 120px rgba(72, 242, 255, 0.11);
}

.halo::before,
.halo::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(72, 242, 255, 0.2);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-18deg);
}

.halo::after {
  inset: 5%;
  border-color: rgba(155, 124, 255, 0.24);
  transform: rotateX(68deg) rotateZ(32deg);
}

.portrait {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  border-radius: 8px;
  padding: clamp(10px, 2vw, 18px);
  overflow: hidden;
  transform:
    translate3d(var(--portrait-x, 0), var(--portrait-y, 0), 0)
    rotateX(var(--portrait-rx, 0deg))
    rotateY(var(--portrait-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(98, 255, 43, 0.14),
    0 0 90px rgba(77, 255, 25, 0.14);
}

.hero-visual.is-tracking .portrait {
  transition-duration: 80ms;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-110%) skewX(-18deg);
  animation: sheen 5.5s ease-in-out infinite;
}

@keyframes sheen {
  42%,
  100% {
    transform: translateX(130%) skewX(-18deg);
  }
}

.portrait img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  filter: drop-shadow(0 0 42px rgba(77, 255, 25, 0.3));
  transform: translateZ(22px);
}

.portrait-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border: 1px solid rgba(77, 255, 25, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  transform: translateZ(34px);
}

@media (prefers-reduced-motion: reduce) {
  .noise {
    animation: none;
  }

  .nav-links::before {
    animation: none;
  }

  .portrait,
  .portrait img,
  .portrait-tag {
    transform: none;
    transition: none;
  }
}

.terminal-section {
  border-top: 1px solid var(--line);
}

.terminal-layout,
.identity-grid,
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.section-copy h2,
.section-head h2,
.faq-copy h2,
.community h2 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.section-copy p:not(.eyebrow),
.faq-copy p:not(.eyebrow),
.community p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.section-agent {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 360px;
  margin-top: 24px;
  border-radius: 8px;
  padding: 12px;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.2),
    inset 0 0 28px rgba(77, 255, 25, 0.07);
}

.section-agent img {
  width: 88px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(77, 255, 25, 0.32));
}

.section-agent span {
  display: block;
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-agent b {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.25;
}

.terminal {
  border-radius: 8px;
  overflow: hidden;
  border-color: rgba(176, 255, 204, 0.28);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.34),
    0 0 60px rgba(72, 242, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.28);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--green-2);
}

.terminal-top span:nth-child(3) {
  background: var(--cyan);
}

.terminal-top b {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.terminal-body {
  min-height: 302px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(77, 255, 25, 0.08), transparent),
    rgba(0, 0, 0, 0.24);
  font-family: var(--mono);
  font-size: 14px;
}

.terminal-body p {
  color: #d9ffe0;
  margin-bottom: 12px;
}

.terminal-body span {
  color: var(--green);
}

.command-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.command-row label {
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.command-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

.command-row button {
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--green);
  color: #061204;
  font-weight: 800;
  cursor: pointer;
}

.section-head {
  max-width: 780px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.module {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 8px;
  padding: 22px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.module::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(72, 242, 255, 0.12), transparent 38%),
    radial-gradient(circle at 78% 0%, rgba(188, 255, 47, 0.22), transparent 26%);
  opacity: 0.45;
}

.module:hover {
  border-color: rgba(99, 255, 76, 0.46);
  transform: translateY(-3px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 44px rgba(77, 255, 25, 0.1);
}

.module span {
  position: relative;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.module h3 {
  position: relative;
  margin-top: 56px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.22;
}

.module p {
  position: relative;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.identity {
  border-top: 1px solid var(--line);
}

.identity-grid {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.85fr);
}

.signal {
  position: relative;
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.32),
    inset 0 0 54px rgba(72, 242, 255, 0.06);
}

.signal-avatar {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  width: min(170px, 36%);
  opacity: 0.16;
  filter: saturate(1.2) drop-shadow(0 0 32px rgba(77, 255, 25, 0.3));
  pointer-events: none;
}

.signal-head,
.feed-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.signal-head {
  padding-top: 0;
}

.signal-head span,
.feed-row span {
  color: var(--dust);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.signal-head b {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.feed-row b {
  max-width: 58%;
  text-align: right;
  font-size: 17px;
}

.probability {
  height: 12px;
  margin-top: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.probability div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet));
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    filter: brightness(1.25);
  }
}

.community {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(76px, 8vw, 120px);
}

.faq {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(77, 255, 25, 0.06), transparent 38%),
    linear-gradient(315deg, rgba(72, 242, 255, 0.08), transparent 42%);
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 32px, rgba(176, 255, 204, 0.035) 32px 33px);
}

.faq-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
}

.faq-copy {
  position: sticky;
  top: 104px;
}

.faq-copy img {
  width: min(260px, 70%);
  margin-top: 30px;
  opacity: 0.78;
  filter: drop-shadow(0 0 34px rgba(77, 255, 25, 0.34));
}

.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--dust);
  opacity: 0.45;
}

.faq-item.active::before {
  background: linear-gradient(180deg, var(--green), var(--cyan));
  opacity: 1;
}

.faq-item.active,
.faq-item:hover {
  border-color: rgba(99, 255, 76, 0.38);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.26),
    inset 0 0 42px rgba(77, 255, 25, 0.07);
}

.faq-question {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  border: 0;
  padding: 18px 20px 18px 24px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  color: var(--cyan);
  font-size: 13px;
}

.faq-question b {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.2;
}

.faq-question i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 13px;
  height: 2px;
  background: var(--green-2);
}

.faq-question i::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item.active .faq-question i::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 22px;
}

.community-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.community-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer .brand {
  font-size: 15px;
}

.footer p {
  font-family: var(--mono);
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.open {
    display: grid;
    gap: 2px;
    border-top: 1px solid var(--line);
    padding: 10px 24px 18px;
    background: rgba(4, 8, 7, 0.92);
  }

  .mobile-menu a {
    padding: 13px 0;
    color: var(--muted);
    font-weight: 700;
  }

  .hero-grid,
  .terminal-layout,
  .identity-grid,
  .faq-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-top: -18px;
  }

  .faq-copy {
    position: relative;
    top: auto;
  }

  .faq-copy img {
    width: min(180px, 52%);
  }

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

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .brand span {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-actions,
  .community-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .hero-visual {
    min-height: 340px;
    margin-top: -10px;
  }

  .portrait {
    width: min(315px, 100%);
  }

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

  .module {
    min-height: 210px;
  }

  .feed-row {
    display: block;
  }

  .feed-row b {
    display: block;
    max-width: none;
    margin-top: 8px;
    text-align: left;
  }

  .command-row {
    grid-template-columns: 1fr;
  }

  .faq-question {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    padding: 16px;
  }

  .faq-answer p {
    padding-inline: 16px;
  }

  .footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}
