/* No Mugs — brand palette locked 2026-07-01, purple bumped to violet-500 for WCAG.
   Mirrors Theme.swift Brand slots so web + iOS stay in lockstep.
   NOTE: green is banned from all brand roles. Positive P&L is Blue Tint. */
:root {
  --bg:          #111018; /* Ink Black canvas */
  --accent:      #8B5CF6; /* No Mugs Purple — ~4.5:1 on ink, safe for text */
  --accent-deep: #4B1D95; /* Royal — chip fills + hero borders only, never text */
  --hero:        #FFD23F; /* Mugshot Yellow — "look here" moments only */
  --win:         #38BDF8; /* Blue Tint — positive P&L (never green) */
  --lose:        #FF4D4D; /* Danger Coral — negative / trap */
  --text:        #F2EFF8;
  --text-muted:  #B8A6D9; /* Lavender Grey */
  --surface:     #1A1626; /* purple-tinted card */
  --border:      rgba(255, 255, 255, 0.12);
  --radius:      14px;
  --maxw:        1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; font-family: var(--font);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hero);
  background: rgba(75, 29, 149, 0.35);      /* accentDeep fill — depth, no text on top */
  border: 1px solid rgba(255, 210, 63, 0.3);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
h1 {
  font-size: clamp(38px, 6vw, 62px); line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 820;
}
h1 .accent { color: var(--accent); }
.lede { font-size: 19px; color: var(--text-muted); max-width: 62ch; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 72px 0; border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(27px, 3.6vw, 36px); letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 780; }
.section-sub { color: var(--text-muted); max-width: 68ch; margin: 0 0 34px; font-size: 16px; }

/* ---------- scoreboard ---------- */
.score-hd { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.window-tabs { display: flex; gap: 6px; }
.window-tabs button {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 13px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: var(--font);
}
.window-tabs button[aria-selected="true"] {
  background: rgba(139, 92, 246, 0.18);
  color: var(--accent);
  border-color: var(--accent);
}

.headline-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-bottom: 26px;
}
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); font-weight: 650; }
.stat-value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-note { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

.pos { color: var(--win); }   /* Blue Tint, not green */
.neg { color: var(--lose); }
.neutral { color: var(--text); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
caption {
  text-align: left; padding: 15px 18px 0; font-weight: 700; font-size: 15px;
}
th, td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
th:first-child, td:first-child { text-align: left; }
thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 650; }
tbody tr:last-child td { border-bottom: none; }
.lane-chip {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 650;
  background: rgba(75, 29, 149, 0.4);           /* accentDeep fill */
  border: 1px solid rgba(139, 92, 246, 0.45);   /* accent stroke — reads at 4.5:1 */
  color: var(--accent);
}
.row-product td { background: rgba(139, 92, 246, 0.07); font-weight: 700; }

.score-state { padding: 30px; text-align: center; color: var(--text-muted); }

/* ---------- honesty callout ---------- */
.honesty {
  margin-top: 24px; padding: 18px 20px;
  border: 1px solid rgba(255, 210, 63, 0.32);
  border-left: 3px solid var(--hero);
  border-radius: 10px;
  background: rgba(75, 29, 149, 0.22);
  color: var(--text-muted); font-size: 14px;
}
.honesty strong { color: var(--hero); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.card .icon { font-size: 22px; margin-bottom: 10px; display: block; }

/* ---------- waitlist ---------- */
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; margin-top: 8px; }
.waitlist-form input[type="email"] {
  flex: 1 1 240px; padding: 13px 15px; font-size: 15px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font);
}
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--win); }
.form-msg.err { color: var(--lose); }

/* ---------- footer ---------- */
footer { padding: 44px 0 60px; color: var(--text-muted); font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.rg {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; background: var(--surface); line-height: 1.65;
}
.rg strong { color: var(--text); }
