/* ============================================================
   Agency Sales Tracker — Marketing CSS
   Fully dark, premium SaaS design system.
   Used by every public page: landing, features, pricing, about,
   blog, blog posts, privacy, terms, and the auth pages.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:           #060a14;
  --bg-2:         #0b1220;
  --bg-3:         #0f1729;
  --panel:        rgba(22, 33, 58, 0.55);
  --panel-solid:  #16213a;
  --panel-2:      rgba(28, 42, 72, 0.7);
  --border:       rgba(255, 255, 255, 0.08);
  --border-2:     rgba(255, 255, 255, 0.14);
  --border-strong:rgba(255, 255, 255, 0.22);
  --text:         #f1f5f9;
  --text-2:       #e2e8f0;
  --muted:        #94a3b8;
  --dim:          #64748b;
  --green:        #22c55e;
  --green-2:      #16a34a;
  --green-soft:   #4ade80;
  --green-glow:   rgba(34, 197, 94, 0.32);
  --cyan:         #38bdf8;
  --blue:         #6366f1;
  --purple:       #a855f7;
  --amber:        #f59e0b;
  --red:          #ef4444;
  --pink:         #f472b6;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow:       0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg:    0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-green: 0 14px 40px rgba(34, 197, 94, 0.25);
  --width:        1200px;
  --width-narrow: 880px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(900px 600px at 12% -10%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(56, 189, 248, 0.06), transparent 60%);
  background-attachment: fixed;
}

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

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--green-glow); color: #fff; }

/* ---------- Utility ---------- */
.muted   { color: var(--muted); }
.small   { font-size: 13px; }
.center  { text-align: center; }
.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;
}
.text-green { color: var(--green-soft); }
.text-cyan  { color: var(--cyan); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(var(--width), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #052e16;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

.nav-links, .nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-actions { gap: 10px; }

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.06s, box-shadow 0.15s;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
}

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

.btn.primary {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  border-color: var(--green-2);
  color: #052e16;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.32), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #2ecc71 0%, var(--green) 100%);
  border-color: var(--green);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.42), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}

.btn.ghost:hover { background: rgba(255,255,255,0.04); }

.btn.lg {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15.5px;
  border-radius: 11px;
}

.btn.sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn.full { width: 100%; }

.btn .arrow {
  display: inline-block;
  transition: transform 0.15s;
}

.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--border);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1400px 600px at 30% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(1400px 600px at 30% 0%, #000 0%, transparent 75%);
}

.hero::after {
  top: -200px;
  right: -200px;
  width: 900px;
  height: 900px;
  background:
    radial-gradient(circle at center, rgba(34, 197, 94, 0.28) 0%, transparent 60%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--width), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 580px; }

/* Trust pill above hero */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  color: #d1fae5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.trust-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green), 0 0 24px rgba(34,197,94,0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.15); }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text);
}

.hero h1 .em-green {
  color: var(--green);
  background: linear-gradient(180deg, #4ade80 0%, var(--green) 60%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Trust checklist under CTAs */
.hero-checks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-checks .check {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(34,197,94,0.18);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

/* Social proof avatars + stars */
.social-proof {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatar-group {
  display: inline-flex;
  align-items: center;
}

.avatar-group .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--panel-solid);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-left: -10px;
}

.avatar-group .av:first-child { margin-left: 0; }
.avatar-group .av:nth-child(1) { background: linear-gradient(135deg,#22c55e,#16a34a); }
.avatar-group .av:nth-child(2) { background: linear-gradient(135deg,#38bdf8,#6366f1); }
.avatar-group .av:nth-child(3) { background: linear-gradient(135deg,#a855f7,#ec4899); }
.avatar-group .av:nth-child(4) { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.avatar-group .av:nth-child(5) { background: linear-gradient(135deg,#06b6d4,#22c55e); }

.stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-size: 14px;
}

.social-proof small {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Hero dashboard mockup ---------- */
.dashboard-mock {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background:
    linear-gradient(180deg, rgba(22,33,58,0.92) 0%, rgba(11,18,32,0.92) 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34,197,94,0.04), 0 0 80px rgba(34,197,94,0.08);
  overflow: hidden;
  transform: perspective(1500px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.4s;
}

.dashboard-mock:hover {
  transform: perspective(1500px) rotateY(-1deg) rotateX(0deg);
}

.dm-shell {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 520px;
}

.dm-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  background: rgba(6, 10, 20, 0.5);
}

.dm-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.dm-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  display: inline-grid;
  place-items: center;
  color: #052e16;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.dm-sidebar ul {
  display: grid;
  gap: 2px;
}

.dm-sidebar li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
}

.dm-sidebar li.active {
  background: rgba(34,197,94,0.14);
  color: #d1fae5;
}

.dm-sidebar li .ic {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.dm-main {
  padding: 18px;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto auto;
}

.dm-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dm-title h4 {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
}

.dm-title small {
  color: var(--muted);
  font-size: 12px;
}

.dm-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dm-pill {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.dm-pill.solid { background: rgba(34,197,94,0.18); color: #d1fae5; border-color: rgba(34,197,94,0.4); }

.dm-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dm-kpi {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
}

.dm-kpi .lbl {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.dm-kpi .val {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dm-kpi .val .ic {
  font-size: 14px;
  opacity: 0.4;
}

.dm-kpi .sub {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--dim);
}

.dm-kpi.dials .val   { color: var(--cyan); }
.dm-kpi.convos .val  { color: var(--text); }
.dm-kpi.booked .val  { color: var(--green-soft); }
.dm-kpi.stage4 .val  { color: var(--amber); }

.dm-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 10px;
}

.dm-card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
}

.dm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dm-card-head h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.dm-card-head small {
  color: var(--muted);
  font-size: 10.5px;
}

/* Stage drop-off chart in mockup */
.dm-chart {
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 4px 4px;
  border-bottom: 1px solid var(--border);
}

.dm-bar {
  flex: 1;
  position: relative;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--green) 0%, #16a34a 100%);
  min-height: 12px;
}

.dm-bar:nth-child(2) { background: linear-gradient(180deg, #4ade80 0%, var(--green) 60%, var(--cyan) 100%); }
.dm-bar:nth-child(3) { background: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 100%); }
.dm-bar:nth-child(4) { background: linear-gradient(180deg, var(--blue) 0%, var(--purple) 100%); }
.dm-bar:nth-child(5) { background: linear-gradient(180deg, var(--purple) 0%, #c026d3 100%); }

.dm-chart-labels {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  padding: 0 4px;
}

.dm-chart-labels span {
  flex: 1;
  font-size: 9.5px;
  text-align: center;
  color: var(--muted);
}

/* Leaderboard rows */
.dm-leader {
  display: grid;
  gap: 6px;
}

.dm-leader-head,
.dm-leader-row {
  display: grid;
  grid-template-columns: 14px minmax(0,1.6fr) repeat(4, minmax(0,1fr));
  gap: 6px;
  font-size: 10.5px;
  align-items: center;
}

.dm-leader-head {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 6px 4px;
  border-bottom: 1px solid var(--border);
}

.dm-leader-row {
  padding: 6px 6px;
  border-radius: 6px;
  color: var(--text-2);
  font-weight: 550;
}

.dm-leader-row.you {
  background: rgba(34,197,94,0.08);
}

.dm-leader-row .name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dm-leader-row .av-mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.dm-leader-row .av-mini.a1 { background: linear-gradient(135deg,#22c55e,#16a34a); }
.dm-leader-row .av-mini.a2 { background: linear-gradient(135deg,#38bdf8,#6366f1); }
.dm-leader-row .av-mini.a3 { background: linear-gradient(135deg,#a855f7,#ec4899); }
.dm-leader-row .av-mini.a4 { background: linear-gradient(135deg,#f59e0b,#ef4444); }

.dm-leader-row .you-tag {
  font-size: 9px;
  padding: 1px 5px;
  margin-left: 4px;
  background: var(--green);
  color: #052e16;
  border-radius: 4px;
  font-weight: 800;
}

.dm-leader-row .n { text-align: right; font-variant-numeric: tabular-nums; }

/* Outcomes & objections row */
.dm-outcomes {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.dm-out {
  padding: 8px 8px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
}

.dm-out .icw {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
  opacity: 0.75;
}

.dm-out .lbl {
  font-size: 9.5px;
  color: var(--muted);
}

.dm-out .val {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.dm-out.win {
  background: rgba(34,197,94,0.14);
  border-color: rgba(34,197,94,0.4);
}

.dm-out.win .lbl { color: #bbf7d0; }

/* ---------- Logo strip ---------- */
.logo-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(6,10,20,0.5);
  padding: 36px 16px;
}

.logo-strip-inner {
  width: min(var(--width), 100%);
  margin: 0 auto;
}

.logo-strip-eyebrow {
  text-align: center;
  font-size: 11.5px;
  color: var(--dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px 36px;
  align-items: center;
  justify-items: center;
  opacity: 0.7;
}

.logo-row .logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  filter: grayscale(1) brightness(1.1);
  transition: filter 0.2s, opacity 0.2s;
}

.logo-row .logo:hover {
  filter: grayscale(0) brightness(1.2);
  opacity: 1;
}

.logo-row .logo small {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
}

/* ---------- Sections ---------- */
.section {
  width: min(var(--width), calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.tight { padding: 64px 0; }

.section-head {
  max-width: var(--width-narrow);
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green);
}

.section h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text);
  max-width: 880px;
}

.section h2 .em-green {
  background: linear-gradient(180deg, #4ade80 0%, var(--green) 60%, var(--green-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section .lead,
.section-head p {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
}

.section-head.center .lead,
.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four  { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Value-prop tiles (4-up icon cards) ---------- */
.value-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tile {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22,33,58,0.5) 0%, rgba(11,18,32,0.5) 100%);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile-ic {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 18px;
  font-size: 0;
}

.tile-ic svg { width: 22px; height: 22px; }

.tile.tile-green  .tile-ic { background: rgba(34,197,94,0.16);  color: var(--green-soft); border: 1px solid rgba(34,197,94,0.35); }
.tile.tile-cyan   .tile-ic { background: rgba(56,189,248,0.14); color: var(--cyan);       border: 1px solid rgba(56,189,248,0.35); }
.tile.tile-purple .tile-ic { background: rgba(168,85,247,0.14); color: var(--purple);     border: 1px solid rgba(168,85,247,0.35); }
.tile.tile-amber  .tile-ic { background: rgba(245,158,11,0.14); color: var(--amber);      border: 1px solid rgba(245,158,11,0.35); }

.tile h3 {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.tile p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- Feature cards (longer, 3-up or 2-up) ---------- */
.feature-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22,33,58,0.5) 0%, rgba(11,18,32,0.5) 100%);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(34,197,94,0.32);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-card h3,
.feature-card h2 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-card .feature-ic {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(34,197,94,0.14);
  color: var(--green-soft);
  border: 1px solid rgba(34,197,94,0.3);
}

.feature-card .feature-ic svg { width: 20px; height: 20px; }

/* ---------- Metric cards ---------- */
.metric-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,33,58,0.5), rgba(11,18,32,0.5));
}

.metric-card strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  background: linear-gradient(180deg, var(--green-soft), var(--green-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.metric-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Pricing cards ---------- */
.pricing-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,33,58,0.55), rgba(11,18,32,0.55));
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(34,197,94,0.55);
  box-shadow: var(--shadow-green), var(--shadow);
  background:
    linear-gradient(180deg, rgba(34,197,94,0.06), rgba(22,33,58,0.55) 25%, rgba(11,18,32,0.55));
}

.pricing-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #052e16;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card h2,
.pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.pricing-card .price {
  margin: 18px 0 8px;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
  font-size: 14.5px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.4);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 11px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: var(--width-narrow);
}

.faq-item {
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,33,58,0.45), rgba(11,18,32,0.45));
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Article cards (blog index) ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,33,58,0.5), rgba(11,18,32,0.5));
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  border-color: rgba(34,197,94,0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}

.article-card .kicker {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-soft);
  font-weight: 700;
}

.article-card h3,
.article-card h2 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
}

.article-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.article-card .read-more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-soft);
}

/* ---------- Long-form legal / blog post body ---------- */
.legal-copy,
.post-body {
  max-width: var(--width-narrow);
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}

.legal-copy h1,
.post-body h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.legal-copy h2,
.post-body h2 {
  margin: 44px 0 14px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--text);
}

.legal-copy h3,
.post-body h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  font-weight: 750;
  color: var(--text);
}

.legal-copy p,
.post-body p {
  margin: 0 0 16px;
  color: var(--text-2);
}

.legal-copy ul,
.post-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}

.legal-copy li,
.post-body li {
  margin-bottom: 8px;
  color: var(--text-2);
}

.legal-copy a,
.post-body a {
  color: var(--green-soft);
  text-decoration: underline;
  text-decoration-color: rgba(74,222,128,0.4);
  text-underline-offset: 3px;
}

.legal-copy a:hover,
.post-body a:hover {
  text-decoration-color: var(--green-soft);
}

.post-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13.5px;
}

.post-meta .dot { color: var(--dim); }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.post-back:hover { color: var(--green-soft); text-decoration: none; }

/* ---------- Auth shell + card ---------- */
.auth-shell {
  min-height: calc(100vh - 73px);
  position: relative;
  display: grid;
  place-items: center;
  padding: 56px 16px;
  overflow: hidden;
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 600px at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 600px at 50% 30%, #000, transparent 75%);
  pointer-events: none;
}

.auth-shell::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34,197,94,0.18) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 36px 32px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22,33,58,0.92) 0%, rgba(11,18,32,0.92) 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34,197,94,0.06);
}

.auth-card .auth-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  color: #052e16;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
}

.auth-card h1 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.auth-card > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
}

.auth-card .form-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.auth-card .form-note a {
  color: var(--green-soft);
  font-weight: 650;
}

.auth-card .form-note a:hover { text-decoration: underline; }

.field { margin-bottom: 14px; }

label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 650;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: rgba(6, 10, 20, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

input::placeholder, textarea::placeholder { color: var(--dim); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  background: rgba(6, 10, 20, 0.85);
}

textarea { min-height: 100px; resize: vertical; }

.form-note,
.status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.status.good { color: var(--green-soft); }
.status.bad  { color: #fda4af; }

.notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 13.5px;
}

.notice strong { color: var(--text); }
.notice.good { border-color: rgba(34,197,94,0.42); background: rgba(34,197,94,0.07); color: #d1fae5; }
.notice.warn { border-color: rgba(245,158,11,0.45); background: rgba(245,158,11,0.07); color: #fde68a; }
.notice.bad  { border-color: rgba(239,68,68,0.45);  background: rgba(239,68,68,0.07);  color: #fecaca; }

/* ---------- Trust band CTA ---------- */
.cta-band {
  position: relative;
  margin: 36px 16px;
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(700px 240px at 50% 0%, rgba(34,197,94,0.20), transparent 60%),
    linear-gradient(180deg, rgba(22,33,58,0.7), rgba(11,18,32,0.7));
  box-shadow: var(--shadow-green);
  overflow: hidden;
  width: min(var(--width), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 26px;
}

.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #060a14;
  border-top: 1px solid var(--border);
  padding: 64px 16px 36px;
  color: var(--muted);
}

.footer-inner {
  width: min(var(--width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 17px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-brand p a {
  color: var(--green-soft);
}

.footer-brand p a:hover { text-decoration: underline; }

.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col ul { display: grid; gap: 9px; }

.footer-col a {
  font-size: 14px;
  color: var(--muted);
}

.footer-col a:hover { color: var(--green-soft); }

.footer-bottom {
  width: min(var(--width), 100%);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .dashboard-mock {
    transform: none;
    max-width: 720px;
    margin: 0 auto;
  }
  .value-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .dm-shell { grid-template-columns: 1fr; }
  .dm-sidebar { display: none; }
  .dm-outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 40px; }
  .section h2 { font-size: 30px; }
  .grid.two, .grid.three, .grid.four,
  .value-tiles { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-actions .btn:first-child { display: none; }
  .dm-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dm-row { grid-template-columns: 1fr; }
  .dm-outcomes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-card .price { font-size: 38px; }
  .cta-band { padding: 40px 24px; }
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Multi-step signup funnel (added per Q20 strategy)
   ============================================================ */
.signup-funnel {
  width: min(560px, 100%);
  max-width: 560px;
}

.signup-progress {
  margin-bottom: 28px;
}

.signup-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.signup-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-soft), var(--green));
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.6);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-progress-step {
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.signup-step h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.15;
}

.signup-step > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.signup-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.signup-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.08s, box-shadow 0.15s;
}

.signup-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.signup-option:active { transform: translateY(0); }

.signup-option.selected {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.10);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18), 0 8px 20px rgba(34, 197, 94, 0.18);
}

.signup-option-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 22px;
  transition: background 0.15s;
}

.signup-option.selected .signup-option-icon {
  background: rgba(34, 197, 94, 0.20);
}

.signup-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.signup-option-body strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.signup-option-body span {
  font-size: 13.5px;
  color: var(--muted);
}

.signup-back {
  margin-top: 24px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
}

.signup-back:hover { color: var(--green-soft); }

.signup-step .hidden,
.hidden { display: none !important; }

.recommended-plan {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1.5px solid rgba(34, 197, 94, 0.45);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 33, 58, 0.4) 100%);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.05), 0 12px 32px rgba(34, 197, 94, 0.12);
}

.rec-eyebrow {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 4px;
}

.recommended-plan strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

.rec-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-soft);
  text-align: right;
  white-space: nowrap;
}

.rec-reason {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .signup-option { padding: 14px; gap: 12px; }
  .signup-option-icon { width: 38px; height: 38px; font-size: 18px; }
  .signup-step h1 { font-size: 24px; }
}
