﻿/* ============================================================
   Drishti.AI — Mobile-first H5
   ============================================================ */
:root {
  --bg-0: #07091a;
  --bg-1: #0a0e1f;
  --bg-2: #11162e;
  --bg-3: #161c3a;

  --ink-0: #f6f1e3;
  --ink-1: #e7e3d3;
  --ink-2: #a9a7be;
  --ink-3: #6b6a82;

  --gold: #f4b942;
  --gold-deep: #d4730d;
  --gold-soft: #fde2a6;
  --emerald: #10b981;
  --plum: #a78bfa;

  --hair: rgba(246, 241, 227, .08);
  --hair-strong: rgba(246, 241, 227, .14);

  --e-out: cubic-bezier(.2,.7,.2,1);

  --f-display: "Fraunces", "Georgia", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg-0);
}

body {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-1);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* H5 content centered on wider viewports */
.topbar, .hero, .how, .cta-band, .foot { max-width: 540px; margin-left: auto; margin-right: auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; }
::selection { background: rgba(244, 185, 66, .35); color: var(--ink-0); }

/* =============================================
   AMBIENT BACKGROUND
   ============================================= */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 90% -10%, rgba(167, 139, 250, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 25%, rgba(244, 185, 66, .10), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(16, 185, 129, .12), transparent 60%),
    linear-gradient(180deg, #07091a 0%, #0a0e1f 35%, #060818 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite;
}
.orb-gold     { width: 340px; height: 340px; top: -60px; left: -80px; background: radial-gradient(circle, var(--gold), transparent 65%); }
.orb-emerald  { width: 320px; height: 320px; top: 30%; right: -100px; background: radial-gradient(circle, var(--emerald), transparent 65%); animation-delay: -8s; }
.orb-plum     { width: 380px; height: 380px; bottom: -100px; left: 25%; background: radial-gradient(circle, var(--plum), transparent 65%); animation-delay: -14s; }
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px, -20px) scale(1.06); }
}

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  position: relative;
  z-index: 5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2a2245, #0a0e1f 70%);
  border: 1px solid var(--hair-strong);
  box-shadow: inset 0 1px 0 rgba(246,241,227,.08), 0 4px 14px rgba(0,0,0,.4);
  overflow: hidden;
}
.brand-mark img {
  width: 130%;
  mix-blend-mode: screen;
  filter: brightness(1.05) saturate(1.15);
}
.brand-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink-0);
}
.brand-name .dot { color: var(--gold); }

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .10);
  border: 1px solid rgba(16, 185, 129, .35);
  color: #b5f0d6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
  animation: pulse 1.6s ease-out infinite;
}
.live-dot-sm { width: 6px; height: 6px; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 8px var(--pad) 28px;
  position: relative;
  text-align: left;
}

.hero-visual {
  position: relative;
  width: 78%;
  margin: 4px auto 18px;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(244,185,66,.28), transparent 55%);
  filter: blur(10px);
  z-index: 0;
}
.orb-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.12) saturate(1.2) contrast(1.05);
  animation: floatY 6s ease-in-out infinite, spinSlow 38s linear infinite;
  z-index: 1;
}
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px); } }
@keyframes spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 12px;
  background: rgba(11, 14, 32, .85);
  border: 1px solid var(--hair-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink-0);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 12px 28px -14px rgba(0,0,0,.7);
  animation: bobble 5s ease-in-out infinite;
}
.badge i { color: var(--gold); font-size: 11px; }
.badge-1 { top: 14%; left: -4%; animation-delay: -1s; }
.badge-2 { bottom: 14%; right: -2%; animation-delay: -3s; }
@keyframes bobble { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244,185,66,.10), rgba(167,139,250,.08));
  border: 1px solid rgba(244,185,66,.28);
  color: var(--gold-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow i { color: var(--gold); font-size: 10px; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(34px, 9.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -.022em;
  color: var(--ink-0);
  margin: 16px 0 10px;
}
.hero-title em {
  font-style: italic;
  font-weight: 380;
  background: linear-gradient(95deg, var(--gold) 10%, #ffd980 50%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 22px;
}

/* =============================================
   INPUT + BUTTON
   ============================================= */
.diag-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.input-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 14, 32, .65);
  border: 1px solid var(--hair-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s var(--e-out), box-shadow .25s var(--e-out);
}
.input-shell:focus-within {
  border-color: rgba(244,185,66,.6);
  box-shadow: 0 0 0 4px rgba(244,185,66,.10);
}
.input-shell > i {
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border-radius: 8px;
  background: rgba(244, 185, 66, .12);
  color: var(--gold);
  font-size: 12.5px;
}
.input-shell input {
  border: 0; outline: 0; background: transparent;
  color: var(--ink-0);
  font-family: var(--f-mono);
  font-size: 14.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: 100%;
  min-width: 0;
}
.input-shell input::placeholder {
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--f-body);
}

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  color: var(--bg-0);
  transition: transform .2s var(--e-out), filter .2s var(--e-out);
  white-space: nowrap;
  isolation: isolate;
  width: 100%;
}
.btn:active { transform: scale(.98); }
.btn-gold {
  background: linear-gradient(120deg, #f9c863 0%, var(--gold) 45%, #c98a1b 100%);
  box-shadow:
    0 14px 32px -14px rgba(244,185,66,.55),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.18);
}
.btn-wa {
  background: linear-gradient(120deg, #25d366 0%, #1da851 100%);
  color: #fff;
  box-shadow:
    0 14px 32px -14px rgba(37,211,102,.55),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(0,0,0,.18);
}
.btn-full { width: 100%; }
.wa-icon {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.wa-icon img { width: 100%; height: 100%; object-fit: contain; }

/* =============================================
   MARQUEE
   ============================================= */
.marquee {
  position: relative;
  margin: 20px 0 16px;
  padding: 10px 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22,28,58,.45), rgba(11,14,32,.45));
  border: 1px solid var(--hair);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.m-label {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(16,185,129,.4);
  color: var(--emerald);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
}
.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding-left: 64px;
  animation: scrollX 38s linear infinite;
}
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(246, 241, 227, .04);
  border: 1px solid var(--hair);
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--ink-2);
}
.mi-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  font-family: var(--f-display);
  flex-shrink: 0;
}
.marquee-item strong { color: var(--ink-0); font-weight: 700; }
.marquee-item .mi-city { color: var(--ink-3); }
.mi-time {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--emerald);
}

/* =============================================
   TRUST ROW
   ============================================= */
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row i { color: var(--gold); font-size: 11.5px; }
.dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); opacity: .5; }

/* =============================================
   HOW
   ============================================= */
.how {
  padding: 28px var(--pad);
}
.h2 {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(28px, 7.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--ink-0);
  margin: 0 0 22px;
}
.h2 em {
  font-style: italic;
  font-weight: 380;
  background: linear-gradient(95deg, var(--gold), #ffd980, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(22,28,58,.55), rgba(11,14,32,.4));
  border: 1px solid var(--hair-strong);
  overflow: hidden;
}
.steps li::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(244,185,66,.12), transparent 65%);
  pointer-events: none;
}
.s-num {
  position: absolute;
  top: 10px; right: 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .12em;
}
.steps i {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  background: rgba(244,185,66,.10);
  border: 1px solid rgba(244,185,66,.22);
  color: var(--gold);
  font-size: 18px;
}
.steps i.wa {
  color: #25d366;
  background: rgba(37,211,102,.10);
  border-color: rgba(37,211,102,.28);
}
.steps h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.005em;
  color: var(--ink-0);
  margin: 0 0 2px;
}
.steps p {
  color: var(--ink-2);
  font-size: 13px;
  margin: 0;
}

/* =============================================
   FINAL CTA
   ============================================= */
.cta-band {
  padding: 12px var(--pad) 32px;
}
.cta-card {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: 22px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(244,185,66,.20), transparent 60%),
    radial-gradient(500px 240px at 0% 100%, rgba(167,139,250,.18), transparent 60%),
    linear-gradient(160deg, rgba(22,28,58,.85), rgba(11,14,32,.85));
  border: 1px solid var(--hair-strong);
  overflow: hidden;
  text-align: left;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(246,241,227,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 60% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, #000 30%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.cta-card .eyebrow { position: relative; }
.cta-card .h2 { margin: 12px 0 16px; }
.cta-card .btn { position: relative; }
.tiny {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--ink-3);
}
.tiny.center { text-align: center; }
.tiny a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================
   FOOTER
   ============================================= */
.foot {
  padding: 24px var(--pad) 32px;
  border-top: 1px solid var(--hair);
  text-align: center;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.foot-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.foot-brand .brand-name { font-size: 15px; }
.foot-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
}
.foot-links a {
  color: var(--ink-2);
  transition: color .2s var(--e-out);
}
.foot-links a:active { color: var(--gold); }
.foot-links span { color: var(--ink-3); }
.foot-copy {
  margin: 0;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .02em;
}

/* =============================================
   MODAL
   ============================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 6, 18, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal.is-open {
  display: flex;
  animation: modalFade .25s var(--e-out);
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  border-radius: 22px;
  background:
    radial-gradient(500px 240px at 70% 0%, rgba(244,185,66,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--hair-strong);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalRise .35s var(--e-out);
}
@keyframes modalRise { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(246,241,227,.06);
  border: 1px solid var(--hair-strong);
  color: var(--ink-1);
  display: grid; place-items: center;
  font-size: 13px;
  transition: background .2s var(--e-out);
  z-index: 2;
}
.modal-close:active { background: rgba(246,241,227,.16); }

/* === pulse modal === */
.modal-pulse { align-items: center; text-align: center; }
.pulse-stage {
  position: relative;
  width: 96px; height: 96px;
  margin: 4px auto 18px;
  display: grid; place-items: center;
}
.pulse-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.4px solid rgba(244,185,66,.6);
  animation: ringPulse 1.6s var(--e-out) infinite;
}
.pulse-ring.r2 { animation-delay: .55s; border-color: rgba(16,185,129,.6); }
@keyframes ringPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
.pulse-core {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #ffd980, var(--gold-deep) 80%);
  color: #4b2c00;
  font-size: 22px;
  box-shadow: 0 16px 30px -10px rgba(244,185,66,.5), inset 0 1px 0 rgba(255,255,255,.5);
}
.pulse-sym {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(246,241,227,.06);
  border: 1px solid var(--hair-strong);
  color: var(--ink-1);
  display: inline-block;
  margin-bottom: 8px;
}
.pulse-title {
  font-family: var(--f-display);
  font-weight: 460;
  font-size: 21px;
  color: var(--ink-0);
  letter-spacing: -.005em;
  margin: 0 0 18px;
}
.pulse-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pulse-steps li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(246,241,227,.03);
  border: 1px solid var(--hair);
  font-size: 12.5px;
  color: var(--ink-3);
  transition: all .25s var(--e-out);
}
.ps-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 2px solid rgba(246,241,227,.1);
}
.ps-tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,.18);
  color: var(--emerald);
  display: none;
  place-items: center;
  font-size: 10px;
}
.pulse-steps li.active {
  color: var(--ink-0);
  background: rgba(244,185,66,.08);
  border-color: rgba(244,185,66,.3);
}
.pulse-steps li.active .ps-dot {
  background: var(--gold);
  border-color: rgba(244,185,66,.3);
  animation: dotPulse 1.1s var(--e-out) infinite;
}
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(244,185,66,.5); } 50% { box-shadow: 0 0 0 6px rgba(244,185,66,0); } }
.pulse-steps li.done { color: var(--ink-2); background: rgba(16,185,129,.06); border-color: rgba(16,185,129,.22); }
.pulse-steps li.done .ps-dot { display: none; }
.pulse-steps li.done .ps-tick { display: grid; }

.pulse-bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(246,241,227,.06);
  overflow: hidden;
}
.pulse-bar-i {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
  border-radius: 999px;
  transition: width .25s linear;
}

/* === result modal === */
.modal-result .result-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.35);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.result-title {
  font-family: var(--f-display);
  font-weight: 460;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink-0);
  margin: 0 0 8px;
}
.result-title em {
  font-style: italic;
  font-weight: 460;
  background: linear-gradient(95deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.result-sub { color: var(--ink-2); font-size: 13.5px; margin: 0 0 18px; }
.result-sub strong { color: var(--gold-soft); }
.result-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.rm {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(246,241,227,.04);
  border: 1px solid var(--hair);
  text-align: center;
}
.rm-k {
  display: block;
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 5px;
}
.rm-v {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--ink-0);
  font-weight: 700;
}
.rm-v.gold { color: var(--gold); }
.rm-v.gold small { color: var(--ink-3); font-weight: 500; font-size: .75em; }
.rm-v.em { color: var(--emerald); }
.rm-v i { font-size: 11px; margin-right: 2px; }

/* === policy modal === */
.modal-policy { max-width: 460px; }
.modal-policy .eyebrow { margin-bottom: 10px; align-self: flex-start; }
.modal-policy > h3 {
  font-family: var(--f-display);
  font-weight: 460;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink-0);
  margin: 0 0 16px;
}
.policy-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}
.policy-body::-webkit-scrollbar { width: 4px; }
.policy-body::-webkit-scrollbar-track { background: rgba(246,241,227,.03); border-radius: 999px; }
.policy-body::-webkit-scrollbar-thumb { background: rgba(244,185,66,.3); border-radius: 999px; }
.policy-body h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-0);
  margin: 16px 0 4px;
}
.policy-body p { margin: 0 0 8px; }
.policy-body strong { color: var(--ink-0); }
.policy-meta {
  margin-top: 18px !important;
  padding-top: 12px;
  border-top: 1px dashed var(--hair-strong);
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 80px);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(11,14,32,.92);
  border: 1px solid rgba(244,185,66,.3);
  color: var(--ink-1);
  font-size: 13px;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.7);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--e-out), opacity .25s var(--e-out);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { color: var(--gold); font-size: 13px; }

/* =============================================
   ENTRANCE ANIMATIONS
   ============================================= */
.hero > * { animation: rise .8s var(--e-out) both; }
.hero > *:nth-child(1) { animation-delay: .05s; }
.hero > *:nth-child(2) { animation-delay: .12s; }
.hero > *:nth-child(3) { animation-delay: .18s; }
.hero > *:nth-child(4) { animation-delay: .24s; }
.hero > *:nth-child(5) { animation-delay: .30s; }
.hero > *:nth-child(6) { animation-delay: .36s; }
.hero > *:nth-child(7) { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--e-out), transform .7s var(--e-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* =============================================
   ACCESSIBILITY
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
