/* ============================================================
   Vela Systems · Inbound OS — landing page
   Tokens, custom components, motion. Pairs with Tailwind CDN.
   ============================================================ */

:root {
  --bg:        #0A0A0A;
  --bg-2:     #111111;
  --bg-3:     #161616;
  --bg-4:     #1C1C1C;
  --line:     rgba(255, 255, 255, 0.07);
  --line-2:   rgba(255, 255, 255, 0.10);
  --text:     #FAFAFA;
  --text-2:   rgba(255, 255, 255, 0.65);
  --text-3:   rgba(255, 255, 255, 0.45);
  --text-4:   rgba(255, 255, 255, 0.30);
  --rose:     #C4A69E;
  --rose-2:   #D4B8B0;
  --rose-3:   #B0928A;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2:   cubic-bezier(0.32, 0.72, 0, 1);
}

html { scroll-behavior: smooth; }
body { font-feature-settings: "ss01", "ss02", "cv11"; -webkit-font-smoothing: antialiased; }

/* ---- Subtle grain over the page ---- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---- Nav shell (floating pill) ---- */
.nav-shell {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.nav-link { position: relative; transition: color 220ms var(--ease); }
.nav-link:hover { color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--rose); transform: scaleX(0); transform-origin: left;
  transition: transform 360ms var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.625rem;
  background: var(--rose); color: var(--bg);
  border-radius: 9999px; padding: 0.5rem 1.1rem;
  font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 -1px 0 rgba(0, 0, 0, 0.08) inset,
    0 10px 30px -12px rgba(196, 166, 158, 0.55);
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}
.btn-primary:hover { background: var(--rose-2); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 -1px 0 rgba(0,0,0,0.08) inset, 0 14px 36px -12px rgba(196,166,158,0.7); }
.btn-primary:active { transform: scale(0.985); }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 9999px;
  background: rgba(10, 10, 10, 0.18); color: var(--bg);
  transition: transform 360ms var(--ease), background 220ms var(--ease);
}
.btn-primary:hover .btn-icon { transform: translateX(2px) translateY(-1px) scale(1.06); background: rgba(10, 10, 10, 0.28); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.025); color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9999px; padding: 0.5rem 1.1rem;
  font-weight: 500; letter-spacing: -0.005em;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); }
.btn-ghost:active { transform: scale(0.985); }

/* ---- Eyebrow / micro-tags ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text-3); font-weight: 500;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--rose); box-shadow: 0 0 12px rgba(196, 166, 158, 0.6); }
.eyebrow-rose { color: var(--rose); }
.eyebrow-dot-rose { background: var(--rose); }
.dot-sep { width: 3px; height: 3px; border-radius: 9999px; background: rgba(255,255,255,0.2); display: inline-block; }

/* ---- VS brand mark ---- */
.vs-mark {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  box-shadow:
    0 4px 14px -4px rgba(0, 0, 0, 0.5),
    0 0 22px -8px rgba(196, 166, 158, 0.28);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  flex-shrink: 0;
}
.vs-mark svg { width: 100%; height: 100%; display: block; border-radius: inherit; }
.vs-mark-nav    { width: 26px; height: 26px; }
.vs-mark-footer { width: 24px; height: 24px; }
.group:hover .vs-mark {
  transform: translateY(-1px) rotate(-2deg);
  box-shadow:
    0 6px 18px -4px rgba(0, 0, 0, 0.6),
    0 0 30px -6px rgba(196, 166, 158, 0.45);
}

/* ============================================================
   HERO: live activity card on the right
   ============================================================ */
.hero-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  padding: 6px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(196,166,158,0.18), rgba(196,166,158,0));
  -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;
  padding: 1px;
}
.hero-card-inner {
  background: rgba(14, 14, 14, 0.85);
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.25rem;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: livePulse 2.4s ease-in-out infinite;
}
.live-dot-rose { background: var(--rose); box-shadow: 0 0 0 4px rgba(196, 166, 158, 0.22); }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.08); }
}

.feed { list-style: none; padding: 0; margin: 0; }
.feed-row {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 0.85rem; align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  opacity: 0; transform: translateY(8px);
  animation: feedIn 700ms var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 140ms);
}
@keyframes feedIn {
  to { opacity: 1; transform: translateY(0); }
}
.feed-row-active {
  background: linear-gradient(180deg, rgba(196,166,158,0.08), rgba(196,166,158,0.02));
  border-color: rgba(196,166,158,0.25);
}
.feed-tag {
  font-family: "Geist Mono", monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 8px; text-align: center;
}
.tag-rose { color: var(--bg); background: var(--rose); border-color: rgba(0,0,0,0.06); }
.feed-title { font-size: 13.5px; font-weight: 500; color: var(--text); margin: 0; letter-spacing: -0.005em; }
.feed-meta  { font-size: 11.5px; color: var(--text-3); margin: 1px 0 0; }
.feed-time  { font-family: "Geist Mono", monospace; font-size: 10.5px; color: var(--text-3); white-space: nowrap; }

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

/* ============================================================
   METRICS
   ============================================================ */
.metric { padding: 0 1.5rem; }
.metric-value {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-feature-settings: "ss01", "tnum";
}
.metric-label {
  margin-top: 0.65rem;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-3);
}

/* ============================================================
   PROBLEM CARDS
   ============================================================ */
.problem-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.6rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), transform 320ms var(--ease);
}
.problem-card:hover { background: rgba(255,255,255,0.035); border-color: rgba(196,166,158,0.18); transform: translateY(-2px); }
.problem-num {
  display: inline-block; font-size: 11px;
  color: var(--rose); letter-spacing: 0.18em;
  margin-bottom: 0.85rem;
}
.problem-card p {
  font-size: 16px; line-height: 1.5; color: var(--text);
  letter-spacing: -0.005em; margin: 0;
}

/* ============================================================
   STEPS (How it works)
   ============================================================ */
.step {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  transition: background 360ms var(--ease), border-color 360ms var(--ease), transform 360ms var(--ease);
}
.step:hover { background: rgba(255,255,255,0.035); border-color: rgba(196,166,158,0.2); transform: translateX(2px); }
.step-num {
  font-size: 13px; color: var(--rose);
  letter-spacing: 0.16em;
  padding-right: 1.25rem; border-right: 1px solid var(--line);
}
.step-title {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.step-text {
  font-size: 15px; color: var(--text-2);
  line-height: 1.55; margin: 0; max-width: 62ch;
}
.step-chip {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-3); background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); padding: 6px 10px; border-radius: 9999px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.4rem; }
  .step-num { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; margin-bottom: 0.35rem; }
  .step-chip { justify-self: start; margin-top: 0.5rem; }
}

/* ============================================================
   BENTO (What's included)
   ============================================================ */
.bento {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.75rem 0;
  overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: background 360ms var(--ease), border-color 360ms var(--ease), transform 360ms var(--ease);
}
.bento:hover { background: rgba(255,255,255,0.035); border-color: rgba(196,166,158,0.22); transform: translateY(-3px); }
.bento-row { flex: 1; padding-bottom: 1rem; }
.bento-tag {
  display: inline-block; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-3); background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); padding: 5px 9px; border-radius: 9999px;
}
.bento-title {
  margin: 1rem 0 0.45rem;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500;
  letter-spacing: -0.025em; color: var(--text);
}
.bento-text {
  font-size: 14.5px; color: var(--text-2); line-height: 1.55; margin: 0; max-width: 46ch;
}
.bento-art {
  margin-top: 0.5rem; margin-left: -1.75rem; margin-right: -1.75rem;
  border-top: 1px dashed var(--line);
  padding: 1.25rem 1.75rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.015));
}

/* ----- Bento art primitives ----- */
.mini-page {
  background: rgba(0,0,0,0.4); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.9rem 1rem;
}
.mini-page-row {
  height: 6px; border-radius: 3px; background: rgba(255,255,255,0.07);
  margin-bottom: 8px;
}
.mini-w-60 { width: 60%; }
.mini-w-75 { width: 75%; }
.mini-w-90 { width: 90%; background: linear-gradient(90deg, var(--rose), rgba(196,166,158,0.3)); }
.mini-page-cta {
  margin-top: 14px; display: inline-flex; align-items: center;
  font-size: 10.5px; color: var(--bg); background: var(--rose);
  border-radius: 9999px; padding: 5px 11px; font-weight: 500;
}

.qual-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); font-family: "Geist Mono", monospace; }
.qual-list li { display: flex; align-items: center; gap: 0.55rem; }
.qual-dot { width: 8px; height: 8px; border-radius: 9999px; }
.qual-dot.ok { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.15); }
.qual-dot.no { background: rgba(255,255,255,0.18); }

.speed-rail {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 4px 0;
}
.speed-tick {
  flex: 1; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
}
.speed-tick-now {
  background: linear-gradient(90deg, var(--rose), var(--rose-2));
  box-shadow: 0 0 16px rgba(196, 166, 158, 0.5);
  animation: speedPulse 2s ease-in-out infinite;
}
@keyframes speedPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.speed-label { margin-left: 10px; font-size: 11px; color: var(--rose); letter-spacing: 0.15em; }

.cal-mini { background: rgba(0,0,0,0.4); border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; }
.cal-mini-head { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-3); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.cal-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-3); }
.cal-mini-grid span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: transparent; }
.cal-mini-pick { color: var(--bg) !important; background: var(--rose) !important; font-weight: 600; }

.cadence { position: relative; padding: 26px 8px 22px; }
.cadence-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.05), var(--rose), rgba(255,255,255,0.05)); }
.cadence-point { position: absolute; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cadence-point::before {
  content: ""; width: 10px; height: 10px; border-radius: 9999px;
  background: rgba(255,255,255,0.18); border: 2px solid var(--bg);
}
.cadence-point span { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--text-3); position: absolute; top: 14px; }
.cadence-end::before { background: var(--rose); box-shadow: 0 0 0 3px rgba(196,166,158,0.2); }

.pulse-stack { display: flex; flex-direction: column; gap: 6px; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--text-2); }
.pulse-row { display: flex; align-items: center; gap: 8px; }
.pulse-dot {
  width: 6px; height: 6px; border-radius: 9999px;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.15);
  animation: livePulse 2.4s ease-in-out infinite;
}

/* ============================================================
   FOUNDER PORTRAIT
   ============================================================ */
.portrait {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 6px 6px 1rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.55);
}
.portrait-inner {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
  aspect-ratio: 5/6;
}
.portrait-art { width: 100%; height: 100%; display: block; }
.portrait-photo {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 800ms var(--ease), filter 800ms var(--ease);
}
.portrait:hover .portrait-photo { transform: scale(1.02); filter: saturate(0.95) contrast(1.05); }
.portrait-caption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem 0.25rem;
}
.caption-name { font-size: 14px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.caption-role { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-3); letter-spacing: 0.12em; }

/* ============================================================
   GUARANTEE
   ============================================================ */
.guarantee-card {
  position: relative;
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(196,166,158,0.22), rgba(196,166,158,0.04));
  box-shadow: 0 30px 80px -30px rgba(196,166,158,0.4);
}
.guarantee-inner {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(196,166,158,0.10), transparent 60%),
    var(--bg-2);
  border-radius: 22px;
  padding: 2.25rem 2rem 2.25rem;
  border: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) { .guarantee-inner { padding: 3rem 3rem 3rem; } }
.guarantee-row {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 15px; color: var(--text);
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
}
.guarantee-row:last-child { border-bottom: 0; }
.check {
  width: 22px; height: 22px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bg);
  background: var(--rose);
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0.25rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500; color: var(--text);
  letter-spacing: -0.015em;
  transition: color 220ms var(--ease);
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary:hover { color: var(--rose); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  border: 1px solid var(--line); flex-shrink: 0;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 360ms var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform 360ms var(--ease), opacity 220ms var(--ease);
}
.faq-icon::before { width: 10px; height: 1.4px; border-radius: 1px; }
.faq-icon::after  { width: 1.4px; height: 10px; border-radius: 1px; }
.faq[open] .faq-icon { background: var(--rose); color: var(--bg); border-color: transparent; transform: rotate(45deg); }
.faq-content {
  overflow: hidden;
  font-size: 15.5px; color: var(--text-2); line-height: 1.65;
  max-width: 64ch;
  padding: 0 0.25rem 1.4rem;
  animation: faqOpen 380ms var(--ease);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FINAL CTA PANELS
   ============================================================ */
.panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}

.cal-inline {
  min-height: 600px;
  background: var(--bg-2);
}
.cal-inline iframe { border-radius: 0 !important; }

/* ----- Form ----- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-3); font-weight: 500;
}
.field input, .field textarea {
  width: 100%; background: rgba(0,0,0,0.35); color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 0.85rem 1rem;
  font: 500 15px / 1.4 "Geist", sans-serif;
  letter-spacing: -0.005em;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.28); font-weight: 400; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: rgba(196,166,158,0.04);
  box-shadow: 0 0 0 4px rgba(196, 166, 158, 0.10);
}
.field textarea { resize: vertical; min-height: 84px; max-height: 220px; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.9) 60%, rgba(10,10,10,1) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 767px) {
  body { padding-bottom: 70px; }
}

/* ============================================================
   REVEAL ANIMATION (scroll)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity 800ms var(--ease), transform 800ms var(--ease), filter 800ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in, .feed-row { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .live-dot, .pulse-dot, .speed-tick-now { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   POLISH
   ============================================================ */
::selection { background: var(--rose); color: var(--bg); }
*:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 9999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(196,166,158,0.4); }

/* ============================================================
   LEGAL PROSE — privacy / terms / disclaimer
   ============================================================ */
.legal-prose {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 68ch;
}
.legal-prose > * + * { margin-top: 1.15rem; }
.legal-prose h2 {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 3.25rem;
  margin-bottom: 0.85rem;
  scroll-margin-top: 100px;
}
.legal-prose h2 .h-num {
  display: inline-block;
  color: var(--rose);
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-right: 0.65rem;
  vertical-align: 0.18em;
}
.legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.legal-prose ul, .legal-prose ol {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
}
.legal-prose ul { list-style: disc; }
.legal-prose ol { list-style: decimal; }
.legal-prose li { margin-bottom: 0.45rem; padding-left: 0.25rem; }
.legal-prose li::marker { color: rgba(196,166,158,0.5); }
.legal-prose a {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-color: rgba(196,166,158,0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 220ms var(--ease), color 220ms var(--ease);
}
.legal-prose a:hover { text-decoration-color: var(--rose); }
.legal-prose strong { color: var(--text); font-weight: 500; }
.legal-prose em { color: var(--text-2); font-style: italic; }
.legal-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.legal-prose code {
  font-family: "Geist Mono", monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}
.legal-meta {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-3);
}
.legal-cross {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 14px;
  color: var(--text-3);
}
.legal-cross a {
  color: var(--text-2);
  transition: color 220ms var(--ease);
}
.legal-cross a:hover { color: var(--rose); }
