/* ==========================================================================
   RivalUP — www.RivalUP.app
   Design system carried over from the investor one-pager:
   near-black #08080E, lime primary, violet + cyan support,
   amber reserved for bright-line / gate content only.
   ========================================================================== */

:root {
  --ink:        #08080E;
  --ink-2:      #0D0D16;
  --ink-3:      #12121E;
  --line:       rgba(255, 255, 255, 0.09);
  --line-2:     rgba(255, 255, 255, 0.16);

  --text:       #EDEDF2;
  --text-2:     #A6A6B8;
  --text-3:     #6E6E85;

  --lime:       #C9F751;
  --violet:     #8B5CFF;
  --cyan:       #2DE2E6;
  --amber:      #FF8A4C;
  --red:        #FF5A6E;

  --lime-dim:   rgba(201, 247, 81, 0.12);
  --violet-dim: rgba(139, 92, 255, 0.14);
  --cyan-dim:   rgba(45, 226, 230, 0.12);
  --amber-dim:  rgba(255, 138, 76, 0.12);
  --red-dim:    rgba(255, 90, 110, 0.12);

  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient washes -------------------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 620px at 12% -8%,  rgba(139, 92, 255, 0.20), transparent 62%),
    radial-gradient(760px 560px at 92% 4%,   rgba(201, 247, 81, 0.10), transparent 60%),
    radial-gradient(820px 700px at 50% 108%, rgba(45, 226, 230, 0.07), transparent 62%);
}
main, header, footer { position: relative; z-index: 1; }

/* Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: #fff;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; color: var(--text-2); }
p.lead { font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--text); line-height: 1.55; }
strong { color: #fff; font-weight: 600; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.violet { color: var(--violet); }
.eyebrow.cyan   { color: var(--cyan); }
.eyebrow.amber  { color: var(--amber); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, color 0.18s;
  text-decoration: none !important;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: #0A0A0F; }
.btn-primary:hover { background: #D6FF6B; }
.btn-ghost { background: rgba(255,255,255,0.045); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
.btn-sm { padding: 9px 17px; font-size: 0.87rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header ---------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 8, 14, 0.72);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.032em;
  color: #fff;
  text-decoration: none !important;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.logo-mark svg { width: 26px; height: 26px; display: block; }
/* One flex item, so the wordmark never inherits the flex gap between its halves */
.logo-word { display: inline-block; white-space: nowrap; }
.logo b { color: var(--lime); font-weight: 700; }
.site-foot .logo-mark { width: 38px; height: 38px; border-radius: 11px; }
.site-foot .logo-mark svg { width: 29px; height: 29px; }
.site-foot .logo { font-size: 1.28rem; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.92rem;
  color: var(--text-2);
  text-decoration: none !important;
  transition: color 0.15s;
}
.nav a:hover { color: #fff; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-2);
  border-radius: 9px; width: 40px; height: 38px;
  cursor: pointer; padding: 0;
  color: var(--text);
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    transform: translateY(-140%);
    transition: transform 0.32s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle { display: grid; place-items: center; }
}

/* Hero ------------------------------------------------------------------ */
.hero { padding: clamp(64px, 10vw, 118px) 0 clamp(50px, 7vw, 86px); }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 56ch; }
.hero-note {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
.dot.violet { background: var(--violet); }
.dot.cyan   { background: var(--cyan); }
.dot.amber  { background: var(--amber); }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 26px;
}

/* Cards & grids --------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}
.card h3, .card h4 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .idx {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--lime);
  display: block;
  margin-bottom: 12px;
}
.card.violet .idx { color: var(--violet); }
.card.cyan   .idx { color: var(--cyan); }
.card.amber  .idx { color: var(--amber); }

.rule {
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  background: linear-gradient(90deg, var(--amber-dim), rgba(255,255,255,0.012) 55%);
  border-radius: var(--r);
  padding: 22px 24px;
}
.rule h4 { color: var(--amber); }
.rule ol { margin: 0; padding-left: 20px; color: var(--text-2); }
.rule ol li { margin-bottom: 8px; }
.rule ol li:last-child { margin-bottom: 0; }

.quote {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--lime-dim), rgba(255,255,255,0.015) 60%);
  padding: 30px 32px;
}
.quote p { color: var(--text); font-size: 1.1rem; }
.quote p:last-child { margin-bottom: 0; }

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--cyan-dim), rgba(255,255,255,0.015) 62%);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { margin-bottom: 0; }
.cta-band .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; gap: 22px; justify-items: start; }
}

/* Step list ------------------------------------------------------------- */
.steps { counter-reset: s; display: grid; gap: 2px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 74px 1fr 1.25fr;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  background: rgba(255,255,255,0.022);
}
.step .n {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--lime);
  padding-top: 4px;
}
.step h4 { margin-bottom: 0; }
.step p { margin: 0; font-size: 0.94rem; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .n { padding-top: 0; }
}

/* Tables ---------------------------------------------------------------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255,255,255,0.03);
  font-weight: 500;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
td { color: var(--text-2); }
td:first-child { color: var(--text); font-weight: 500; }
td.num { font-family: var(--mono); font-size: 0.86rem; white-space: nowrap; }

/* ==========================================================================
   DEMO
   ========================================================================== */
.demo-shell {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(700px 420px at 78% 0%, rgba(139, 92, 255, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  padding: clamp(20px, 3vw, 34px);
}
.demo-top {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.demo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 168px minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}
@media (max-width: 1000px) {
  .demo-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .rail { grid-column: 1 / -1; display: flex; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .rail .rail-item { flex: 0 0 auto; }
}
@media (max-width: 720px) {
  .demo-grid { grid-template-columns: 1fr; justify-items: center; }
  .record-panel { width: 100%; }
  .phone { max-width: 278px; }
}

/* Step rail */
.rail { display: flex; flex-direction: column; gap: 2px; }
.rail-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.rail-item .rn {
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  font-size: 0.62rem;
  color: var(--text-3);
  flex: 0 0 auto;
}
.rail-item.done { color: var(--text-2); }
.rail-item.done .rn { background: var(--lime-dim); color: var(--lime); }
.rail-item.active {
  color: #fff;
  background: rgba(201, 247, 81, 0.09);
  border-color: rgba(201, 247, 81, 0.3);
}
.rail-item.active .rn { background: var(--lime); color: #0A0A0F; }

/* Phone */
.phone {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 604;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #06060B;
  padding: 9px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
  margin: 0 auto;
}
.phone::after {
  content: '';
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; border-radius: 12px;
  background: #06060B;
  z-index: 5;
}
.screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  background: linear-gradient(175deg, #14141F, #0A0A11 60%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.scr {
  position: absolute;
  inset: 0;
  padding: 46px 17px 17px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.scr.on { display: flex; animation: scrIn 0.42s var(--ease); }
@keyframes scrIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.scr-head {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.scr h5 {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.scr .sub { font-size: 0.73rem; color: var(--text-2); line-height: 1.45; margin: 0 0 12px; }
.scr .spacer { flex: 1 1 auto; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
}
.chip.lime   { color: var(--lime);   border-color: rgba(201,247,81,0.35);  background: var(--lime-dim); }
.chip.violet { color: var(--violet); border-color: rgba(139,92,255,0.4);   background: var(--violet-dim); }
.chip.cyan   { color: var(--cyan);   border-color: rgba(45,226,230,0.35);  background: var(--cyan-dim); }
.chip.amber  { color: var(--amber);  border-color: rgba(255,138,76,0.35);  background: var(--amber-dim); }
.chip.red    { color: var(--red);    border-color: rgba(255,90,110,0.35);  background: var(--red-dim); }

/* Challenge card in phone */
.ch-card {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(139,92,255,0.14), rgba(255,255,255,0.02) 65%);
  padding: 14px;
  margin-bottom: 11px;
}
.ch-from { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: grid; place-items: center;
  font-family: var(--display); font-size: 0.62rem; font-weight: 700; color: #fff;
  flex: 0 0 auto;
}
.av.lime { background: linear-gradient(135deg, var(--lime), #7FD400); color: #0A0A0F; }
.ch-from .who { font-size: 0.7rem; color: var(--text); font-weight: 500; line-height: 1.2; }
.ch-from .when { font-size: 0.58rem; color: var(--text-3); font-family: var(--mono); }
.ch-title {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 9px;
}
.ch-meta { display: grid; gap: 7px; }
.ch-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 0.68rem;
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ch-row .k { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-3); }
.ch-row .v { color: var(--text); text-align: right; font-weight: 500; }
.ch-row .v.lime { color: var(--lime); }

.stack { display: grid; gap: 8px; }
.pbtn {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--display);
  font-size: 0.8rem; font-weight: 600;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  text-align: center;
  line-height: 1.25;
}
.pbtn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.pbtn.primary { background: var(--lime); color: #0A0A0F; border-color: var(--lime); }
.pbtn.primary:hover { background: #D6FF6B; }
.pbtn.violet { background: var(--violet); border-color: var(--violet); color: #fff; }
.pbtn.violet:hover { background: #9D75FF; }
.pbtn.danger { color: var(--red); border-color: rgba(255,90,110,0.35); background: var(--red-dim); }
.pbtn.danger:hover { background: rgba(255,90,110,0.2); }
.pbtn small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.62rem; opacity: 0.72; }

/* Capture screen */
.capture {
  flex: 1 1 auto;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(420px 300px at 50% 42%, rgba(139,92,255,0.22), transparent 70%),
    linear-gradient(180deg, #101019, #08080E);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.capture .rec {
  position: absolute; top: 11px; left: 11px;
  display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 0.53rem; letter-spacing: 0.14em; color: var(--red);
}
.capture .rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.1s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.capture .tier { position: absolute; top: 10px; right: 10px; }
.count {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-of { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--text-3); text-transform: uppercase; margin-top: 7px; }
.bar { width: 74%; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.12); margin-top: 15px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0%; background: var(--lime); transition: width 0.12s linear; }
.capture .foot {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.08em;
  color: var(--text-3); text-align: center; line-height: 1.5;
}

/* Result screen */
.verdict {
  border-radius: 16px;
  border: 1px solid var(--line-2);
  padding: 16px 14px;
  text-align: center;
  margin-bottom: 11px;
}
.verdict.win  { background: linear-gradient(170deg, rgba(201,247,81,0.16), rgba(255,255,255,0.02)); border-color: rgba(201,247,81,0.35); }
.verdict.loss { background: linear-gradient(170deg, rgba(255,90,110,0.16), rgba(255,255,255,0.02)); border-color: rgba(255,90,110,0.35); }
.verdict .vt {
  font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.03em; color: #fff; margin: 8px 0 4px;
}
.verdict .vs { font-size: 0.7rem; color: var(--text-2); line-height: 1.45; }

.delta-list { display: grid; gap: 6px; }
.delta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 0.68rem;
}
.delta .dk { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.delta .dv { font-family: var(--mono); font-size: 0.68rem; color: var(--text); white-space: nowrap; }
.delta .dv .up   { color: var(--lime); }
.delta .dv .down { color: var(--red); }
.delta .dv .old  { color: var(--text-3); text-decoration: line-through; margin-right: 5px; }

/* Feed screen */
.clip {
  flex: 1 1 auto;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(300px 240px at 50% 30%, rgba(201,247,81,0.16), transparent 68%),
    linear-gradient(180deg, #12121D, #08080E);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 13px;
  margin-bottom: 10px;
}
.clip .play {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
}
.clip .play svg { width: 15px; height: 15px; margin-left: 2px; fill: #fff; }
.clip .overlay-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 5px; flex-wrap: wrap; }
.clip .cap { font-size: 0.72rem; color: #fff; font-weight: 500; line-height: 1.4; margin-bottom: 8px; }
.clip .stats { display: flex; gap: 12px; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; color: var(--text-2); }
.icando {
  width: 100%;
  border: 1px solid rgba(201,247,81,0.4);
  background: var(--lime-dim);
  color: var(--lime);
  border-radius: 11px;
  padding: 9px;
  font-family: var(--display); font-size: 0.76rem; font-weight: 600;
  text-align: center;
}

/* Record panel ----------------------------------------------------------- */
.record-panel {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012));
  padding: 22px;
  position: sticky;
  top: 92px;
}
@media (max-width: 720px) { .record-panel { position: static; } }
.rp-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.rp-av {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--lime), #6FBF00);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: #0A0A0F; font-size: 0.95rem;
  flex: 0 0 auto;
}
.rp-head h4 { margin: 0 0 2px; font-size: 1rem; }
.rp-head .mono { font-size: 0.62rem; }

.metrics { display: grid; gap: 9px; }
.metric {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.028);
  transition: border-color 0.4s, background 0.4s;
}
.metric.hit { border-color: rgba(201,247,81,0.45); background: rgba(201,247,81,0.07); }
.metric.miss { border-color: rgba(255,90,110,0.45); background: rgba(255,90,110,0.07); }
.metric .mk {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-3);
}
.metric .mv {
  font-family: var(--display); font-size: 1.18rem; font-weight: 600;
  color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 7px;
}
.metric .mv .tag {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.06em; opacity: 0; transform: translateX(-4px);
  transition: opacity 0.35s, transform 0.35s;
}
.metric .mv .tag.show { opacity: 1; transform: none; }
.tag.up   { color: var(--lime); }
.tag.down { color: var(--red); }

.rp-note {
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.028);
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.55;
  min-height: 96px;
}
.rp-note b { color: #fff; }
.rp-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* Forms ------------------------------------------------------------------ */
.form-card {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  padding: clamp(22px, 3vw, 32px);
}
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.field .req { color: var(--lime); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color 0.18s, background 0.18s;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus { border-color: rgba(201,247,81,0.5); background: rgba(255,255,255,0.06); outline: none; }
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236E6E85' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
  padding-right: 36px;
}
select option { background: #12121E; color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-foot { font-size: 0.8rem; color: var(--text-3); margin: 14px 0 0; }
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-msg.ok   { display: block; background: var(--lime-dim);  border: 1px solid rgba(201,247,81,0.4); color: var(--lime); }
.form-msg.err  { display: block; background: var(--red-dim);   border: 1px solid rgba(255,90,110,0.4); color: var(--red); }

/* Footer ----------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: rgba(0,0,0,0.3);
}
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--text-3); font-size: 0.86rem; text-decoration: none !important; }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 28px; font-size: 0.78rem; color: var(--text-3); line-height: 1.65; max-width: 78ch; }
.foot-legal p { color: inherit; font-size: inherit; margin: 0 0 6px; }

/* Reveal ----------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* Investor page ---------------------------------------------------------- */
.conf-bar {
  background: var(--amber-dim);
  border-bottom: 1px solid rgba(255,138,76,0.3);
  padding: 9px 0;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: center;
}
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,0.03);
  padding: 20px;
}
.kpi .v {
  font-family: var(--display); font-size: 1.85rem; font-weight: 700;
  color: var(--lime); letter-spacing: -0.035em; line-height: 1; margin-bottom: 9px;
  display: block;
}
.kpi.violet .v { color: var(--violet); }
.kpi.cyan   .v { color: var(--cyan); }
.kpi.amber  .v { color: var(--amber); }
.kpi .k { font-size: 0.83rem; color: var(--text-2); line-height: 1.45; }

.tl { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tl-row {
  display: grid; grid-template-columns: 190px 1fr;
  gap: 20px; padding: 20px 22px;
  background: rgba(255,255,255,0.022);
}
.tl-row.gate { background: linear-gradient(90deg, var(--amber-dim), rgba(255,255,255,0.015) 60%); }
.tl-row .ph { font-family: var(--display); font-weight: 600; color: #fff; font-size: 0.98rem; }
.tl-row .ph span { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--text-3); margin-top: 4px; text-transform: uppercase; }
.tl-row.gate .ph span { color: var(--amber); }
.tl-row p { margin: 0; font-size: 0.9rem; }
.tl-row p + p { margin-top: 8px; }
@media (max-width: 760px) { .tl-row { grid-template-columns: 1fr; gap: 8px; } }

.print-hide { }
@media print {
  body::before { display: none; }
  .site-head, .nav, .print-hide { display: none !important; }
  body { background: #fff; color: #111; }
}
