/* The public site. Shares the app's palette so the two feel like one product. */

:root {
  --bg: #080d1a; --bg-2: #0d1526; --surface: #131c30; --surface-2: #1a2540;
  --line: rgba(148, 174, 224, 0.16); --line-strong: rgba(148, 174, 224, 0.3);
  --ink: #f2f6ff; --ink-2: #b8c6e4; --ink-3: #7d8db3;
  --buy: #f0a92b; --build: #22c55e; --ad: #fb7a3c;
  --sell: #b164f5; --invest: #3b93f7; --accuse: #f4525f;
  --accent: #22c55e; --accent-ink: #04240f; --water: #22d3ee; --gold: #fbbf24;
  --radius: 20px; --radius-lg: 28px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed; inset: -30%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 18% 10%, rgba(59, 147, 247, 0.18), transparent 70%),
    radial-gradient(34% 28% at 84% 18%, rgba(177, 100, 245, 0.14), transparent 70%),
    radial-gradient(46% 34% at 50% 96%, rgba(34, 197, 94, 0.12), transparent 70%);
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
p { margin: 0; color: var(--ink-2); }
a { color: var(--water); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--ink-2); }
.tiny { font-size: 0.8rem; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* --------------------------------------------------------------- nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px;
  background: rgba(8, 13, 26, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);

  /* Most people arrive here on a phone, having pointed a camera at a QR code
     on somebody's kitchen table. The header had more links than fits that
     width and simply cut the last ones off, so it scrolls sideways instead —
     the brand stays put, and nothing is silently unreachable. */
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav > * { flex: none; }

.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.brand-mark { width: 22px; height: 24px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.nav a.link { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.nav a.link:hover { color: var(--ink); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface-2); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: transform 180ms var(--spring), filter 180ms var(--ease);
}

.btn:active { transform: scale(0.97); }
.btn:hover { filter: brightness(1.15); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn-primary { background: linear-gradient(150deg, #2ee06f, #16a34a); color: var(--accent-ink); border-color: transparent; }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.85rem; border-radius: 11px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------- cards */

.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.eyebrow { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* --------------------------------------------------------------- hero */

.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { max-width: 16ch; margin: 14px auto 0; }
.hero p.lede { max-width: 52ch; margin: 16px auto 0; font-size: 1.1rem; }
.hero .row { justify-content: center; margin-top: 26px; }

.flower { width: min(60vw, 220px); overflow: visible; }
.flower g { animation: petal 640ms var(--spring) both; animation-delay: calc(var(--i) * 70ms); }
.flower text { fill: rgba(6, 12, 24, 0.9); font-size: 11px; font-weight: 900; text-anchor: middle; dominant-baseline: central; }
.flower .core { fill: rgba(9, 15, 30, 0.96); stroke: var(--line-strong); stroke-width: 2; }

@keyframes petal { from { opacity: 0; transform: scale(0.2) rotate(-40deg); } }

section { padding: 44px 0; }
.section-head { margin-bottom: 20px; }

/* --------------------------------------------------------------- specifics */

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 1.9rem; letter-spacing: -0.03em; }

.product { display: flex; flex-direction: column; gap: 10px; }
.price { font-size: 1.5rem; font-weight: 800; }

.note-card { border-left: 3px solid var(--accent); }
.note-card .evidence { font-size: 0.76rem; color: var(--ink-3); font-style: italic; }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { text-align: left; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; }
td { padding: 9px 10px; border-top: 1px solid var(--line); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.replay-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform 200ms var(--spring), border-color 200ms var(--ease); }
.replay-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.pill { display: inline-flex; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); font-size: 0.72rem; font-weight: 700; color: var(--ink-2); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border-radius: 13px; border: 1px solid var(--line);
  background: rgba(6, 11, 24, 0.72); color: var(--ink); font: inherit;
}
.field input:focus { outline: none; border-color: var(--water); }

.notice { padding: 12px 14px; border-radius: 14px; background: rgba(59, 147, 247, 0.12); border: 1px solid rgba(59, 147, 247, 0.3); font-size: 0.9rem; }
.notice-bad { background: rgba(244, 82, 95, 0.13); border-color: rgba(244, 82, 95, 0.4); }
.notice-good { background: rgba(34, 197, 94, 0.13); border-color: rgba(34, 197, 94, 0.4); }

footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.86rem; }

@media (prefers-reduced-motion: reduce) { * { animation-duration: 1ms !important; transition-duration: 1ms !important; } }
