@font-face {
  font-family: "BizLocDisplay";
  src: url("/static/font-display-600.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocDisplay";
  src: url("/static/font-display-600.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocDisplay";
  src: url("/static/font-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocDisplay";
  src: url("/static/font-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocSans";
  src: url("/static/font-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocSans";
  src: url("/static/font-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocSans";
  src: url("/static/font-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocSans";
  src: url("/static/font-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocMono";
  src: url("/static/font-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BizLocMono";
  src: url("/static/font-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --navy: #0B1B34;
  --navy-elev: #13294B;
  --navy-border: #1E3A5F;
  --navy-ink: #F8FAFC;
  --navy-muted: #CBD5E1;
  --navy-subtle: #94A3B8;

  --bg: #F1F5F9;
  --surface: #FFFFFF;
  --subtle: #E8EEF5;
  --border: #CBD5E1;
  --border-strong: #94A3B8;

  --ink: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #475569;

  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --accent-tint: #EFF6FF;
  --accent-border: #BFDBFE;

  --emerald: #047857;
  --emerald-hover: #065F46;
  --emerald-bright: #10B981;
  --emerald-bright-hover: #34D399;
  --emerald-ink-dark: #052E16;
  --emerald-tint: #ECFDF5;
  --emerald-border: #A7F3D0;

  --gold: #B45309;
  --gold-hover: #92400E;
  --gold-tint: #FFFBEB;
  --gold-border: #FDE68A;

  --danger: #B91C1C;
  --danger-tint: #FEF2F2;
  --danger-border: #FECACA;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --nav-h: 56px;
  --wrap-max: 800px;
  --landing-max: 1120px;

  --font-display: "BizLocDisplay", "Iowan Old Style", Georgia, serif;
  --font-sans: "BizLocSans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "BizLocMono", "SF Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

button,
a,
input,
select,
summary {
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease), transform 120ms var(--ease);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.tabular {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
}

.skip-link:focus {
  left: 24px;
}

/* FIXED 56PX HEADER */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
  box-shadow: 0 2px 12px rgba(11, 27, 52, 0.16);
}

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.topbar.is-landing .wrap {
  max-width: var(--landing-max);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-muted);
  padding: 6px 2px;
}

.nav-link:hover {
  color: var(--navy-ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--navy-ink);
}

.brand-mark {
  width: 20px;
  height: 20px;
  color: var(--emerald-bright);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar .btn-ghost {
  color: var(--navy-muted);
}

.topbar .btn-ghost:hover {
  background: rgba(248, 250, 252, 0.1);
  color: var(--navy-ink);
}

.topbar .btn-primary {
  background: #2563EB;
  color: #FFFFFF;
}

.topbar .btn-primary:hover {
  background: var(--accent);
}

.topbar button:focus-visible,
.topbar a:focus-visible {
  outline: 2px solid var(--emerald-bright);
  outline-offset: 2px;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-muted);
  padding: 0 8px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* MAIN CONTAINER */
.main-wrap {
  max-width: var(--landing-max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 32px) 24px 64px;
}

.workspace-section {
  max-width: var(--wrap-max);
  margin: 0 auto;
}

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.search-card.card {
  border-top: 3px solid var(--accent);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.btn-lg {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--subtle);
  border-color: var(--ink-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
}

.btn-ghost:hover {
  background: var(--subtle);
  color: var(--ink);
}

.btn-link {
  background: transparent;
  color: var(--accent);
  padding: 0 10px;
}

.btn-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-google {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-google:hover {
  background: var(--subtle);
  border-color: var(--ink-muted);
}

.google-g-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-gold {
  background: var(--emerald);
  color: #FFFFFF;
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--emerald-hover);
}

.btn-danger {
  background: var(--surface);
  color: var(--danger);
  border-color: var(--danger-border);
}

.btn-danger:hover {
  background: var(--danger-tint);
}

/* ALERT BANNER */
.alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
}

.alert-banner.is-success {
  background: var(--emerald-tint);
  border-color: var(--emerald-border);
  color: var(--emerald-hover);
}

.alert-banner.is-error {
  background: var(--danger-tint);
  border-color: var(--danger-border);
  color: var(--danger);
}

.alert-banner.is-info {
  background: var(--subtle);
  border-color: var(--border-strong);
  color: var(--ink);
}

.alert-banner-msg {
  flex: 1;
}

/* SIGNED-OUT EDITORIAL LANDING */
.landing-page {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-top: 20px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(circle at 82% 16%, rgba(37, 99, 235, 0.28), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(16, 185, 129, 0.14), transparent 46%),
    var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 24px 56px rgba(11, 27, 52, 0.18);
}

.hero-copy,
.hero-dossier-frame,
.pdf-showcase-copy,
.pdf-folio-stage,
.step-card,
.pricing-card,
.proof-cell,
.closing-cta-copy {
  min-width: 0;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-eyebrow {
  color: var(--emerald-bright-hover);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-bright);
  flex-shrink: 0;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.3vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy-ink);
  max-width: 15ch;
  margin-bottom: 20px;
}

.landing-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-muted);
  max-width: 48ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions .btn-primary {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.hero-actions .btn-primary:hover {
  background: var(--accent);
}

.hero-actions .btn-google {
  background: #FFFFFF;
  color: var(--ink);
  border-color: transparent;
}

.hero-actions .btn-google:hover {
  background: var(--bg);
}

.hero-sub-action {
  margin-top: 14px;
}

.btn-inline-link {
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--navy-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.btn-inline-link:hover {
  color: var(--navy-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-reassurance {
  margin-top: 12px;
  font-size: 13px;
  color: var(--navy-subtle);
}

/* INTERACTIVE HERO DOSSIER PREVIEW FRAME */
.hero-dossier-frame {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.38);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-city-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.hero-city-tab {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.hero-city-tab:hover {
  color: var(--ink);
}

.hero-city-tab.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}

.hero-frame-note {
  font-size: 12px;
  color: var(--ink-muted);
}

.hero-map-strip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.hero-radar-svg {
  display: block;
  width: 100%;
  height: 156px;
}

.radar-grid {
  stroke: var(--border);
  stroke-width: 1;
}

.radar-ring-outer {
  fill: rgba(29, 78, 216, 0.05);
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.radar-ring-mid {
  fill: rgba(29, 78, 216, 0.08);
  stroke: #60A5FA;
  stroke-width: 1.25;
}

.radar-ring-core {
  fill: rgba(5, 150, 105, 0.16);
  stroke: var(--emerald);
  stroke-width: 1.5;
}

.radar-dist-line {
  stroke: var(--gold);
  stroke-width: 1.25;
  stroke-dasharray: 3 3;
}

.radar-comp-dot {
  fill: var(--gold);
}

.radar-pin {
  fill: var(--accent);
  stroke: #FFFFFF;
  stroke-width: 2;
}

.radar-ring-lbl {
  font-family: var(--font-sans);
  font-size: 10px;
  fill: var(--ink-secondary);
}

.hero-map-captions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.hero-map-loc {
  color: var(--ink);
  font-weight: 500;
}

.hero-map-dist {
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

.hero-frame-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
}

.hf-stat {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hf-stat:last-child {
  border-right: 0;
}

.hf-stat-lbl {
  font-size: 12px;
  color: var(--ink-muted);
}

.hf-stat-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.hero-frame-match {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hf-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hf-match-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.hf-rank {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.hf-biz-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  border-radius: 999px;
  padding: 2px 9px;
  flex-shrink: 0;
}

.hf-match-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.hf-m-lbl {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.hf-m-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* CREDIBILITY BAR */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  gap: 24px;
}

.proof-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.proof-cell:last-child {
  border-right: 0;
  padding-right: 0;
}

.proof-num {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.proof-lbl {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

/* HOW IT WORKS BAND */
.band-surface {
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
}

.band-head h2,
.pdf-showcase-copy h2,
.pricing-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.band-head {
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.step-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/* PDF SHOWCASE */
.pdf-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  max-width: 48ch;
}

.folio-checklist {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}

.folio-checklist li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink);
}

.folio-idx {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.pdf-folio-stage {
  position: relative;
  background: #DCE5F0;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px 26px;
}

.pdf-sheet-back {
  position: absolute;
  top: 22px;
  left: 36px;
  right: 20px;
  bottom: 34px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.pdf-sheet-front {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 27, 52, 0.1);
}

.pdf-sheet-banner {
  background: var(--navy);
  color: var(--navy-ink);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.pdf-sheet-banner .tabular {
  color: var(--emerald-bright-hover);
}

.pdf-sheet-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdf-sheet-kicker {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.pdf-mini-table {
  border-top: 1px solid var(--border);
}

.pdf-mini-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink);
}

.pdf-mini-row.is-head {
  font-size: 12px;
  color: var(--ink-muted);
}

.pdf-mini-row.is-muted {
  color: var(--ink-muted);
}

.pdf-sheet-foot {
  font-size: 12px;
  color: var(--ink-secondary);
}

/* PRICING SECTION */
.pricing-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-head .section-lead {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card.is-featured {
  background: var(--navy);
  color: var(--navy-ink);
  border: 1.5px solid var(--emerald-bright);
  box-shadow: 0 20px 44px rgba(11, 27, 52, 0.16);
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pricing-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-card.is-featured .pricing-tier {
  color: var(--navy-ink);
}

.pricing-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald-bright-hover);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.pricing-card.is-featured .pricing-price {
  color: var(--navy-ink);
}

.pricing-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.pricing-card.is-featured .pricing-desc {
  color: var(--navy-muted);
}

.pricing-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-secondary);
  flex: 1;
}

.pricing-card.is-featured .pricing-list {
  color: var(--navy-muted);
}

.pricing-card.is-featured .btn-primary {
  background: var(--emerald-bright);
  color: var(--emerald-ink-dark);
  font-weight: 600;
}

.pricing-card.is-featured .btn-primary:hover {
  background: var(--emerald-bright-hover);
}

/* CLOSING CTA BAND & MINIMAL FOOTER */
.closing-cta {
  background:
    radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.28), transparent 54%),
    var(--navy);
  border: 1px solid var(--navy-border);
  color: var(--navy-ink);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 20px 48px rgba(11, 27, 52, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.closing-cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 24ch;
  color: var(--navy-ink);
}

.closing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.btn-light {
  background: var(--emerald-bright);
  color: var(--emerald-ink-dark);
  font-weight: 600;
}

.btn-light:hover {
  background: var(--emerald-bright-hover);
}

.btn-dark-outline {
  background: transparent;
  color: var(--navy-ink);
  border: 1px solid rgba(248, 250, 252, 0.32);
}

.btn-dark-outline:hover {
  background: rgba(248, 250, 252, 0.12);
  border-color: rgba(248, 250, 252, 0.56);
}

.landing-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* SEARCH SCREEN */
#howItWorks,
#sampleReport,
#pricingSection {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.resume-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 22px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
}

.resume-bar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.resume-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.resume-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.search-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.field-label-sm {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  display: block;
  margin-bottom: 6px;
}

.label-split {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.budget-readout {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: 16px;
  line-height: 1.4;
}

.input::placeholder {
  color: var(--ink-muted);
}

.input:hover {
  border-color: var(--ink-muted);
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-row .input {
  flex: 1;
}

.search-results {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow: hidden;
}

.search-result-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  min-height: 44px;
  background: var(--surface);
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  cursor: pointer;
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover {
  background: var(--subtle);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-choice {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--subtle);
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pill-choice:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.pill-choice.active {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.sub-field {
  margin-top: 8px;
  max-width: 240px;
}

.field-help {
  font-size: 13px;
  color: var(--ink-muted);
}

/* OPTIONAL DETAILS */
.optional-details {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.optional-details summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}

.optional-details summary::-webkit-details-marker {
  display: none;
}

.optional-details summary::after {
  content: "▾";
  font-size: 13px;
  color: var(--ink-muted);
}

.optional-details[open] summary::after {
  content: "▴";
}

.optional-body {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-secondary);
  cursor: pointer;
  min-height: 36px;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* PROGRESS & STATUS */
.status-line {
  font-size: 14px;
  color: var(--ink-secondary);
  min-height: 20px;
}

.progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.progress-svg {
  width: 100%;
  height: 4px;
  display: block;
}

.progress-track {
  fill: var(--border);
}

.progress-fill {
  fill: var(--accent);
}

/* RESULTS SCREEN */
.results-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.results-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.results-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.results-header h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.results-meta {
  font-size: 16px;
  color: var(--ink-secondary);
}

/* 4-COLUMN HAIRLINE STAT ROW */
.glance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: var(--r-md);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.glance-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}

.glance-cell:last-child {
  border-right: 0;
}

.glance-lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.glance-val {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* CONSULTING & STATE GOVT SCHEMES ACCORDION */
.consulting-accordion {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 18px;
}

.consulting-accordion summary {
  color: var(--navy);
  font-weight: 600;
  justify-content: space-between;
  width: 100%;
}

.consulting-accordion-body {
  padding-top: 14px;
  gap: 14px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.consulting-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.consulting-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.consulting-stat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.consulting-stat-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.consulting-note-box {
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.consulting-note-line {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.consulting-note-line.is-emphasis {
  font-weight: 500;
  color: var(--navy);
}

.consulting-schemes-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 2px;
}

.scheme-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scheme-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scheme-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.scheme-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.scheme-badge.is-state {
  background: var(--emerald-tint);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.scheme-badge.is-regional {
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.scheme-badge.is-central {
  background: var(--accent-tint);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.scheme-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.scheme-item-meta {
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.scheme-item-benefit {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* IDEAS LIST */
.ideas-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ideas-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ideas-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.ideas-sub {
  font-size: 14px;
  color: var(--ink-muted);
}

.ideas-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.idea-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.idea-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.idea-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.idea-rank {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.idea-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.sector-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--subtle);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.idea-score {
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.idea-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.idea-metric-lbl {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.idea-metric-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.idea-summary {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

.idea-details summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
}

.idea-details summary::-webkit-details-marker {
  display: none;
}

.idea-details summary::after {
  content: "▾";
  font-size: 12px;
}

.idea-details[open] summary::after {
  content: "▴";
}

.idea-details-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.idea-pdf-note {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* PAYWALL BANNER & #3-#15 LIST */
.paywall-card {
  border: 1.5px solid var(--emerald-bright);
  background: var(--navy);
  color: var(--navy-ink);
  box-shadow: 0 20px 44px rgba(11, 27, 52, 0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.paywall-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-ink);
}

.paywall-bullets {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.paywall-card .paywall-bullets {
  color: var(--navy-muted);
}

.paywall-card .btn-gold {
  background: var(--emerald-bright);
  color: var(--emerald-ink-dark);
  font-weight: 600;
}

.paywall-card .btn-gold:hover {
  background: var(--emerald-bright-hover);
}

.locked-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.locked-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.locked-list {
  border-top: 1px solid var(--border);
}

.locked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}

.locked-row:hover {
  background: var(--subtle);
}

.locked-row-main {
  flex: 1;
  min-width: 0;
}

.locked-row-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  white-space: nowrap;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 27, 52, 0.56);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-box {
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-wide {
  max-width: 640px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}

/* AUTH MODAL */
.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  background: var(--subtle);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.tab-btn {
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

#authForm,
#otpForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.email-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
}

.email-hint.is-valid {
  background: var(--emerald-tint);
  color: var(--emerald-hover);
  border: 1px solid var(--emerald-border);
}

.email-hint.is-typo {
  background: var(--gold-tint);
  color: var(--gold-hover);
  border: 1px solid var(--gold-border);
}

.email-hint.is-invalid {
  background: var(--danger-tint);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.email-fix-btn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.email-fix-btn:hover {
  background: var(--subtle);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input {
  padding-right: 68px;
}

.btn-pw-toggle {
  position: absolute;
  right: 6px;
  min-height: 34px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.btn-pw-toggle:hover {
  background: var(--subtle);
  color: var(--ink);
}

.pw-strength-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pw-strength-bars {
  display: grid;
  grid-template-columns: repeat(3, 28px);
  gap: 4px;
}

.pw-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.pw-bar.is-weak {
  background: var(--gold);
}

.pw-bar.is-medium {
  background: var(--accent);
}

.pw-bar.is-strong {
  background: var(--emerald-bright);
}

.error-msg {
  font-size: 14px;
  color: var(--danger);
  min-height: 0;
}

.otp-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.otp-desc {
  font-size: 15px;
  color: var(--ink-secondary);
}

.otp-input {
  letter-spacing: 0.25em;
  text-align: center;
  font-size: 20px;
}

.otp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* CHECKOUT MODAL */
.checkout-summary {
  padding: 14px 16px;
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.checkout-meta-lbl {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.checkout-report-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.checkout-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.checkout-price-lbl {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.checkout-provider-status {
  font-size: 13px;
  color: var(--ink-muted);
}

.checkout-price-val {
  font-size: 22px;
  font-weight: 600;
  color: var(--emerald);
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* SAVED REPORTS MODAL */
.saved-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.saved-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.saved-row-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.saved-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.tier-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--subtle);
  color: var(--ink-secondary);
}

.tier-tag.is-full {
  background: var(--emerald-tint);
  border-color: var(--emerald-border);
  color: var(--emerald-hover);
}

.tier-tag.is-preview {
  background: var(--gold-tint);
  border-color: var(--gold-border);
  color: var(--gold-hover);
}

.saved-meta {
  font-size: 14px;
  color: var(--ink-muted);
}

.saved-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-split {
    padding: 36px 28px;
  }

  .hero-split,
  .pdf-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-cell:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}

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

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .glance-strip,
  .idea-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glance-cell {
    border-bottom: 1px solid var(--border);
  }

  .glance-cell:nth-child(2n) {
    border-right: 0;
  }

  .glance-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  html,
  body {
    overflow-x: clip;
  }

  .wrap,
  .main-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-page {
    gap: 48px;
  }

  .hero-split {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .proof-strip {
    padding: 22px 18px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .user-name {
    display: none;
  }

  .topbar-actions .btn {
    padding: 0 10px;
    font-size: 13px;
    min-height: 36px;
  }

  .card,
  .band-surface,
  .step-card,
  .pricing-card {
    padding: 24px 18px;
  }

  .hero-dossier-frame,
  .pdf-folio-stage {
    padding: 16px;
  }

  .pdf-sheet-back {
    display: none;
  }

  .hero-map-captions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-map-dist {
    white-space: normal;
  }

  .pdf-mini-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    font-size: 12px;
  }

  .field-grid-2,
  .consulting-summary-grid,
  .proof-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-cell {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .proof-cell:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-actions,
  .closing-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-frame-stats,
  .hf-match-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .hf-stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hf-stat:last-child {
    border-bottom: 0;
  }

  .saved-row {
    flex-direction: column;
    align-items: stretch;
  }

  .saved-actions {
    flex-wrap: wrap;
  }

  .idea-top {
    flex-direction: column;
    gap: 8px;
  }
}
