:root {
  --bg: #0B0906;
  --bg-deep: #05070A;
  --panel: #181307;
  --panel-2: #241D0D;
  --line: #3A3220;
  --cream: #FFFDF7;
  --sand: #D9CBA3;
  --sand-dim: #8A7A55;
  --gold: #F5B301;
  --gold-bright: #FFC832;
  --gold-deep: #D4A017;
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.1;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(to bottom, rgba(5,7,10,0.85), rgba(5,7,10,0));
  backdrop-filter: blur(2px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cream);
  text-decoration: none;
}
.nav-brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav-cta {
  border: 1px solid var(--gold-deep);
  color: var(--gold-bright);
  background: rgba(245,179,1,0.08);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: rgba(245,179,1,0.18); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero-globe-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#globe-canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 40px 24px 60px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  max-width: 880px;
  margin: 0 auto 18px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}
.hero p.sub {
  max-width: 560px;
  margin: 0 auto 34px;
  color: var(--sand);
  font-size: 18px;
  line-height: 1.5;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand-dim);
  z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Featured dot tooltip */
.dot-tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: rgba(11,9,6,0.92);
  border: 1px solid var(--gold-deep);
  color: var(--cream);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  transform: translate(-50%, -130%);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.dot-tooltip.show { opacity: 1; }
.dot-tooltip .coord { color: var(--gold-bright); font-variant-numeric: tabular-nums; margin-left: 6px; }

/* ---------- Waitlist form ---------- */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  background: rgba(255,253,247,0.06);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 16px;
  border-radius: 100px;
  font-size: 15px;
  outline: none;
}
.waitlist-form input[type="email"]::placeholder { color: var(--sand-dim); }
.waitlist-form input[type="email"]:focus { border-color: var(--gold); }
.waitlist-form button {
  background: var(--gold);
  color: #1a1204;
  border: none;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.waitlist-form button:hover { background: var(--gold-bright); }
.waitlist-form button:active { transform: scale(0.97); }
.waitlist-form button:disabled { opacity: 0.6; cursor: default; }
.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--sand-dim);
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.form-status.ok { color: var(--gold-bright); }
.form-status.err { color: #e08a6b; }

/* ---------- Proof strip ---------- */
.proof {
  padding: 70px 0 40px;
  text-align: center;
}
.proof-count {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.proof-count-label {
  color: var(--sand);
  font-size: 15px;
  margin-top: 6px;
}
.seal-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.seal {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--sand);
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 8px;
}
.seal::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ---------- Ticker ---------- */
.ticker-section {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ticker-scroll 220s linear infinite;
}
.ticker-section:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--sand);
  white-space: nowrap;
  font-family: 'SF Mono', 'Menlo', monospace;
}
.ticker-item .lbl { font-family: var(--font-body); color: var(--cream); }
.ticker-item .coord { color: var(--gold); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Jargon flip section ---------- */
.jargon {
  padding: 100px 0;
  text-align: center;
}
.jargon h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 640px;
  margin: 0 auto 16px;
}
.jargon > .wrap > p {
  color: var(--sand);
  max-width: 520px;
  margin: 0 auto 56px;
}
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.flip-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
}
.flip-card .jargon-term {
  color: var(--sand-dim);
  text-decoration: line-through;
  font-size: 14px;
  margin-bottom: 10px;
}
.flip-card .plain-term {
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 14px;
  font-weight: 600;
}
.pickaxes { font-size: 15px; letter-spacing: 2px; }
.pickaxes .dim { opacity: 0.25; }

/* ---------- Feature grid (legal / gear / guidance) ---------- */
.features {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.features h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 640px;
  margin: 0 auto 16px;
}
.features-sub {
  color: var(--sand);
  max-width: 520px;
  margin: 0 auto 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: left;
}
.feature-icon {
  font-size: 30px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--sand);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- AI Prospector showcase ---------- */
.prospector {
  padding: 100px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prospector-head { text-align: center; margin-bottom: 56px; }
.prospector-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 620px;
  margin: 0 auto 16px;
}
.prospector-head p {
  color: var(--sand);
  max-width: 540px;
  margin: 0 auto;
}
.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}
.phone {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  position: relative;
}
.phone-ribbon {
  position: absolute;
  top: 16px; right: -6px;
  background: var(--gold);
  color: #1a1204;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 4px 0 0 4px;
  text-transform: uppercase;
}
.phone-title {
  font-size: 13px;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding: 0 6px;
}
.phone-screen {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.phone-photo { position: relative; }
.phone-photo img { width: 100%; height: 200px; object-fit: cover; filter: saturate(0.9) brightness(0.85); }
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 12px var(--gold-bright);
  opacity: 0;
}
.phone-photo.scanning .scan-line {
  animation: scan 1.6s ease-in-out 1;
}
@keyframes scan {
  0% { top: 0; opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.verdict-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(11,9,6,0.85);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.verdict-badge.show { opacity: 1; transform: translateY(0); }

.chat-body { padding: 16px; min-height: 130px; }
.chat-bubble {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.45;
  margin-bottom: 10px;
  max-width: 92%;
}
.chat-bubble.user {
  margin-left: auto;
  background: rgba(245,179,1,0.1);
  border-color: var(--gold-deep);
  color: var(--sand);
}
.chat-bubble.ai {
  border-color: var(--gold-deep);
}
.chat-bubble .typewriter::after {
  content: '▍';
  animation: blink 0.9s step-end infinite;
  color: var(--gold);
}
.chat-bubble.done .typewriter::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- How it works ---------- */
.how {
  padding: 100px 0;
  text-align: center;
}
.how h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 56px; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: left;
}
.how-step {
  border-top: 2px solid var(--gold-deep);
  padding-top: 16px;
}
.how-step .num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.how-step h3 { font-size: 18px; color: var(--cream); margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.how-step p { color: var(--sand); font-size: 14.5px; line-height: 1.5; margin: 0; }

/* ---------- Founder note ---------- */
.founder {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.founder blockquote {
  max-width: 620px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.55;
  color: var(--sand);
  text-align: center;
  font-style: italic;
}
.founder cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  font-family: var(--font-body);
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 110px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(245,179,1,0.08), transparent 65%);
}
.final-cta h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 16px; }
.final-cta p.sub { color: var(--sand); max-width: 480px; margin: 0 auto 32px; }

footer {
  padding: 40px 24px 50px;
  text-align: center;
  color: var(--sand-dim);
  font-size: 13px;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-brand img { width: 22px; height: 22px; border-radius: 50%; }
.footer-brand span { color: var(--sand); font-family: var(--font-display); font-size: 15px; }
.store-caption {
  margin: 26px 0 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-dim);
}
.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.store-badge-img {
  height: 46px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.store-badge-img:hover { opacity: 1; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .hero { padding-top: 70px; }
  .proof, .jargon, .prospector, .how, .founder, .final-cta { padding-top: 64px; padding-bottom: 64px; }
}
