/* ============================================================
   Banking CX Pulse — Skimatik Concepts
   Design system: navy + blue + warm orange (brand-aligned)
   Type: Archivo (display/data) + Libre Franklin (body/UI)
   ============================================================ */

:root {
  /* Brand navy */
  --navy-900: #07142b;
  --navy-800: #0a1c39;
  --navy-700: #102a52;
  --navy-600: #18386a;
  /* Text */
  --ink: #14223f;
  --ink-soft: #36445f;
  --muted: #5d6b82;
  --muted-2: #8492a8;
  /* Brand accents */
  --blue: #2f6fd0;
  --blue-600: #2560bd;
  --blue-300: #84acea;
  --orange: #e6872b;
  --orange-600: #d2741a;
  --gold: #d6a441;
  /* Semantic */
  --green: #1a8a5f;
  --green-bg: #e0f4ea;
  --red: #c4382f;
  --red-bg: #fbe4e2;
  --amber: #b87a16;
  --amber-bg: #fdf0d4;
  --info-bg: #e3effb;
  /* Surfaces */
  --paper: #ffffff;
  --wash: #f3f6fb;
  --wash-2: #eaf0f8;
  --line: #dce4f1;
  --line-soft: #e9eef7;
  --shadow-sm: 0 1px 2px rgba(12, 28, 61, 0.06), 0 2px 8px rgba(12, 28, 61, 0.05);
  --shadow: 0 8px 28px rgba(12, 28, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 20, 45, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --maxw: 1240px;
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --body: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 { margin-bottom: 18px; font-size: clamp(40px, 6.4vw, 70px); line-height: 1.02; }
h2 { margin-bottom: 14px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; }
h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.01em; }
p { margin-top: 0; }

.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; }

.eyebrow, .section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-kicker { color: var(--blue-600); }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 48px);
  color: #fff;
  background: rgba(8, 20, 41, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
}
.brand .brand-text { display: grid; line-height: 1.05; }
.brand .brand-text b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand .brand-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav a.nav-cta {
  margin-left: 6px;
  color: var(--navy-900);
  background: var(--orange);
  font-weight: 700;
}
.nav a.nav-cta:hover { background: #f0973f; color: var(--navy-900); }

.menu-button {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; }

/* ============================================================
   Pages / routing
   ============================================================ */
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(47, 111, 208, 0.34), transparent 60%),
    radial-gradient(900px 520px at 8% 110%, rgba(230, 135, 43, 0.18), transparent 55%),
    linear-gradient(165deg, #0b1f40 0%, #081831 52%, #060f24 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 90%);
}
.hero-pulse { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-pulse path.trace {
  fill: none;
  stroke: url(#pulseGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(132, 172, 234, 0.55));
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: pulseDraw 5.5s ease-in-out infinite;
}
@keyframes pulseDraw {
  0% { stroke-dashoffset: 2600; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -2600; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 48px) clamp(64px, 9vw, 120px);
}
.hero-content { max-width: 620px; }
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(96deg, #84acea, #cfe0fb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy {
  max-width: 540px;
  margin-bottom: 28px;
  color: rgba(229, 237, 250, 0.84);
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust {
  display: flex; align-items: center; gap: 10px;
  color: rgba(229, 237, 250, 0.66);
  font-size: 13.5px; font-weight: 500;
}
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: #36d18f; box-shadow: 0 0 0 4px rgba(54, 209, 143, 0.18); }

/* Live pulse card */
.hero-live {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 40, 76, 0.72), rgba(10, 22, 46, 0.78));
  box-shadow: var(--shadow-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
}
.hero-live-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px;
}
.hero-live-head .live-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #aec4f2;
}
.hero-live-head .live-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #36d18f;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-live-head small { color: rgba(229, 237, 250, 0.5); font-size: 12px; }

.hero-feature {
  display: flex; align-items: flex-end; gap: 14px;
  padding-bottom: 18px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-feature .big {
  font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: 60px; line-height: 0.9; color: #fff;
}
.hero-feature .feat-meta { padding-bottom: 6px; }
.hero-feature .feat-meta b { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.hero-feature .feat-meta span { color: rgba(229, 237, 250, 0.6); font-size: 12.5px; }

.hero-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-metrics article {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.hero-metrics strong {
  display: block;
  font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: 26px; color: #fff; line-height: 1;
}
.hero-metrics span { display: block; margin-top: 5px; color: rgba(229, 237, 250, 0.6); font-size: 12px; font-weight: 500; }

/* ============================================================
   Buttons
   ============================================================ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--navy-900); background: var(--orange); box-shadow: 0 10px 24px rgba(230, 135, 43, 0.28); }
.button.primary:hover { background: #f0973f; box-shadow: 0 14px 30px rgba(230, 135, 43, 0.36); }
.button.secondary { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(47, 111, 208, 0.24); }
.button.secondary:hover { background: var(--blue-600); }
.button.ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.button.ghost:hover { border-color: var(--blue-300); }
.button.ghost.light { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); }
.button.ghost.light:hover { background: rgba(255, 255, 255, 0.12); }
.button.danger { color: #fff; background: var(--red); }
.button.sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.hidden { display: none !important; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 48px); }
.section > .wrap { max-width: var(--maxw); }
.section.muted { background: var(--wash); }
.section.navy { color: #fff; background: linear-gradient(165deg, #0b1f40, #081831); }
.section.tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }

.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading p { color: var(--muted); font-size: 17px; margin: 6px 0 0; }

.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }

/* Intro grid */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.intro-grid p { color: var(--muted); font-size: 17px; }

/* What we measure */
.measure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.measure-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.measure-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.measure-card .mc-icon {
  width: 42px; height: 42px; margin-bottom: 14px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--info-bg); color: var(--blue-600);
}
.measure-card strong { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.measure-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* How it works strip */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.step .step-no {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 9px; color: #fff; background: var(--navy-700); margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Two column / CX score insight */
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.two-column > div p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.insight-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f6f9fe);
  box-shadow: var(--shadow);
}
.insight-panel h3 { color: var(--navy-700); }
.insight-panel > p { color: var(--muted); font-size: 14.5px; }
.insight-panel dl { display: grid; gap: 0; margin: 16px 0 0; }
.insight-panel dl > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.insight-panel dt { font-weight: 700; color: var(--ink); }
.insight-panel dd { margin: 0; color: var(--muted); font-size: 14px; text-align: right; }

/* ============================================================
   Pricing / monetisation tiers
   ============================================================ */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier.feature { border-color: transparent; color: #fff; background: linear-gradient(170deg, #133062, #0b1f40); box-shadow: var(--shadow-lg); position: relative; }
.tier .tier-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.tier.feature .tier-tag { color: #f0a85a; }
.tier .tier-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; color: var(--navy-900); background: var(--orange);
}
.tier h3 { font-size: 21px; margin-bottom: 8px; }
.tier.feature h3 { color: #fff; }
.tier .tier-price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); margin-bottom: 4px; }
.tier.feature .tier-price { color: #fff; }
.tier .tier-price small { display: block; font-family: var(--body); font-weight: 500; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }
.tier.feature .tier-price small { color: rgba(229, 237, 250, 0.6); }
.tier ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.tier li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.tier.feature li { color: rgba(229, 237, 250, 0.86); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231a8a5f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.tier.feature li::before { background: rgba(54, 209, 143, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2336d18f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tier .button { margin-top: auto; width: 100%; }

/* ============================================================
   Disclaimer band + footer
   ============================================================ */
.disclaimer-band {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 48px);
  color: rgba(229, 237, 250, 0.82);
  background: var(--navy-900);
  font-size: 14px;
}
.disclaimer-band p { max-width: 880px; margin: 0; }
.disclaimer-band .db-links { display: flex; flex-wrap: wrap; gap: 16px; }
.disclaimer-band a { color: #f0a85a; font-weight: 700; text-decoration: none; }
.disclaimer-band a:hover { text-decoration: underline; }

.site-footer { background: var(--navy-800); color: rgba(229, 237, 250, 0.78); padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 48px) 30px; }
.footer-top {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img { width: 184px; margin-bottom: 16px; border-radius: 8px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 360px; color: rgba(229, 237, 250, 0.62); }
.footer-disclaimer {
  margin-top: 16px; padding: 14px 16px;
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px; line-height: 1.55; color: rgba(229, 237, 250, 0.7);
  max-width: 480px;
}
.footer-col h4 { font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(229, 237, 250, 0.5); margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; padding: 6px 0; color: rgba(229, 237, 250, 0.78); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--maxw); margin: 22px auto 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: rgba(229, 237, 250, 0.5);
}

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 48px);
  color: #fff;
  background:
    radial-gradient(900px 480px at 82% -20%, rgba(47, 111, 208, 0.3), transparent 60%),
    linear-gradient(165deg, #0b1f40, #081831 70%);
}
.page-hero::before {
  content: ""; position: absolute; 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: 52px 52px;
  mask-image: radial-gradient(120% 120% at 70% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 120% at 70% 0%, #000 30%, transparent 85%);
}
.page-hero > * { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; }
.page-hero .eyebrow { color: #f0a85a; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); }
.page-hero p { max-width: 720px; color: rgba(229, 237, 250, 0.82); font-size: clamp(16px, 1.6vw, 18px); }
.page-hero.slim { padding-block: clamp(48px, 6vw, 72px); }
.page-hero.centered { min-height: calc(100vh - 72px); display: grid; place-items: center; text-align: center; }
.page-hero.centered > * { width: 100%; }
.page-hero.centered h1 { margin-inline: auto; }
.page-hero.centered p { margin-inline: auto; }

.hero-actions.centered-actions { justify-content: center; }

/* ============================================================
   Survey
   ============================================================ */
.survey-shell { max-width: 920px; margin: 0 auto; }
.progress-wrap { margin-bottom: 24px; }
.progress-meta { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.progress-meta span { font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--muted); }
.progress-meta #stepTitle { color: var(--blue-600); }
.progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--wash-2); }
.progress-track span { display: block; width: 25%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width 240ms cubic-bezier(.4,0,.2,1); }

.survey-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.survey-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: -6px 0 22px; padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--amber-bg); color: #7a5310;
  font-size: 13.5px; line-height: 1.5;
}
.survey-note svg { flex-shrink: 0; margin-top: 1px; }

.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 280ms ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 22px; }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field, .login-card label { display: grid; gap: 9px; margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field > span, .login-card span, .filters span {
  font-family: var(--display); font-weight: 600;
  font-size: 13.5px; color: var(--ink); letter-spacing: -0.005em;
}
.field small { min-height: 18px; color: var(--amber); font-size: 12.5px; font-weight: 600; }
.span-2 { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
input, select { min-height: 48px; padding: 11px 13px; }
textarea { padding: 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 111, 208, 0.14); }
::placeholder { color: var(--muted-2); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice-grid.compact { grid-template-columns: repeat(auto-fit, minmax(110px, 160px)); }
.choice-grid.rating { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.choice-grid.multi { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }

.choice {
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 500; font-size: 14px;
  transition: all 140ms ease;
}
.choice:hover { border-color: var(--blue-300); background: var(--wash); }
.choice.selected { color: #fff; background: var(--blue); border-color: var(--blue); font-weight: 600; box-shadow: 0 6px 16px rgba(47, 111, 208, 0.22); }

.nps-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.nps-scale button {
  min-height: 46px; padding: 0;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  transition: all 130ms ease;
}
.nps-scale button:hover { border-color: var(--blue-300); }
.nps-scale button.selected { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(47, 111, 208, 0.28); }
.scale-legend { display: flex; justify-content: space-between; margin-top: 9px; color: var(--muted); font-size: 12.5px; font-weight: 500; }

.conditional { display: none; }
.conditional.show { display: grid; }

.consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 4px; padding: 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--wash);
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.consent input { width: 20px; min-width: 20px; height: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--blue); }

.recaptcha-note { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.recaptcha-note a { color: var(--blue); }
/* reCAPTCHA v3 is invisible; hiding its floating badge is allowed by Google's
   terms only because .recaptcha-note above stays visible near the CTA. */
.grecaptcha-badge { visibility: hidden; }

.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 32px; }
.form-error { min-height: 22px; margin: 14px 0 0; color: var(--red); font-weight: 600; font-size: 14px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; }

/* ============================================================
   Dashboard
   ============================================================ */
.dashboard-section { background: var(--wash); }
.dashboard-section > .wrap { max-width: var(--maxw); }

.filters {
  display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 12px;
  margin-bottom: 22px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.filters label { display: grid; gap: 7px; margin: 0; }
.filter-apply-btn { align-self: end; white-space: nowrap; }

/* Score gauge feature panel */
.score-feature {
  display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; align-items: center;
  margin-bottom: 20px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #fff, #f4f8fe);
  box-shadow: var(--shadow-sm);
}
.gauge-wrap { display: grid; place-items: center; }
.gauge { width: 100%; max-width: 260px; }
.gauge-center { text-align: center; }
.gauge-center .gv { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 52px; line-height: 1; color: var(--ink); }
.gauge-center .gl { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.score-breakdown h3 { margin-bottom: 4px; }
.score-breakdown > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.mini-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }
.mini-metric span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mini-metric strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 26px; color: var(--ink); }
.mini-metric .track { height: 5px; margin-top: 7px; border-radius: 999px; background: var(--wash-2); overflow: hidden; }
.mini-metric .track span { display: block; height: 100%; border-radius: 999px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi {
  padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.kpi span { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.kpi strong { display: block; margin: 10px 0 5px; font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; color: var(--ink); }
.kpi small { color: var(--muted); font-size: 12.5px; }

.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.panel.wide { grid-column: 1 / -1; }
.panel, .dashboard-grid > *, .admin-main, .table-wrap { min-width: 0; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-head h2, .panel h2 { margin-bottom: 0; font-size: 18px; }
.panel-head span { color: var(--muted); font-size: 12px; font-weight: 600; }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; font-size: 13.5px; }
th { color: var(--muted); background: transparent; font-family: var(--body); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
tbody tr:hover { background: var(--wash); }
/* Long free-text columns (flags, comments) used to force the whole table
   wider than the viewport, making every admin table scroll horizontally
   just to see the Action column. Wrapping + capping width fixes that. */
.wrap-cell { white-space: normal; word-break: break-word; }
.comment-cell { max-width: 320px; }
td .num, .ranking-rank { font-variant-numeric: tabular-nums; }
.ranking-rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--wash-2); font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--navy-700); }
.ranking-rank.top { color: #fff; background: var(--orange); }
.n-pill { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 12.5px; color: var(--ink-soft); }

.badge {
  display: inline-flex; align-items: center; min-height: 24px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.badge.good { color: #0b5139; background: var(--green-bg); }
.badge.warn { color: #7a4b00; background: var(--amber-bg); }
.badge.bad { color: #842129; background: var(--red-bg); }
.badge.info { color: var(--blue-600); background: var(--info-bg); }

/* Charts */
.bar-chart { display: grid; gap: 14px; align-content: start; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 0.62fr) minmax(120px, 1fr) auto; align-items: center; gap: 12px; }
.bar-label { color: var(--ink); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.bar-track { height: 12px; overflow: hidden; border-radius: 999px; background: var(--wash-2); }
.bar-fill { width: 0; height: 100%; border-radius: 999px; background: var(--blue); transition: width 600ms cubic-bezier(.4,0,.2,1); }
.bar-fill.good { background: linear-gradient(90deg, #1a8a5f, #34b07c); }
.bar-fill.mid { background: linear-gradient(90deg, #2f6fd0, #5a93e0); }
.bar-fill.low { background: linear-gradient(90deg, #d2741a, #e6872b); }
.bar-fill.bad { background: linear-gradient(90deg, #c4382f, #e0635a); }
.bar-fill.count { background: linear-gradient(90deg, #102a52, #2f6fd0); }
.bar-value { font-family: var(--display); font-variant-numeric: tabular-nums; color: var(--ink); font-size: 13px; font-weight: 700; text-align: right; min-width: 38px; }
.empty { color: var(--muted); font-size: 14px; padding: 20px 0; }

.trend-chart { width: 100%; }
.trend-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Your voice band (respondent encouragement) */
.voice-band { padding: clamp(30px, 5vw, 52px); border-radius: var(--radius-lg); background: linear-gradient(160deg, #0d2247, #0a1a36); color: #fff; text-align: center; }
.voice-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); margin: 6px 0 14px; }
.voice-band .voice-copy { color: rgba(229, 237, 250, 0.8); max-width: 620px; margin: 0 auto 26px; font-size: 16px; line-height: 1.65; }
.voice-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 720px; margin: 0 auto 28px; }
@media (max-width: 520px) { .voice-points { grid-template-columns: 1fr; } }
.voice-point { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); text-align: left; }
.voice-point b { font-family: "Archivo", sans-serif; font-size: 14.5px; color: #f0a85a; }
.voice-point span { font-size: 13px; color: rgba(229, 237, 250, 0.75); line-height: 1.5; }
.voice-band .hero-actions { justify-content: center; }

.panel-footnote { margin: 12px 2px 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.store-rating { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.store-rating b { font-family: "Archivo", sans-serif; font-size: 14.5px; }
.store-rating .stars { color: #e6872b; font-size: 12px; letter-spacing: 1px; }
.store-rating small { color: var(--muted); font-size: 11.5px; }

/* Paid intelligence teasers */
.paid-band { margin-top: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, #0d2247, #0a1a36); color: #fff; }
.paid-band-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.paid-band-head .pb-kicker { color: #f0a85a; }
.paid-band-head h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.paid-band-head p { color: rgba(229, 237, 250, 0.74); font-size: 14.5px; max-width: 540px; margin: 0; }
.paid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.paid-card { position: relative; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; }
.paid-card-preview { margin-top: 14px; color: #f0a85a; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.paid-card-preview:hover { color: #ffb96b; }
.paid-card .lock { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(240, 168, 90, 0.16); color: #f0a85a; margin-bottom: 14px; }
.paid-card h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.paid-card p { color: rgba(229, 237, 250, 0.66); font-size: 13px; line-height: 1.5; margin: 0; }
.paid-card .blur-rows { margin-top: 14px; display: grid; gap: 7px; }
.paid-card .blur-rows i { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); filter: blur(0.5px); }
.paid-card .blur-rows i:nth-child(1) { width: 90%; }
.paid-card .blur-rows i:nth-child(2) { width: 70%; }
.paid-card .blur-rows i:nth-child(3) { width: 82%; }

.dashboard-disclaimer { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; color: var(--muted); background: #fff; font-size: 13.5px; line-height: 1.55; }

/* ============================================================
   Article (methodology / privacy / terms)
   ============================================================ */
.article { max-width: 820px; margin: 0 auto; }
.article > p, .article > ul { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; margin-bottom: 16px; }
.article h2 { margin-top: 36px; font-size: 26px; }
.article strong { color: var(--ink); }
.threshold-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 8px; }
.threshold-grid article { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.threshold-grid strong { display: block; font-family: var(--display); font-size: 18px; color: var(--blue-600); margin-bottom: 5px; }
.threshold-grid span { color: var(--muted); font-size: 14px; }
.callout { margin: 24px 0; padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--wash); }
.callout h3 { color: var(--blue-600); font-size: 16px; }
.callout p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ============================================================
   Admin
   ============================================================ */
.login-card { width: min(440px, 100%); margin: 26px auto 0; display: grid; gap: 6px; text-align: left; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.login-card .button { margin-top: 10px; }
.mfa-qr { display: flex; justify-content: center; margin-bottom: 14px; }
.mfa-qr img { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.mfa-secret { font-size: 14px; color: var(--ink); text-align: center; margin: 0 0 18px; }
.mfa-secret code {
  display: block; margin: 8px auto 0; max-width: 320px;
  padding: 10px 12px; background: var(--wash); border: 1px solid var(--line); border-radius: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 15px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.06em; word-break: break-all; line-height: 1.5;
}
.mfa-secret a { color: var(--blue); font-weight: 600; }
.mfa-copy-btn { display: block; margin: 10px auto 0; }

.admin-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--wash); }
.admin-nav { position: sticky; top: 72px; height: calc(100vh - 72px); display: grid; align-content: start; gap: 6px; padding: 24px 18px; color: #fff; background: var(--navy-800); }
.admin-nav strong { margin-bottom: 10px; padding: 0 10px; color: #f0a85a; font-family: var(--display); font-size: 16px; }
.admin-nav a, .admin-nav button { min-height: 44px; padding: 11px 14px; border: none; border-radius: var(--radius-sm); color: rgba(229, 237, 250, 0.78); background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; text-align: left; text-decoration: none; transition: background 140ms ease, color 140ms ease; }
.admin-nav a.active, .admin-nav a:hover, .admin-nav button:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.admin-nav button { margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; padding-top: 16px; }
/* .compact-nav (the JS-populated sidebar on every admin sub-page except the
   main dashboard, which has its own hardcoded one) used to be display:none
   unconditionally here, only turning on inside the mobile media query below
   -- so on any desktop-width browser, Responses/Institutions/Reports/
   Settings/Verbatim had no visible admin navigation at all. It already has
   real content by the time this renders (syncAdminNavs() runs synchronously
   during init()), so there's no flash-of-empty-content reason to hide it;
   it just inherits .admin-nav's normal display:grid instead. */
.admin-main { padding: clamp(24px, 3.5vw, 40px); }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.admin-head h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); }
.admin-filters { grid-template-columns: repeat(4, minmax(140px, 1fr)); }

.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-button { min-height: 32px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: var(--ink); background: #fff; font-size: 12px; font-weight: 700; transition: all 130ms ease; }
.mini-button:hover { transform: translateY(-1px); }
.mini-button.approve { color: #fff; background: var(--green); border-color: var(--green); }
.mini-button.reject { color: #fff; background: var(--red); border-color: var(--red); }
.mini-button.flag { color: #fff; background: var(--amber); border-color: var(--amber); }

.inline-form { display: grid; grid-template-columns: minmax(220px, 1fr) 220px auto; gap: 12px; margin-bottom: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); align-items: end; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.settings-grid .panel { min-height: 180px; }
.settings-grid .panel p { color: var(--muted); font-size: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Verbatim AI */
.admin-inline-filter { display: flex; flex-direction: column; gap: 6px; }
.admin-inline-filter span { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-inline-filter select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; color: var(--ink); background: #fff; }
.lead-note { color: var(--muted); font-size: 14px; max-width: 760px; margin: 0 0 18px; }
.sentiment-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sentiment-pill.positive { background: var(--green-bg); color: var(--green); }
.sentiment-pill.negative { background: var(--red-bg); color: var(--red); }
.sentiment-pill.neutral { background: var(--wash-2); color: var(--muted); }
.tag-pill { display: inline-block; padding: 3px 9px; border-radius: 7px; background: var(--info-bg); color: var(--blue-600); font-size: 11.5px; font-weight: 600; }
.portal-filters { align-items: flex-end; }
.quote-list { display: grid; gap: 12px; }
.quote-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--wash); }
.quote-card p { margin: 0 0 8px; color: var(--ink); font-size: 14px; line-height: 1.55; font-style: italic; }
.quote-card .quote-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-card .quote-meta small { color: var(--muted); font-size: 12px; }
.login-help { max-width: 360px; margin: 18px auto 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); font-size: 13px; color: var(--muted); text-align: left; }
.login-help p { margin: 0 0 8px; }
.login-help ul { margin: 0 0 10px; padding-left: 18px; }
.login-help li { margin: 4px 0; }
.login-help code { background: var(--wash-2); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.forgot-link { align-self: flex-end; margin-top: -8px; font-size: 12.5px; color: var(--blue-600); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
.remember-me { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-direction: row !important; }
.remember-me input { width: auto; }
.form-note { margin-top: 10px; font-size: 13px; color: var(--green); line-height: 1.5; min-height: 1em; }
.strength-meter { margin-top: -4px; }
.strength-bar { height: 5px; border-radius: 999px; background: var(--wash-2); overflow: hidden; }
.strength-bar span { display: block; height: 100%; width: 0%; border-radius: 999px; background: var(--red); transition: width 200ms ease, background-color 200ms ease; }
.strength-meter small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.subscriber-badge { display: flex; flex-direction: column; gap: 4px; }
.subscriber-badge span { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.subscriber-badge strong { font-size: 16px; color: var(--ink); }
.subscriber-badge small { display: block; font-size: 11.5px; font-weight: 700; color: var(--blue-600); margin-top: 2px; }
.paid-band-login { align-self: center; color: rgba(229, 237, 250, 0.8); font-size: 13px; font-weight: 700; text-decoration: none; }
.paid-band-login:hover { color: #fff; }
.paid-band-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.portal-actions { display: flex; gap: 10px; align-self: center; }
.billing-note { margin-bottom: 14px; font-size: 13.5px; color: var(--amber); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.plan-card.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(47,111,208,0.15); }
.plan-card h3 { font-size: 16px; margin: 0; }
.plan-card .plan-price { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); }
.plan-card .plan-price span { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.plan-card li { margin: 4px 0; }
.plan-card .button { margin-top: auto; }
.link-button { background: none; border: none; padding: 0; color: var(--red); font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.link-button:hover { color: #a52a24; }

/* Nav/footer "Log out" — overrides .link-button's red for the dark topbar
   and footer, where it should read like the other light-colored nav links. */
.nav .admin-logout-link, .footer-col .admin-logout-link {
  display: inline; padding: 12px 14px; margin: 0; border-radius: var(--radius-sm);
  color: rgba(229, 237, 250, 0.78); font-size: 15px; font-weight: 600; text-decoration: none;
}
.nav .admin-logout-link:hover, .footer-col .admin-logout-link:hover { color: #fff; }
.footer-col .admin-logout-link { display: block; padding: 6px 0; font-size: 14px; }

/* ============================================================
   Toast
   ============================================================ */
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 100; max-width: min(380px, calc(100vw - 36px)); padding: 14px 18px; border-radius: var(--radius-sm); color: #fff; background: var(--navy-800); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(16px); transition: opacity 200ms ease, transform 200ms ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-live { max-width: 520px; }
  .intro-grid, .two-column, .dashboard-grid, .score-feature { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; height: auto; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .admin-nav strong { display: none; }
  .admin-nav button { margin-top: 0; border-top: none; padding-top: 11px; }
  .compact-nav { display: grid; }
  .admin-filters, .inline-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .nav { position: absolute; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 18px 20px; background: var(--navy-800); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
  .nav a.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .menu-button { display: block; }
  .brand .brand-text span { display: none; }
  .hero-feature .big { font-size: 48px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .filters, .admin-filters, .inline-form, .field-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nps-scale { grid-template-columns: repeat(6, 1fr); }
  .disclaimer-band, .admin-head, .form-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .bar-row { grid-template-columns: 1fr auto; grid-template-areas: "label value" "track track"; gap: 6px 10px; }
  .bar-label { grid-area: label; }
  .bar-value { grid-area: value; }
  .bar-track { grid-area: track; }
  .paid-band, .score-feature { padding: 20px; }
}
