/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #050514;
  color: #e6e6f0;
  font-family: "Urbanist", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: "Fraunces", "Georgia", serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0; }

/* ===== Global background atmosphere ===== */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(0,216,255,0.10), transparent 60%),
    radial-gradient(50% 40% at 90% 30%, rgba(184,107,255,0.10), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(255,107,180,0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(230,230,240,0.06) 1px, transparent 1px),
    radial-gradient(rgba(230,230,240,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 9px 9px;
  background-position: 0 0, 1.5px 1.5px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

main { position: relative; z-index: 1; }

/* ===== Floating pill nav (Ferrari/Optimind style) ===== */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  background: rgba(10,10,28,0.65);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(230,230,240,0.10);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.02) inset;
  width: max-content;
  max-width: calc(100% - 32px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.brand-text { font-family: "Fraunces", serif; font-size: 18px; font-style: italic; }
.brand-mark {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: conic-gradient(from 200deg, #00d8ff, #b86bff, #ff6bb4, #00d8ff);
  box-shadow: 0 0 18px rgba(0,216,255,0.6), 0 0 36px rgba(184,107,255,0.35);
  animation: brand-spin 8s linear infinite;
}
@keyframes brand-spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 18px; font-size: 13.5px; color: #c8c8d6; }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: linear-gradient(90deg, #00d8ff, #b86bff);
  transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
@media (max-width: 640px) {
  .nav { top: 10px; padding: 8px 14px; gap: 14px; }
  .nav-links { gap: 12px; font-size: 12.5px; }
}

/* ===== Hero (off-axis composition) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 110px 32px 60px;
  overflow: hidden;
  isolation: isolate;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aab0c8;
  padding: 8px 14px;
  border: 1px solid rgba(230,230,240,0.12);
  border-radius: 999px;
  background: rgba(10,10,28,0.55);
  backdrop-filter: blur(6px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00d8ff;
  box-shadow: 0 0 10px #00d8ff, 0 0 20px rgba(0,216,255,0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(64px, 13vw, 168px);
  font-style: italic;
  font-weight: 400;
  margin: 24px 0 18px;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #c8c8d6 60%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(0,216,255,0.15);
  isolation: isolate;
}
.hero-title .word { position: relative; display: inline-block; }
.hero-title .word::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #00d8ff 0%, #b86bff 50%, #ff6bb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(28px);
  opacity: 0.55;
  z-index: -1;
}

.hero-tagline {
  max-width: 640px;
  margin: 0 auto;
  color: #c8c8d6;
  font-size: clamp(15px, 2.2vw, 19px);
}
.hero-cta {
  margin-top: 32px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}
.btn.primary {
  background: linear-gradient(120deg, #00d8ff, #b86bff);
  color: #050514;
  box-shadow: 0 8px 28px rgba(0,216,255,0.3), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.btn.primary:hover { box-shadow: 0 12px 36px rgba(0,216,255,0.45); }
.btn.ghost { border-color: rgba(230,230,240,0.18); color: #e6e6f0; }
.btn.ghost:hover { border-color: #00d8ff; color: #fff; background: rgba(0,216,255,0.06); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 56px auto 0;
  max-width: 720px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(10,10,28,0.45);
  border: 1px solid rgba(230,230,240,0.06);
  backdrop-filter: blur(8px);
}
.stat-num { font-family: "Fraunces", serif; font-size: clamp(22px, 3.5vw, 32px); font-weight: 500; color: #fff; font-style: italic; }
.stat-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #aab0c8; }
@media (max-width: 580px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #6b7090;
  z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* ===== Sections ===== */
.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 32px;
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 {
  font-size: clamp(34px, 5.2vw, 62px);
  font-style: italic;
  font-weight: 400;
  margin-top: 14px;
  color: #fff;
}
.section h2 em { font-style: normal; color: #c8c8d6; }
.section h2 .grad {
  background: linear-gradient(120deg, #00d8ff, #b86bff 60%, #ff6bb4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede { color: #c8c8d6; margin-top: 14px; font-size: clamp(15px, 1.6vw, 18px); }

/* ===== Tilted card stack (Ferrari/Optimind) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  perspective: 1200px;
}
.card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,20,42,0.75), rgba(10,10,28,0.55));
  border: 1px solid rgba(230,230,240,0.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .35s ease, z-index 0s linear .4s;
  cursor: default;
  will-change: transform;
}
.cards > .card:nth-child(1) { transform: rotate(-1.6deg); }
.cards > .card:nth-child(2) { transform: rotate(0.9deg) translateY(14px); }
.cards > .card:nth-child(3) { transform: rotate(-0.6deg) translateY(-10px); }
.cards > .card:nth-child(4) { transform: rotate(1.4deg); }
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--g, #00d8ff), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), var(--glow, rgba(0,216,255,0.18)), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover, .card:focus-visible {
  transform: rotate(0deg) translateY(-6px) scale(1.025);
  z-index: 3;
  border-color: rgba(230,230,240,0.15);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 36px var(--glow, rgba(0,216,255,0.12));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .35s ease;
}
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card:hover::after, .card:focus-visible::after { opacity: 1; }
.card-time {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aab0c8;
  font-family: "JetBrains Mono", monospace;
  position: relative;
  z-index: 1;
}
.card h3 { font-size: 28px; margin: 10px 0 12px; position: relative; z-index: 1; }
.card p { color: #c8c8d6; font-size: 14.5px; position: relative; z-index: 1; }
.card em { font-style: normal; color: #fff; font-family: "JetBrains Mono", monospace; padding: 1px 6px; border-radius: 6px; background: rgba(0,216,255,0.10); }
.glow-cyan   { --g: #00d8ff; --glow: rgba(0,216,255,0.22); }
.glow-violet { --g: #b86bff; --glow: rgba(184,107,255,0.24); }
.glow-pink   { --g: #ff6bb4; --glow: rgba(255,107,180,0.22); }
.glow-mint   { --g: #66f0c8; --glow: rgba(102,240,200,0.20); }
@media (max-width: 720px) {
  .cards > .card { transform: none !important; }
}

/* ===== Telegram phone mockup ===== */
.telegram-section { display: flex; flex-direction: column; align-items: center; }
.telegram-section .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.tg-phone {
  width: min(440px, 92vw);
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(160deg, #0c0c22, #06061a);
  border: 1px solid rgba(230,230,240,0.10);
  box-shadow:
    0 30px 80px rgba(0,216,255,0.18),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: perspective(1200px) rotateX(6deg) rotateY(-5deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.tg-phone:hover { transform: perspective(1200px) rotateX(2deg) rotateY(0deg); }
.tg-notch { width: 60px; height: 5px; background: #1a1a2e; border-radius: 3px; margin: 0 auto 14px; }
.tg-header { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.tg-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #00d8ff, #b86bff, #ff6bb4);
  display: grid; place-items: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #050514;
  font-weight: 600;
}
.tg-name { font-weight: 600; font-size: 14px; }
.tg-status { font-size: 11px; color: #66f0c8; }
.tg-time { margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 11px; color: #aab0c8; }
.tg-body {
  padding: 14px 4px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  min-height: 260px;
  color: #e6e6f0;
  white-space: pre-wrap;
}
.tg-body .up { color: #66f0c8; }
.tg-body .dn { color: #ff6bb4; }
.tg-body .hi { color: #00d8ff; }
.tg-body .cursor { display: inline-block; width: 7px; height: 14px; background: #00d8ff; animation: tg-blink 1s infinite; vertical-align: -2px; margin-left: 1px; }
@keyframes tg-blink { 50% { opacity: 0; } }
.tg-tail { font-family: "JetBrains Mono", monospace; font-size: 10px; color: #6b7090; text-align: right; padding-top: 8px; }
.tg-checks { color: #00d8ff; }

/* ===== Flow (How it works) ===== */
.flow {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.flow-step {
  padding: 24px;
  border-radius: 16px;
  background: rgba(10,10,28,0.55);
  border: 1px solid rgba(230,230,240,0.06);
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.flow-step:hover { border-color: rgba(0,216,255,0.2); transform: translateY(-3px); }
.flow-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #6b7090;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(230,230,240,0.08);
}
.flow-step h3 { font-size: 22px; margin: 14px 0 8px; }
.flow-step p { color: #c8c8d6; font-size: 14px; }
.flow-step p code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95em;
  color: #00d8ff;
  background: rgba(0,216,255,0.07);
  padding: 1px 5px;
  border-radius: 5px;
}

.diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  border-radius: 16px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(0,216,255,0.07), transparent),
    rgba(10,10,28,0.6);
  border: 1px solid rgba(230,230,240,0.06);
}
.diagram-node {
  padding: 10px 16px;
  border-radius: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #e6e6f0;
  background: rgba(20,20,42,0.85);
  border: 1px solid rgba(230,230,240,0.10);
  white-space: nowrap;
}
.diagram-node.alt { border-color: rgba(184,107,255,0.35); color: #d6b6ff; }
.diagram-node.final {
  background: linear-gradient(120deg, rgba(0,216,255,0.2), rgba(184,107,255,0.2));
  border-color: rgba(0,216,255,0.5);
  color: #fff;
  box-shadow: 0 0 24px rgba(0,216,255,0.25);
}
.diagram-arrow { color: #6b7090; font-family: "JetBrains Mono", monospace; }
.diagram-arrow.alt { color: #b86bff; }

/* ===== Tech chips — infinite scrolling ticker ===== */
.chips-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: nowrap; gap: 10px; width: max-content;
  animation: tick 30s linear infinite;
}
.chips:hover { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.chips li {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10,10,28,0.6);
  border: 1px solid rgba(230,230,240,0.08);
  color: #e6e6f0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .25s ease, color .25s ease;
}
.chips li:hover {
  border-color: rgba(0,216,255,0.4);
  color: #00d8ff;
}

/* ===== Scoring section: chart + rule ===== */
#chart-canvas {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 36px;
  display: block;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0,216,255,0.04), transparent);
  border: 1px solid rgba(230,230,240,0.06);
}

.rule {
  padding: 36px;
  border-radius: 18px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(0,216,255,0.07), transparent),
    rgba(10,10,28,0.6);
  border: 1px solid rgba(230,230,240,0.08);
}
.rule-eq {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  color: #fff;
  letter-spacing: -0.01em;
}
.rule-eq strong {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  color: #66f0c8;
  background: rgba(102,240,200,0.10);
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 0.78em;
}
.rule-eq .op {
  font-family: "JetBrains Mono", monospace;
  color: #aab0c8;
  font-size: 0.7em;
  font-style: normal;
  margin: 0 6px;
}
.rule-detail { color: #c8c8d6; margin-top: 14px; font-style: normal; }
.rule-examples {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.example {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(20,20,42,0.55);
  border: 1px solid rgba(230,230,240,0.08);
}
.example.good { border-color: rgba(102,240,200,0.35); box-shadow: 0 0 20px rgba(102,240,200,0.10); }
.example.bad  { border-color: rgba(255,107,180,0.25); }
.ex-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.example.good .ex-label { color: #66f0c8; }
.example.bad  .ex-label { color: #ff8fc1; }
.ex-line { font-family: "JetBrains Mono", monospace; font-size: 13.5px; color: #e6e6f0; }
.ex-line span { color: #00d8ff; }
.ex-note { color: #aab0c8; font-size: 13px; margin-top: 8px; }

/* ===== Finale ===== */
.finale { padding-top: 60px; padding-bottom: 140px; }
.finale-sign {
  text-align: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 18px;
  color: #aab0c8;
  margin-top: 24px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px 24px 48px;
  border-top: 1px solid rgba(230,230,240,0.06);
  background: rgba(5,5,20,0.6);
  position: relative;
  z-index: 1;
}
.footer p { font-size: 13px; color: #aab0c8; }
.footer-sub { margin-top: 6px; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em; color: #6b7090; }

/* ===== Scroll-in reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Trading-style cursor crosshair ===== */
.cross { position: fixed; top: 0; left: 0; width: 28px; height: 28px; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); mix-blend-mode: screen; opacity: 0; transition: opacity .25s ease; }
.cross.on { opacity: 1; }
.cross::before, .cross::after { content: ""; position: absolute; background: linear-gradient(90deg, transparent, #00d8ff, transparent); box-shadow: 0 0 8px #00d8ff; }
.cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.cross::after { top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, #00d8ff, transparent); }
.cross-tag {
  position: fixed; pointer-events: none; z-index: 9999;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  padding: 3px 7px; border-radius: 4px;
  background: rgba(10,10,28,0.85);
  border: 1px solid rgba(0,216,255,0.4);
  color: #00d8ff;
  backdrop-filter: blur(4px);
  transform: translate(14px, 14px);
  transition: opacity .2s ease;
  opacity: 0;
}
@media (hover: none) { .cross, .cross-tag { display: none; } }

/* ===== Nav CTA pill ===== */
.nav-links a.nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #00d8ff, #b86bff);
  color: #050514;
  font-weight: 700;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { color: #050514; filter: brightness(1.12); }

/* ===== Alert form ===== */
.alerts-section .section-head { margin-left: auto; margin-right: auto; }
.alert-form {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 34px;
  border-radius: 22px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(0,216,255,0.08), transparent),
    linear-gradient(180deg, rgba(20,20,42,0.7), rgba(10,10,28,0.6));
  border: 1px solid rgba(230,230,240,0.10);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(0,216,255,0.06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; text-align: left; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aab0c8;
  font-family: "JetBrains Mono", monospace;
}
.alert-form input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(5,5,20,0.65);
  border: 1px solid rgba(230,230,240,0.12);
  color: #e6e6f0;
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.alert-form input::placeholder { color: #5a6080; }
.alert-form input:focus {
  outline: none;
  border-color: #00d8ff;
  background: rgba(0,216,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,216,255,0.12);
}
.alert-form input#af-ticker { text-transform: uppercase; font-family: "JetBrains Mono", monospace; letter-spacing: 0.08em; }
.alert-form input[type="datetime-local"] { color-scheme: dark; }
.af-submit { justify-content: center; margin-top: 4px; font-size: 15px; padding: 14px 22px; }
.af-submit:disabled { opacity: 0.6; cursor: progress; }
.af-msg { text-align: center; font-size: 14px; min-height: 20px; margin: 0; }
.af-msg.ok  { color: #66f0c8; }
.af-msg.err { color: #ff8fc1; }
.af-fine { text-align: center; font-size: 12px; color: #6b7090; font-family: "JetBrains Mono", monospace; margin: 0; }

/* ===== Legal pages (Terms / Privacy) ===== */
.legal-body { max-width: 760px; }
.legal-body h3 {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 34px 0 10px;
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { color: #c8c8d6; font-size: 15px; line-height: 1.7; }
.legal-body ul { margin: 10px 0 0; padding-left: 20px; color: #c8c8d6; font-size: 15px; line-height: 1.7; }
.legal-body li { margin-bottom: 6px; }
.legal-body li strong { color: #e6e6f0; }
.legal-body a { color: #00d8ff; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: #fff; }
.legal-body strong { color: #e6e6f0; }

/* ===== Footer acceptance line (Terms/Privacy links, every page) ===== */
.footer-accept {
  margin-top: 12px;
  font-size: 12px;
  color: #6b7090;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.footer-accept a { color: #6b7090; text-decoration: underline; text-underline-offset: 2px; }
.footer-accept a:hover { color: #00d8ff; }

/* ===== Alert-form consent checkbox (clickwrap) ===== */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #aab0c8;
  cursor: pointer;
  text-align: left;
  margin-top: -4px;
}
.consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #00d8ff;
  cursor: pointer;
}
.consent a { color: #00d8ff; text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: #fff; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .chips { animation: none; }
}
