/* mysteryshopper.com.au — homepage styles */
/* NOTE: The :root token block below overlaps with src/styles/tokens.css (used by the SPA). Single-sourcing deferred to a later task. */

:root {
  --slate: #0F172A;
  --slate-deep: #070C18;
  --card: #1E293B;
  --border: #334155;
  --text: #E2E8F0;
  --text-2: #94A3B8;
  --muted: #64748B;
  --mint: #06D6A0;
  --mint-light: #6EE7B7;
  --coral: #FF6B4A;
  --coral-soft: #FFB199;
  --success: #10B981;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--slate); color: var(--text);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
body { overflow-x: hidden; }

/* Subtle grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  background-image: url("./grain.svg");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* Header */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(15,23,42,0.70);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(51,65,85,0.5);
}
.lockup { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.ms-tile {
  width: 36px; height: 36px;
  display: block; flex: none;
  color: var(--mint);
  transition: color 0.5s ease;
}
.ms-tile svg { display: block; width: 100%; height: 100%; }
body[data-mode="business"] .ms-tile { color: var(--coral); }

.lockup .wm { line-height: 1; }
.lockup .wm-l1 { font-weight: 800; font-size: 16px; letter-spacing: -0.4px; color: var(--text); }
.lockup .wm-l1 span { color: var(--mint); transition: color 0.5s ease; }
body[data-mode="business"] .lockup .wm-l1 span { color: var(--coral); }
.lockup .wm-l2 { font-weight: 700; font-size: 9px; letter-spacing: 2.5px; color: var(--mint); margin-top: 3px; transition: color 0.5s ease; }
body[data-mode="business"] .lockup .wm-l2 { color: var(--coral); }

nav.links { display: flex; align-items: center; gap: 28px; }
nav.links .audience-link {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  text-decoration: none; cursor: pointer; transition: color 0.2s;
  background: none; border: none;
  font-family: inherit;
}
nav.links .audience-link:hover { color: var(--text); }
body[data-mode="business"] nav.links [data-target="business"] { color: var(--coral); }
body[data-mode="shopper"]  nav.links [data-target="shopper"]  { color: var(--mint); }
nav.links .signin {
  padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
nav.links .signin:hover { border-color: var(--mint); color: var(--mint); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255,107,74,0.20), transparent 55%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(6,214,160,0.20), transparent 55%);
  pointer-events: none;
}
.door {
  position: relative;
  padding: 80px 7vw 100px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
  transition: opacity 0.45s ease, background 0.6s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.door::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 90% at 50% 100%, transparent, rgba(15,23,42,0.5));
  pointer-events: none;
}
.door-coral { background: linear-gradient(160deg, rgba(255,107,74,0.16), rgba(15,23,42,0) 60%); }
.door-mint  { background: linear-gradient(200deg, rgba(6,214,160,0.16), rgba(15,23,42,0) 60%); }
.door-coral:hover { background: linear-gradient(160deg, rgba(255,107,74,0.32), rgba(15,23,42,0) 70%); }
.door-mint:hover  { background: linear-gradient(200deg, rgba(6,214,160,0.32), rgba(15,23,42,0) 70%); }

/* Divider — slim vertical line between doors */
.divider {
  position: absolute;
  top: 80px; bottom: 0; left: 50%;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--border) 25%, var(--border) 75%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
}

/* Door content */
.door .label-tag {
  font-weight: 700; font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.door .label-tag .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.door-coral .label-tag { color: var(--coral-soft); }
.door-coral .label-tag .dot { background: var(--coral); box-shadow: 0 0 16px var(--coral); }
.door-mint .label-tag { color: var(--mint-light); }
.door-mint .label-tag .dot { background: var(--mint); box-shadow: 0 0 16px var(--mint); }

/* Hero headline */
.door h1 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 5.8vw, 96px);
  line-height: 0.95;
  letter-spacing: -3.5px;
  margin-top: 32px;
  color: var(--text);
}
.door-coral h1 .accent { color: var(--coral); }
.door-mint  h1 .accent { color: var(--mint); }

/* Operator headline has two variants: a longer one for desktop and a
   tighter one for mobile (where the long form would wrap to 5+ lines).
   Default: show the wide version, hide the tight one. */
.door h1 .h1-wide  { display: inline; }
.door h1 .h1-tight { display: none; }

.door .lede {
  margin-top: 28px;
  font-size: 17px; line-height: 1.55; color: var(--text-2);
  max-width: 460px;
}

/* Buttons */
.btn {
  padding: 14px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  font-family: inherit;
}
.btn-coral { background: var(--coral); color: var(--slate); }
.btn-mint  { background: var(--mint);  color: var(--slate); }
.btn-ghost-coral { background: transparent; color: var(--coral-soft); border: 1px solid rgba(255,107,74,0.4); }
.btn-ghost-mint  { background: transparent; color: var(--mint-light); border: 1px solid rgba(6,214,160,0.4); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }

.door .footnote {
  font-size: 12px; color: var(--muted); margin-top: 32px;
}
.door .footnote strong { color: var(--text-2); font-weight: 600; }

/* Continue hint — visual affordance, not a button */
.door .continue-hint {
  margin-top: 36px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.3s ease;
}
.door-coral .continue-hint { color: var(--coral); }
.door-mint  .continue-hint { color: var(--mint); }
.door .continue-hint .arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.door:hover .continue-hint .arrow { transform: translateX(8px); }
.door .continue-hint::before {
  content: ""; width: 28px; height: 1px;
  background: currentColor; opacity: 0.5;
}

.door .live-tile {
  margin-top: 60px;
  padding: 16px 18px;
  background: rgba(15,23,42,0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  max-width: 360px;
  display: flex; gap: 14px; align-items: center;
}
.door-coral .live-tile { border-color: rgba(255,107,74,0.25); }
.door-mint  .live-tile { border-color: rgba(6,214,160,0.25); }
.door .live-tile .pulse {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
}
.door-coral .live-tile .pulse { background: var(--coral); animation: pulse-coral 2.4s infinite; }
.door-mint  .live-tile .pulse { background: var(--mint);  animation: pulse-mint  2.4s infinite; }
@keyframes pulse-coral {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,74,0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(255,107,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,74,0); }
}
@keyframes pulse-mint {
  0%   { box-shadow: 0 0 0 0 rgba(6,214,160,0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(6,214,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,214,160,0); }
}
.door .live-tile .meta { line-height: 1.35; }
.door .live-tile .meta .row1 { font-size: 12px; color: var(--text-2); }
.door .live-tile .meta .row2 { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 2px; }

/* Pick prompt — bottom of hero, horizontally centered */
.pick-prompt {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100% - 48px);
  z-index: 6;
  font-size: 11px; letter-spacing: 3px; color: var(--text-2);
  text-transform: uppercase; font-weight: 700;
  background: var(--slate);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.pick-prompt .arrow-l, .pick-prompt .arrow-r { font-size: 10px; color: var(--muted); }

/* Stagger reveals */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.30s; }
.d4 { animation-delay: 0.42s; }
.d5 { animation-delay: 0.55s; }
.d6 { animation-delay: 0.70s; }

/* Hero state when an audience is committed */
body[data-mode="business"] .door-mint,
body[data-mode="shopper"]  .door-coral {
  opacity: 0.30;
}
body[data-mode] .pick-prompt { display: none; }

/* Story sections */
section.story {
  position: relative;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease, padding 0.6s ease;
}
section.story.active {
  max-height: 9000px;
  opacity: 1;
  padding: 140px 7vw;
}
.story-coral::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 0% 0%, rgba(255,107,74,0.10), transparent 60%);
  pointer-events: none;
}
.story-mint::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 100% 0%, rgba(6,214,160,0.10), transparent 60%);
  pointer-events: none;
}
.story-inner { max-width: 1240px; margin: 0 auto; position: relative; }

/* Section header */
.section-meta {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px;
}
.section-meta .num {
  font-family: "Inter Tight", sans-serif;
  font-weight: 900; font-size: 64px; line-height: 0.9;
  letter-spacing: -3px;
}
.story-coral .section-meta .num { color: var(--coral); }
.story-mint  .section-meta .num { color: var(--mint); }
.section-meta .label {
  font-size: 11px; letter-spacing: 2.8px; font-weight: 700; text-transform: uppercase;
  color: var(--text-2); line-height: 1.5;
}
.story-coral .section-meta .label strong { color: var(--coral-soft); }
.story-mint  .section-meta .label strong { color: var(--mint-light); }

h2.section-h {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.5vw, 76px);
  line-height: 1.0;
  letter-spacing: -2.5px;
  max-width: 16ch;
  margin-bottom: 28px;
}
.story-coral h2.section-h em { color: var(--coral); font-style: normal; }
.story-mint  h2.section-h em { color: var(--mint);  font-style: normal; }

.section-lede { max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
.stat .figure {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 56px; line-height: 1; letter-spacing: -2.5px;
}
.story-coral .stat .figure { color: var(--coral); }
.story-mint  .stat .figure { color: var(--mint); }
.stat .figure-unit { font-size: 18px; color: var(--text-2); margin-left: 6px; font-weight: 600; letter-spacing: -0.5px; }
.stat .caption { font-size: 13px; color: var(--text-2); margin-top: 12px; max-width: 28ch; line-height: 1.55; }
.stat .underline { width: 36px; height: 2px; margin-top: 14px; }
.story-coral .stat .underline { background: var(--coral); }
.story-mint  .stat .underline { background: var(--mint); }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 80px;
}
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 26px;
  position: relative; min-height: 220px;
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover { transform: translateY(-3px); }
.story-coral .step:hover { border-color: rgba(255,107,74,0.45); }
.story-mint  .step:hover { border-color: rgba(6,214,160,0.45); }
.step .step-n {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800; font-size: 32px; letter-spacing: -1.5px;
}
.story-coral .step .step-n { color: var(--coral); }
.story-mint  .step .step-n { color: var(--mint); }
.step h3 { font-size: 18px; font-weight: 700; margin-top: 12px; letter-spacing: -0.3px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin-top: 10px; }

/* Showcase */
.showcase {
  margin-top: 100px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
.phone-wrap {
  position: relative;
  aspect-ratio: 9 / 19;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 38px;
  background: linear-gradient(180deg, #232f43, #0c1322);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  background: var(--slate);
  overflow: hidden;
  position: relative;
}
.phone-screen .notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #000; border-radius: 14px;
}

/* Mock dashboard */
.mock-dash { padding: 40px 16px 18px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.mock-dash .topbar-row { display: flex; justify-content: space-between; align-items: center; }
.mock-dash .greet { font-size: 11px; color: var(--text-2); }
.mock-dash .name { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.mock-dash .name span { color: var(--mint); }
.mock-dash .pill-coral {
  background: rgba(255,107,74,0.15); border: 1px solid rgba(255,107,74,0.5);
  color: var(--coral); font-size: 9px; padding: 3px 7px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.3px;
}
.mock-dash .card-row {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.mock-dash .card-label { font-size: 9px; letter-spacing: 1.5px; color: var(--coral-soft); text-transform: uppercase; font-weight: 700; }
.mock-dash .card-h { font-size: 13px; font-weight: 700; }
.mock-dash .card-meta { font-size: 11px; color: var(--text-2); display: flex; justify-content: space-between; }
.mock-dash .score-row { display: flex; gap: 8px; align-items: center; }
.mock-dash .score-badge {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: rgba(16,185,129,0.15);
  border: 1px solid var(--success); color: var(--success);
}
.mock-dash .micro { font-size: 11px; color: var(--text-2); }
.mock-dash .bar { height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.mock-dash .bar-fill { height: 100%; background: var(--coral); width: 64%; border-radius: 999px; }

/* Mock chat */
.mock-chat { padding: 40px 14px 16px; height: 100%; display: flex; flex-direction: column; gap: 10px; background: var(--slate); }
.mock-chat .msg {
  max-width: 80%;
  padding: 10px 13px; border-radius: 14px;
  font-size: 11.5px; line-height: 1.4;
}
.mock-chat .msg.ai {
  background: var(--card); color: var(--text);
  border-top-left-radius: 4px; align-self: flex-start;
}
.mock-chat .msg.user {
  background: var(--mint); color: var(--slate); font-weight: 600;
  border-top-right-radius: 4px; align-self: flex-end;
}
.mock-chat .typing {
  background: var(--card); color: var(--text-2); padding: 10px 14px;
  border-radius: 14px; border-top-left-radius: 4px;
  align-self: flex-start; font-size: 11.5px; display: flex; gap: 4px; align-items: center;
}
.mock-chat .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--mint);
  animation: typing 1.2s infinite;
}
.mock-chat .dot:nth-child(2) { animation-delay: 0.15s; }
.mock-chat .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { transform: translateY(-3px); opacity: 0.5; } }

/* Showcase notes */
.showcase-notes .preview-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 2.5px; font-weight: 700;
  text-transform: uppercase;
  color: var(--mint-light);
  background: rgba(6,214,160,0.12);
  border: 1px solid rgba(6,214,160,0.4);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.showcase-notes .preview-pill::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}
.showcase-notes h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 38px; line-height: 1.05; letter-spacing: -1.2px;
}
.story-coral .showcase-notes h3 em { color: var(--coral); font-style: normal; }
.story-mint  .showcase-notes h3 em { color: var(--mint);  font-style: normal; }
.showcase-notes p { color: var(--text-2); font-size: 16px; line-height: 1.6; margin-top: 16px; max-width: 50ch; }
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; background: rgba(30,41,59,0.6); border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
}
.feature-list li .check {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.story-coral .feature-list li .check { background: rgba(255,107,74,0.15); color: var(--coral); border: 1px solid rgba(255,107,74,0.5); }
.story-mint  .feature-list li .check { background: rgba(6,214,160,0.15); color: var(--mint);  border: 1px solid rgba(6,214,160,0.5); }
.feature-list li strong { color: var(--text); display: block; margin-bottom: 2px; font-weight: 700; }
.feature-list li span { color: var(--text-2); font-size: 13px; line-height: 1.5; }

/* Industries */
.industries-h {
  font-family: "Inter Tight", sans-serif; font-weight: 800;
  font-size: 32px; letter-spacing: -1.2px; line-height: 1.05;
  margin-top: 120px; max-width: 22ch;
}
.industries-h em { color: var(--coral); font-style: normal; }

.industries-sub {
  margin-top: 14px; max-width: 56ch;
  font-size: 15px; line-height: 1.6; color: var(--text-2);
}

.industry-tags {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.industry-tag {
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  background: rgba(255,107,74,0.06);
  border: 1px solid rgba(255,107,74,0.30);
  border-radius: 999px;
  color: var(--coral-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  cursor: default;
}
.industry-tag:hover {
  background: rgba(255,107,74,0.14);
  border-color: rgba(255,107,74,0.55);
  color: var(--coral);
  transform: translateY(-1px);
}
.industries {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.industry {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 26px; min-height: 140px;
  background: linear-gradient(180deg, rgba(255,107,74,0.03), transparent);
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.industry:hover { transform: translateY(-2px); border-color: rgba(255,107,74,0.4); }
.industry .iname { font-weight: 800; font-size: 17px; letter-spacing: -0.3px; }
.industry .idesc { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.5; max-width: 30ch; }
.industry .icount {
  position: absolute; right: 18px; top: 18px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800; font-size: 32px;
  color: var(--coral); opacity: 0.45; letter-spacing: -1.5px;
}

/* Pricing strip */
.pricing-strip {
  margin-top: 80px;
  border: 1px solid rgba(255,107,74,0.35);
  border-radius: 16px;
  padding: 28px 32px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; align-items: center;
  background: linear-gradient(120deg, rgba(255,107,74,0.05), transparent 70%);
}
.pricing-strip h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; }
.pricing-strip h4 .num { font-weight: 800; font-size: 26px; color: var(--coral); margin-right: 4px; letter-spacing: -1px; }
.pricing-strip p { font-size: 12px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }
.pricing-strip .pricing-cta { text-align: right; }

/* Earnings widget */
.earnings-widget {
  margin-top: 100px;
  padding: 36px;
  border: 1px solid rgba(6,214,160,0.3);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(6,214,160,0.06), transparent 70%);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
}
.earnings-widget h4 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 32px; letter-spacing: -1.2px; line-height: 1.05;
}
.earnings-widget h4 em { color: var(--mint); font-style: normal; }
.earnings-widget p { color: var(--text-2); font-size: 14px; margin-top: 14px; line-height: 1.6; max-width: 38ch; }
.earn-table { background: rgba(15,23,42,0.6); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.earn-row { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; padding: 13px 18px; align-items: center; border-bottom: 1px solid var(--border); font-size: 13px; }
.earn-row:last-child { border-bottom: none; }
.earn-row .v-name { font-weight: 600; }
.earn-row .v-loc { color: var(--text-2); font-size: 12px; }
.earn-row .v-amount {
  color: var(--mint); font-weight: 800; text-align: right;
  font-size: 16px; letter-spacing: -0.5px;
}
.earn-row.head { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; padding: 10px 18px; background: rgba(15,23,42,0.4); }
.earn-row > div:last-child { text-align: right; }
.earn-row.total { background: rgba(6,214,160,0.08); }
.earn-row.total strong { color: var(--mint-light); }

/* Closer */
.closer {
  position: relative;
  padding: 0;
  background: var(--slate-deep);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease, padding 0.6s ease;
}
.closer.active {
  max-height: 600px;
  opacity: 1;
  padding: 120px 7vw 60px;
}
.closer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 60% at 50% 50%, rgba(6,214,160,0.08), transparent 60%);
  pointer-events: none;
}
body[data-mode="business"] .closer::before {
  background: radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255,107,74,0.10), transparent 60%);
}
.closer-inner { position: relative; max-width: 1240px; margin: 0 auto; text-align: center; }
.closer h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.02; letter-spacing: -2px;
  max-width: 22ch; margin: 0 auto 32px;
}
body[data-mode="business"] .closer h2 .accent { color: var(--coral); }
body[data-mode="shopper"]  .closer h2 .accent { color: var(--mint); }
.closer .single-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.closer .switch-link {
  display: block; margin-top: 32px;
  font-size: 12px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: none; border: none;
  font-family: inherit; font-weight: 700;
}
.closer .switch-link:hover { color: var(--text-2); }
.closer .switch-link span { color: var(--text); }
body[data-mode="business"] .closer .switch-link span { color: var(--mint); }
body[data-mode="shopper"]  .closer .switch-link span { color: var(--coral); }

/* Footer */
footer {
  padding: 56px 7vw 32px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 12px;
  background: var(--slate-deep);
}
footer .footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
footer .footer-inner .lockup { cursor: default; }
footer .colophon {
  font-size: 12.5px; line-height: 1.6; max-width: 52ch;
  color: var(--text-2); margin: 0;
}
footer .copyline {
  max-width: 1240px; margin: 28px auto 0;
  padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--muted);
}

/* ──────────────────────────────────────────────────────────────────
   Waitlist modal
   ────────────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 12, 24, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modal-fade-in 0.25s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--card);
  border: 1px solid rgba(255,107,74,0.30);
  border-radius: 18px;
  padding: 36px 34px 28px;
  max-width: 540px;
  width: 100%;
  position: relative;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,107,74,0.12);
  animation: modal-rise 0.35s cubic-bezier(.2,.8,.2,1);
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: none; background: transparent;
  color: var(--text-2); font-size: 22px; line-height: 1;
  cursor: pointer; border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.modal-close:hover { background: rgba(51,65,85,0.5); color: var(--text); }

.modal-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 2.5px; font-weight: 700;
  color: var(--coral-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modal-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
}

.modal-card h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 28px; letter-spacing: -1.2px; line-height: 1.05;
  color: var(--text);
}

.modal-lede {
  color: var(--text-2);
  font-size: 14.5px; line-height: 1.55;
  margin: 10px 0 24px;
}

.waitlist-form {
  display: flex; flex-direction: column; gap: 14px;
}
.waitlist-form .field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.waitlist-form label {
  display: flex; flex-direction: column; gap: 6px;
}
.waitlist-form label > span {
  font-size: 10.5px; letter-spacing: 1.4px; font-weight: 700;
  color: var(--text-2); text-transform: uppercase;
}
.waitlist-form label > span em {
  font-style: normal; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0;
}
.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  background: rgba(15,23,42,0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.waitlist-form select { cursor: pointer; }
.waitlist-form textarea {
  resize: vertical;
  min-height: 76px;
  font-family: inherit;
  line-height: 1.5;
}
.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(15,23,42,0.75);
}
.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: var(--muted);
}

.waitlist-form button[type="submit"] {
  margin-top: 6px;
  align-self: flex-start;
}

.modal-error {
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: 10px;
  color: #FCA5A5;
  font-size: 13px;
  line-height: 1.5;
}
.modal-error[hidden] { display: none; }

.modal-fineprint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.modal-fineprint a {
  color: var(--coral-soft);
  text-decoration: none;
  font-weight: 600;
}
.modal-fineprint a:hover {
  color: var(--coral);
  text-decoration: underline;
}

/* Success state */
#waitlist-success { text-align: center; padding: 14px 0 8px; }
#waitlist-success[hidden] { display: none; }
#waitlist-success .success-icon {
  width: 56px; height: 56px;
  background: rgba(6,214,160,0.15);
  border: 1px solid var(--mint);
  color: var(--mint);
  border-radius: 16px;
  font-size: 30px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
#waitlist-success h3 { margin-bottom: 8px; }
#waitlist-success .modal-lede { margin-bottom: 22px; }
#waitlist-success .modal-lede a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 600;
}
#waitlist-success .modal-lede a:hover { text-decoration: underline; }

/* Modal mobile */
@media (max-width: 600px) {
  .modal-overlay { padding: 12px; }
  .modal-card { padding: 28px 22px 20px; }
  .waitlist-form .field-row { grid-template-columns: 1fr; }
  .modal-card h3 { font-size: 24px; }
}

/* Responsive — tablet */
@media (max-width: 900px) {
  header.nav { padding: 14px 18px; }
  .lockup .wm-l1 { font-size: 14px; }
  .lockup .wm-l2 { display: none; }
  .ms-tile { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }

  nav.links { gap: 8px; }
  nav.links .audience-link {
    display: inline-flex;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    letter-spacing: 0.2px;
  }
  nav.links .audience-link[data-target="business"] {
    border-color: rgba(255,107,74,0.35); color: var(--coral-soft);
  }
  nav.links .audience-link[data-target="shopper"] {
    border-color: rgba(6,214,160,0.35); color: var(--mint-light);
  }
  nav.links .signin { padding: 6px 12px; font-size: 12px; }

  /* Hero — stack doors vertically, each 50vh so both visible above fold.
     On mobile we strip the supporting copy (lede + footnote) and let the
     label + headline + continue hint do all the work. Full detail is one
     tap away in the revealed section. */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100vh;
    min-height: 100vh;
    padding-top: 60px;
  }
  .divider { display: none; }
  .door {
    padding: 28px 7vw;
    min-height: 0;
    justify-content: center;
    gap: 10px;
  }
  .door > div:first-child { display: flex; flex-direction: column; gap: 16px; }
  .door h1 {
    font-size: clamp(30px, 9vw, 44px);
    letter-spacing: -1.8px;
    line-height: 1.0;
    margin-top: 0;
  }
  /* Mobile shows the tight version of the operator headline; <br/>s stay
     on (the tight version is two short lines and benefits from the break). */
  .door h1 .h1-wide  { display: none; }
  .door h1 .h1-tight { display: inline; }
  .door .lede { display: none; }
  .door .footnote { display: none; }
  .door .continue-hint { margin-top: 4px; font-size: 13px; }
  .door .live-tile { display: none; }
  .btn { padding: 11px 16px; font-size: 13px; }

  .door-coral { border-bottom: 1px solid var(--border); }
  .hero .pick-prompt {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
    font-size: 9.5px;
    letter-spacing: 2px;
    padding: 8px 12px;
    pointer-events: none;
    z-index: 10;
    background: var(--slate);
  }
  .pick-prompt .arrow-l, .pick-prompt .arrow-r { display: none; }
  .pick-prompt::before { content: "↑ "; opacity: 0.7; }
  .pick-prompt::after  { content: " ↓"; opacity: 0.7; }

  section.story.active { padding: 80px 6vw; }
  .section-meta { gap: 12px; margin-bottom: 22px; flex-direction: column; align-items: flex-start; }
  .section-meta .num { font-size: 48px; }
  .section-meta .label { font-size: 10px; letter-spacing: 2px; }
  h2.section-h {
    font-size: clamp(34px, 9.5vw, 52px);
    letter-spacing: -1.6px;
    margin-bottom: 22px;
  }
  .section-lede { font-size: 15px; }

  .stats, .steps, .industries, .showcase, .earnings-widget {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .stats { margin-top: 56px; padding-top: 28px; }
  .steps { margin-top: 56px; }
  .step { padding: 22px 20px; min-height: auto; }
  .step .step-n { font-size: 28px; }
  .step h3 { font-size: 17px; }

  .stat .figure { font-size: 44px; letter-spacing: -2px; }
  .stat .figure-unit { font-size: 14px; }

  .showcase { margin-top: 64px; gap: 36px; }
  .showcase-notes h3 { font-size: 26px; letter-spacing: -1px; }
  .showcase-notes p { font-size: 15px; }
  .phone-wrap { max-width: 260px; }

  .industries-h { font-size: 24px; margin-top: 80px; }
  .industries { margin-top: 64px; }
  .industry { padding: 22px 20px; min-height: auto; }
  .industry .icount { font-size: 26px; right: 16px; top: 14px; }

  .pricing-strip {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 56px;
    padding: 24px 22px;
  }
  .pricing-strip .pricing-cta { text-align: left; margin-top: 6px; }
  .pricing-strip h4 .num { font-size: 22px; }

  .earnings-widget { padding: 24px; margin-top: 64px; }
  .earnings-widget h4 { font-size: 26px; letter-spacing: -1px; }
  .earn-row { padding: 11px 14px; font-size: 12px; }

  .closer.active { padding: 80px 6vw 36px; }
  .closer h2 { font-size: clamp(28px, 8vw, 44px); letter-spacing: -1.2px; margin-bottom: 24px; }

  footer { padding: 44px 6vw 28px; }
  footer .colophon { font-size: 12px; }
  footer .copyline { font-size: 11px; }
}

/* Responsive — small mobile */
@media (max-width: 480px) {
  .door { padding: 44px 6vw 56px; }
  .door h1 .h1-wide br { display: none; }
  .door h1 { line-height: 1.0; letter-spacing: -1.6px; }
  nav.links .signin { display: none; }
  nav.links .audience-link { font-size: 10.5px; padding: 5px 9px; }
}
