/* ──────────────────────────────────────────────────────────
   TrueSpend mockup — shared styles
   Colors lifted from src/index.css (HSL CSS variables).
   ────────────────────────────────────────────────────────── */

:root {
  --background:        0 0% 100%;
  --foreground:        222.2 84% 4.9%;
  --card:              0 0% 100%;
  --card-foreground:   222.2 84% 4.9%;
  --primary:           218 91% 59%;
  --primary-foreground:210 40% 98%;
  --secondary:         210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted:             210 40% 96.1%;
  --muted-foreground:  215.4 16.3% 46.9%;
  --accent:            274 81% 56%;
  --accent-foreground: 210 40% 98%;
  --destructive:       0 84.2% 60.2%;
  --border:            214.3 31.8% 91.4%;
  --input:             214.3 31.8% 91.4%;
  --ring:              218 91% 59%;
  --radius:            0.5rem;
  --surface-radius:    1rem;
  --header-radius:     1.1rem;

  --brand-blue:        218 91% 59%;
  --brand-purple:      274 81% 56%;
  --brand-teal:        194 75% 37%;
  --gradient-brand:    linear-gradient(135deg, hsl(218 91% 59%) 0%, hsl(274 81% 56%) 100%);

  --sidebar-bg:        0 0% 98%;
  --sidebar-fg:        240 5.3% 26.1%;
  --sidebar-border:    220 13% 91%;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page { padding-top: 5.5rem; padding-bottom: 4rem; }

/* ── Top navigation ───────────────────────────────────────── */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4rem;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  border-radius: 0 0 var(--header-radius) var(--header-radius);
  z-index: 50;
  overflow: hidden;
}
.topnav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0;
}
.brand-mark {
  width: 2rem; height: 2rem; border-radius: 0.55rem;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 4px 16px -4px hsl(var(--brand-blue) / 0.45);
}
.brand-logo {
  width: 14rem;
  height: auto;
  flex: 0 0 auto;
}
.nav-links {
  display: flex; gap: 1.5rem; align-items: center;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: color .15s;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-links a.active {
  color: hsl(var(--foreground));
}
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid transparent;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 8px 24px -8px hsl(var(--brand-blue) / 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px hsl(var(--brand-blue) / 0.65); }
.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.btn-outline:hover { border-color: hsl(var(--primary) / 0.5); background: hsl(var(--muted) / 0.5); }
.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}
.btn-ghost:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; height: 3.25rem; }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn-danger {
  background: hsl(var(--destructive));
  color: white;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  padding: 1.25rem;
  transition: all .2s;
}
.card-hover { cursor: pointer; }
.card-hover:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}
.card-desc {
  font-size: 0.825rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem; font-weight: 600;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--secondary-foreground));
}
.badge-outline { background: transparent; border: 1px solid hsl(var(--border)); }
.badge-blue   { background: hsl(var(--brand-blue) / 0.1);   color: hsl(var(--brand-blue)); }
.badge-purple { background: hsl(var(--brand-purple) / 0.1); color: hsl(var(--brand-purple)); }
.badge-teal   { background: hsl(var(--brand-teal) / 0.1);   color: hsl(var(--brand-teal)); }
.badge-amber  { background: hsl(43 96% 56% / 0.12);          color: hsl(35 92% 38%); }
.badge-red    { background: hsl(var(--destructive) / 0.1);   color: hsl(var(--destructive)); }

/* ── Typography helpers ──────────────────────────────────── */
.h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.h3 { font-size: 1.25rem; font-weight: 600; margin: 0; }
.muted { color: hsl(var(--muted-foreground)); }
.lead { font-size: 1.125rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Forms ──────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: hsl(var(--foreground)); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

/* ── Progress bar ────────────────────────────────────────── */
.progress {
  width: 100%; height: 0.5rem;
  background: hsl(var(--muted));
  border-radius: 9999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 9999px;
  transition: width .4s ease;
}
.progress-bar.warning { background: hsl(35 92% 50%); }
.progress-bar.danger  { background: hsl(var(--destructive)); }

/* ── Grids ──────────────────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Section spacing ─────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 2rem;
  background: hsl(var(--muted) / 0.4);
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
}
.footer a {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  padding: 0.25rem 0;
  transition: color .15s;
}
.footer a:hover { color: hsl(var(--primary)); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* ── Hero (marketing) ────────────────────────────────────── */
.hero {
  padding: 6rem 0 4rem;
  background:
    radial-gradient(800px 400px at 80% 0%, hsl(var(--brand-purple) / 0.08), transparent 70%),
    radial-gradient(700px 350px at 10% 30%, hsl(var(--brand-blue) / 0.08), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1.5rem;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: white;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px hsl(var(--brand-blue) / 0.4);
}
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.25), transparent 60%);
}
.hero-card {
  position: absolute; padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.95);
  border-radius: 9999px;
  font-size: 0.85rem; font-weight: 600;
  color: hsl(var(--foreground));
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
}
.hero-card.t { top: 12%; left: -2%; color: hsl(var(--brand-blue)); }
.hero-card.m { top: 50%; right: -4%; color: hsl(var(--brand-teal)); }
.hero-card.b { bottom: 14%; left: -2%; color: hsl(var(--brand-purple)); }

/* ── Waitlist landing page ───────────────────────────────── */
.landing-page {
  background: hsl(var(--background));
}
.landing-page .topnav {
  position: absolute;
  height: 5rem;
  background: transparent;
  border-bottom: 0;
  border-radius: var(--header-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.landing-page .topnav-inner {
  max-width: 1120px;
}
.landing-page .brand {
  font-size: 1.35rem;
  color: #090d1f;
}
.landing-page .brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  position: relative;
  transform: none;
}
.landing-page .brand-mark::before,
.landing-page .brand-mark::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  width: 1.55rem;
  height: 0.7rem;
  border: 0.28rem solid hsl(var(--brand-purple));
  transform: rotate(28deg);
}
.landing-page .brand-mark::before {
  top: 0.25rem;
  border-bottom: 0;
  border-radius: 0.7rem 0.7rem 0 0;
}
.landing-page .brand-mark::after {
  bottom: 0.25rem;
  border-top: 0;
  border-radius: 0 0 0.7rem 0.7rem;
}
.landing-page .nav-links {
  gap: 2.5rem;
}
.landing-page .nav-links a {
  color: hsl(var(--foreground));
  font-size: 0.86rem;
}
.waitlist-hero {
  min-height: 672px;
  padding: 8.25rem 0 0;
  overflow: hidden;
  background:
    radial-gradient(740px 420px at 78% 34%, hsl(var(--brand-purple) / 0.08), transparent 72%),
    linear-gradient(180deg, white 0%, hsl(var(--background)) 76%, hsl(250 100% 98%) 100%);
}
.waitlist-hero-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 5.7rem;
  align-items: start;
}
.waitlist-copy {
  padding-top: 4.05rem;
}
.mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: hsl(var(--brand-purple) / 0.09);
  color: hsl(var(--brand-purple));
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}
.waitlist-copy h1 {
  margin: 1.35rem 0 0;
  max-width: 590px;
  color: hsl(226 54% 12%);
  font-size: clamp(3.1rem, 6vw, 4.62rem);
  line-height: 1.02;
  font-weight: 800;
}
.waitlist-copy h1 span {
  display: block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.waitlist-copy p {
  max-width: 575px;
  margin: 1.6rem 0 0;
  color: hsl(226 22% 26%);
  font-size: 1.08rem;
  line-height: 1.75;
}
.waitlist-form {
  display: flex;
  width: min(100%, 486px);
  margin-top: 2.1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 42px -28px rgba(21, 28, 48, 0.35);
}
.waitlist-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 1.4rem;
  font: inherit;
  color: hsl(var(--foreground));
}
.waitlist-form input:focus {
  outline: none;
}
.waitlist-form .btn {
  min-width: 170px;
  border-radius: 0;
  padding: 1rem 1.3rem;
}
.waitlist-form.compact {
  max-width: 430px;
  margin-top: 1.4rem;
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2rem;
  color: hsl(226 26% 18%);
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-trust-row i,
.privacy-title i,
.step-icon,
.problem-grid i,
.landing-feature-grid i {
  color: hsl(var(--brand-purple));
  font-style: normal;
}
.hero-trust-row i {
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--brand-purple) / 0.35);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
}
.phone-stage {
  display: flex;
  justify-content: center;
  min-height: 570px;
}
.landing-phone {
  width: 326px;
  height: 650px;
  border: 10px solid #0b0d14;
  border-radius: 42px;
  background: white;
  box-shadow: 0 32px 80px -26px rgba(15, 23, 42, 0.48);
  position: relative;
  overflow: hidden;
}
.landing-phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #05060a;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-top {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 0 22px 8px;
  font-size: 0.78rem;
}
.phone-top small {
  text-align: right;
  font-weight: 800;
}
.phone-content {
  padding: 1rem 1.05rem 1.2rem;
}
.phone-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.phone-title-row h2 {
  margin: 0;
  font-size: 1.08rem;
}
.merchant-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
}
.merchant-row small {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: hsl(var(--brand-purple) / 0.1);
  color: hsl(var(--brand-purple));
}
.recommend-card,
.why-card {
  margin-top: 1rem;
  border: 1px solid hsl(var(--brand-purple) / 0.18);
  border-radius: 0.75rem;
  padding: 0.85rem;
  box-shadow: 0 14px 32px -24px hsl(var(--brand-purple));
}
.recommend-card > small,
.phone-section-label {
  color: hsl(var(--brand-purple));
  font-weight: 800;
  font-size: 0.68rem;
}
.recommend-body {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.65rem;
}
.mini-card {
  min-height: 82px;
  border-radius: 0.85rem;
  padding: 0.65rem;
  color: white;
  background: linear-gradient(135deg, hsl(222 47% 15%), hsl(var(--brand-blue)));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.62rem;
}
.mini-card strong {
  font-size: 0.78rem;
}
.mini-card em {
  font-style: normal;
  opacity: 0.76;
}
.recommend-body h3 {
  margin: 0;
  font-size: 0.92rem;
}
.recommend-body p,
.why-card p {
  margin: 0.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
}
.recommend-body strong {
  display: block;
  margin-top: 0.85rem;
  color: hsl(var(--brand-teal));
  font-size: 1.1rem;
}
.phone-section-label {
  margin: 1.2rem 0 0.55rem;
  color: hsl(var(--muted-foreground));
}
.option-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.3rem;
}
.option-row span {
  width: 34px;
  height: 34px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #111827, #334155);
}
.option-row strong {
  display: block;
  font-size: 0.74rem;
}
.option-row small {
  display: block;
  margin-top: 0.15rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.68rem;
}
.option-row em {
  color: hsl(var(--brand-teal));
  font-style: normal;
  font-weight: 800;
  font-size: 0.76rem;
}
.why-card {
  background: linear-gradient(135deg, hsl(var(--brand-purple) / 0.07), white);
}
.why-card strong {
  font-size: 0.78rem;
}
.problem-section,
.steps-section,
.features-section,
.privacy-band,
.final-cta {
  border-top: 1px solid hsl(var(--border));
  padding: 3.1rem 0;
}
.center-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.center-heading span {
  color: hsl(var(--brand-purple));
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}
.center-heading h2 {
  margin: 0.85rem 0 0;
  color: hsl(226 54% 12%);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.18;
}
.problem-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.problem-grid i {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}
.problem-grid p {
  max-width: 160px;
  margin: 1rem auto 0;
  color: hsl(226 22% 24%);
  font-size: 0.9rem;
  line-height: 1.5;
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.7rem;
}
.step-card {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem;
  align-items: center;
}
.step-card b,
.phase-num {
  background: var(--gradient-brand);
}
.step-card b {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}
.step-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.2rem;
  background: hsl(var(--brand-purple) / 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.step-card h3 {
  margin: 0;
  font-size: 0.88rem;
}
.step-card p {
  margin: 0.45rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  line-height: 1.55;
}
.step-arrow {
  color: hsl(var(--brand-purple));
  font-size: 1.5rem;
}
.landing-feature-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.landing-feature-grid article {
  min-height: 160px;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.35rem 1rem;
  text-align: center;
  background: white;
  box-shadow: 0 16px 40px -34px rgba(15, 23, 42, 0.45);
}
.landing-feature-grid i {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
}
.landing-feature-grid h3 {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
}
.landing-feature-grid p {
  margin: 0.8rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  line-height: 1.55;
}
.privacy-band {
  border-top: 0;
  padding-top: 1.1rem;
}
.privacy-panel,
.final-cta-panel {
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(var(--brand-blue) / 0.08), hsl(var(--brand-purple) / 0.1));
}
.privacy-panel {
  padding: 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: center;
}
.privacy-title {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.privacy-title i {
  width: 4.5rem;
  height: 4.5rem;
  border: 3px solid hsl(var(--brand-purple));
  border-radius: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.privacy-title h2 {
  margin: 0;
  font-size: 1.55rem;
}
.privacy-points {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.privacy-points span {
  color: hsl(226 22% 24%);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}
.final-cta {
  border-top: 0;
  padding-top: 1rem;
  padding-bottom: 3rem;
}
.final-cta-panel {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem 3rem;
  overflow: hidden;
}
.final-cta-panel h2 {
  margin: 0;
  color: hsl(226 54% 12%);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.08;
}
.final-cta-panel p {
  max-width: 560px;
  margin: 1rem 0 0;
  color: hsl(226 22% 24%);
  line-height: 1.6;
}
.waitlist-proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}
.waitlist-proof small {
  display: block;
  margin-top: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
}
.proof-avatars {
  display: flex;
}
.proof-avatars i {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -0.45rem;
  background: linear-gradient(135deg, hsl(var(--brand-blue)), hsl(var(--brand-purple)));
}
.proof-avatars i:first-child {
  margin-left: 0;
}
.proof-avatars i:nth-child(2) { background: linear-gradient(135deg, hsl(35 92% 58%), hsl(var(--brand-purple))); }
.proof-avatars i:nth-child(3) { background: linear-gradient(135deg, hsl(var(--brand-teal)), hsl(var(--brand-blue))); }
.proof-avatars i:nth-child(4) { background: linear-gradient(135deg, hsl(222 47% 20%), hsl(var(--brand-blue))); }
.proof-avatars i:nth-child(5) { background: linear-gradient(135deg, hsl(0 84% 64%), hsl(35 92% 58%)); }
.reward-art {
  min-height: 210px;
  position: relative;
}
.floating-card-one,
.floating-card-two {
  position: absolute;
  border-radius: 0.9rem;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, 0.45);
}
.floating-card-one {
  right: 18px;
  top: 12px;
  width: 180px;
  padding: 1.45rem 1.25rem;
  background: white;
  color: hsl(var(--brand-teal));
  font-size: 1.55rem;
  font-weight: 800;
  transform: rotate(6deg);
}
.floating-card-one span {
  display: block;
  margin-top: 0.55rem;
  color: hsl(226 22% 24%);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}
.floating-card-two {
  left: 48px;
  bottom: 12px;
  width: 150px;
  height: 96px;
  background: var(--gradient-brand);
  transform: rotate(-13deg);
}
.floating-card-two::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: hsl(35 92% 50%);
  box-shadow: -18px 0 0 hsl(0 84% 60% / 0.9);
}
@media (max-width: 1080px) {
  .waitlist-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .waitlist-copy {
    padding-top: 2rem;
  }
  .phone-stage {
    min-height: 420px;
  }
  .landing-phone {
    transform: translateY(0);
  }
  .landing-feature-grid,
  .privacy-points {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .step-arrow {
    display: none;
  }
}
@media (max-width: 760px) {
  .landing-page .topnav {
    position: static;
  }
  .landing-page .nav-cta {
    display: none;
  }
  .waitlist-hero {
    padding-top: 1rem;
  }
  .waitlist-copy h1 {
    font-size: 3rem;
  }
  .waitlist-form {
    flex-direction: column;
  }
  .waitlist-form input {
    min-height: 3.2rem;
  }
  .waitlist-form .btn {
    width: 100%;
  }
  .problem-grid,
  .landing-feature-grid,
  .privacy-panel,
  .privacy-points,
  .final-cta-panel {
    grid-template-columns: 1fr;
  }
  .step-card {
    grid-template-columns: auto 1fr;
  }
  .step-icon {
    grid-row: span 2;
  }
  .reward-art {
    display: none;
  }
}

/* ── Landing v2 screenshot layout ────────────────────────── */
.landing-v2 {
  background: #f8f9ff;
}
.landing-v2 .container {
  max-width: 1180px;
}
.landing-v2 .topnav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: 4.6rem;
  margin: 0.5rem 0.5rem 0.8rem;
  color: hsl(var(--foreground));
  background: white;
  border: 1px solid hsl(var(--border) / 0.75);
  border-radius: var(--header-radius);
  box-shadow: 0 10px 34px -28px rgba(15, 23, 42, 0.45);
}
.landing-v2 .brand {
  color: hsl(var(--foreground));
  font-size: 1.02rem;
}
.landing-v2 .brand-logo {
  width: 18rem;
}
.landing-v2 .brand-mark {
  width: 1.85rem;
  height: 1.85rem;
}
.landing-v2 .brand span:last-child {
  color: hsl(var(--foreground));
}
.landing-v2 .nav-links a {
  color: hsl(226 22% 24%);
}
.landing-v2 .nav-links a:hover {
  color: hsl(var(--foreground));
}
.v2-hero {
  margin: 0.5rem;
  border-radius: var(--header-radius);
  min-height: 555px;
  padding: 5.9rem 0 3.2rem;
  overflow: hidden;
  background:
    radial-gradient(580px 340px at 76% 58%, hsl(var(--brand-purple) / 0.22), transparent 68%),
    radial-gradient(430px 260px at 9% 96%, hsl(var(--brand-blue) / 0.16), transparent 72%),
    linear-gradient(135deg, #040a1a 0%, #07112c 52%, #0d0920 100%);
  color: white;
}
.v2-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}
.v2-hero-copy h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}
.v2-hero-copy h1 span {
  display: block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-hero-copy p {
  max-width: 560px;
  margin: 1.55rem 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.02rem;
  line-height: 1.65;
}
.v2-form {
  max-width: 470px;
  border: 1px solid hsl(var(--brand-purple) / 0.55);
  box-shadow: 0 0 0 3px hsl(var(--brand-purple) / 0.18), 0 20px 60px -36px hsl(var(--brand-purple));
}
.v2-form .btn {
  min-width: 150px;
}
.v2-trust-row {
  color: rgba(255,255,255,0.9);
  gap: 1.25rem;
}
.v2-trust-row i {
  color: white;
  border-color: hsl(var(--brand-purple));
  background: hsl(var(--brand-purple) / 0.25);
}
.v2-rec-panel {
  max-width: 420px;
  margin-left: auto;
  border-radius: var(--surface-radius);
  padding: 1.3rem;
  background: #f9f9ff;
  color: hsl(226 54% 12%);
  box-shadow: 0 34px 90px -42px rgba(0,0,0,0.5);
}
.v2-panel-head,
.v2-rec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.v2-panel-head h2 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}
.v2-panel-head span,
.v2-panel-head small,
.v2-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
  font-weight: 700;
}
.v2-panel-head strong {
  display: block;
  margin-top: 0.45rem;
  text-align: right;
}
.v2-rec-card {
  margin-top: 1.1rem;
  border-radius: var(--surface-radius);
  padding: 1rem;
  background: white;
  border: 1px solid hsl(var(--border));
}
.v2-rec-card.muted-card {
  background: hsl(222 50% 98%);
}
.v2-rec-row {
  margin-top: 0.65rem;
}
.v2-credit-card {
  width: 86px;
  height: 58px;
  border-radius: 0.75rem;
  padding: 0.55rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.v2-credit-card strong,
.v2-credit-card em {
  font-size: 0.62rem;
  font-style: normal;
}
.blue-card {
  background: linear-gradient(135deg, #08234d, hsl(var(--brand-blue)));
}
.black-card {
  background: linear-gradient(135deg, #111827, #020617);
}
.v2-rec-row h3 {
  margin: 0;
  font-size: 0.86rem;
}
.v2-rec-row p {
  margin: 0.25rem 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.73rem;
}
.v2-rec-row small {
  color: hsl(var(--brand-purple));
  font-size: 0.68rem;
  font-weight: 700;
}
.reward-green {
  margin-left: auto;
  color: hsl(var(--brand-teal));
  white-space: nowrap;
}
.v2-why {
  margin-top: 1rem;
  border-left: 3px solid hsl(var(--brand-purple));
  padding: 0.75rem 1rem;
  background: hsl(var(--brand-purple) / 0.05);
  border-radius: var(--surface-radius);
}
.v2-why p {
  margin: 0.35rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  line-height: 1.5;
}
.v2-split-row,
.v2-demo-section,
.v2-privacy-cta,
.v2-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.v2-problem-pane,
.v2-steps-pane,
.v2-action-card,
.v2-dashboard,
.v2-features,
.v2-privacy-dark,
.v2-purple-cta,
.optimizer-panel,
.database-panel,
.signup-panel {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  overflow: hidden;
}
.v2-problem-pane,
.v2-steps-pane {
  min-height: 470px;
  padding: 3rem 2.4rem;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  display: inline-flex;
  color: hsl(var(--brand-purple));
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
}
.v2-problem-pane h2,
.v2-steps-pane h2,
.v2-action-card h2,
.v2-features h2,
.v2-privacy-dark h2,
.v2-purple-cta h2,
.v2-bottom-grid h2 {
  color: hsl(226 54% 12%);
  margin: 0.8rem 0 0;
  line-height: 1.12;
}
.v2-problem-pane h2 {
  max-width: 240px;
  font-size: clamp(2rem, 3vw, 2.9rem);
}
.v2-problem-pane h2 span {
  color: hsl(var(--brand-purple));
}
.v2-problem-pane p {
  max-width: 240px;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  font-size: 0.86rem;
}
.v2-problem-pane ul,
.v2-privacy-dark ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.v2-problem-pane ul {
  max-width: 240px;
}
.v2-problem-pane li,
.v2-privacy-dark li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.45rem 0;
  font-size: 0.82rem;
}
.v2-problem-pane li::before,
.v2-privacy-dark li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: hsl(var(--brand-purple));
}
.v2-problem-pane h3 {
  margin: 1.4rem 0 0;
  font-size: 0.95rem;
  max-width: 240px;
}
.card-orbit {
  position: absolute;
  right: 2.5rem;
  bottom: 2rem;
  width: 230px;
  height: 210px;
}
.orbit-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, hsl(var(--brand-purple) / 0.18), transparent 62%);
  filter: blur(2px);
}
.orbit-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed hsl(var(--brand-purple) / 0.18);
}
.orbit-card {
  position: absolute;
  width: 132px;
  height: 82px;
  border-radius: 12px;
  box-shadow:
    0 22px 36px -22px rgba(15, 23, 42, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
}
.orbit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}
.oc-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(135deg, #f5d27a, #b88a30);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.oc-dot {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: -8px 0 0 rgba(255, 255, 255, 0.45);
}
.orbit-card.light {
  left: 4px;
  bottom: 52px;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  transform: rotate(16deg);
}
.orbit-card.light .oc-dot {
  background: hsl(var(--brand-purple) / 0.85);
  box-shadow: -8px 0 0 hsl(var(--brand-purple) / 0.45);
}
.orbit-card.dark {
  right: 18px;
  top: 36px;
  background: linear-gradient(135deg, #1f2937, #02060f);
  transform: rotate(-12deg);
}
.orbit-card.purple {
  right: 56px;
  bottom: 4px;
  background: var(--gradient-brand);
  transform: rotate(14deg);
  box-shadow:
    0 26px 44px -22px hsl(var(--brand-purple) / 0.55),
    0 2px 0 rgba(255, 255, 255, 0.45) inset;
}
.v2-steps-pane {
  text-align: center;
}
.v2-steps-pane h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}
.v2-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.v2-step-grid article {
  min-height: 250px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  padding: 1.55rem 1rem;
  box-shadow: 0 20px 45px -34px rgba(15,23,42,0.42);
}
.v2-step-grid b {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--brand-purple) / 0.12);
  color: hsl(var(--brand-purple));
}
.v2-step-grid i {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: var(--surface-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--brand-purple) / 0.07);
  color: hsl(var(--brand-purple));
  font-size: 2rem;
  font-style: normal;
  margin: 1.2rem auto;
}
.v2-step-grid h3 {
  margin: 0;
  font-size: 0.86rem;
}
.v2-step-grid p {
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  line-height: 1.55;
}
.v2-demo-section {
  grid-template-columns: 0.34fr 0.66fr;
}
.v2-action-card {
  padding: 3rem 2.4rem;
}
.v2-action-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}
.purchase-card {
  margin-top: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  padding: 1.2rem;
  box-shadow: 0 20px 55px -42px rgba(15,23,42,0.42);
}
.purchase-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
}
.purchase-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.82rem;
}
.purchase-line.muted {
  color: hsl(var(--muted-foreground));
}
.purchase-line.good strong {
  color: hsl(var(--brand-teal));
}
.v2-dashboard {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 1.2rem;
}
.v2-dashboard aside {
  border-right: 1px solid hsl(var(--border));
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.dash-brand {
  color: hsl(var(--brand-purple));
  margin-bottom: 0.8rem;
}
.v2-dashboard aside span {
  border-radius: 0.75rem;
  padding: 0.5rem 0.65rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}
.v2-dashboard aside .active {
  color: hsl(var(--brand-purple));
  background: hsl(var(--brand-purple) / 0.1);
}
.dash-main {
  padding: 1rem 1.2rem;
}
.dash-top,
.dash-metrics,
.dash-panels,
.mini-insights {
  display: grid;
  gap: 1rem;
}
.dash-top {
  grid-template-columns: 1fr auto;
  align-items: start;
}
.dash-top h2 {
  margin: 0;
  font-size: 1.15rem;
}
.dash-top p,
.dash-metrics span,
.dash-metrics em,
.mini-insights,
.insight-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}
.dash-top small {
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 0.35rem 0.6rem;
}
.dash-metrics {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
}
.dash-metrics article,
.donut-card,
.insight-card,
.mini-insights span {
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  padding: 0.85rem;
}
.dash-metrics strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.05rem;
}
.dash-metrics em {
  color: hsl(var(--brand-teal));
  font-style: normal;
}
.dash-panels {
  grid-template-columns: 1fr 0.8fr;
  margin-top: 1rem;
}
.donut {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(hsl(var(--brand-purple)) 0 32%, hsl(var(--brand-blue)) 32% 54%, hsl(var(--brand-teal)) 54% 72%, hsl(35 92% 55%) 72% 88%, hsl(0 84% 62%) 88% 100%);
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: white;
}
.insight-card {
  background: hsl(var(--brand-teal) / 0.09);
}
.mini-insights {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
}
.v2-features {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.8rem 2.2rem;
  text-align: center;
}
.v2-features h2 {
  margin-top: 0;
  font-size: 1.55rem;
}
.v2-feature-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.v2-feature-grid article {
  text-align: left;
}
.v2-feature-grid i {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: hsl(var(--brand-purple) / 0.08);
  color: hsl(var(--brand-purple));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.v2-feature-grid h3 {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}
.v2-feature-grid p {
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
  line-height: 1.45;
}
.v2-privacy-cta {
  gap: 0.5rem;
  padding: 0.5rem 0;
}
.v2-privacy-dark,
.v2-purple-cta {
  min-height: 315px;
  border-radius: 0.75rem;
  padding: 2.3rem;
  position: relative;
  overflow: hidden;
}
.v2-privacy-dark {
  background:
    radial-gradient(circle at 76% 52%, hsl(var(--brand-purple) / 0.36), transparent 28%),
    #02091c;
  color: white;
}
.v2-privacy-dark h2,
.v2-purple-cta h2 {
  margin-top: 0;
  color: white;
}
.v2-privacy-dark h2 {
  max-width: 320px;
}
.v2-privacy-dark p,
.v2-purple-cta p {
  color: rgba(255,255,255,0.76);
  max-width: 430px;
  font-size: 0.82rem;
  line-height: 1.55;
}
.v2-privacy-dark p {
  max-width: 320px;
}
.v2-privacy-dark ul {
  max-width: 320px;
}
.v2-privacy-dark li {
  color: rgba(255,255,255,0.9);
}
.v2-privacy-dark li::before {
  background: hsl(var(--brand-teal));
}
.shield-art {
  position: absolute;
  right: 1.75rem;
  top: 4.5rem;
  width: 150px;
  height: 170px;
  background: linear-gradient(180deg, hsl(var(--brand-blue)), hsl(var(--brand-purple)));
  clip-path: polygon(50% 0%, 90% 16%, 88% 58%, 74% 82%, 50% 100%, 26% 82%, 12% 58%, 10% 16%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 22px 34px hsl(var(--brand-purple) / 0.28));
}
.shield-art::before,
.shield-art::after {
  content: "";
  position: absolute;
  inset: 16px 19px 30px;
  clip-path: inherit;
  pointer-events: none;
}
.shield-art::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 55%);
}
.shield-art::after {
  border: 1px solid rgba(255,255,255,0.12);
}
.shield-lock {
  width: 58px;
  height: 50px;
  border-radius: 0.85rem;
  background: white;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,0.45);
}
.shield-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -31px;
  width: 38px;
  height: 38px;
  border: 9px solid white;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  transform: translateX(-50%);
}
.lock-body::before,
.lock-body::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--brand-purple));
}
.lock-body::before {
  top: 19px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.lock-body::after {
  top: 28px;
  width: 7px;
  height: 13px;
  border-radius: 999px;
}
.partner-row {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.82);
  font-weight: 800;
}
.v2-purple-cta {
  background:
    radial-gradient(circle at 85% 24%, rgba(255,255,255,0.26), transparent 20%),
    var(--gradient-brand);
  color: white;
  text-align: center;
}
.v2-purple-cta p,
.v2-purple-cta .waitlist-proof {
  margin-left: auto;
  margin-right: auto;
}
.v2-purple-cta .waitlist-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
  box-shadow: none;
}
.v2-purple-cta .waitlist-proof {
  justify-content: center;
}
.v2-purple-cta .waitlist-proof small {
  color: rgba(255,255,255,0.82);
}
.v2-bottom-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}
.optimizer-panel,
.database-panel,
.signup-panel {
  min-height: 340px;
  padding: 2rem;
}
.v2-bottom-grid h2 {
  font-size: 1.35rem;
}
.v2-bottom-grid p {
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  line-height: 1.5;
}
.v2-bottom-grid select,
.stack-form input,
.stack-form select {
  width: 100%;
  height: 2.55rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: white;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.78rem;
}
.mini-result {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.78rem;
}
.mini-result strong {
  color: hsl(var(--brand-teal));
  white-space: nowrap;
}
.database-panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.72rem;
}
.database-panel th,
.database-panel td {
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
  padding: 0.5rem 0.35rem;
}
.database-panel th {
  color: hsl(var(--muted-foreground));
}
.stack-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  border: 0;
  width: 100%;
  box-shadow: none;
  overflow: visible;
}
.stack-form .btn {
  width: 100%;
  border-radius: 0.75rem;
}
@media (max-width: 1080px) {
  .v2-hero-grid,
  .v2-split-row,
  .v2-demo-section,
  .v2-privacy-cta,
  .v2-bottom-grid {
    grid-template-columns: 1fr;
  }
  .v2-rec-panel {
    margin: 0;
  }
  .v2-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-orbit,
  .shield-art {
    display: none;
  }
}
@media (max-width: 760px) {
  .landing-v2 .topnav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background: white;
    margin: 0.5rem;
    padding: 1.35rem 0 0.5rem;
  }
  .landing-v2 .topnav-inner {
    min-height: 3rem;
  }
  .landing-v2 .brand {
    font-size: 1.15rem;
  }
  .landing-v2 .brand-mark {
    width: 2rem;
    height: 2rem;
  }
  .v2-hero {
    margin: 0.5rem;
    border-radius: var(--header-radius);
    padding-top: 1.75rem;
    padding-bottom: 3rem;
    overflow: visible;
  }
  .v2-hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.25rem);
    line-height: 1.16;
    max-width: 100%;
    margin-top: 0;
  }
  .v2-hero-copy p {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1.2rem;
  }
  .v2-form {
    margin-top: 1.8rem;
  }
  .v2-trust-row {
    gap: 1rem 1.25rem;
  }
  .v2-rec-panel {
    max-width: 100%;
    margin-top: 1.75rem;
  }
  .v2-dashboard,
  .dash-metrics,
  .dash-panels,
  .mini-insights,
  .v2-step-grid,
  .v2-feature-grid {
    grid-template-columns: 1fr;
  }
  .card-orbit,
  .shield-art {
    display: none;
  }
}

/* ── Screen inventory mockup ─────────────────────────────── */
.mockup-page {
  background:
    linear-gradient(180deg, hsl(210 40% 98%), hsl(var(--background)) 360px);
}
.mockup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: end;
}
@media (max-width: 900px) { .mockup-hero { grid-template-columns: 1fr; } }
.mockup-summary {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  border-radius: var(--surface-radius);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}
.mockup-summary strong {
  display: block;
  font-size: 1.15rem;
  margin-top: 0.2rem;
}
.section-title-row,
.mockup-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 760px) {
  .section-title-row,
  .mockup-toolbar { align-items: stretch; flex-direction: column; }
}
.phase-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .phase-strip { grid-template-columns: 1fr; } }
.phase-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  padding: 1.25rem;
  background: hsl(var(--card));
}
.phase-card.active { border-color: hsl(var(--primary) / 0.5); box-shadow: 0 12px 28px -18px hsl(var(--primary)); }
.phase-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: white;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.phase-card h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.phase-card p { margin: 0; color: hsl(var(--muted-foreground)); font-size: 0.875rem; line-height: 1.55; }
.segmented {
  border: 1px solid hsl(var(--border));
  border-radius: 0.85rem;
  padding: 0.2rem;
  display: inline-flex;
  gap: 0.2rem;
  background: hsl(var(--card));
}
.seg {
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 0.8rem;
}
.seg.active {
  background: var(--gradient-brand);
  color: white;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.screen-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  background: hsl(var(--card));
  padding: 1rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.screen-card.removed {
  background: hsl(var(--muted) / 0.45);
}
.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
  font-weight: 800;
}
.screen-card h3 {
  margin: 0;
  font-size: 1rem;
}
.screen-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  font-size: 0.84rem;
}
.screen-preview {
  margin-top: auto;
  min-height: 122px;
  border-radius: var(--surface-radius);
  border: 1px solid hsl(var(--border));
  background: linear-gradient(180deg, white, hsl(210 40% 98%));
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  overflow: hidden;
}
.screen-preview strong { font-size: 0.95rem; }
.screen-preview small { color: hsl(var(--muted-foreground)); }
.splash-preview {
  background: var(--gradient-brand);
  color: white;
}
.splash-preview small { color: rgba(255,255,255,0.82); }
.muted-preview {
  background: repeating-linear-gradient(135deg, hsl(var(--muted)), hsl(var(--muted)) 8px, white 8px, white 16px);
}
.list-preview span,
.form-preview span,
.chips-preview span,
.table-preview span {
  display: block;
  border: 1px solid hsl(var(--border));
  background: white;
  border-radius: 0.75rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.split-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.split-preview span {
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.rec-preview {
  background: linear-gradient(135deg, hsl(var(--brand-blue) / 0.12), hsl(var(--brand-purple) / 0.1));
}
.warning-preview {
  background: hsl(43 96% 56% / 0.14);
}
.cards-preview span {
  display: block;
  height: 42px;
  border-radius: 0.85rem;
  background: var(--gradient-brand);
  box-shadow: 0 8px 18px -12px hsl(var(--brand-blue));
}
.cards-preview span:nth-child(2) { background: linear-gradient(135deg, hsl(var(--brand-teal)), hsl(var(--brand-blue))); margin-left: 1rem; }
.cards-preview span:nth-child(3) { background: linear-gradient(135deg, hsl(222 47% 11%), hsl(var(--brand-purple))); margin-left: 2rem; }
.chart-preview {
  flex-direction: row;
  align-items: end;
}
.chart-preview span {
  width: 22%;
  border-radius: 0.75rem 0.75rem 0 0;
  background: var(--gradient-brand);
}
.toggles-preview span {
  height: 22px;
  width: 44px;
  border-radius: 999px;
  background: hsl(var(--brand-blue) / 0.2);
  align-self: flex-end;
}
.profile-preview strong {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.progress-preview span {
  display: block;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--gradient-brand);
}
.map-preview {
  background:
    linear-gradient(90deg, hsl(var(--border)) 1px, transparent 1px),
    linear-gradient(hsl(var(--border)) 1px, transparent 1px),
    hsl(194 75% 37% / 0.08);
  background-size: 28px 28px;
}
.notification-preview,
.permission-preview {
  border-color: hsl(var(--brand-blue) / 0.3);
  box-shadow: inset 0 0 0 999px hsl(var(--brand-blue) / 0.05);
}
.camera-preview span {
  height: 72px;
  border: 2px dashed hsl(var(--border));
  border-radius: 0.85rem;
}
.dashboard-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dashboard-preview span {
  border-radius: 0.85rem;
  background: hsl(var(--muted));
}

/* ── Feature card grid (marketing & dashboard) ───────────── */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--surface-radius);
  padding: 1.5rem;
  transition: all .2s;
}
.feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.08);
}
.feature-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.feature-icon.blue   { background: hsl(var(--brand-blue) / 0.1);   color: hsl(var(--brand-blue)); }
.feature-icon.purple { background: hsl(var(--brand-purple) / 0.1); color: hsl(var(--brand-purple)); }
.feature-icon.teal   { background: hsl(var(--brand-teal) / 0.1);   color: hsl(var(--brand-teal)); }
.feature-icon.amber  { background: hsl(35 92% 50% / 0.12);          color: hsl(35 92% 40%); }

/* ── Metric tile ─────────────────────────────────────────── */
.metric {
  border: 0;
  border-radius: var(--surface-radius);
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
}
.metric.blue   { background: linear-gradient(135deg, hsl(var(--brand-blue) / 0.1), hsl(var(--brand-blue) / 0.04)); }
.metric.purple { background: linear-gradient(135deg, hsl(var(--brand-purple) / 0.1), hsl(var(--brand-purple) / 0.04)); }
.metric.teal   { background: linear-gradient(135deg, hsl(var(--brand-teal) / 0.1), hsl(var(--brand-teal) / 0.04)); }
.metric.amber  { background: linear-gradient(135deg, hsl(35 92% 50% / 0.12), hsl(35 92% 50% / 0.04)); }
.metric-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.metric-label { font-size: 0.825rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.metric-icon {
  width: 2rem; height: 2rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.metric.blue   .metric-icon { background: hsl(var(--brand-blue) / 0.12);   color: hsl(var(--brand-blue)); }
.metric.purple .metric-icon { background: hsl(var(--brand-purple) / 0.12); color: hsl(var(--brand-purple)); }
.metric.teal   .metric-icon { background: hsl(var(--brand-teal) / 0.12);   color: hsl(var(--brand-teal)); }
.metric.amber  .metric-icon { background: hsl(35 92% 50% / 0.14);           color: hsl(35 92% 40%); }
.metric-value { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-caption { font-size: 0.75rem; margin-top: 0.35rem; color: hsl(var(--muted-foreground)); }

/* ── Tables / lists ─────────────────────────────────────── */
.list { list-style: none; padding: 0; margin: 0; }
.list-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 0.8rem;
  transition: background .15s;
}
.list-item + .list-item { border-top: 1px solid hsl(var(--border)); }
.list-item:hover { background: hsl(var(--muted) / 0.5); }
.list-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: hsl(var(--muted));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  color: hsl(var(--secondary-foreground));
  flex-shrink: 0;
}
.list-body { flex: 1; min-width: 0; }
.list-title { font-size: 0.9rem; font-weight: 500; margin: 0; }
.list-meta  { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin: 0.1rem 0 0; }
.list-amount { font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── Credit card visual ─────────────────────────────────── */
.cc-card {
  border-radius: 1rem;
  padding: 1.4rem;
  color: white;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--gradient-brand);
  box-shadow: 0 16px 32px -12px hsl(var(--brand-blue) / 0.5);
  position: relative;
  overflow: hidden;
}
.cc-card.purple { background: linear-gradient(135deg, hsl(274 81% 56%), hsl(218 91% 59%)); }
.cc-card.teal   { background: linear-gradient(135deg, hsl(194 75% 37%), hsl(218 91% 59%)); }
.cc-card.dark   { background: linear-gradient(135deg, hsl(222 47% 11%), hsl(218 91% 30%)); }
.cc-card::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}
.cc-row { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.cc-num { font-family: 'Inter', monospace; font-size: 1.1rem; letter-spacing: 0.1em; }
.cc-label { font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.cc-name  { font-size: 0.9rem; font-weight: 600; }

/* ── Admin sidebar layout ────────────────────────────────── */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 4rem);
}
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-sidebar {
  background: hsl(var(--sidebar-bg));
  border-right: 1px solid hsl(var(--sidebar-border));
  padding: 1.5rem 0.75rem;
}
.admin-section { margin-bottom: 1.25rem; }
.admin-section-label {
  font-size: 0.7rem; font-weight: 700;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0 0.6rem; margin-bottom: 0.35rem;
}
.admin-link {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  color: hsl(var(--sidebar-fg));
  margin-bottom: 0.15rem;
}
.admin-link:hover { background: hsl(var(--muted)); }
.admin-link.active { background: var(--gradient-brand); color: white; }
.admin-content { padding: 2rem 2.25rem; }

/* ── Toolbar (transactions, etc.) ───────────────────────── */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
  margin-bottom: 1.25rem;
}
.toolbar .field { margin-bottom: 0; }
.toolbar input, .toolbar select {
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  font-family: inherit; font-size: 0.875rem;
}
.toolbar .grow { flex: 1; min-width: 200px; }

/* ── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: hsl(var(--background));
  border-radius: var(--surface-radius);
  width: 100%; max-width: 460px;
  padding: 1.5rem;
  box-shadow: 0 24px 64px -12px rgba(0,0,0,0.3);
  animation: scaleIn .2s ease-out;
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.modal-title { font-size: 1.05rem; font-weight: 600; margin: 0; }
.modal-desc  { font-size: 0.825rem; color: hsl(var(--muted-foreground)); margin: 0.25rem 0 0; }
.modal-footer { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 1rem; }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* ── Pricing tiers ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(280px, 360px));
  justify-content: center;
}
@media (max-width: 720px) {
  .pricing-grid-2 { grid-template-columns: 1fr; }
}
.pricing-card {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.75rem;
  background: hsl(var(--background));
  transition: all .2s;
}
.pricing-card.featured {
  border-color: hsl(var(--primary));
  box-shadow: 0 20px 50px -16px hsl(var(--brand-blue) / 0.3);
  position: relative;
}
.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute; top: -0.6rem; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: white;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
}
.price {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0.75rem 0;
}
.price span { font-size: 0.95rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.feature-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.feature-list li {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}
.feature-list li::before {
  content: "✓"; color: hsl(var(--brand-teal));
  font-weight: 700; flex-shrink: 0;
}

/* ── Map placeholder ─────────────────────────────────────── */
.map-placeholder {
  height: 360px;
  border-radius: 0.85rem;
  background:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    repeating-linear-gradient(45deg, hsl(var(--brand-blue) / 0.06) 0 10px, transparent 10px 20px),
    hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: hsl(var(--brand-blue));
  box-shadow: 0 0 0 6px hsl(var(--brand-blue) / 0.2), 0 0 0 14px hsl(var(--brand-blue) / 0.08);
}

/* ── Utility ─────────────────────────────────────────────── */
.row { display: flex; align-items: center; gap: 0.75rem; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 0.75rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }

/* Avatar */
.avatar {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
}
