/* TheNextCaller public site. Dark only: black and purple. */

:root {
  --bg: #07060b;
  --bg-2: #0d0b15;
  --ink: #f3effa;
  --mute: #aaa2c0;
  --line: rgba(196, 181, 253, 0.16);
  --line-2: rgba(196, 181, 253, 0.32);
  --v1: #5b21b6;
  --v2: #7c3aed;
  --v3: #a855f7;
  --v4: #c4b5fd;
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --head: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg, canvas { display: block; }
button, input, select { font: inherit; color: inherit; }

::selection { background: var(--v2); color: #fff; }

:focus-visible {
  outline: 2px solid var(--v4);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-inline: var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Small mono label, like a call log entry */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v4);
}

.pip {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--v3);
  box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
  animation: pip 1.8s infinite;
  flex: none;
}
@keyframes pip {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(168, 85, 247, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--v2);
  background: var(--v2);
  color: #fff;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, color 0.3s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--v1);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost::before { background: rgba(124, 58, 237, 0.35); }
.btn--ghost:hover { border-color: var(--v3); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--wide { width: 100%; }

/* ---------- Fixed 3D stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
  overflow: hidden;
}
.stage__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38vmax 38vmax at 78% 38%, rgba(124, 58, 237, 0.34), transparent 70%),
    radial-gradient(22vmax 22vmax at 22% 70%, rgba(91, 33, 182, 0.28), transparent 70%),
    repeating-radial-gradient(circle at 78% 38%, transparent 0 46px, rgba(196, 181, 253, 0.09) 46px 47px),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 120px,
    var(--bg);
  transition: opacity 1.2s;
}
.webgl-on .stage__fallback { opacity: 0; }
.stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s;
}
.webgl-on .stage__canvas { opacity: 1; }
.stage__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 11, 0.88) 0%, rgba(7, 6, 11, 0.5) 38%, rgba(7, 6, 11, 0) 66%),
    linear-gradient(0deg, rgba(7, 6, 11, 0.85) 0%, rgba(7, 6, 11, 0) 30%);
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--head);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.top.is-scrolled {
  background: rgba(7, 6, 11, 0.94);
  border-bottom-color: var(--line);
}
.top__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.mark__word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mark__word b {
  font-weight: 700;
  color: var(--v3);
  margin-left: 1px;
}
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative;
  font-size: 15px;
  text-decoration: none;
  color: var(--mute);
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--v3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.top__end { display: flex; align-items: center; gap: 16px; flex: none; }
.login {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.login:hover { color: var(--ink); text-decoration-color: var(--v3); }

/* ---------- Scene zone: hero + what ---------- */
main { position: relative; z-index: 1; }
.scene-zone { position: relative; }

.hero {
  min-height: calc(100vh - var(--head));
  min-height: calc(100svh - var(--head));
  display: flex;
}
.hero__in {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 48px;
  padding-bottom: 0;
}
.hud {
  position: absolute;
  top: 28px;
  right: var(--pad);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--v4);
  text-align: right;
}
.hud__row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hud__row--dim { color: var(--mute); margin-top: 6px; opacity: 0.8; }
.hud__dot {
  width: 7px; height: 7px;
  background: var(--v3);
  border-radius: 50%;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.hero__copy { max-width: 1040px; padding-bottom: clamp(28px, 5vh, 56px); }
.hero__kicker { margin-bottom: clamp(18px, 3vh, 30px); }
.hero__title {
  font-size: clamp(2.7rem, 8.6vw, 8.4rem);
  font-weight: 700;
  font-stretch: 85%;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__title .ln { display: block; }
.hero__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--v3);
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.35);
}
@supports not (-webkit-text-stroke: 1px #000) {
  .hero__title em { color: var(--v3); }
}
.hero__lead {
  max-width: 34em;
  margin-top: clamp(20px, 3.5vh, 34px);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  color: #d9d2ea;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.5vh, 36px); }

/* Hero entrance (CSS only, so it works without JS) */
.hero__kicker, .hero__title .ln, .hero__lead, .hero__cta, .facts {
  animation: rise 0.9s var(--ease) both;
}
.hero__title .ln:nth-child(1) { animation-delay: 0.08s; }
.hero__title .ln:nth-child(2) { animation-delay: 0.16s; }
.hero__title .ln:nth-child(3) { animation-delay: 0.24s; }
.hero__lead { animation-delay: 0.36s; }
.hero__cta { animation-delay: 0.46s; }
.facts { animation-delay: 0.6s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
}
.facts__i {
  padding: 16px 16px 20px 0;
  border-right: 1px solid var(--line);
  padding-left: 16px;
}
.facts__i:first-child { padding-left: 0; }
.facts__i:last-child { border-right: 0; }
.facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.facts dd { margin-top: 4px; font-size: 1.02rem; font-weight: 600; }

/* What you get */
.what {
  border-top: 1px solid var(--line);
  padding-block: clamp(90px, 16vh, 190px);
}
.what__in { display: grid; gap: clamp(22px, 4vh, 40px); }
.what__title {
  max-width: 13em;
  font-size: clamp(2rem, 5.6vw, 5.2rem);
  font-weight: 600;
  font-stretch: 88%;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.yes, .no {
  display: inline-block;
  padding: 0 0.22em 0.04em;
  font-family: var(--mono);
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: 0.16em;
  text-transform: uppercase;
}
.yes { background: var(--v2); color: #fff; }
.no { border: 1px solid var(--v4); color: var(--v4); }
.what__cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(10px, 3vh, 30px);
}
.what__p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #d9d2ea; max-width: 28em; }
.report { border-top: 1px solid var(--line-2); }
.report li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.report span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--v3);
  flex: none;
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  background: var(--v2);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid var(--v3);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tick 38s linear infinite;
}
.ticker__set { display: flex; flex: none; }
.ticker i {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 0 13px 22px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker i::after {
  content: "";
  width: 6px; height: 6px;
  background: #fff;
  transform: rotate(45deg);
  opacity: 0.7;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Generic section ---------- */
.sec {
  position: relative;
  background: var(--bg);
  padding-block: clamp(72px, 12vh, 150px);
  border-top: 1px solid var(--line);
}
.ticker + .sec { border-top: 0; }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 7vh, 80px); }
.sec__head--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.sec__head--split > div { display: grid; gap: 18px; }
.sec__title {
  max-width: 14em;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 650;
  font-stretch: 88%;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.sec__note { color: var(--mute); max-width: 30em; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px clamp(14px, 1.8vw, 28px) 30px;
  border-right: 1px solid var(--line);
  min-height: 100%;
}
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step:nth-child(2) { padding-top: 70px; }
.step:nth-child(3) { padding-top: 118px; }
.step:nth-child(4) { padding-top: 166px; }
.step__n {
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--v2);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
  margin-bottom: 14px;
}
@supports not (-webkit-text-stroke: 1px #000) {
  .step__n { color: var(--v2); }
}
.step:hover .step__n { color: var(--v2); -webkit-text-stroke-color: var(--v3); }
.step h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step p { color: var(--mute); }
.step__tag {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v4);
}
.step__tag::before { content: "> "; color: var(--v3); }

/* ---------- Scorecard demo ---------- */
.card { background: var(--bg-2); }
.demo { border: 1px solid var(--line-2); background: var(--bg); }
.demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v4);
}
.demo__bar > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.demo__bar-mid { color: var(--mute); margin-right: auto; }
.demo__replay {
  background: none;
  border: 1px solid var(--line-2);
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.demo__replay:hover { background: var(--v1); border-color: var(--v3); }
.demo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.demo__tx { padding: 20px clamp(14px, 2vw, 28px) 26px; border-right: 1px solid var(--line-2); }
.demo__chk { padding: 20px clamp(14px, 2vw, 28px) 26px; display: flex; flex-direction: column; }
.demo__h { margin-bottom: 14px; color: var(--mute); }

.tx { display: grid; gap: 2px; }
.tx__line {
  display: grid;
  grid-template-columns: 46px 58px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  font-size: 0.97rem;
  transition: opacity 0.5s, transform 0.5s var(--ease);
}
.tx__t, .tx__who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.tx__who { color: var(--v4); }
.tx__line--staff .tx__who { color: var(--ink); }
.tx__line--staff p { color: var(--ink); }
.tx__line p { color: #cfc7e2; }
.tx__line--sys p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v3);
}
.tx__line.is-wait { opacity: 0; transform: translateY(8px); }

.chks { border-top: 1px solid var(--line); }
.chk {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.chk__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--v2);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.chk--yes .chk__mark { background: var(--v2); color: #fff; }
.chk--no .chk__mark { border-color: var(--v4); color: var(--v4); }
.chk__q { font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.chk__ev {
  margin-top: 5px;
  padding-left: 12px;
  border-left: 2px solid var(--v2);
  color: #cfc7e2;
  font-size: 0.95rem;
  transition: opacity 0.5s 0.1s, transform 0.5s 0.1s var(--ease);
}
.chk--no .chk__ev { border-left-color: var(--line-2); color: var(--mute); }
.chk.is-wait .chk__mark {
  background: transparent;
  border-color: var(--line-2);
  border-style: dashed;
  color: transparent;
}
.chk.is-wait .chk__ev { opacity: 0; transform: translateX(-8px); }
.chk.is-wait .chk__q { color: var(--mute); }
.chk.is-pop .chk__mark { transform: scale(1.12); }

.demo__foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 24px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
}
.demo__score { display: grid; gap: 2px; }
.demo__score strong {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 750;
  font-stretch: 80%;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.demo__score small { font-size: 0.4em; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.demo__meter { height: 6px; background: rgba(196, 181, 253, 0.14); }
.demo__meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--v1), var(--v3));
  transition: width 0.6s var(--ease);
}
.demo__stamp {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v4);
  transition: opacity 0.5s;
}
.demo__stamp::before { content: "[x] "; color: var(--v3); }
.demo__stamp.is-wait { opacity: 0; }

/* ---------- Features ---------- */
.flist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 90px);
  border-top: 1px solid var(--line-2);
}
.f {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.f::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--v3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.f:hover::before { transform: scaleX(1); }
.f__n {
  grid-row: 1 / span 2;
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--v3);
}
.f h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: 650;
  font-stretch: 90%;
  line-height: 1.08;
  letter-spacing: -0.025em;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.f:hover h3 { transform: translateX(8px); color: var(--v4); }
.f p { grid-column: 2; color: var(--mute); max-width: 32em; }

/* ---------- Sectors ---------- */
.sectors .sec__head { margin-bottom: 26px; }
.big { border-top: 1px solid var(--line-2); }
.big li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: baseline;
  padding: clamp(10px, 1.6vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.big li:nth-child(2) .big__t { padding-left: 6vw; }
.big li:nth-child(3) .big__t { padding-left: 12vw; }
.big li:nth-child(4) .big__t { padding-left: 3vw; }
.big__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--v3);
}
.big__t {
  font-size: clamp(2.2rem, 8.4vw, 8rem);
  font-weight: 750;
  font-stretch: 78%;
  line-height: 0.92;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  transition: color 0.4s, -webkit-text-stroke-color 0.4s, transform 0.5s var(--ease);
}
.big li:hover .big__t { color: var(--v3); transform: translateX(10px); }
.sectors__more { margin-top: 26px; color: var(--mute); }
.sectors__more a { color: var(--v4); text-underline-offset: 4px; }

/* ---------- Trust ---------- */
.trust { background: var(--bg-2); }
.trust__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: start;
}
.trust__side { position: sticky; top: calc(var(--head) + 40px); display: grid; gap: 18px; }
.trust .sec__title { font-size: clamp(2rem, 4.2vw, 3.9rem); }
.rules { counter-reset: r; border-top: 1px solid var(--line-2); }
.rules li {
  counter-increment: r;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}
.rules li::before {
  content: "T/0" counter(r);
  grid-row: 1 / span 2;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--v3);
}
.rules h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.rules p { grid-column: 2; color: var(--mute); max-width: 34em; }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 4fr)) minmax(0, 5fr);
  border: 1px solid var(--line-2);
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 36px);
  border-right: 1px solid var(--line-2);
}
.plan:last-child { border-right: 0; }
.plan--plus {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(168, 85, 247, 0.35), transparent 60%),
    linear-gradient(160deg, #2a1163, #150a33 70%);
}
.plan h3 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  font-weight: 750;
  font-stretch: 82%;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.plan__price {
  min-height: 2.6em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--v4);
}
.plan__list { display: grid; gap: 10px; margin-bottom: 14px; }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.5em;
  width: 10px; height: 5px;
  border-left: 2px solid var(--v3);
  border-bottom: 2px solid var(--v3);
  transform: rotate(-45deg);
}
.plan__btn { margin-top: auto; }
.plan__price b {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.terms {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mute);
}
.terms b { color: var(--v4); font-weight: 600; }

/* ---------- Join ---------- */
.join {
  background:
    radial-gradient(60vmax 40vmax at 0% 100%, rgba(91, 33, 182, 0.4), transparent 65%),
    var(--bg);
}
.join__in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}
.join__side { display: grid; gap: 22px; }
.join__title {
  font-size: clamp(2.8rem, 8vw, 7.6rem);
  font-weight: 750;
  font-stretch: 80%;
  line-height: 0.88;
  letter-spacing: -0.05em;
}
.join__p { max-width: 30em; color: #d9d2ea; font-size: 1.1rem; }
.join__form { border-top: 1px solid var(--line-2); padding-top: 8px; }
.field { display: grid; gap: 2px; padding: 14px 0 0; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v4);
}
.field input, .field select {
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #c4b5fd 50%),
    linear-gradient(135deg, #c4b5fd 50%, transparent 50%);
  background-position: calc(100% - 11px) 55%, calc(100% - 5px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: #120e1f; color: var(--ink); }
.field input:hover, .field select:hover { border-bottom-color: var(--v4); }
.field input:focus-visible, .field select:focus-visible {
  outline: none;
  border-bottom-color: var(--v3);
  box-shadow: 0 2px 0 0 var(--v3);
}
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 100px #120e1f inset;
  caret-color: var(--ink);
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.join form .btn { margin-top: 30px; }
.form__note { margin-top: 14px; font-size: 0.92rem; color: var(--mute); }
.thanks { display: grid; gap: 14px; padding: 30px 0; }
.thanks[hidden] { display: none; }
.thanks:focus { outline: none; }
.thanks h3 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1;
  letter-spacing: -0.035em;
}
.thanks p:last-child { color: var(--mute); }

/* ---------- Footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--line-2);
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 26px;
}
.foot__c {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mute);
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .what__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step:nth-child(n) { padding-top: 22px; }
  .step:nth-child(2n) { border-right: 0; padding-right: 0; }
  .step:nth-child(2n + 1) { padding-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { border-bottom: 1px solid var(--line-2); }
  .plan:nth-child(2n) { border-right: 0; }
  .plan:nth-child(n + 3) { border-bottom: 0; }
  .plan__price { min-height: 0; }
  .plan__btn { align-self: flex-start; }
}

@media (max-width: 860px) {
  .sec__head--split { grid-template-columns: 1fr; }
  .demo__grid { grid-template-columns: 1fr; }
  .demo__tx { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .flist { grid-template-columns: 1fr; }
  .trust__in, .join__in { grid-template-columns: 1fr; }
  .trust__side { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__i:nth-child(2) { border-right: 0; }
  .facts__i:nth-child(3) { padding-left: 0; }
  .facts__i:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --head: 56px; }
  .stage__scrim {
    background: linear-gradient(180deg, rgba(7, 6, 11, 0.15) 0%, rgba(7, 6, 11, 0.2) 28%, rgba(7, 6, 11, 0.86) 56%, rgba(7, 6, 11, 0.95) 100%);
  }
  .hero__in { padding-top: 38vh; padding-top: 38svh; }
  .hud { top: 16px; font-size: 11px; }
  .hud__row--dim { display: none; }
  .hero__title { line-height: 0.93; }
  .what__cols { grid-template-columns: 1fr; }
  .big li, .f, .rules li { grid-template-columns: 44px minmax(0, 1fr); }
  .big li:nth-child(n) .big__t { padding-left: 0; }
  .demo__bar-mid { display: none; }
  .demo__replay { margin-left: auto; }
  .tx__line { grid-template-columns: 40px 50px minmax(0, 1fr); gap: 6px; }
  .chk { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .plan:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .hide-s { display: none; }
  .mark__word { font-size: 16px; }
  .mark__glyph { width: 22px; height: 22px; }
  .top__in { gap: 10px; }
  .top__end { gap: 10px; }
  .login { font-size: 11px; letter-spacing: 0; text-transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(n) { border-right: 0; padding-inline: 0; }
  .step:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .step__n { font-size: 6rem; }
  .hero__cta .btn { width: 100%; }
  .plan__btn { align-self: stretch; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .mark__glyph { display: none; }
  .facts dd { font-size: 0.95rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .ticker__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hud__dot { animation: none; }
}
