/* ============================================================
   YCBOT — Landing page
   Built on the YCBOT design system tokens. Dark only.
   ============================================================ */

:root {
  --bg: #232936;
  --bg-2: #2d3543;
  --panel: #333c4c;
  --panel-2: #3c4657;
  --border: #4a5568;
  --border-2: #59667c;
  --text: #eef2f8;
  --text-dim: #aeb8c9;
  --text-faint: #7c8699;
  --accent: #00e7a0;   /* mint — "go" / fills */
  --gain: #00e7a0;     /* positive text */
  --accent-2: #2ee7ff; /* cyan — info */
  --violet: #9a6bff;   /* AI */
  --warn: #f6b84a;
  --danger: #ff4d6d;

  --panel-grad: linear-gradient(180deg, rgba(60,70,87,0.92), rgba(51,60,76,0.92));
  --tex-line: rgba(255,255,255,0.05);
  --maxw: 1200px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient page glow + grid texture, fixed behind everything */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(46,231,255,0.08), transparent 60%),
    radial-gradient(900px 520px at -8% 8%, rgba(0,231,160,0.07), transparent 58%),
    linear-gradient(var(--tex-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tex-line) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 100%, 100% 100%, 34px 34px, 34px 34px, 100% 100%;
}

.font-mono { font-family: var(--font-mono); font-feature-settings: "tnum","ss01"; }
.font-display { font-family: var(--font-display); }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: 28px; padding-right: 28px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,231,160,0.04);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,231,160,0.55);
  animation: breathe 2.6s ease-in-out infinite;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; margin: 0; }

.section { padding-top: 96px; padding-bottom: 96px; position: relative; }
.section-head { max-width: 720px; }
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
  margin: 18px 0 0;
  max-width: 600px;
  text-wrap: pretty;
}
.accent { color: var(--accent); }
.muted { color: var(--text-dim); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--accent);
  color: #02120c;
  box-shadow: 0 0 32px -10px rgba(0,231,160,0.65);
}
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); transform: translateY(-1px); }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }

/* ── Chips ───────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip-green  { background: rgba(0,231,160,0.1);  color: var(--gain);     border: 1px solid rgba(0,231,160,0.28); }
.chip-violet { background: rgba(154,107,255,0.12); color: var(--violet);  border: 1px solid rgba(154,107,255,0.3); }
.chip-cyan   { background: rgba(46,231,255,0.1);  color: var(--accent-2); border: 1px solid rgba(46,231,255,0.28); }
.chip .pdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: breathe 2.6s ease-in-out infinite; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(35,41,54,0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo-tile {
  width: 30px; height: 30px; flex: 0 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.logo-tile img { width: 40px; height: 40px; display: block; }
.logo-tile.sm { width: 22px; height: 22px; border-radius: 6px; }
.logo-tile.sm img { width: 30px; height: 30px; }
.brand .word { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color .15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding-top: 72px; padding-bottom: 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 700;
  margin-top: 22px;
}
.hero h1 .ln2 { color: var(--text-dim); }
.hero-sub {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 520px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* hero live-profit card */
.profit-card {
  position: relative;
  background: var(--panel-grad);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
}
.profit-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 100% 0%, rgba(0,231,160,0.14), transparent 62%);
  pointer-events: none;
}
.profit-card .pc-head {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.pc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.pc-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gain);
}
.pc-live .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--gain); animation: breathe 2.6s ease-in-out infinite; }
.pc-value {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1;
  margin: 22px 0 0;
  letter-spacing: -0.02em;
}
.pc-value .cur { color: var(--text-faint); font-size: 0.42em; vertical-align: super; margin-right: 4px; }
.pc-value .unit { color: var(--text-dim); font-size: 0.32em; margin-left: 10px; letter-spacing: 0; }
.pc-value.no-data .cur, .pc-value.no-data .unit { display: none; }
.pc-meta {
  position: relative;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.pc-meta b { color: var(--text); font-weight: 600; }
.pc-spark { position: relative; margin-top: 22px; height: 64px; }
.pc-spark svg { width: 100%; height: 100%; display: block; }

/* ── framed product shot (browser chrome) ────────────── */
.shot {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7);
}
.shot-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.shot-dots { display: flex; gap: 7px; }
.shot-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: var(--border-2); }
.shot-url {
  flex: 1;
  max-width: 320px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 12px;
  display: flex; align-items: center; gap: 7px;
}
.shot-url svg { width: 11px; height: 11px; color: var(--gain); }
.shot-body { padding: 20px; min-width: 0; }
/* let dense product-shot panels shrink below their content width on small screens */
.feat-text, .feat-vis, .ms-shot, .ms-points, .shot, .panel-flat,
.kpi, .micro, .micro .m, .chart-card, .ladder, .rv-main, .rv-kpis { min-width: 0; }

.hero-shot { margin-top: 56px; }

/* ── generic panel ───────────────────────────────────── */
.panel {
  background: var(--panel-grad);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.panel-flat {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.inset {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* ── stats band ──────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(45,53,67,0.4);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 38px 28px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1;
  color: var(--text);
}
.stat .num.gain { color: var(--gain); }
.stat .lbl {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.stat .sub { margin-top: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* ── feature rows ────────────────────────────────────── */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feat + .feat { margin-top: 120px; }
.feat.rev .feat-text { order: 2; }
.feat-text h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; }
.feat-text .kicker { display: block; margin-bottom: 14px; }
.feat-text p { color: var(--text-dim); font-size: 16.5px; margin: 18px 0 0; text-wrap: pretty; }
.feat-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); }
.feat-list li svg { width: 17px; height: 17px; color: var(--gain); flex-shrink: 0; margin-top: 2px; }
.feat-list li b { color: var(--text); font-weight: 600; }

/* ── 3-up grid ───────────────────────────────────────── */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.tri-card { padding: 26px; display: flex; flex-direction: column; }
.tri-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,231,160,0.08); border: 1px solid rgba(0,231,160,0.25);
  margin-bottom: 18px;
}
.tri-icon svg { width: 20px; height: 20px; color: var(--accent); }
.tri-icon.v { background: rgba(154,107,255,0.1); border-color: rgba(154,107,255,0.3); }
.tri-icon.v svg { color: var(--violet); }
.tri-icon.c { background: rgba(46,231,255,0.1); border-color: rgba(46,231,255,0.28); }
.tri-icon.c svg { color: var(--accent-2); }
.tri-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.tri-card p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* ── microstructure explainer ────────────────────────── */
.ms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.ms-card { padding: 24px; }
.ms-head { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.ms-ic {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46,231,255,0.1); border: 1px solid rgba(46,231,255,0.28);
}
.ms-ic svg { width: 17px; height: 17px; color: var(--accent-2); }
.ms-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  font-weight: 600; color: var(--text);
}
.ms-vals { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.ms-vals span {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 7px;
}
.ms-vals span b { color: var(--text); font-weight: 600; }
.ms-card p { color: var(--text-dim); font-size: 14px; margin: 0; line-height: 1.55; }
.ms-card p em { color: var(--accent-2); font-style: normal; font-family: var(--font-mono); font-size: 12.5px; }

.ms-synth {
  margin-top: 18px;
  padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.ms-synth::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 200px at 100% 50%, rgba(0,231,160,0.08), transparent 60%);
}
.ms-synth .syn-l { position: relative; max-width: 440px; }
.ms-synth .syn-l .ms-tag { color: var(--accent); display: block; margin-bottom: 8px; }
.ms-synth .syn-l p { color: var(--text-dim); font-size: 15px; margin: 0; }
.ms-synth .syn-l p b { color: var(--text); font-weight: 600; }
.ms-synth .syn-r {
  position: relative; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.ms-synth .syn-arrow svg { width: 22px; height: 22px; color: var(--text-faint); }
.ms-synth .syn-out { display: flex; gap: 14px; }
.ms-synth .syn-out .o { text-align: center; }
.ms-synth .syn-out .o .ol {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint);
}
.ms-synth .syn-out .o .ov { font-family: var(--font-mono); font-weight: 700; font-size: 16px; margin-top: 5px; }

/* microstructure — two-column layout (panel + points) */
.ms-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  margin-top: 46px;
  align-items: center;
}
.ms-shot { align-self: stretch; }
.ms-shot .shot-body { display: flex; }
.ms-shot .panel-flat { width: 100%; }
.ms-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ms-group + .ms-group { margin-top: 14px; }
.ms-gl {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint); font-weight: 600; margin-bottom: 8px;
}
.ms-points { display: flex; flex-direction: column; }
.ms-point { display: flex; gap: 15px; padding: 17px 0; }
.ms-point:first-child { padding-top: 0; }
.ms-point:last-child { padding-bottom: 0; }
.ms-point + .ms-point { border-top: 1px solid var(--border); }
.mp-head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 5px; flex-wrap: wrap; }
.mp-tag { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--text); }
.mp-hint { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-faint); }
.ms-point p { color: var(--text-dim); font-size: 14px; line-height: 1.5; margin: 0; text-wrap: pretty; }

/* ── invite section ──────────────────────────────────── */
.invite { position: relative; }
.invite-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel-grad);
  overflow: hidden;
  padding: 64px 56px;
}
.invite-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(154,107,255,0.12), transparent 60%),
    radial-gradient(500px 280px at 6% 96%, rgba(0,231,160,0.08), transparent 60%);
  pointer-events: none;
}
.invite-card .ic-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.invite-card h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.04; }
.invite-card p { color: var(--text-dim); font-size: 17px; margin: 20px 0 0; text-wrap: pretty; }
.invite-side {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}
.invite-side .seal {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(154,107,255,0.1); border: 1px solid rgba(154,107,255,0.3);
  margin-bottom: 20px;
}
.invite-side .seal svg { width: 30px; height: 30px; color: var(--violet); }
.invite-side .sig { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
.invite-side .sig-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-top: 6px; }

/* ── download ────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dl-text h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.06; }
.dl-text p { color: var(--text-dim); font-size: 17px; margin: 18px 0 0; max-width: 460px; text-wrap: pretty; }
.dl-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.qr-box {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  width: 168px; height: 168px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.qr-box svg, .qr-box img { width: 100%; height: 100%; display: block; }
.qr-side { display: flex; flex-direction: column; gap: 12px; }
.qr-cap { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.qr-cap svg { width: 15px; height: 15px; color: var(--gain); }

/* phone mock */
.phone {
  justify-self: center;
  width: 290px;
  border-radius: 38px;
  border: 1px solid var(--border-2);
  background: #1b2029;
  padding: 12px;
  box-shadow: 0 50px 110px -45px rgba(0,0,0,0.8);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 7px; border-radius: 999px; background: #0f131a; z-index: 3;
}
.phone-screen {
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── disclaimer band ─────────────────────────────────── */
.disclaimer {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,77,109,0.04);
}
.disclaimer-inner { display: flex; gap: 22px; align-items: flex-start; padding: 44px 0; }
.disclaimer .warn-icon {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(246,184,74,0.1); border: 1px solid rgba(246,184,74,0.3);
}
.disclaimer .warn-icon svg { width: 22px; height: 22px; color: var(--warn); }
.disclaimer h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--warn); margin: 0 0 10px; font-weight: 600;
}
.disclaimer p { color: var(--text-dim); font-size: 13.5px; line-height: 1.62; margin: 0; max-width: 880px; }

/* ── footer ──────────────────────────────────────────── */
.footer { padding-top: 70px; padding-bottom: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint); margin: 0 0 16px; font-weight: 600;
}
.footer-col a { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom .meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.footer-bottom .heart { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .heart svg { width: 12px; height: 12px; color: var(--danger); fill: var(--danger); }
.footer-bottom .heart b { font-family: var(--font-display); color: var(--text-dim); letter-spacing: 0.06em; }

/* ============================================================
   Recreated product-shot UI (in-brand mini panels)
   ============================================================ */
.ui { font-family: var(--font-body); }
.ui-row { display: flex; align-items: center; gap: 10px; }
.ui-mono { font-family: var(--font-mono); }
.ui-label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim); font-weight: 600;
}
.ui-faint { color: var(--text-faint); }
.coin {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}

/* running view shot */
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.rv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 12px 13px; }
.kpi .k-lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.kpi .k-val { font-family: var(--font-mono); font-weight: 700; font-size: 18px; margin-top: 7px; line-height: 1; }
.kpi .k-sub { font-family: var(--font-mono); font-size: 9.5px; color: var(--text-faint); margin-top: 6px; }
.k-val.gain { color: var(--gain); }
.k-val.cyan { color: var(--accent-2); }
.prog { height: 5px; border-radius: 999px; background: var(--border); margin-top: 9px; overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

.rv-main { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.chart-card { padding: 14px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tf-pills { display: flex; gap: 5px; }
.tf-pills span {
  font-family: var(--font-mono); font-size: 9.5px; padding: 3px 8px; border-radius: 6px;
  color: var(--text-dim); border: 1px solid var(--border);
}
.tf-pills span.on { color: var(--gain); background: rgba(0,231,160,0.1); border-color: rgba(0,231,160,0.3); }
.candles { width: 100%; height: 150px; display: block; }

.ladder { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.lad-row { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; }
.lad-row .tag { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.lad-bar { height: 7px; border-radius: 4px; flex: 1; margin: 0 10px; position: relative; background: var(--bg-2); }
.lad-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }

.micro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.micro .m { padding: 11px 12px; }
.micro .m .mk { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.micro .m .mv { font-family: var(--font-mono); font-weight: 700; font-size: 14px; margin-top: 6px; }

/* AI plan card */
.ai-card { padding: 16px; }
.ai-card .ai-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ai-card .rationale { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.ai-card .rationale b { color: var(--text); }
.ai-ask { margin-top: 14px; display: flex; gap: 8px; }
.ai-ask .inp {
  flex: 1; background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px;
  padding: 10px 13px; font-size: 12.5px; color: var(--text-faint);
}
.ai-ask .go {
  width: 40px; border-radius: 9px; background: rgba(154,107,255,0.14);
  border: 1px solid rgba(154,107,255,0.3); display: flex; align-items: center; justify-content: center;
}
.ai-ask .go svg { width: 16px; height: 16px; color: var(--violet); }

/* PnL shot */
.pnl-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.heat { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.heat i { aspect-ratio: 1; border-radius: 3px; border: 1px solid var(--border); }
.curve { width: 100%; height: 120px; display: block; margin-top: 14px; }
.pnl-legend { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.pnl-legend .sc { display: inline-flex; gap: 3px; align-items: center; }
.pnl-legend .sc i { width: 11px; height: 11px; border-radius: 3px; display: block; }

/* config shot (risk) */
.cfg-syms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cfg-sym { padding: 11px 6px; text-align: center; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--border); }
.cfg-sym.on { background: rgba(0,231,160,0.1); border-color: rgba(0,231,160,0.4); box-shadow: 0 0 22px -8px rgba(0,231,160,0.5); }
.cfg-sym .cs-coin { margin: 0 auto 7px; }
.cfg-sym .cs-t { font-family: var(--font-mono); font-weight: 700; font-size: 11px; }
.cfg-sym.on .cs-t { color: var(--gain); }
.risk-meter { padding: 14px; margin-top: 12px; }
.risk-meter .rm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.risk-meter .rm-bar { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.risk-meter .rm-bar i { display: block; height: 100%; border-radius: 999px; }

/* profiles shot */
.prof { padding: 14px; display: flex; align-items: center; gap: 12px; }
.prof + .prof { margin-top: 10px; }
.prof .pf-av {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--accent-2);
  background: linear-gradient(135deg, rgba(46,231,255,0.18), rgba(154,107,255,0.18));
  border: 1px solid rgba(46,231,255,0.3);
}
.prof .pf-name { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
.prof .pf-meta { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); margin-top: 3px; }

/* security shot */
.sec-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; }
.sec-row + .sec-row { margin-top: 9px; }
.sec-row .sr-l { display: flex; align-items: center; gap: 11px; }
.sec-row .sr-l svg { width: 16px; height: 16px; color: var(--gain); }
.sec-row .sr-t { font-size: 13px; }
.sec-row .sr-s { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); margin-top: 2px; }
.tog { width: 34px; height: 20px; border-radius: 999px; background: rgba(0,231,160,0.25); position: relative; flex-shrink: 0; }
.tog::after { content: ""; position: absolute; top: 2px; left: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.tog.off { background: var(--border-2); }
.tog.off::after { left: 2px; background: var(--text-faint); }

/* ── motion / reveal ─────────────────────────────────── */
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,231,160,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(0,231,160,0); }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
[data-reveal].in { animation: revealIn .7s cubic-bezier(0.16,0.84,0.44,1) both; }
[data-reveal-delay="1"].in { animation-delay: .08s; }
[data-reveal-delay="2"].in { animation-delay: .16s; }
[data-reveal-delay="3"].in { animation-delay: .24s; }
@keyframes revealIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
/* hard-reveal fallback: applied when the environment can't run CSS animation
   (offscreen capture / frozen compositor) so content is never stranded */
html.force-reveal [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; animation: none; }
  .eyebrow .dot, .chip .pdot, .pc-live .pdot { animation: none; }
}

/* ── responsive ──────────────────────────────────────── */
.mobile-menu { display: none; }

/* ── device preview switcher ─────────────────────────── */
.dp-launch {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  display: flex; align-items: center; gap: 2px;
  background: rgba(45,53,67,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 6px; box-shadow: 0 18px 44px -18px rgba(0,0,0,0.8);
}
.dp-launch .dp-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint); padding: 0 8px 0 6px;
}
.dp-launch button {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--text-dim); background: transparent; border: none;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  transition: color .15s, background .15s;
}
.dp-launch button svg { width: 14px; height: 14px; }
.dp-launch button:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.dp-launch button.on { color: #02120c; background: var(--accent); }
.dp-launch button.on:hover { background: var(--accent); }

.dp-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(10,13,18,0.88);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: dpFade .2s ease both;
}
@keyframes dpFade { from { opacity: 0; } to { opacity: 1; } }
.dp-stage {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.dp-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-dim);
}
.dp-fit { position: relative; }
.dp-device {
  position: absolute; top: 0; left: 0;
  transform-origin: top left;
  background: #0e1219; border: 1px solid var(--border-2);
  padding: 11px;
  box-shadow: 0 50px 120px -34px rgba(0,0,0,0.9);
}
.dp-device iframe { display: block; border: none; background: var(--bg); }

/* hide the launcher inside the device-preview iframe */
.is-devframe .dp-launch, .is-devframe .dp-overlay { display: none !important; }

@media (max-width: 560px) {
  /* on a real phone the switcher would crowd the screen — show a compact pill */
  .dp-launch .dp-label { display: none; }
  .dp-launch button span { display: none; }
  .dp-launch button { padding: 9px; }
}

/* ≤1080px — ease the desktop grid gaps before the full collapse */
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .feat { gap: 44px; }
  .tri { gap: 18px; }
}

/* ≤980px — tablet: collapse two-column layouts, switch to hamburger nav */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: none; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .hero { padding-top: 56px; padding-bottom: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .profit-card { order: -1; }
  .hero-shot { margin-top: 44px; }
  .feat, .feat.rev .feat-text { grid-template-columns: 1fr; }
  .feat.rev .feat-text { order: 0; }
  .feat-vis { order: 2; }
  .feat + .feat { margin-top: 72px; }
  .invite-card .ic-grid { grid-template-columns: 1fr; gap: 32px; }
  .invite-side { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 32px; }
  .dl-grid { grid-template-columns: 1fr; gap: 44px; }
  .dl-text { text-align: center; }
  .dl-text p { margin-left: auto; margin-right: auto; }
  .dl-actions { justify-content: center; }
  .tri { grid-template-columns: 1fr; }
  .ms-layout { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .rv-main { grid-template-columns: 1fr; }
  .mobile-menu.open { display: block; border-bottom: 1px solid var(--border); background: var(--bg-2); }
  .mobile-menu a { display: block; padding: 14px 28px; color: var(--text-dim); border-top: 1px solid var(--border); font-size: 15px; }
  .footer-bottom .heart svg { width: 11px; height: 11px; }
  .footer-bottom .heart b { font-size: 13px; }
}

/* ≤680px — phone landscape / large phone: tighten type & grids */
@media (max-width: 680px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 40px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(33px, 8.6vw, 48px); margin-top: 18px; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-cta { gap: 11px; margin-top: 26px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; padding: 14px 20px; }
  .profit-card { padding: 22px 20px; }
  .pc-value { font-size: clamp(32px, 11vw, 46px); }
  .section-head h2 { font-size: clamp(26px, 6.6vw, 38px); }
  .section-head p { font-size: 16px; }
  .feat + .feat { margin-top: 60px; }
  .feat-list li { font-size: 14px; }
  .shot-body { padding: 14px; }
  .invite-card { padding: 38px 24px; }
  .invite-card h2 { font-size: clamp(27px, 7.2vw, 42px); }
  .invite-card p { font-size: 16px; }
  .rv-kpis { grid-template-columns: repeat(2, 1fr); }
  .pnl-top { grid-template-columns: repeat(2, 1fr); }
  .micro { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 30px 24px; }
  .stat:nth-child(1) { border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .stat .num { font-size: clamp(28px, 8vw, 36px); }
  /* microstructure points become a horizontal swipe carousel to cut vertical length */
  .ms-points { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .ms-point, .ms-point:first-child, .ms-point:last-child { padding: 16px; }
  .ms-point { flex: 0 0 82%; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); scroll-snap-align: start; }
  .ms-points::-webkit-scrollbar { height: 5px; }
  .ms-points::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 999px; }
  /* keep heatmap compact (more columns = smaller cells, fewer rows) */
  .heat { grid-template-columns: repeat(18, 1fr); gap: 3px; }
  .heat i { border-radius: 2px; }
  .dl-actions { gap: 22px; }
  .disclaimer-inner { padding: 38px 0; gap: 16px; }
  .footer-top { gap: 32px; }
  .footer-cols { gap: 28px 44px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-bottom .heart b { font-size: 12.5px; }
}

/* ≤440px — small phones: final fit pass */
@media (max-width: 440px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .shot-body { padding: 12px; }
  .nav-inner { gap: 10px; }
  .nav-right .btn { padding: 9px 13px; font-size: 12.5px; }
  .brand .word { font-size: 16px; }
  .hero h1 { font-size: clamp(30px, 9.2vw, 40px); }
  .pc-value { font-size: clamp(30px, 12vw, 40px); }
  .pc-label { font-size: 10px; }
  .rv-head { gap: 8px; }
  .micro { gap: 8px; }
  .micro .m { padding: 10px 9px; }
  .micro .m .mv { font-size: 13px; }
  .pnl-top, .rv-kpis { gap: 8px; }
  .heat { grid-template-columns: repeat(18, 1fr); }
  .ms-point { flex: 0 0 86%; }
  .qr-box { width: 150px; height: 150px; }
  .footer-cols { gap: 24px 36px; }
  .invite-card { padding: 32px 20px; }
  .footer-bottom .heart b { font-size: 12px; }
}
