/* ---------- reset + base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #080d1a;
  --navy-2: #0d1526;
  --navy-3: #121d32;
  --teal: #00d9be;
  --teal-soft: rgba(0, 217, 190, 0.12);
  --teal-border: rgba(0, 217, 190, 0.3);
  --color-gold: #f0a500;
  --gold-soft: rgba(240, 165, 0, 0.12);
  --gold-border: rgba(240, 165, 0, 0.35);
  --white: #ffffff;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --red: #ef4444;
  --amber: #f59e0b;
  --green: #34d399;
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, 0.18);
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --shadow-card: 0 1px 2px rgba(8, 13, 26, 0.04), 0 8px 24px rgba(8, 13, 26, 0.06);
  --border-light: #e2e8f0;
  --bg-hover: #f8fafc;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 56px;
}

a { color: inherit; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ============================================================
   FIXED NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 56px;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s, border-color 0.25s;
}

.nav.nav-scrolled {
  background: rgba(8, 13, 26, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-svg { display: block; flex-shrink: 0; }

.nav-wordmark {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1;
}

.nav-wm-c    { color: #00d9be; }
.nav-wm-rest { color: #ffffff; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-tagline {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-top: 2px;
  line-height: 1;
  white-space: nowrap;
}

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-link:hover { color: #f1f5f9; }

/* Right CTA */
.nav-cta {
  background: #00d9be;
  color: #080d1a;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.15s;
}

.nav-cta:hover { filter: brightness(1.1); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-ham-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #94a3b8;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open .nav-ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .nav-ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .nav-ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 199;
  background: #0d1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-direction: column;
  padding: 8px 0 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}

.nav-mobile-link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.04); }

.nav-mobile-cta {
  margin: 12px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00d9be;
  color: #080d1a;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px 24px;
  text-decoration: none;
  transition: filter 0.15s;
}

.nav-mobile-cta:hover { filter: brightness(1.1); }

/* Scroll offset for sections beneath fixed nav */
#how-it-works, #recruiters, #why-it-matters {
  scroll-margin-top: 72px;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 217, 190, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0, 217, 190, 0.05), transparent);
  color: var(--white);
  padding: 48px 24px 96px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 0 0;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.headline {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}

.headline .accent {
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}

.subhead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.score-form {
  max-width: 560px;
  margin: 0 auto;
}

.input-row {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.input-row:focus-within {
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.08);
}

#linkedin-url {
  flex: 1;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  padding: 14px 16px;
  min-width: 0;
}

#linkedin-url::placeholder {
  color: var(--text-muted);
}

#submit-btn {
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s, background 0.2s;
  white-space: nowrap;
}

#submit-btn:hover:not(:disabled) {
  background: #33e8d0;
}

#submit-btn:active:not(:disabled) {
  transform: scale(0.98);
}

#submit-btn:disabled {
  cursor: wait;
  opacity: 0.85;
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(15, 23, 42, 0.25);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

#submit-btn.loading .btn-text { display: none; }
#submit-btn.loading .btn-spinner { display: inline-block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.trust {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Trust line context feature tooltip */
.trust-context-feature {
  color: var(--teal);
  cursor: default;
  position: relative;
  display: inline-block;
}

.trust-context-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  width: 230px;
  white-space: normal;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 100;
  pointer-events: none;
}

.trust-context-feature:hover .trust-context-tooltip { display: block; }

.realtime-opt-in {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

.realtime-link {
  color: var(--teal);
  text-decoration: underline;
}

.realtime-link:hover { opacity: 0.8; }

.rescore-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--teal);
  font-style: italic;
}

.score-compare {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}
.score-compare--up   { background: #dcfce7; color: #166534; }
.score-compare--down { background: #fef9c3; color: #854d0e; }
.score-compare--same { background: #f1f5f9; color: #64748b; font-weight: 400; }

/* ── Calibration note ── */
.calibration-note {
  font-size: 13px; color: #1e40af;
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 8px; padding: 10px 14px;
  margin-bottom: 10px; line-height: 1.5;
}
.calibration-note a { color: #1d4ed8; font-weight: 600; text-decoration: underline; }
.calibration-modal-body { font-size: 14px; color: #475569; margin: 0 0 12px; line-height: 1.55; }
.calibration-history-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin: 14px 0 8px; }
.calibration-history-list { margin: 0; padding-left: 18px; font-size: 13px; color: #475569; line-height: 1.55; }
.calibration-history-list li { margin-bottom: 6px; }

/* ── Rescore banner ── */
.rescore-banner {
  display: flex; flex-direction: column; gap: 4px;
  background: #f0fdfa; border: 1px solid #99f6e4;
  border-radius: 10px; padding: 12px 16px;
  margin-bottom: 16px; font-size: 14px; color: #134e4a;
}
.banner-heading { font-weight: 600; }
.banner-body    { font-size: 13px; color: #0f766e; }
.banner-dot     { display: inline-block; background: #ccfbf1; border-radius: 4px; padding: 1px 6px; font-weight: 600; font-size: 12px; margin: 0 1px; cursor: default; }

/* ── Score sparkline ── */
.score-sparkline {
  margin-top: 14px; text-align: center;
}
.sparkline-label  { font-size: 11px; color: #94a3b8; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.sparkline-svg    { display: block; margin: 0 auto; overflow: visible; }
.sparkline-dates  { display: flex; justify-content: space-between; font-size: 11px; color: #94a3b8; margin-top: 4px; padding: 0 10px; }
.sparkline-flat   { font-size: 12px; color: #64748b; margin-top: 8px; }
.sparkline-flat a { color: var(--teal); text-decoration: underline; }

/* ── What changed card ── */
.what-changed-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 12px; padding: 20px 24px; margin: 20px 0;
}
.wc-header        { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.wc-title         { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.wc-advice-badge  { font-size: 11px; background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 20px; font-weight: 600; }
.wc-list          { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wc-item          { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.wc-icon          { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.wc-why           { font-size: 12px; color: #64748b; margin-top: 3px; }
.wc-positive      { color: #166534; }
.wc-negative      { color: #92400e; }
.wc-neutral       { color: #475569; }
.wc-footer        { border-top: 1px solid var(--border-light); padding-top: 12px; }
.wc-assessment    { font-size: 13px; color: #475569; margin: 0 0 6px; }
.wc-next          { font-size: 13px; color: var(--text-primary); margin: 0; }

/* ── Rescore feedback ── */
.rescore-feedback {
  background: #f8fafc; border: 1px solid var(--border-light);
  border-radius: 10px; padding: 16px 20px; margin: 0 0 20px;
}
.rf-question  { font-size: 13px; font-weight: 600; color: var(--text-primary); margin: 0 0 10px; }
.rf-buttons   { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.rf-btn       { font-size: 12px; padding: 6px 12px; border-radius: 20px; border: 1px solid #cbd5e1; background: #fff; color: #475569; cursor: pointer; transition: all .15s; }
.rf-btn:hover         { border-color: var(--teal); color: var(--teal); }
.rf-btn--active       { border-color: var(--teal); background: #f0fdfa; color: var(--teal); font-weight: 600; }
.rf-follow-label      { font-size: 12px; color: #475569; margin: 0 0 6px; }
.rf-detail            { width: 100%; font-size: 13px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 10px; resize: vertical; font-family: inherit; box-sizing: border-box; }
.rf-submit            { margin-top: 8px; font-size: 12px; padding: 6px 14px; border-radius: 6px; border: none; background: var(--teal); color: #fff; cursor: pointer; }
.rf-thanks            { font-size: 13px; color: #0f766e; margin: 6px 0 0; }

/* ── Power-user feedback button ── */

/* Data freshness indicator */
.data-freshness {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 4px;
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.freshness-link {
  color: #00d9be;
  text-decoration: underline;
  font-style: normal;
}

.freshness-link:hover { opacity: 0.8; }

/* Freshness tooltip (?) icon */
.freshness-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.freshness-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #64748b;
  color: #64748b;
  font-size: 9px;
  font-style: normal;
  cursor: default;
  line-height: 1;
  user-select: none;
}

.freshness-tooltip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.5;
  font-style: normal;
  padding: 8px 10px;
  border-radius: 6px;
  width: 240px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  white-space: normal;
  z-index: 100;
}

.freshness-tooltip-wrap:hover .freshness-tooltip-text { display: block; }

/* Stale data banner */
.stale-data-banner {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #fbbf24;
  line-height: 1.5;
}

.stale-data-banner a {
  color: #f59e0b;
  text-decoration: underline;
  font-weight: 600;
}

.stale-data-banner[hidden] { display: none !important; }

/* Refresh loading message (inside results, near stale banner) */
.refresh-loading-msg {
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  transition: opacity 300ms ease;
  padding: 12px 0;
  margin-bottom: 8px;
}

/* Refresh success toast */
.refresh-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0d1424;
  border: 1px solid rgba(0, 217, 190, 0.3);
  color: #00d9be;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 10px;
  z-index: 2000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: opacity 400ms ease;
}

.refresh-toast[hidden] { display: none !important; }

.refresh-toast--warning {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

/* Refresh modal body text */
.refresh-modal-body {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 4px;
}
.refresh-confirm-title { margin-bottom: 12px; }

/* Refresh loading state */
.refresh-panel { text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }

.refresh-spinner {
  width: 52px; height: 52px;
  border: 4px solid #e2e8f0;
  border-top-color: #0d9488;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  margin: 4px auto 20px;
}

.refresh-loading-title {
  font-size: 18px; font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.refresh-loading-msg-modal {
  font-size: 14px; color: #0f766e;
  min-height: 22px; margin: 0 0 8px;
  transition: opacity 0.3s;
}

.refresh-loading-sub {
  font-size: 12px; color: #94a3b8;
  margin: 0 0 20px; line-height: 1.5;
}

.refresh-cancel-link {
  background: none; border: none;
  font-size: 13px; color: #94a3b8;
  cursor: pointer; text-decoration: underline;
  padding: 0;
}
.refresh-cancel-link:hover { color: #475569; }

/* Initial scoring loading message */
.score-loading-msg {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  transition: opacity 300ms ease;
  width: 100%;
}

/* loading status — compare flow only */
.loading-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  min-height: 22px;
  text-align: center;
  width: 100%;
}

.loading-status-text {
  opacity: 1;
  transition: opacity 300ms ease;
}

.loading-status-text.fade-out {
  opacity: 0;
}

.reopt-loading-msg {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-align: center;
  transition: opacity 300ms ease;
  width: 100%;
}

.reopt-error {
  margin-top: 10px;
  font-size: 13px;
  color: #f87171;
  text-align: center;
  line-height: 1.5;
  padding: 8px 12px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
}
.reopt-error[hidden] { display: none !important; }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(0, 217, 190, 0.6);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(0, 217, 190, 0.55);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(0, 217, 190, 0);
  }
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
  font-size: 14px;
  text-align: left;
}
.form-error a {
  color: #00d9be;
  text-decoration: underline;
}

/* ---------- RESULTS ---------- */
.results {
  background: var(--bg-light);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.results-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.results-header {
  margin-bottom: 48px;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.score-circles-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.score-circles-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.score-circle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-circles-vs {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 74px;
}

.score-circle-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.score-circle-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  max-width: 140px;
  line-height: 1.35;
}

.score-gap-insight {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: var(--bg-hover);
  border-radius: 8px;
  padding: 10px 14px;
  max-width: 380px;
  text-align: center;
  margin: 0;
  border: 1px solid var(--border-light);
}

.score-circle--human {
  width: 160px;
  height: 160px;
}

.score-circle--human .score-number {
  font-size: 52px;
}

.score-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 5px solid var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.5s, box-shadow 0.5s;
  box-shadow: var(--shadow-card);
}

.score-circle.score-low  { border-color: var(--red); }
.score-circle.score-mid  { border-color: var(--amber); }
.score-circle.score-high { border-color: var(--teal); }
.score-circle.score-gold {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card), 0 0 24px rgba(240, 165, 0, 0.25);
}

.score-number {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.4s, text-shadow 0.4s;
}

.score-number.c-red   { color: var(--red); }
.score-number.c-amber { color: var(--amber); }
.score-number.c-teal  { color: var(--teal); }
.score-number.c-gold  { color: var(--color-gold); text-shadow: 0 0 20px rgba(240, 165, 0, 0.4); }

.score-out-of {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.score-meta {
  flex: 1;
  min-width: 240px;
}

.score-visibility {
  color: #00b8a2;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px 0;
  letter-spacing: -0.005em;
}

.score-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--teal-soft);
  color: var(--navy);
  border: 1px solid var(--teal-border);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.score-label.gold {
  background: var(--gold-soft);
  color: #92400e;
  border-color: var(--gold-border);
}

.score-meta h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.score-meta p {
  color: var(--text-muted);
  font-size: 15px;
}

.score-impact {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f1f5f9;
  border-left: 3px solid var(--text-muted);
}

.score-impact.impact-low  { border-left-color: var(--red);        background: rgba(239, 68,  68,  0.08); color: #b91c1c; }
.score-impact.impact-mid  { border-left-color: var(--amber);      background: rgba(245, 158, 11,  0.10); color: #92400e; }
.score-impact.impact-high { border-left-color: var(--teal);       background: rgba(0,   217, 190, 0.08); color: #065f52; }
.score-impact.impact-gold { border-left-color: var(--color-gold); background: rgba(240, 165, 0,   0.10); color: #92400e; }

/* ── Path to Gold ─────────────────────────────────────────── */
.path-to-gold {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.ptg-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.ptg-title {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: -0.01em;
}
.ptg-sub {
  font-size: 12px;
  color: #b45309;
}
.ptg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ptg-row {
  font-size: 12px;
}
.ptg-row-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ptg-dim {
  font-weight: 600;
  color: #1e293b;
  flex: 1;
  min-width: 0;
}
.ptg-score {
  color: #64748b;
  white-space: nowrap;
}
.ptg-gain {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.ptg-note {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}
.ptg-footer {
  margin: 0;
  font-size: 11px;
  color: #92400e;
  opacity: 0.8;
}

/* ── Score percentile distribution ───────────────────────── */
.score-percentile {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.sp-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px 0;
}
.sp-bands {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-band {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.sp-range {
  color: #94a3b8;
  font-size: 10px;
  white-space: nowrap;
}
.sp-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-bar {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  min-width: 4px;
  transition: width 0.4s ease;
}
.sp-band--active .sp-bar {
  background: var(--teal);
}
.sp-band--active .sp-range,
.sp-band--active .sp-label {
  color: #0d9488;
  font-weight: 600;
}
.sp-you {
  font-size: 10px;
  color: #0d9488;
  font-weight: 700;
  white-space: nowrap;
}
.sp-label {
  color: #94a3b8;
  font-size: 10px;
  white-space: nowrap;
}
.sp-percentile {
  margin: 10px 0 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #0d9488;
  text-align: center;
}

/* ── Gold celebration banner ──────────────────────────────── */
.gold-celebrate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240,165,0,0.12) 0%, rgba(251,191,36,0.08) 100%);
  border: 1.5px solid rgba(240,165,0,0.35);
  animation: goldPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes goldPop {
  from { opacity: 0; transform: scale(0.94) translateY(4px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);   }
}
.gc-emoji {
  font-size: 28px;
  flex-shrink: 0;
}
.gc-content {
  font-size: 14px;
  color: #1e293b;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.gc-content strong {
  color: #92400e;
}
.gc-share {
  background: var(--color-gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.gc-share:hover { opacity: 0.88; }

/* ══════════════════════════════════════════════════════
   GUIDED INTERVIEW FEATURE
   ══════════════════════════════════════════════════════ */

/* ── Entry card ──────────────────────────────────────── */
.interview-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,217,190,0.10) 0%, rgba(13,148,136,0.16) 100%);
  border: 1.5px solid rgba(0,217,190,0.30);
}
.intv-card-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
.intv-card-body { flex: 1; min-width: 0; }
.intv-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #0d3030;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}
.intv-card-desc {
  font-size: 14px;
  color: #1e3a3a;
  line-height: 1.55;
  margin: 0 0 16px 0;
}
.intv-start-btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
  letter-spacing: -0.01em;
}
.intv-start-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.intv-card-sub {
  margin: 10px 0 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* Landing page interview hint */
.trust-interview-hint {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}
.trust-interview-hint strong { color: #0d9488; }

/* ── Modal overlay ───────────────────────────────────── */
.interview-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: stretch;
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(4px);
}
.intv-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #080d1a;
  height: 100dvh;
  overflow: hidden;
}

/* ── Header ──────────────────────────────────────────── */
.intv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.intv-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
}
.intv-progress-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.intv-progress-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.intv-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--teal);
  transition: width 0.5s ease;
  width: 0%;
}
.intv-progress-text {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}
.intv-close-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.intv-close-btn:hover { color: #e2e8f0; background: rgba(255,255,255,0.06); }

/* ── Chat area ───────────────────────────────────────── */
.intv-chat {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.10) transparent;
}

.intv-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.intv-msg--ai {
  align-self: flex-start;
  background: rgba(0,217,190,0.10);
  border: 1px solid rgba(0,217,190,0.20);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}
.intv-msg--user {
  align-self: flex-end;
  background: #fff;
  color: #1e293b;
  border-bottom-right-radius: 4px;
}
.intv-msg--ack {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 2px 4px;
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
  max-width: 90%;
}

/* Typing indicator */
.intv-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
}
.intv-typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,217,190,0.5);
  animation: intv-bounce 1.2s ease-in-out infinite;
}
.intv-typing span:nth-child(2) { animation-delay: 0.2s; }
.intv-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes intv-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40%            { transform: translateY(-6px); opacity: 1; }
}

/* ── Input area ──────────────────────────────────────── */
.intv-input-area {
  flex-shrink: 0;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0d1526;
}
.intv-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 15px;
  font-family: inherit;
  padding: 12px 14px;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.5;
  box-sizing: border-box;
}
.intv-textarea:focus { border-color: rgba(0,217,190,0.50); }
.intv-textarea::placeholder { color: #475569; }
.intv-textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.intv-input-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.intv-skip-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.intv-skip-btn:hover { color: #94a3b8; }
.intv-skip-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.intv-send-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.intv-send-btn:hover { opacity: 0.88; }
.intv-send-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Completion area ─────────────────────────────────── */
.intv-complete {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.10) transparent;
}

/* Synthesis card */
.intv-synthesis-card {
  padding: 20px;
  border-radius: 12px;
  background: rgba(0,217,190,0.08);
  border: 1px solid rgba(0,217,190,0.22);
}
.intv-synthesis-header {
  font-size: 14px;
  font-weight: 700;
  color: #5eead4;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.intv-synthesis-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}

/* Bullets */
.intv-bullets-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.intv-bullets-header {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.intv-bullet-item {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.intv-bullet-said {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  font-style: italic;
}
.intv-bullet-said strong { color: #94a3b8; font-style: normal; }
.intv-bullet-label {
  font-size: 11px;
  font-weight: 600;
  color: #5eead4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.intv-bullet-text {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
}
.intv-bullet-copy {
  align-self: flex-start;
  background: rgba(0,217,190,0.12);
  color: #5eead4;
  border: 1px solid rgba(0,217,190,0.25);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.intv-bullet-copy:hover { background: rgba(0,217,190,0.22); }

/* Apply row */
.intv-apply-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.intv-apply-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}
.intv-apply-btn:hover { opacity: 0.88; }
.intv-apply-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.intv-apply-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Score compare */
.intv-score-compare {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.intv-score-compare--up { border-color: rgba(0,217,190,0.35); background: rgba(0,217,190,0.08); }
.intv-compare-before { color: #94a3b8; text-decoration: line-through; }
.intv-compare-after { color: #5eead4; font-weight: 700; }
.intv-compare-delta { color: #34d399; font-weight: 700; }

/* Score went down — explain rather than alarm */
.intv-score-compare--down {
  border-color: rgba(251,191,36,0.3);
  background: rgba(251,191,36,0.06);
}
.intv-compare-down-msg {
  font-weight: 600;
  color: #fbbf24;
  margin: 0 0 6px;
}
.intv-compare-down-explain {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
}

/* "Done — close to see results" state */
.intv-apply-btn--done {
  background: #1e293b;
  border: 1px solid #34d399;
  color: #34d399;
}
.intv-apply-btn--done:hover { opacity: 1; background: rgba(52,211,153,0.12); }

/* Email followup */
.intv-followup {
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.intv-followup-title { font-size: 14px; font-weight: 700; color: #e2e8f0; margin: 0 0 4px 0; }
.intv-followup-sub   { font-size: 13px; color: #64748b; margin: 0 0 12px 0; line-height: 1.4; }
.intv-followup-form  { display: flex; gap: 8px; flex-wrap: wrap; }
.intv-email-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.intv-email-input:focus { border-color: rgba(0,217,190,0.4); }
.intv-email-input::placeholder { color: #475569; }
.intv-followup-btn {
  background: rgba(0,217,190,0.15);
  color: #5eead4;
  border: 1px solid rgba(0,217,190,0.30);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.intv-followup-btn:hover { background: rgba(0,217,190,0.25); }
.intv-followup-thanks { font-size: 13px; color: #5eead4; margin: 8px 0 0 0; }

/* Mobile adjustments */
@media (max-width: 600px) {
  .interview-card { flex-direction: column; gap: 12px; padding: 18px; }
  .intv-panel { max-width: 100%; }
  .intv-msg { max-width: 92%; font-size: 14px; }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.results-grid .fixes-card,
.results-grid .dimensions-card,
.results-grid .roles-card,
.results-grid .companies-card,
.results-grid .outreach-card,
.results-grid .share-card-prominent,
.results-grid .compare-card,
.results-grid #summary-card,
.results-grid .optimized-card:last-child {
  grid-column: 1 / -1;
}

/* ---------- Companies card ---------- */

.company-tile {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.company-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.company-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  text-transform: uppercase;
}

.company-fit {
  font-size: 13px;
  color: #115e59;
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.company-fit strong {
  font-weight: 600;
  color: #0f766e;
}

.company-link {
  margin-top: auto;
  font-size: 13px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
}

.company-link:hover { text-decoration: underline; }

.companies-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.companies-tier-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.tier-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 0 2px;
  margin-top: 8px;
}

.tier-header--aligned  { color: #0f766e; }
.tier-header--realistic { color: #1d4ed8; }
.tier-header--stretch  { color: #b45309; }

.company-tile--stretch .company-fit { display: none; }

.company-gap {
  font-size: 13px;
  color: #92400e;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.company-gap strong {
  font-weight: 600;
  color: #b45309;
}

/* ---------- Outreach card ---------- */
.outreach-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.outreach-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  background: var(--bg-light);
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.contact-meta {
  min-width: 0;
}

.contact-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.contact-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.outreach-message {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  font-size: 13.5px;
  color: #263354;
  line-height: 1.55;
  margin-bottom: 12px;
  white-space: pre-wrap;
}

.outreach-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.outreach-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s;
}

.outreach-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.outreach-btn.copied {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
}

.outreach-btn.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.outreach-btn.btn-primary:hover {
  background: var(--navy-3);
}

.outreach-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ---------- Profile type pill (above score) ---------- */
.profile-type-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ptype-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-type-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid rgba(0, 217, 190, 0.4);
}

.ptype-not-you {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 1px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.ptype-not-you:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

#ptype-career-switch {
  color: #00d9be;
  border-bottom-color: rgba(0, 217, 190, 0.4);
}
#ptype-career-switch:hover {
  color: #00d9be;
  border-bottom-color: #00d9be;
  opacity: 0.85;
}

.profile-type-pill--updated {
  background: #00d9be !important;
  color: #080d1a !important;
  border-color: #00d9be !important;
}

/* ── Career switch panel ── */
.career-switch-panel {
  background: #0d1424;
  border: 1px solid rgba(0, 217, 190, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.career-switch-panel[hidden] { display: none !important; }
.career-switch-q {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}
.cs-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s;
}
.cs-option:hover { color: #e2e8f0; }
.cs-option input[type="radio"] {
  accent-color: #00d9be;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.career-switch-status {
  font-size: 12px;
  color: #00d9be;
  margin: 0;
  font-style: italic;
}

/* ---------- Role match section ---------- */
.matched-roles,
.invisible-roles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.role-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.match-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

.match-strong { background: rgba(52, 211, 153, 0.15); color: #047857; }
.match-partial { background: rgba(251, 191, 36, 0.15); color: #b45309; }
.match-weak { background: rgba(248, 113, 113, 0.12); color: #b91c1c; }

.role-text { flex: 1; min-width: 0; }

.role-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.4;
}

.role-reason {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* Dream role button */
.dream-role-btn {
  display: inline-block;
  flex-shrink: 0;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.07);
  color: #b45309;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.dream-role-btn:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.7);
  color: #92400e;
}

.invisible-divider {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #f1f5f9;
}

.invisible-divider h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.invisible-roles .role-item {
  border-left: 3px solid rgba(248, 113, 113, 0.4);
  padding-left: 14px;
}

.invisible-role-gap {
  font-size: 13px;
  color: #991b1b;
  opacity: 0.85;
  line-height: 1.5;
}

.card {
  background: var(--bg-card);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* dimensions */
.dimensions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dimension {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
}

.dimension:nth-last-child(-n+2) {
  border-bottom: none;
  padding-bottom: 0;
}

.dim-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.dim-name {
  font-weight: 600;
  font-size: 14px;
}

.dim-score {
  font-weight: 700;
  font-size: 14px;
  color: #94a3b8;
}
.dim-score.lo { color: var(--red); }
.dim-score.mi { color: var(--amber); }
.dim-score.md { color: #60a5fa; }
.dim-score.hi { color: var(--teal); }

.dim-bar {
  height: 6px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
  margin-bottom: 6px;
}

.dim-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dim-bar-fill.lo { background: var(--red); }
.dim-bar-fill.mi { background: var(--amber); }
.dim-bar-fill.md { background: #60a5fa; }
.dim-bar-fill.hi { background: var(--teal); }

.dim-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.dim-benchmark {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 500;
}

/* fixes */
.fixes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fix {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.fix:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fix-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100px;
  flex-shrink: 0;
}

.priority-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

.priority-critical { background: rgba(248, 113, 113, 0.12); color: #b91c1c; }
.priority-high { background: rgba(251, 191, 36, 0.15); color: #b45309; }
.priority-medium { background: rgba(52, 211, 153, 0.15); color: #047857; }

.time-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 2px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.fix-type-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.fix-type-ai {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.fix-type-human {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.fix-type-both {
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.fix-text {
  font-size: 14px;
  line-height: 1.5;
  color: #263354;
}

/* optimized cards */
.optimized-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.optimized-header h3 { margin: 0; }

/* Summary tone toggle */
.summary-tone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.summary-tone-label {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
}

.summary-tone-pills { display: flex; gap: 6px; flex-wrap: wrap; }

.summary-tone-pill {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms;
  white-space: nowrap;
}

.summary-tone-pill:hover:not(:disabled) { border-color: rgba(255,255,255,0.3); color: #e2e8f0; }
.summary-tone-pill--active { background: rgba(0,217,190,0.12); border-color: rgba(0,217,190,0.4); color: var(--teal); }
.summary-tone-pill:disabled { opacity: 0.5; cursor: not-allowed; }

.summary-tone-status {
  font-size: 12px;
  color: #64748b;
  font-style: italic;
}

.copy-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: var(--bg-light);
  transition: all 0.15s;
}

.copy-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.copy-btn.copied {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
}

.opt-text {
  font-size: 15px;
  line-height: 1.6;
  color: #1a2540;
  white-space: pre-wrap;
}

.opt-multiline p {
  margin-bottom: 14px;
}
.opt-multiline p:last-child { margin-bottom: 0; }

/* before/after rewrite blocks */
.ba-block {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.ba-block:last-child { margin-bottom: 0; }

.ba-current {
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.18);
}

.ba-optimized {
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
}

.ba-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 5px;
}

.ba-label-current { background: rgba(248, 113, 113, 0.15); color: #b91c1c; }
.ba-label-optimized { background: var(--teal); color: var(--navy); }

.ba-current-text { color: #991b1b; opacity: 0.78; }
.ba-current-text.empty { font-style: italic; color: #94a3b8; }
.ba-optimized-text { color: #115e59; }

.opt-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  color: #115e59;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Share card (prominent, conversion-focused) ---------- */
/* Gold badge — shown when score >= 86 */
.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-soft);
  color: var(--color-gold);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 8px;
  text-transform: uppercase;
}

.share-card-prominent {
  background: var(--navy);
  border: 1px solid rgba(0, 217, 190, 0.22);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.10);
}

.share-card-prominent::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 217, 190, 0.10), transparent);
  pointer-events: none;
  transition: background 0.4s;
}

.share-card-prominent.gold-tint {
  border-color: rgba(240, 165, 0, 0.3);
}

.share-card-prominent.gold-tint::before {
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(240, 165, 0, 0.10), transparent);
}

.share-header {
  position: relative;
  margin-bottom: 22px;
}

.share-header h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
}

.share-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.share-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}

.share-option:hover {
  border-color: var(--teal-border);
  background: rgba(0, 217, 190, 0.05);
  transform: translateY(-1px);
}

.share-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
}

.share-option-label {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
}

.share-option-subtext {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.share-copy-btn {
  width: 100%;
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, transform 0.12s;
}

.share-copy-btn:hover { background: rgba(0, 217, 190, 0.1); }
.share-copy-btn:active { transform: scale(0.98); }
.share-copy-btn.copied { background: var(--teal); color: var(--navy); border-color: var(--teal); }

/* Mobile button is hidden until <=768px */
.share-mobile-btn {
  display: none;
}

/* ---------- Mobile share bottom sheet ---------- */
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
  display: none; /* re-enabled at <=768px breakpoint */
}

.share-sheet.open {
  visibility: visible;
  pointer-events: auto;
}

.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.share-sheet.open .share-sheet-backdrop { opacity: 1; }

.share-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  padding: 14px 20px max(20px, env(safe-area-inset-bottom)) 20px;
  transform: translateY(100%);
  transition: transform 260ms cubic-bezier(0.32, 0.72, 0.24, 1);
  max-height: 88vh;
  overflow-y: auto;
}

.share-sheet.open .share-sheet-panel { transform: translateY(0); }

.share-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 14px;
}

.share-sheet h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 16px 0;
}

.share-sheet-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.share-sheet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.share-sheet-option:active {
  background: rgba(0, 217, 190, 0.08);
  border-color: var(--teal-border);
}

.share-sheet-option.copied {
  background: rgba(0, 217, 190, 0.15);
  border-color: var(--teal);
}

.share-sheet-option .share-emoji {
  font-size: 24px;
  margin-bottom: 0;
  flex-shrink: 0;
}

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

.share-sheet-label {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.share-sheet-sub {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.share-sheet-cancel {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s;
}

.share-sheet-cancel:hover { background: rgba(255, 255, 255, 0.08); }

body.share-sheet-open { overflow: hidden; }

/* ---------- Compare with a friend ---------- */
.compare-card { display: block; }

.compare-header { margin-bottom: 18px; }
.compare-header h3 { margin: 0 0 6px 0; }
.compare-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.compare-form { margin: 0; }

/* Compact pill input row adapted for the white card */
.input-row.compare-input-row {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 5px;
  max-width: 560px;
}
.input-row.compare-input-row:focus-within {
  border-color: var(--teal);
  background: #ffffff;
}
.input-row.compare-input-row #compare-url {
  flex: 1;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  padding: 11px 14px;
  min-width: 0;
}
.input-row.compare-input-row #compare-url::placeholder {
  color: #94a3b8;
}

#compare-submit {
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s, background 0.2s;
  white-space: nowrap;
}
#compare-submit:hover:not(:disabled) { background: #33e8d0; }
#compare-submit:active:not(:disabled) { transform: scale(0.98); }
#compare-submit:disabled { cursor: wait; opacity: 0.85; }

#compare-submit.loading .btn-text { display: none; }
#compare-submit.loading .btn-spinner { display: inline-block; }

/* Loading state inside the white card uses the same pulse + fade,
   but the message text needs a darker color than the navy hero. */
.compare-loading {
  color: #00b8a2;
  margin-top: 12px;
}

/* Inline error needs light-mode colors */
.compare-error {
  margin-top: 12px;
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.4);
  color: #b91c1c;
}

/* Comparison results */
.compare-results {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.compare-col {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--bg-light);
}

.compare-col-you { border-left: 3px solid var(--teal); }
.compare-col-them { border-left: 3px solid var(--violet); }

.compare-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.compare-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-winner {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 217, 190, 0.14);
  color: #00b8a2;
  border: 1px solid var(--teal-border);
}

.compare-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.compare-score-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.compare-score-out {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Dimension comparison: each row has a label + paired bars */
.compare-dimensions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.compare-dim {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}
.compare-dim:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compare-dim-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.compare-dim-row {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.compare-dim-row:last-child { margin-bottom: 0; }

.compare-dim-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.compare-dim-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.compare-dim-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-dim-bar-fill.you { background: var(--teal); }
.compare-dim-bar-fill.them { background: var(--violet); }

.compare-dim-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Share comparison CTA */
.compare-share-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 10px;
  transition: background 0.18s, transform 0.12s;
}
.compare-share-btn:hover { background: var(--navy-3); }
.compare-share-btn:active { transform: scale(0.99); }
.compare-share-btn.copied { background: var(--teal); color: var(--navy); }

/* ---------- HOW IT WORKS ---------- */
.how {
  padding: 96px 24px;
  background: #0d1424;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-sub {
  text-align: center;
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step {
  background: #1a2540;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #ffffff;
}

.step p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- SAMPLE ---------- */
.sample {
  padding: 96px 24px;
  background: var(--bg-light);
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 32px;
}

.sample-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  position: relative;
}

.sample-before { border-top: 4px solid var(--red); }
.sample-after { border-top: 4px solid var(--green); }

.sample-tag {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-before { background: var(--red); color: var(--white); }
.tag-after { background: var(--green); color: var(--white); }

.sample-score {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 8px;
}
.sample-score-low { color: var(--red); }
.sample-score-high { color: var(--green); }

.sample-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 20px;
}

.sample-headline {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  font-style: italic;
  padding: 14px;
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 18px;
}

.sample-issues {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sample-issues li {
  font-size: 13px;
  color: #263354;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.sample-issues li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.sample-after .sample-issues li::before { background: var(--green); }
.sample-before .sample-issues li::before { background: var(--red); }

.sample-arrow {
  display: flex;
  align-items: center;
  font-size: 32px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ---------- RESUME REVIEW ---------- */

.resume-upload-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resume-upload-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.resume-upload-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.resume-upload-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--navy);
}

.resume-upload-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.resume-input-tabs {
  display: flex;
  gap: 8px;
}

.resume-tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.resume-tab-btn--active {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--navy);
}

/* Drop zone */
.resume-drop-zone {
  border: 2px dashed var(--border-light);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-hover);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.resume-drop-zone--over {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.resume-drop-icon {
  font-size: 36px;
  margin-bottom: 4px;
}

.resume-drop-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.resume-drop-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.resume-browse-btn {
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--teal);
  background: transparent;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.resume-browse-btn:hover {
  background: var(--teal);
  color: var(--navy);
}

.resume-file-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin: 0;
  margin-top: 4px;
}

/* Paste zone */
.resume-paste-zone {
  display: flex;
  flex-direction: column;
}

.resume-paste-textarea,
.resume-cover-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-hover);
  color: var(--navy);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.resume-paste-textarea:focus,
.resume-cover-textarea:focus {
  outline: none;
  border-color: var(--teal);
}

/* Optional sections */
.resume-optional-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-optional-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.resume-optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-hover);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.resume-role-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-hover);
  color: var(--navy);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.resume-role-input:focus {
  outline: none;
  border-color: var(--teal);
}

/* Submit row */
.resume-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.resume-submit-btn {
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  background: var(--teal);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  flex-shrink: 0;
}

.resume-submit-btn:hover:not(:disabled) {
  background: #33e8d0;
}

.resume-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.resume-loading-msg {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

.resume-error {
  font-size: 13px;
  color: var(--red);
  margin: 0;
  font-weight: 500;
}

/* Results */
.resume-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resume-score-header {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.resume-score-meta {
  flex: 1;
  min-width: 200px;
}

.resume-score-meta h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 4px 0;
  color: var(--navy);
}

.resume-overall-summary {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Grade letter */
.resume-grade {
  display: inline-block;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.resume-grade--a { color: #059669; }
.resume-grade--b { color: var(--teal); }
.resume-grade--c { color: var(--amber); }
.resume-grade--d { color: #f97316; }
.resume-grade--f { color: var(--red); }

/* Strengths */
.resume-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px 0;
  color: var(--navy);
}

.resume-strengths-card {
  border-left: 4px solid #10b981;
}

.resume-strengths-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-strength-item {
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  padding-left: 20px;
  position: relative;
}

.resume-strength-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* Critical fixes */
.resume-fixes-card {
  border-left: 4px solid var(--red);
}

.resume-fixes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resume-fix-item {
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.resume-fix-issue {
  font-size: 14px;
  font-weight: 600;
  color: #b91c1c;
  margin: 0 0 6px 0;
}

.resume-fix-fix {
  font-size: 14px;
  color: var(--navy);
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.resume-fix-example {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  padding: 8px 12px;
  background: var(--bg-hover);
  border-radius: 6px;
  border-left: 3px solid var(--teal);
  line-height: 1.5;
}

/* Gaps */
.resume-gaps-card {
  border-left: 4px solid var(--amber);
}

.resume-gaps-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.resume-gaps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-gap-item {
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  padding-left: 20px;
  position: relative;
}

.resume-gap-item::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 12px;
  top: 2px;
}

/* Cover letter */
.resume-cl-card {
  border-left: 4px solid #818cf8;
}

.resume-cl-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.resume-cl-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.resume-cl-tone {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: capitalize;
}

.resume-cl-tone--good        { background: rgba(16,185,129,0.12); color: #059669; }
.resume-cl-tone--too-formal  { background: rgba(99,102,241,0.12); color: #4338ca; }
.resume-cl-tone--too-casual  { background: rgba(245,158,11,0.15); color: #b45309; }

.resume-cl-fixes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-cl-fixes li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  padding-left: 16px;
  position: relative;
}

.resume-cl-fixes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #818cf8;
}

/* Reset button */
.resume-reset-btn {
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.resume-reset-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ---------- STRENGTHEN / DREAM ROLE MODAL ---------- */

.strengthen-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 15, 40, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.strengthen-modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strengthen-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.strengthen-modal-close:hover {
  color: var(--navy);
  background: var(--bg-hover);
}

.strengthen-modal-header {
  padding-right: 24px;
}

.strengthen-modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 6px 0;
}

.strengthen-modal-role {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.strengthen-modal-strength {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.strengthen-modal-strength--strong  { background: rgba(52,211,153,0.15); color: #047857; }
.strengthen-modal-strength--partial { background: rgba(251,191,36,0.15); color: #b45309; }
.strengthen-modal-strength--weak    { background: rgba(248,113,113,0.12); color: #b91c1c; }
.strengthen-modal-strength--none    { background: rgba(100,116,139,0.1); color: #64748b; }

/* Loading */
.strengthen-modal-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
}

/* Body cards */
.strengthen-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strengthen-card {
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.strengthen-card--gaps {
  background: rgba(248, 113, 113, 0.05);
  border: 1px solid rgba(248, 113, 113, 0.18);
}

.strengthen-card--today {
  background: rgba(0, 201, 178, 0.05);
  border: 1px solid rgba(0, 201, 178, 0.18);
}

.strengthen-card--pursue {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.strengthen-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.strengthen-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strengthen-list-item {
  font-size: 13px;
  line-height: 1.55;
  color: var(--navy);
  padding-left: 18px;
  position: relative;
}

.strengthen-card--gaps   .strengthen-list-item::before { content: '→'; position: absolute; left: 0; color: #ef4444; font-weight: 700; }
.strengthen-card--today  .strengthen-list-item::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.strengthen-card--pursue .strengthen-list-item::before { content: '◆'; position: absolute; left: 0; color: #6366f1; font-size: 9px; top: 4px; }

.strengthen-modal-error {
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 480px) {
  .strengthen-modal { padding: 28px 20px 24px; }
  .strengthen-modal-role { font-size: 20px; }
}

/* ---------- LINKEDIN URL HELP ---------- */

.url-help-line {
  margin: 6px 0 0 0;
}

.url-help-trigger {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, text-decoration 0.15s;
}

.url-help-trigger:hover {
  color: #64748b;
  text-decoration: underline;
}

/* Modal backdrop */
.url-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 15, 40, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

/* Modal panel */
.url-modal {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.url-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.url-modal-close:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
}

.url-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Steps */
.url-modal-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.url-modal-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 16px;
}

.url-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #0a0f28;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.url-step-body {
  flex: 1;
}

.url-step-text {
  font-size: 14px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

.url-step-text strong {
  color: #f1f5f9;
}

.url-step-sub {
  font-size: 12px;
  color: #64748b;
  margin: 4px 0 0 0;
}

.url-step-code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
  color: #94a3b8;
}

/* Example box */
.url-modal-example {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 201, 178, 0.07);
  border: 1px solid rgba(0, 201, 178, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.url-modal-example-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  flex-shrink: 0;
}

.url-modal-example-url {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #94a3b8;
  word-break: break-all;
}

/* No account note */
.url-modal-no-account {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #334155;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
}

.url-modal-no-account p {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.url-modal-no-account strong {
  color: #94a3b8;
}

.url-modal-no-account a {
  color: var(--teal);
  text-decoration: none;
}

.url-modal-no-account a:hover {
  text-decoration: underline;
}

/* Got it button */
.url-modal-cta {
  align-self: flex-end;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  background: var(--teal);
  color: #0a0f28;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.url-modal-cta:hover {
  background: #33e8d0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: var(--text-muted);
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

.footer-author {
  color: #64748b !important;
  font-weight: 400 !important;
}
.footer-author:hover { color: #94a3b8 !important; }

/* ---------- RESPONSIVE ---------- */

/* Tablet — 768px and below: collapse multi-column grids, cap headline, soften padding */
@media (max-width: 768px) {
  .hero { padding: 32px 20px 64px; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
  .nav { height: 52px; }
  body { padding-top: 52px; }
  .nav-mobile-menu { top: 52px; }
  .hero-inner { padding-top: 8px; }

  .headline { font-size: 2.25rem; line-height: 1.1; } /* 36px max on small screens */
  .subhead { font-size: 1rem; }

  .results { padding: 56px 20px; }
  .results-inner { padding: 0; }
  .score-display { gap: 20px; }
  .score-meta h2 { font-size: 24px; }
  .score-circle--human { width: 140px; height: 140px; }
  .score-circle--human .score-number { font-size: 44px; }

  .results-grid { grid-template-columns: 1fr; }
  .results-grid .dimensions-card { grid-column: auto; }

  /* Share card collapses to a single button + bottom sheet on mobile */
  .share-card-prominent { padding: 22px 20px; }
  .share-options { display: none; }
  .share-mobile-btn {
    display: block;
    width: 100%;
    background: var(--teal);
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    padding: 14px;
    border-radius: 10px;
    transition: background 0.18s, transform 0.12s;
  }
  .share-mobile-btn:hover { background: #33e8d0; }
  .share-mobile-btn:active { transform: scale(0.98); }
  .share-sheet { display: block; }

  /* Compare card stacks columns on tablet+mobile */
  .compare-columns { grid-template-columns: 1fr; }
  .input-row.compare-input-row { flex-direction: column; padding: 6px; gap: 6px; max-width: none; }
  .input-row.compare-input-row #compare-url { width: 100%; padding: 12px 14px; font-size: 16px; }
  #compare-submit { width: 100%; padding: 13px; }
  .compare-score-num { font-size: 36px; }

  .dimensions-list { grid-template-columns: 1fr; }
  .dimension:nth-last-child(-n+2) { border-bottom: 1px solid #f1f5f9; padding-bottom: 16px; }
  .dimension:last-child { border-bottom: none; padding-bottom: 0; }

  .how, .sample { padding: 64px 20px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }

  .sample-grid { grid-template-columns: 1fr; }
  .sample-arrow { transform: rotate(90deg); justify-content: center; }

  .companies-tier-row { grid-template-columns: 1fr; }

  .card { padding: 24px; }
}

/* Mobile — 480px and below: stack input/button, full-width buttons, centered score, tighter type */
@media (max-width: 480px) {
  .hero { padding: 24px 16px 56px; }

  .headline { font-size: 2rem; } /* 32px */
  .eyebrow { margin-bottom: 22px; font-size: 11px; padding: 5px 12px; }
  .subhead { font-size: 0.95rem; margin-bottom: 28px; }

  /* Stacked, full-width input + CTA */
  .input-row { flex-direction: column; padding: 8px; gap: 8px; }
  #linkedin-url { width: 100%; padding: 14px 14px; font-size: 16px; /* prevents iOS zoom */ }
  #submit-btn { width: 100%; padding: 14px; }

  .trust { font-size: 12px; line-height: 1.5; }
  .loading-status { font-size: 13px; }

  /* Centered score */
  .results { padding: 48px 16px; }
  .score-display { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .score-circles-row { gap: 12px; }
  .score-circle { width: 120px; height: 120px; margin: 0 auto; }
  .score-circle--human { width: 104px; height: 104px; }
  .score-number { font-size: 40px; }
  .score-circle--human .score-number { font-size: 32px; }
  .score-circle-sub { font-size: 10px; max-width: 110px; }
  .score-gap-insight { font-size: 12px; }
  .score-meta { min-width: 0; width: 100%; text-align: center; }
  .score-meta h2 { font-size: 22px; }
  .score-meta p { font-size: 14px; }
  .score-impact { text-align: left; }

  /* Cards & spacing */
  .card { padding: 20px; border-radius: 14px; }
  .results-grid { gap: 16px; }

  /* Optimized rewrite cards: stack header + full-width Copy button */
  .optimized-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .optimized-header h3 { margin: 0; }
  .copy-btn { width: 100%; padding: 10px 12px; font-size: 13px; }

  /* Before/after blocks already stack vertically — just tighten padding */
  .ba-block { padding: 12px 14px; }

  /* Fixes list — let badges + text wrap cleanly */
  .fix { flex-wrap: wrap; row-gap: 6px; gap: 8px; }
  .fix-meta { width: auto; flex-direction: row; }
  .fix-text { flex-basis: 100%; font-size: 13.5px; }

  /* Skill pills tighter */
  .skill-pill { font-size: 12px; padding: 5px 10px; }

  /* (share card mobile rules live in the 768px block below) */

  /* Outreach buttons full width */
  .outreach-buttons { flex-direction: column; }
  .outreach-btn { width: 100%; justify-content: center; padding: 12px; }
  .company-tile { padding: 16px; }
  .outreach-item { padding: 16px; }

  /* How it works + sample */
  .how, .sample { padding: 56px 16px; }
  .step { padding: 24px; }
  .sample-card { padding: 24px; }
  .sample-score { font-size: 48px; }

  .footer { padding: 28px 20px; font-size: 13px; }

  /* Proof cards — already hidden via .proof-card--side, just tighten center card */
  .proof-card--center { padding: 20px 18px; }
  .proof-score-num { font-size: 40px; }

  /* Logo bar */
  .logo-bar { padding: 20px 16px; }
  .logo-bar-inner { flex-direction: column; gap: 12px; text-align: center; }
  .logo-bar-label { display: none; }
  .logo-bar-logos { justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
  .logo-bar-inner { align-items: center; }

  /* Before/after */
  .ba-section { padding: 56px 16px; }
  .ba-inner { flex-direction: column; gap: 0; }
  .ba-vs { flex-direction: row; padding: 0; }
  .ba-vs-line { flex: 1; height: 1px; width: auto; }
  .ba-card { padding: 24px 20px; }

  /* Final CTA */
  .final-cta { padding: 72px 20px; }
  .final-cta-headline { font-size: clamp(2rem, 7vw, 2.5rem); }
}

/* ============================================================
   PROOF CARDS
   ============================================================ */

@keyframes float-l {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes float-r {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50%       { transform: translateY(-8px) rotate(2deg); }
}

.proof-cards-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
  pointer-events: none;
  user-select: none;
}

.proof-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  padding: 0 24px 16px;
}

.proof-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 217, 190, 0.18);
  border-radius: 16px;
  padding: 22px 20px;
  width: 220px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.proof-card--center {
  width: 240px;
  border-color: rgba(0, 217, 190, 0.45);
  box-shadow: 0 12px 48px rgba(0, 217, 190, 0.12), 0 0 0 1px rgba(0,217,190,0.15);
  animation: float-c 5s ease-in-out infinite;
}

.proof-card--left {
  animation: float-l 6s ease-in-out infinite;
  animation-delay: 0.4s;
  transform: rotate(-2deg);
  opacity: 0.85;
}

.proof-card--right {
  animation: float-r 5.5s ease-in-out infinite;
  animation-delay: 0.8s;
  transform: rotate(2deg);
  opacity: 0.85;
}

.proof-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a2540;
  border: 1.5px solid rgba(0, 217, 190, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.proof-avatar--glow {
  border-color: rgba(0, 217, 190, 0.6);
  box-shadow: 0 0 10px rgba(0, 217, 190, 0.25);
  color: #00d9be;
}

.proof-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
}

.proof-role {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.proof-score-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 4px;
}

.proof-score-num {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.proof-score--high { color: #00d9be; }
.proof-score--mid  { color: #4ade80; }
.proof-score--low  { color: #fb923c; }

.proof-score-denom {
  font-size: 18px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.proof-score-label {
  font-size: 11px;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.4;
}

.proof-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.proof-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-bar-name {
  font-size: 10px;
  color: #64748b;
  width: 68px;
  flex-shrink: 0;
}

.proof-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.proof-bar-fill {
  height: 100%;
  background: rgba(0, 217, 190, 0.55);
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide side cards on mobile — center card only */
@media (max-width: 640px) {
  .proof-card--side { display: none; }
  .proof-cards { padding: 0 24px 8px; }
}

/* ============================================================
   SOCIAL PROOF LOGO BAR
   ============================================================ */

.logo-bar {
  background: #0b1120;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 24px;
}

.logo-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-bar-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-pair {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo {
  height: 16px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.brand-pair:hover .brand-logo { opacity: 1; }

.brand-name {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.2s;
}

.brand-pair:hover .brand-name { color: #cbd5e1; }

/* ============================================================
   HOW IT WORKS — V2 OVERRIDES
   ============================================================ */

.how-v2 .step {
  position: relative;
  overflow: hidden;
}

.how-v2 .step-num {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  color: #00d9be;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-v2 .step-num::before {
  content: attr(data-num);
  position: absolute;
  top: -18px;
  right: -8px;
  font-size: 80px;
  font-weight: 700;
  color: rgba(0, 217, 190, 0.07);
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   BEFORE / AFTER SECTION
   ============================================================ */

.ba-section {
  padding: 96px 24px;
  background: #070e1a;
}

.ba-section-title { color: #f1f5f9; }
.ba-section-sub { color: #64748b; }

.ba-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.ba-card {
  flex: 1;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ba-card--before {
  background: #0d1626;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.ba-card--after {
  background: #0d1f1c;
}

.ba-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
}

.ba-card-tag--after {
  color: #00d9be;
}

.ba-headline {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  font-style: italic;
}

.ba-headline--after {
  color: #cbd5e1;
}

.ba-score {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.ba-score-num {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ba-score-denom {
  font-size: 22px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.ba-score--bad .ba-score-num  { color: #f87171; }
.ba-score--good .ba-score-num { color: #00d9be; }

.ba-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
  width: fit-content;
}

.ba-badge--bad {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.ba-badge--good {
  background: rgba(0, 217, 190, 0.1);
  color: #00d9be;
  border: 1px solid rgba(0, 217, 190, 0.25);
}

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ba-list li {
  font-size: 13px;
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.ba-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.ba-list--bad li { color: #94a3b8; }
.ba-list--bad li::before { color: #f87171; }

.ba-list--good li::before { content: '✓'; }
.ba-list--good li { color: #cbd5e1; }
.ba-list--good li::before { color: #00d9be; }

.ba-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  gap: 10px;
  background: #0a1520;
}

.ba-vs-line {
  width: 1px;
  flex: 1;
  background: rgba(255,255,255,0.07);
}

.ba-vs-badge {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #080d1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ba-inner { flex-direction: column; }
  .ba-card--before { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .ba-vs {
    flex-direction: row;
    padding: 14px 24px;
    gap: 12px;
  }
  .ba-vs-line { width: auto; flex: 1; height: 1px; }
  .ba-card { padding: 28px 24px; }
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */

.final-cta {
  padding: 120px 24px;
  background: var(--navy);
  background-image: radial-gradient(ellipse 70% 60% at 50% 50%, #1a2540, #080d1a);
  text-align: center;
}

.final-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.final-cta-headline {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f1f5f9;
  margin: 0;
}

.final-cta-sub {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 8px;
}

.final-cta .score-form { width: 100%; max-width: 520px; }

#cta-url {
  flex: 1;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  padding: 14px 16px;
  min-width: 0;
}

#cta-url::placeholder {
  color: var(--text-muted);
}

#cta-btn {
  /* mirrors #submit-btn */
  background: var(--teal);
  color: var(--navy);
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s, transform 0.15s;
}

#cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
#cta-btn:hover:not(:disabled) { background: #33e8d0; }
#cta-btn:active:not(:disabled) { transform: scale(0.98); }
#cta-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
#cta-btn.loading .btn-text { display: none; }
#cta-btn.loading .btn-spinner { display: inline-block; }

/* ============================================================
   HERO BACKGROUND ENHANCEMENT
   ============================================================ */

.hero {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, #1a2540, transparent),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0,217,190,0.04), transparent);
}

/* ============================================================
   RECRUITER AUDIENCE SECTION
   ============================================================ */

.recruiter-section {
  background: #1a2540;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 72px 24px;
}

.recruiter-inner {
  max-width: 760px;
  margin: 0 auto;
}

.recruiter-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00d9be;
  margin: 0 0 14px;
}

.recruiter-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f1f5f9;
  margin: 0 0 16px;
}

.recruiter-sub {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 620px;
}

.recruiter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.recruiter-pill {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 16px;
  line-height: 1;
  white-space: nowrap;
}

.recruiter-cta {
  display: inline-flex;
  align-items: center;
  background: #00d9be;
  color: #080d1a;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px 24px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  margin-bottom: 20px;
}

.recruiter-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.recruiter-social-proof {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

@media (max-width: 768px) {
  .recruiter-section { padding: 56px 20px; }
  .recruiter-pill { white-space: normal; }
}

@media (max-width: 480px) {
  .recruiter-section { padding: 48px 16px; }
  .recruiter-pills { gap: 8px; }
}

/* 4-col share grid → 2-col on tablet */
@media (max-width: 900px) {
  .share-options { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   VISION SECTION
   ============================================================ */

.vision-section {
  min-height: 100vh;
  background: #080d1a;
  background-image: radial-gradient(ellipse at center, rgba(0,217,190,0.04) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.vision-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.vision-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00d9be;
  margin: 0 0 32px;
}

.vision-headline {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 32px;
}

.vision-sub {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.vision-divider {
  width: 48px;
  height: 2px;
  background: #00d9be;
  margin: 48px auto;
  flex-shrink: 0;
}

.vision-body {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vision-body p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.9;
  margin: 0;
}

.vision-quote {
  font-size: 24px;
  font-style: italic;
  color: #00d9be;
  line-height: 1.6;
  max-width: 600px;
  margin: 48px auto;
  border: none;
  padding: 0;
}

.vision-closing {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
}

.vision-closing-line {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.vision-links {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.vision-link {
  font-size: 13px;
  color: #00d9be;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.vision-link:hover { opacity: 1; }

/* ---- Vision animation ---- */

.vis-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.vision-headline.vis-animate {
  transform: scale(0.98) translateY(16px);
}

.vis-animate.vis-in {
  opacity: 1;
  transform: translateY(0);
}

.vision-headline.vis-in {
  transform: scale(1) translateY(0);
}

/* ---- Vision responsive ---- */

@media (max-width: 768px) {
  .vision-section  { min-height: auto; padding: 80px 24px; }
  .vision-headline { font-size: 36px; }
  .vision-sub      { font-size: 18px; }
  .vision-quote    { font-size: 19px; margin: 36px auto; }
  .vision-closing-line { font-size: 17px; }
}

@media (max-width: 480px) {
  .vision-section  { padding: 64px 20px; }
  .vision-headline { font-size: 30px; }
  .vision-sub      { font-size: 16px; }
  .vision-quote    { font-size: 17px; }
  .vision-closing-line { font-size: 16px; }
  .vision-links    { gap: 20px; }
}

/* ============================================================
   RESULTS SUBNAV
   ============================================================ */

.results-subnav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 190;
  height: 44px;
  background: rgba(8, 13, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.results-subnav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.results-subnav-inner::-webkit-scrollbar { display: none; }

.rsnav-tab {
  flex-shrink: 0;
  height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.rsnav-tab:hover { color: #94a3b8; }

.rsnav-tab.active {
  color: #ffffff;
  border-bottom-color: #00d9be;
}

/* Body gains extra top padding when subnav shown */
body.has-results-nav { padding-top: 100px; }
body.has-results-nav .nav-mobile-menu { top: 52px; }

/* Results sections scroll offset (main nav 56px + subnav 44px = 100px) */
#action-plan, #quick-wins, #score-breakdown,
#share-score, #role-matches, #companies, #outreach, #full-rewrite {
  scroll-margin-top: 100px;
}


/* ================================================================
   RESULTS PAGE — sections, headers, summary bar, quick-wins
   ================================================================ */

/* ---- Section wrappers ---- */

.results-section {
  display: block;
}

.results-grid .results-section--full {
  grid-column: 1 / -1;
}

/* ---- Section headers (rs-header / rs-sub) ---- */

.rs-header {
  margin-bottom: 20px;
}

.rs-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.rs-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ---- Quick-wins 2-col grid ---- */

.quick-wins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .quick-wins-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Dimension summary mini-bar ---- */

.dim-summary-bar {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.dim-mini-grid {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
}

.dim-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.dim-mini-label {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.dim-label-abbr { display: none; }
.dim-label-full { display: inline; }

.dim-mini-track {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: flex-end;
}

.dim-mini-fill {
  width: 100%;
  height: 0%;
  background: #00d9be;
  border-radius: 3px 3px 0 0;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 3px;
}

.dim-mini-score {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .dim-mini-label { font-size: 9px; }
  .dim-mini-score { font-size: 9px; }
  .dim-label-full { display: none; }
  .dim-label-abbr { display: inline; letter-spacing: 0.06em; text-transform: uppercase; }
  .dim-mini-grid  { gap: 6px; }
  .dim-summary-bar { padding: 12px 14px; }
}

/* ---- Collapsible dimensions ---- */

.dimension {
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}

.dimension:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dimension .dim-bar,
.dimension .dim-benchmark,
.dimension .dim-note {
  display: none;
}

.dimension.open .dim-bar,
.dimension.open .dim-benchmark,
.dimension.open .dim-note {
  display: block;
}

.dimension .dim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 8px;
  margin-bottom: 0;
}

.dim-expand-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #475569;
  transition: transform 0.2s;
}

.dimension.open .dim-expand-icon {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════
   DIMENSION CARDS v2 — self-explaining, sorted weakest-first
   ═══════════════════════════════════════════════════════════════ */

.dim-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0 6px;
  margin: 0;
  grid-column: 1 / -1;
}
.dim-group-label--weak   { color: #f59e0b; }
.dim-group-label--strong { color: #00d9be; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 8px; }

.dimension--v2 {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: background 0.15s, border-color 0.15s;
  padding: 14px 16px 12px;
  position: relative;
}
.dimension--v2:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }
.dimension--weak { border-color: rgba(245,158,11,0.25); }
.dimension--weak:hover { border-color: rgba(245,158,11,0.5); }

.dim-row-v2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dim-header-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dim-right-col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dim-weak-badge {
  font-size: 10px;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dim-name-v2 {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}

.dim-explainer {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.dimension--v2 .dim-expand-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #475569;
  transition: transform 0.2s;
  margin-top: 1px;
}
.dimension--v2.open .dim-expand-icon { transform: rotate(180deg); }

.dimension--v2 .dim-bar { margin-bottom: 12px; }

.dim-detail {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dim-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dim-why-section { margin-bottom: 14px; }
.dim-why-text    { font-size: 13px; color: #94a3b8; margin: 0; line-height: 1.6; }

.dim-hurting-section { margin-bottom: 14px; }
.dim-hurting-text    { font-size: 13px; color: #e2e8f0; margin: 0; line-height: 1.6; }

.dim-no-note { font-size: 12px; color: #64748b; margin: 0 0 14px; }
.dim-refresh-link { color: #00d9be; text-decoration: none; }
.dim-refresh-link:hover { text-decoration: underline; }

.dim-fixes-section { margin-bottom: 12px; }
.dim-fix-links { margin: 6px 0 0; padding-left: 16px; }
.dim-fix-links li { margin-bottom: 6px; }
.dim-ap-link {
  font-size: 13px;
  color: #00d9be;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.15s;
}
.dim-ap-link:hover { opacity: 0.75; }

/* Highlight target fix card after scroll */
.fix-card--highlight {
  outline: 2px solid rgba(0, 217, 190, 0.6);
  outline-offset: 2px;
  animation: fix-highlight-pulse 2s ease-out forwards;
}
@keyframes fix-highlight-pulse {
  0%   { outline-color: rgba(0,217,190,0.8); }
  100% { outline-color: rgba(0,217,190,0); }
}

/* Before/after example */
.dim-example-details { margin-bottom: 12px; }
.dim-example-summary {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  list-style: none;
  padding: 6px 0;
  transition: color 0.15s;
}
.dim-example-summary:hover { color: #94a3b8; }
.dim-example-summary::before { content: '▸ '; }
.dim-example-details[open] .dim-example-summary::before { content: '▾ '; }

.dim-example-body { padding: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }

.dim-example-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  padding: 8px 12px;
}
.dim-example-row--after { background: rgba(0,217,190,0.06); border: 1px solid rgba(0,217,190,0.15); }

.dim-ex-label {
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
  min-width: 36px;
}
.dim-example-row--after .dim-ex-label { color: #00d9be; }

.dim-ex-text { color: #e2e8f0; }

/* Quick tour pulse */
@keyframes dim-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,217,190,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(0,217,190,0); }
}
.dim-tour-pulse { animation: dim-pulse 1.4s ease-in-out infinite; border-color: rgba(0,217,190,0.5) !important; }

.dim-tour-tip {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: #00d9be;
  color: #080d1a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
.dim-tour-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #00d9be;
}

/* ---- Full-width results overrides ---- */

/* role-matches, companies, outreach, full-rewrite wrap existing cards
   that already have their own padding/card styles; the outer section
   just provides anchor + scroll-margin, so we strip any extra spacing */
#role-matches > .card,
#companies   > .card,
#outreach    > .card,
#full-rewrite > .card {
  margin-top: 0;
}

/* ============================================================
   THE BIGGER PICTURE — stats section
   ============================================================ */

.bigger-section {
  background: #0a0f1e;
  padding: 100px 24px;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.bigger-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bigger-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00d9be;
  margin: 0 0 24px;
}

.bigger-headline {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 20px;
}

.bigger-sub {
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

.bigger-divider {
  width: 100%;
  height: 1px;
  background: #1e293b;
  margin: 56px 0;
}

/* ---- Stats row ---- */

.bigger-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 0;
}

.bigger-stat {
  padding: 8px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bigger-stat + .bigger-stat {
  border-left: 1px solid #1e293b;
}

.bigger-stat-num {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.bigger-stat-teal {
  color: #00d9be;
}

.bigger-stat-label {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.45;
  max-width: 200px;
  margin: 2px 0 0;
}

.bigger-stat-cite {
  font-size: 11px;
  font-style: italic;
  color: #475569;
  margin: 2px 0 0;
}

/* ---- Body / quote / closing ---- */

.bigger-body {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 0 48px;
}

.bigger-quote {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #00d9be;
  line-height: 1.5;
  max-width: 580px;
  margin: 0 0 40px;
  border: none;
  padding: 0;
}

.bigger-closing {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* ---- Stagger fade ---- */

.bigger-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.bigger-fade.bigger-fade--in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .bigger-section  { padding: 64px 20px; }
  .bigger-headline { font-size: 28px; }
  .bigger-stats    { grid-template-columns: 1fr; }
  .bigger-stat     { padding: 24px 16px; border-left: none !important; }
  .bigger-stat + .bigger-stat { border-left: none; border-top: 1px solid #1e293b; }
  .bigger-stat-num { font-size: 48px; }
  .bigger-quote    { font-size: 18px; }
}

@media (max-width: 480px) {
  .bigger-section  { padding: 48px 16px; }
  .bigger-headline { font-size: 26px; }
  .bigger-sub      { font-size: 15px; }
  .bigger-body     { font-size: 15px; }
  .bigger-stat-num { font-size: 44px; }
  .bigger-quote    { font-size: 17px; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-section {
  padding: 48px 24px;
  background: #080d1a;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-headline {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin: 0 0 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 14px 0;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
}

.faq-q:hover { color: #e2e8f0; }

.faq-icon {
  flex-shrink: 0;
  font-size: 14px;
  color: #00d9be;
  line-height: 1;
  user-select: none;
}

.faq-a-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}

.faq-item.faq-open .faq-a-wrap {
  max-height: 300px;
}

.faq-a {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  padding-bottom: 14px;
}

@media (max-width: 768px) {
  .faq-section   { padding: 36px 20px; }
  .faq-headline  { font-size: 18px; }
  .faq-q         { font-size: 13px; padding: 12px 0; }
  .faq-a         { font-size: 12px; padding-bottom: 12px; }
}

/* ── Ensure [hidden] always wins over display declarations ── */
[hidden] { display: none !important; }

/* ── Proof card bar color variants ── */
.proof-bar-fill--red  { background: rgba(239, 68, 68, 0.7); }
.proof-bar-fill--teal { background: rgba(0, 217, 190, 0.75); }
.proof-bar-fill--gold { background: rgba(240, 165, 0, 0.75); }

/* ── Testimonial ── */
.testimonial-wrap {
  display: flex;
  justify-content: center;
  padding: 0 24px 64px;
  background: #070e1a;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 32px;
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: #ffffff;
  line-height: 1.65;
  margin: 0 0 20px;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.testimonial-badge {
  font-size: 11px;
  font-weight: 700;
  color: #00d9be;
  background: rgba(0, 217, 190, 0.1);
  border: 1px solid rgba(0, 217, 190, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: 0.03em;
}

.testimonial-name {
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .testimonial-wrap  { padding: 0 16px 48px; }
  .testimonial-card  { padding: 24px; }
  .testimonial-quote { font-size: 16px; }
}

/* ── Headline feedback ── */
.headline-feedback {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}

/* ── Headline insight box ── */
.headline-insight-box {
  background: rgba(0, 217, 190, 0.06);
  border-left: 3px solid #00d9be;
  border-radius: 6px;
  padding: 14px 16px;
  margin-top: 12px;
}
.insight-label {
  display: block;
  color: #00d9be;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.headline-insight-box p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 8px;
}
.headline-insight-box p:last-child {
  margin-bottom: 0;
}

/* ── Passive candidate callout ── */
.passive-callout {
  background: #0d1424;
  border: 1px solid rgba(0, 217, 190, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.passive-callout-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}
.passive-callout-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.passive-callout-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.passive-callout-text {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.passive-callout-stat {
  color: #00d9be;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

/* ── Action plan hint ── */
.action-plan-hint {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════════
   CONTEXTUAL FEEDBACK PROMPT v2 (bottom-right slide-up)
   ══════════════════════════════════════════════════════ */

.fp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  width: 340px;
  max-width: calc(100vw - 32px);
  animation: fpSlideUp 0.35s cubic-bezier(0.22,1,0.36,1) both;
}
.fp[hidden] { display: none !important; }
.fp--exit { animation: fpSlideDown 0.28s ease forwards; }

@keyframes fpSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fpSlideDown {
  from { opacity: 1; transform: translateY(0);    }
  to   { opacity: 0; transform: translateY(16px); }
}

.fp-card {
  background: #1a2540;
  border: 1px solid rgba(0,217,190,0.22);
  border-radius: 14px;
  padding: 20px 22px 22px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fp-dismiss {
  position: absolute;
  top: 10px;
  right: 11px;
  background: none;
  border: none;
  color: #475569;
  font-size: 14px;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.fp-dismiss:hover { color: #94a3b8; }

.fp-body { display: flex; flex-direction: column; gap: 12px; }

.fp-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}

.fp-q {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.45;
}

.fp-optional {
  font-weight: 400;
  color: #64748b;
  font-size: 12px;
}

/* Emoji scale (Trigger A) */
.fp-emoji-scale {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.fp-emoji-btn {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 20px;
  padding: 8px 4px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  line-height: 1;
}
.fp-emoji-btn:hover {
  background: rgba(0,217,190,0.10);
  border-color: rgba(0,217,190,0.30);
  transform: scale(1.12);
}
.fp-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #475569;
}

/* Option list (Triggers B, C) */
.fp-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fp-opt {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 13px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fp-opt:hover {
  background: rgba(0,217,190,0.10);
  border-color: rgba(0,217,190,0.28);
  color: #e2e8f0;
}

/* Textarea */
.fp-textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 13px;
  font-family: inherit;
  padding: 10px 12px;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.fp-textarea:focus { border-color: rgba(0,217,190,0.40); }
.fp-textarea::placeholder { color: #475569; }

.fp-char {
  font-size: 11px;
  color: #475569;
  text-align: right;
  margin-top: -8px;
}

/* Email input */
.fp-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 13px;
  font-family: inherit;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.fp-input:focus { border-color: rgba(0,217,190,0.40); }
.fp-input::placeholder { color: #475569; }

/* Action buttons */
.fp-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.fp-btn {
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 14px;
  font-family: inherit;
  transition: opacity 0.15s;
}
.fp-btn--primary { background: var(--teal, #00d9be); color: #0b1623; }
.fp-btn--primary:hover { opacity: 0.88; }
.fp-btn--ghost { background: none; border: none; color: #64748b; padding: 8px 4px; }
.fp-btn--ghost:hover { color: #94a3b8; }

/* Thank-you state */
.fp-thanks {
  font-size: 14px;
  font-weight: 500;
  color: #5eead4;
  margin: 0;
  text-align: center;
  padding: 6px 0;
}

/* Admin overlay */
.fp-admin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.fp-admin-overlay[hidden] { display: none !important; }
.fp-admin-panel {
  background: #0d1424;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px;
  width: 100%;
  max-width: 680px;
}
.fp-admin-close {
  float: right;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #94a3b8;
  font-size: 13px;
  font-family: inherit;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 16px;
}
.fp-admin-title {
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 20px;
  clear: both;
}
.fp-admin-list { display: flex; flex-direction: column; gap: 14px; }
.fp-admin-entry {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 12px 14px;
}
.fp-admin-meta {
  font-size: 11px;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.fp-admin-json {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.fp-admin-empty { font-size: 14px; color: #475569; }

/* Mobile: full-width bottom sheet */
@media (max-width: 600px) {
  .fp {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
  }
  .fp-card {
    border-radius: 16px 16px 0 0;
  }
}

/* ── Feedback modal ── */
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-modal[hidden] { display: none !important; }
.feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.feedback-panel {
  position: relative;
  background: #0d1424;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feedback-panel h3 {
  color: #f1f5f9;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.feedback-textarea,
.feedback-email {
  width: 100%;
  background: #1a2540;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 12px;
  resize: vertical;
  box-sizing: border-box;
}
.feedback-textarea::placeholder,
.feedback-email::placeholder { color: #475569; }
.feedback-textarea:focus,
.feedback-email:focus {
  outline: none;
  border-color: #00d9be;
}
.feedback-actions {
  display: flex;
  gap: 10px;
}
.feedback-submit {
  flex: 1;
  background: #00d9be;
  color: #080d1a;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.feedback-submit:hover { opacity: 0.85; }
.feedback-submit:disabled { opacity: 0.5; cursor: default; }
.feedback-cancel {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #64748b;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.feedback-cancel:hover { border-color: #64748b; }
.feedback-success {
  color: #00d9be;
  font-size: 14px;
  text-align: center;
  margin: 0;
}

/* ── Target role bar ── */
.target-role-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.target-role-bar[hidden] { display: none !important; }

/* Mode toggle */
.tr-mode-toggle {
  display: flex;
  gap: 8px;
}
.tr-mode-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tr-mode-pill--active {
  background: #00d9be;
  color: #080d1a;
  border-color: #00d9be;
}

/* Dynamic header */
.tr-header { display: flex; flex-direction: column; gap: 2px; }
.tr-header-title { font-size: 15px; font-weight: 600; color: #0f172a; }
.tr-header-sub   { font-size: 13px; color: #64748b; }

/* Input row */
.tr-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.target-role-input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  min-width: 0;
  transition: border-color 0.2s;
}
.target-role-input:focus {
  outline: none;
  border-color: #00d9be;
}
.target-role-apply {
  background: #00d9be;
  color: #080d1a;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.2s;
}
.target-role-apply:hover { filter: brightness(1.1); }
.target-role-apply:disabled { opacity: 0.6; cursor: default; }

/* Timeframe selector */
.tr-timeframe-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tr-timeframe-row[hidden] { display: none !important; }
.tr-timeframe-label { font-size: 13px; color: #64748b; white-space: nowrap; }
.tr-timeframe-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tr-timeframe-pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tr-timeframe-pill--active {
  background: #00d9be;
  color: #080d1a;
  border-color: #00d9be;
}

.target-role-active {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #00d9be;
  margin-bottom: 12px;
}
.target-role-active[hidden] { display: none !important; }
.target-role-clear {
  background: none;
  border: none;
  color: #00d9be;
  cursor: pointer;
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.target-role-clear:hover { opacity: 1; }

/* Career plan output section */
.career-plan-section { margin-top: 20px; }
.career-plan-section[hidden] { display: none !important; }
.cp-title  { font-size: 22px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.cp-subtitle { font-size: 14px; font-style: italic; color: #64748b; margin: 0 0 20px; }
.cp-current-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.cp-gap-card {
  background: rgba(245,158,11,0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.cp-watch-outs-card {
  background: rgba(239,68,68,0.05);
  border-left: 3px solid #ef4444;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.cp-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cp-card-label--neutral { color: #64748b; }
.cp-card-label--amber   { color: #f59e0b; }
.cp-card-label--red     { color: #ef4444; }
.cp-card-body { font-size: 14px; color: #1e293b; line-height: 1.6; margin: 0; }
.cp-section-heading {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 20px 0 12px;
}
/* Milestones timeline */
.cp-milestones { display: flex; flex-direction: column; gap: 0; }
.cp-milestone {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  position: relative;
}
.cp-milestone::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: rgba(0,217,190,0.25);
}
.cp-milestone:last-child::before { display: none; }
.cp-milestone-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00d9be;
  flex-shrink: 0;
  margin-top: 2px;
}
.cp-milestone-body { flex: 1; }
.cp-milestone-timeframe { font-size: 12px; color: #00d9be; font-weight: 600; margin-bottom: 2px; }
.cp-milestone-title { font-size: 15px; font-weight: 600; color: #0f172a; margin-bottom: 3px; }
.cp-milestone-demo { font-size: 13px; color: #64748b; font-style: italic; line-height: 1.5; }
/* Key moves */
.cp-moves { display: flex; flex-direction: column; gap: 10px; }
.cp-move {
  background: #0d1424;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
}
.cp-move-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.cp-move-title { font-size: 15px; font-weight: 600; color: #f1f5f9; }
.cp-move-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cp-move-pill--foundational { background: rgba(100,116,139,0.2); color: #94a3b8; }
.cp-move-pill--stretch      { background: rgba(96,165,250,0.15); color: #60a5fa; }
.cp-move-pill--audacious    { background: rgba(245,158,11,0.15); color: #f59e0b; }
.cp-move-rationale { font-size: 13px; color: #94a3b8; font-style: italic; line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 8px; margin: 0; }

/* ── Context panel ("Show your work") ── */
.context-panel {
  margin: 20px 0 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(8,13,26,0.06);
}

.context-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1e293b;
  text-align: left;
  transition: background 150ms;
}

.context-toggle:hover { background: rgba(0,0,0,0.02); }

.context-toggle-icon { font-size: 18px; flex-shrink: 0; padding-top: 1px; }

.context-toggle-text { flex: 1; min-width: 0; }

.context-toggle-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.context-toggle-sub {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-top: 4px;
  line-height: 1.5;
}

.context-toggle-chevron {
  font-size: 11px;
  color: #94a3b8;
  padding-top: 4px;
  transition: transform 220ms ease;
  flex-shrink: 0;
}

.context-toggle[aria-expanded="true"] .context-toggle-chevron { transform: rotate(180deg); }

.context-expanded {
  padding: 0 20px 20px;
  border-top: 1px solid #e2e8f0;
}

.context-textarea {
  width: 100%;
  min-height: 200px;
  background: #f8fafc;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 14px;
  resize: vertical;
  box-sizing: border-box;
  margin-top: 16px;
  transition: border-color 150ms;
}

.context-textarea::placeholder { color: #94a3b8; }
.context-textarea:focus { outline: none; border-color: var(--teal); }

.context-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 12px;
  flex-wrap: wrap;
}

.context-char-count { font-size: 12px; color: #64748b; }
.context-char-count--ok { color: #0891b2; }

.context-rescore-btn {
  background: var(--teal);
  color: #0a0f1e;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 200ms;
  white-space: nowrap;
}

.context-rescore-btn:hover { opacity: 0.85; }
.context-rescore-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.context-loading-msg {
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  transition: opacity 300ms ease;
}

.context-error {
  font-size: 13px;
  color: #dc2626;
  margin-top: 8px;
}

/* ── Gap analysis card (top of action plan) ── */
.gap-analysis-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(0,217,190,0.12), rgba(0,217,190,0.05));
  border: 1px solid rgba(0,217,190,0.3);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.gap-analysis-icon { font-size: 20px; flex-shrink: 0; padding-top: 2px; }

.gap-analysis-content { flex: 1; min-width: 0; }

.gap-analysis-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.gap-analysis-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.gap-analysis-footer {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  font-style: italic;
}

/* ── Role banner (above action plan) ── */
.role-banner {
  background: rgba(0, 217, 190, 0.08);
  border-left: 3px solid #00d9be;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #00d9be;
  margin-bottom: 14px;
}
.role-banner[hidden] { display: none !important; }

/* ── Headline role tag ── */
.headline-role-tag {
  font-size: 11px;
  font-weight: 600;
  color: #00d9be;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.headline-role-tag[hidden] { display: none !important; }

@media (max-width: 600px) {
  .tr-input-row { flex-wrap: wrap; }
  .target-role-input { width: 100%; flex: none; }
  .target-role-apply { width: 100%; text-align: center; }
}

/* ── Role match comparison card ── */
.role-match-card {
  background: #0d1424;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
}
.role-match-card[hidden] { display: none !important; }
.rmc-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.rmc-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 140px;
}
.rmc-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid;
}
.rmc-circle--main {
  border-color: #00d9be;
  background: rgba(0,217,190,0.08);
}
.rmc-circle--role {
  border-color: #6366f1;
  background: rgba(99,102,241,0.1);
}
.rmc-circle--role.rmc-red    { border-color: #ef4444; background: rgba(239,68,68,0.08); }
.rmc-circle--role.rmc-amber  { border-color: #f59e0b; background: rgba(245,158,11,0.08); }
.rmc-circle--role.rmc-indigo { border-color: #6366f1; background: rgba(99,102,241,0.1); }
.rmc-circle--role.rmc-gold   { border-color: #f0a500; background: rgba(240,165,0,0.08); }
.rmc-number {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
}
.rmc-label {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  text-align: center;
}
.rmc-sub {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}
.rmc-vs {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  flex-shrink: 0;
}
.rmc-hint {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

.rmc-gap {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}
.rmc-gap[hidden] { display: none !important; }

/* ---------- Signature actions (How to actually become this) ---------- */
.sig-actions-section {
  margin-top: 20px;
}

.sig-actions-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.sig-actions-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.sig-action-card {
  background: #0d1424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.sig-action-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.sig-action-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  flex: 1;
}

.sig-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.sig-pill--achievable {
  background: rgba(0, 217, 190, 0.12);
  color: #00d9be;
  border: 1px solid rgba(0, 217, 190, 0.3);
}

.sig-pill--moderate {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.sig-pill--ambitious {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sig-action-example {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0;
}

.sig-action-why {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 0;
}

/* =====================================================================
   V2 SCORE HERO — single dominant primary score
   ===================================================================== */

.score-display--v2 {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 40px;
}

.score-primary-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Bigger primary circle in v2 */
.score-display--v2 #score-circle {
  width: 200px;
  height: 200px;
}
.score-display--v2 #score-circle .score-number { font-size: 72px; }

.score-circle-label-v2 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -4px;
}

.score-tier-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.score-tier-group .score-label { margin-bottom: 0; }

/* Near-gold shine when 1–5 pts from Gold */
@keyframes near-gold-shine {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 14px rgba(240,165,0,0.5); }
}
.score-label.near-gold { animation: near-gold-shine 2.2s ease-in-out 4; }

/* ── Tier progress bar ─────────────────────────────────── */
.tier-progress-bar { margin-top: 2px; width: 210px; }
.tp-steps { display: flex; gap: 3px; }
.tp-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.tp-step-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background 0.4s;
}
.tp-step--done .tp-step-bar    { background: #94a3b8; }
.tp-step--active .tp-step-bar  { background: var(--teal); }
.tp-step--gold .tp-step-bar    { background: var(--color-gold); }

@keyframes near-gold-pulse {
  0%, 100% { background: #e2e8f0; }
  50%       { background: rgba(240,165,0,0.4); }
}
.tp-step--near-gold .tp-step-bar { animation: near-gold-pulse 1.8s ease-in-out 4; }

.tp-step-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  text-align: center;
  line-height: 1.2;
}
.tp-step--active .tp-step-label   { color: #1e293b; }
.tp-step--gold .tp-step-label     { color: var(--color-gold); }
.tp-step--done .tp-step-label     { color: #cbd5e1; }
.tp-step--upcoming .tp-step-label { color: #cbd5e1; }

/* ── Percentile in primary col ─────────────────────────── */
.score-percentile--inline { max-width: 210px; width: 210px; }
.score-percentile--inline .sp-title { font-size: 10px; text-align: center; }
.score-percentile--inline .sp-percentile { font-size: 11px; text-align: center; }
.score-percentile--inline .sp-bands { gap: 3px; }
.score-percentile--inline .sp-band { font-size: 9px; gap: 3px; }
.score-percentile--inline .sp-range { min-width: 30px; font-size: 8px; }
.score-percentile--inline .sp-label { font-size: 8px; white-space: nowrap; }

/* ── Body column ───────────────────────────────────────── */
.score-body-col { flex: 1; min-width: 0; }

.score-heading-v2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #1e293b;
}

.score-summary-v2 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* ── Human score: secondary compact row ───────────────── */
.human-score-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 12px;
  padding: 11px 14px;
  background: #f8fafc;
  border: 1px solid #e8edf4;
  border-radius: 10px;
}

.human-score-label-group { flex: 1; min-width: 0; }

.human-score-label-text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.score-circle--sm {
  width: 60px;
  height: 60px;
  border-width: 3px;
  flex-shrink: 0;
}
.score-circle--sm .score-number  { font-size: 20px; }
.score-circle--sm .score-out-of { font-size: 9px; margin-top: 1px; }

.score-gap-insight--v2 {
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
  background: transparent;
  border: none;
  padding: 0;
  max-width: none;
  text-align: left;
  margin: 0;
}

/* ── Primary CTA ──────────────────────────────────────── */
.score-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 12px 22px;
  background: var(--teal);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,217,190,0.28);
}
.score-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,217,190,0.38);
}

/* =====================================================================
   ACTION PLAN — persistent checklist cards
   ===================================================================== */

.ap-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #f0fdf9;
  border: 1px solid rgba(0,217,190,0.3);
  border-radius: 10px;
}

.ap-progress-track {
  flex: 1;
  height: 7px;
  background: rgba(0,217,190,0.15);
  border-radius: 999px;
  overflow: hidden;
}

.ap-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #0ea5e9);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
  width: 0%;
}

.ap-progress-label {
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
}

/* Fix cards */
.fixes-list--cards { gap: 10px; }

.fix-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #e8edf4;
  border-left-width: 3px;
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.18s, background 0.2s, opacity 0.25s;
}
.fix-card:hover { border-right-color: #cbd5e1; border-top-color: #cbd5e1; border-bottom-color: #cbd5e1; }
.fix-card[data-priority="critical"] { border-left-color: #ef4444; }
.fix-card[data-priority="high"]     { border-left-color: #f59e0b; }
.fix-card[data-priority="medium"]   { border-left-color: #34d399; }

.fix-card.is-done { opacity: 0.52; background: #f8fafc; }
.fix-card.is-done .fix-card-text { text-decoration: line-through; color: #94a3b8; }

/* Custom checkbox */
.fix-card-check { flex-shrink: 0; position: relative; width: 22px; height: 22px; margin-top: 1px; }
.fix-checkbox {
  position: absolute; inset: 0; opacity: 0;
  width: 100%; height: 100%; cursor: pointer; margin: 0; z-index: 1;
}
.fix-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: white;
  pointer-events: none;
  transition: border-color 0.15s, background 0.15s;
}
.fix-check-icon::after {
  content: '';
  display: none;
  width: 5px;
  height: 9px;
  border: 2.5px solid var(--navy);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.fix-checkbox:checked ~ .fix-check-icon { background: var(--teal); border-color: var(--teal); }
.fix-checkbox:checked ~ .fix-check-icon::after { display: block; }
.fix-checkbox:focus-visible ~ .fix-check-icon { outline: 2px solid var(--teal); outline-offset: 2px; }

.fix-card-body { flex: 1; min-width: 0; }

.fix-card-meta-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
}

.fix-card-text {
  font-size: 14px;
  line-height: 1.55;
  color: #263354;
  margin: 0;
  transition: color 0.2s;
}

.fix-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.fix-card-actions:empty { margin-top: 0; display: none; }

.fix-quickwin-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  background: rgba(0,217,190,0.08);
  border: 1px solid rgba(0,217,190,0.25);
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.fix-quickwin-link:hover { background: rgba(0,217,190,0.16); }

.fix-intv-nudge {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 3px;
}

.fix-intv-trigger {
  background: none;
  border: none;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.fix-intv-trigger:hover { color: var(--teal); }

/* =====================================================================
   STUCK SCORE — empathy module for repeat-visitor + no change
   ===================================================================== */

.stuck-score-card {
  background: #fffbeb;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 12px;
  padding: 16px 18px;
}

.stuck-score-heading { font-size: 14.5px; font-weight: 700; color: #92400e; margin: 0 0 3px 0; }
.stuck-score-sub { font-size: 12.5px; color: #b45309; margin: 0 0 14px 0; line-height: 1.45; }
.stuck-score-options { display: flex; flex-direction: column; gap: 8px; }

.stuck-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #fde68a;
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
  width: 100%;
}
.stuck-option:hover { border-color: #f59e0b; background: #fffbeb; }
.stuck-option-icon { font-size: 17px; flex-shrink: 0; line-height: 1.3; margin-top: 1px; }
.stuck-option-body { flex: 1; min-width: 0; }
.stuck-option-label { display: block; font-size: 13px; font-weight: 700; color: #78350f; margin-bottom: 1px; }
.stuck-option-desc  { font-size: 11.5px; color: #b45309; line-height: 1.4; margin: 0; }
.stuck-option-cta   { font-size: 11.5px; font-weight: 700; color: var(--teal); white-space: nowrap; align-self: center; flex-shrink: 0; }

/* =====================================================================
   BEFORE BLOCK — soften red to neutral slate
   ===================================================================== */

.ba-current { background: #f8fafc; border: 1px solid #e2e8f0; }
.ba-label-current { background: #f1f5f9; color: #475569; }
.ba-current-text { color: #64748b; opacity: 1; }

/* =====================================================================
   CONFETTI — tier-up celebration
   ===================================================================== */

.confetti-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

@keyframes confetti-fall {
  0%   { transform: translateY(-12px) rotate(0deg); opacity: 1; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(108vh) rotate(700deg); opacity: 0; }
}

.confetti-particle {
  position: absolute;
  top: -12px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  animation: confetti-fall linear forwards;
}

/* =====================================================================
   RESPONSIVE — v2 hero
   ===================================================================== */

@media (max-width: 640px) {
  .score-display--v2 {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }
  .score-primary-col { align-items: center; }
  .score-body-col { width: 100%; }
  .score-display--v2 #score-circle { width: 160px; height: 160px; }
  .score-display--v2 #score-circle .score-number { font-size: 58px; }
  .tier-progress-bar { width: 180px; }
  .score-percentile--inline { width: 180px; max-width: 180px; }
  .score-heading-v2 { font-size: 22px; }
  .score-primary-cta { width: 100%; justify-content: center; }
  .human-score-row { margin-top: 8px; }
}

@media (max-width: 480px) {
  .fix-card-meta-row .priority-badge,
  .fix-card-meta-row .time-badge,
  .fix-card-meta-row .fix-type-badge { font-size: 10px; }
  .fix-card-text { font-size: 13.5px; }
  .stuck-score-card { padding: 14px 16px; }
  .stuck-option-cta { display: none; }
}

/* =====================================================================
   MODAL SYSTEM — body lock + inner-panel scroll + mobile full-screen
   ===================================================================== */

/* Applied by ModalManager.open() — prevents background scroll */
body.modal-open { overflow: hidden !important; }

/* Mobile full-screen for content-heavy modals */
@media (max-width: 640px) {
  .strengthen-modal-backdrop,
  .url-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .strengthen-modal,
  .url-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    padding-top: 24px;
  }
  /* Sticky close button at top of panel */
  .strengthen-modal-close,
  .url-modal-close {
    position: sticky;
    top: 0;
    z-index: 1;
    float: right;
    background: var(--bg-card, #fff);
  }
  /* Feedback panel full-screen on very small screens */
  .feedback-panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }
  .feedback-modal {
    align-items: flex-end;
  }
}

/* =====================================================================
   CORRECTION SYSTEM — inline "Already have this" false-negative flagging
   ===================================================================== */

/* ── Correction button ── */
.correction-btn-wrap {
  display: inline-flex;
  align-items: center;
}

.correction-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  transition: color 0.15s;
  line-height: 1;
}

.correction-btn:hover {
  color: var(--teal, #00d9be);
  text-decoration-style: solid;
}

/* ── Confirmation state (replaces card content during 5s undo window) ── */
.fix-card.correction-confirming {
  background: #f0fdf9;
  border-color: #a7f3d0;
  min-height: 64px;
}

.correction-confirm-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  width: 100%;
}

.correction-confirm-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.correction-confirm-text {
  flex: 1;
  font-size: 13.5px;
  color: #065f46;
  line-height: 1.4;
}

.correction-confirm-text strong { font-weight: 700; }

.correction-undo-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid #6ee7b7;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 12px;
  color: #047857;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.correction-undo-btn:hover {
  background: #d1fae5;
  border-color: #34d399;
}

/* ── Dismiss animation ── */
.fix-card.correction-dismissed {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

/* ── Aggregate summary banner ── */
.corrections-summary {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
}

.corrections-summary-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.corrections-summary-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.corrections-summary-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.corrections-summary-msg {
  margin: 0;
  color: #78350f;
  line-height: 1.5;
}

.corrections-field-list {
  font-weight: 600;
  color: #92400e;
}

.corrections-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #b45309;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  align-self: flex-start;
  transition: color 0.15s;
}

.corrections-toggle-btn:hover { color: #92400e; }

/* ── Flagged items list (shown when toggled) ── */
.corrections-flagged-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid #fde68a;
  padding-top: 10px;
}

.corrections-flagged-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.corrections-flagged-field {
  font-size: 12.5px;
  font-weight: 700;
  color: #92400e;
}

.corrections-flagged-claim {
  font-size: 12px;
  color: #b45309;
  font-style: italic;
}

/* =====================================================================
   HOW TO APPLY — LinkedIn navigation disclosure component
   ===================================================================== */

/* ── details/summary shell ── */
.hta-details {
  margin: -8px 0 14px;   /* pull up slightly against optimized-header margin */
  font-size: 13px;
  line-height: 1.5;
}

/* ── collapsed summary (the always-visible trigger line) ── */
.hta-summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
  color: var(--teal, #00d9be);
  font-size: 12.5px;
  font-weight: 500;
  padding: 2px 0;
  user-select: none;
  border-radius: 4px;
  outline-offset: 3px;
}

/* Remove default disclosure triangle in all browsers */
.hta-summary::-webkit-details-marker { display: none; }
.hta-summary::marker               { display: none; }

.hta-summary-text {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.hta-summary-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.hta-details[open] .hta-summary-arrow {
  transform: rotate(90deg);
}

.hta-details[open] .hta-summary-text {
  text-decoration-style: solid;
}

.hta-summary:hover .hta-summary-text { color: #00b8a0; }

/* ── expanded body ── */
.hta-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

/* ── warning (amber — skills bulk-edit warning must be unmissable) ── */
.hta-warning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  color: #78350f;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.hta-warning-icon {
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 1px;
  color: #d97706;
}

/* ── estimated time ── */
.hta-time {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
}

.hta-time strong { color: #475569; font-weight: 600; }

/* ── numbered steps ── */
.hta-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hta-step {
  font-size: 13px;
  color: #1e293b;
  line-height: 1.5;
  padding-left: 2px;
}

/* ── quirks (gray informational) ── */
.hta-quirks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
}

.hta-quirk {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.hta-quirk-icon {
  flex-shrink: 0;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 1px;
}

/* ── deep link button ── */
.hta-deep-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 7px 14px;
  background: var(--teal, #00d9be);
  color: #080d1a;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  margin-top: 2px;
}

.hta-deep-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hta-deep-link:active { opacity: 0.75; transform: none; }

/* ── mobile layout ── */
@media (max-width: 640px) {
  .hta-body { padding: 12px; gap: 8px; }
  .hta-steps { padding-left: 16px; }
  .hta-deep-link { width: 100%; justify-content: center; }
}

/* =====================================================================
   ACTION PLAN — controllability groups
   ===================================================================== */

/* ── Group wrapper ── */
.fix-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.fix-group:last-child { margin-bottom: 0; }

/* ── Group header ── */
.fix-group-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 12px 14px;
  border-left: 3px solid transparent;
  margin-bottom: 8px;
}

.fix-group-heading {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.fix-group-subheading {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ── GROUP 1: direct (green) — primary treatment ── */
.fix-group--direct .fix-group-header {
  border-left-color: #10b981;
}

.fix-group--direct .fix-group-heading { color: #065f46; }

/* ── GROUP 2: indirect (amber) — medium treatment ── */
.fix-group--indirect .fix-group-header {
  border-left-color: #f59e0b;
}

.fix-group--indirect .fix-group-heading { color: #78350f; }

.fix-group--indirect .fix-card--indirect {
  border-left-color: #f59e0b;
  background: #fffdf5;
}

/* ── GROUP 3: external (slate) — informational only ── */
.fix-group--external .fix-group-header {
  border-left-color: #94a3b8;
}

.fix-group--external .fix-group-heading { color: #475569; }

.fix-group--external .fix-card--external {
  border-left-color: #cbd5e1;
  background: #f8fafc;
  opacity: 0.85;
  cursor: default;
}

.fix-group--external .fix-card--external:hover {
  border-right-color: #e2e8f0;
  border-top-color: #e2e8f0;
  border-bottom-color: #e2e8f0;
}

.fix-group--external .fix-card-text {
  color: #475569;
  font-size: 13.5px;
}

/* ── Group list (the <ul> inside each section) ── */
.fix-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── "Why" explainer for indirect items ── */
.fix-why-explainer {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 8px 0 0;
  padding: 9px 11px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.5;
}

.fix-why-icon {
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 0px;
}

/* ── Onboarding tooltip ── */
.ap-grouping-tooltip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.5;
  animation: apTooltipIn 0.3s ease;
}

@keyframes apTooltipIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ap-gt-text { flex: 1; }

.ap-gt-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}

.ap-gt-close:hover { background: #dbeafe; }

/* ── Mobile ── */
@media (max-width: 640px) {
  .fix-group { margin-bottom: 20px; }
  .fix-group-header { padding-left: 10px; }
  .fix-group-heading { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   GOAL BANNER — fixed strip below nav
   ═══════════════════════════════════════════════════════════════ */
.goal-banner {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 195;
  height: 44px;
  background: rgba(0, 217, 190, 0.12);
  border-bottom: 1px solid rgba(0, 217, 190, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.goal-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.goal-banner-icon { font-size: 16px; flex-shrink: 0; }

.goal-banner-label {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  flex-shrink: 0;
}

.goal-banner-text {
  font-size: 13px;
  font-weight: 700;
  color: #00d9be;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goal-banner-edit {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(0, 217, 190, 0.4);
  color: #00d9be;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.goal-banner-edit:hover {
  background: rgba(0, 217, 190, 0.12);
  border-color: rgba(0, 217, 190, 0.7);
}

/* Push results-subnav down when goal banner is visible */
.has-goal-banner .results-subnav { top: 100px; }

/* ═══════════════════════════════════════════════════════════════
   GOAL CAPTURE OVERLAY — full-screen intercept
   ═══════════════════════════════════════════════════════════════ */
.goal-capture-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.goal-capture-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 26, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.goal-capture-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.goal-capture-header { margin-bottom: 28px; }

.gc-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #00d9be;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.gc-title {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.3;
}

/* Inferred role card */
.gc-inferred-card {
  background: rgba(0, 217, 190, 0.06);
  border: 1px solid rgba(0, 217, 190, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.gc-inferred-badge {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.gc-inferred-role {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.gc-inferred-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Buttons */
.gc-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: filter 0.15s, background 0.15s, border-color 0.15s;
  margin-bottom: 10px;
  font-family: inherit;
}

.gc-btn--primary {
  background: #00d9be;
  color: #080d1a;
}
.gc-btn--primary:hover:not(:disabled) { filter: brightness(1.1); }
.gc-btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gc-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}
.gc-btn--secondary:hover { background: rgba(255, 255, 255, 0.1); }

.gc-btn--ghost {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}
.gc-btn--ghost:hover { background: rgba(255, 255, 255, 0.04); }

.gc-skip-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  padding: 8px 0 0;
  margin-top: 4px;
  font-family: inherit;
  transition: color 0.15s;
}
.gc-skip-link:hover { color: #94a3b8; }

/* Form fields */
.gc-field { margin-bottom: 16px; }

.gc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.gc-optional {
  font-weight: 400;
  color: #64748b;
}

.gc-input,
.gc-select,
.gc-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 14px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.gc-input:focus,
.gc-select:focus,
.gc-textarea:focus {
  outline: none;
  border-color: rgba(0, 217, 190, 0.5);
}

.gc-select { cursor: pointer; }

.gc-textarea {
  resize: vertical;
  min-height: 72px;
}

.gc-char-count {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   GOAL NUDGE — dismissible prompt at top of action plan
   ═══════════════════════════════════════════════════════════════ */
.goal-nudge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.goal-nudge-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }

.goal-nudge-body { flex: 1; }

.goal-nudge-text {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 10px;
  line-height: 1.5;
}

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

.goal-nudge-set {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s;
}
.goal-nudge-set:hover { filter: brightness(1.1); }

.goal-nudge-dismiss {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 4px;
  transition: color 0.15s;
}
.goal-nudge-dismiss:hover { color: #94a3b8; }

@media (max-width: 640px) {
  .goal-capture-card { padding: 28px 20px 20px; }
  .gc-title { font-size: 17px; }
  .goal-banner { height: 40px; }
  .has-goal-banner .results-subnav { top: 96px; }
}

/* ═══════════════════════════════════════════════════════════════
   PROGRESSION MODULE — repeat-visitor states B / C / D
   ═══════════════════════════════════════════════════════════════ */
.progression-module {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* State B — improved */
.progression-module--improved { border: 1px solid rgba(0, 217, 190, 0.3); }
.prog-improved-banner {
  background: rgba(0, 217, 190, 0.08);
  padding: 18px 20px;
}
.prog-improved-headline {
  font-size: 15px;
  font-weight: 700;
  color: #00d9be;
  margin-bottom: 8px;
}
.prog-dim-wins {
  font-size: 13px;
  color: #94a3b8;
}

/* State D — dropped */
.progression-module--dropped { border: 1px solid rgba(245, 158, 11, 0.3); }
.prog-dropped-banner {
  background: rgba(245, 158, 11, 0.06);
  padding: 18px 20px;
}
.prog-dropped-headline {
  font-size: 15px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 8px;
}
.prog-dropped-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 10px;
}
.prog-dropped-causes {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 14px;
  padding-left: 18px;
  line-height: 1.8;
}
.prog-dim-drops { font-size: 13px; color: #94a3b8; margin-bottom: 12px; }
.prog-dropped-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* State C — flat */
.progression-module--flat { border: 1px solid rgba(255, 255, 255, 0.06); }
.prog-flat-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 20px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prog-flat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.prog-card {
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
}
.prog-card:last-child { border-right: none; }

.prog-card-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }

.prog-card-body { flex: 1; min-width: 0; }

.prog-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
  line-height: 1.4;
}

.prog-card-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 10px;
  line-height: 1.5;
}
.prog-card-sub strong { color: #e2e8f0; }

.prog-card-list {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 10px;
  padding-left: 14px;
  line-height: 1.7;
}

.prog-card-link,
.prog-action-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #00d9be;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: opacity 0.15s;
}
.prog-card-link:hover,
.prog-action-btn:hover { opacity: 0.75; }

.prog-reprioritize-btn { display: block; }

/* Refresh card inline states */
.prog-refresh-btn {
  font-size: 12px;
  font-weight: 600;
  color: #00d9be;
  background: none;
  border: 1px solid rgba(0,217,190,0.3);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.prog-refresh-btn:hover { background: rgba(0,217,190,0.08); }

.prog-refresh-progress { display: flex; flex-direction: column; gap: 6px; }
.prog-refresh-msg { font-size: 12px; color: #94a3b8; }
.prog-refresh-track {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.prog-refresh-fill {
  height: 100%;
  background: #00d9be;
  border-radius: 2px;
  transition: width 0.4s linear;
}
.prog-refresh-time { font-size: 11px; color: #64748b; }

.prog-refresh-failure {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #f59e0b;
}
.prog-refresh-failure-sub { font-size: 11px; color: #94a3b8; }
.prog-refresh-failure-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.prog-refresh-report { font-size: 12px; color: #64748b; }

/* Refresh modal progress bar */
.refresh-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
}
.refresh-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.refresh-progress-fill {
  height: 100%;
  background: #00d9be;
  border-radius: 3px;
  transition: width 0.4s linear;
  width: 0%;
}
.refresh-progress-label {
  font-size: 12px;
  color: #94a3b8;
  min-width: 52px;
  text-align: right;
  flex-shrink: 0;
}
.refresh-fail-icon { font-size: 32px; text-align: center; margin-bottom: 8px; }

/* Sparkline upgrade */
.sparkline-wrap { position: relative; display: inline-block; width: 100%; }
.sparkline-svg  { display: block; width: 100%; height: auto; overflow: visible; }
.spark-tooltip {
  position: absolute;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 10;
}

@media (max-width: 700px) {
  .prog-flat-cards { grid-template-columns: 1fr; }
  .prog-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .prog-card:last-child { border-bottom: none; }
}

/* ---------- Share card v2 ---------- */
.share-card--v2 {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.share-card--v2 .share-header { margin-bottom: 0; }

.share-og-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.share-og-img {
  display: block;
  width: 100%;
  height: auto;
}

.share-tagline {
  font-size: 15px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
}

/* Primary destination buttons */
.share-primary-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-dest-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s, transform 0.12s;
  text-decoration: none;
}
.share-dest-btn:hover  { opacity: 0.85; }
.share-dest-btn:active { transform: scale(0.97); }

.share-dest-btn--linkedin {
  background: #0a66c2;
  color: #fff;
}
.share-dest-btn--x {
  background: #000;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.share-dest-btn--email {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.12);
}
.share-dest-btn--copy {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.12);
}
.share-dest-btn--native {
  background: var(--teal, #00d9be);
  color: var(--navy, #0b1623);
  font-weight: 700;
  width: 100%;
  justify-content: center;
  font-size: 15px;
}

.share-dest-icon {
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

/* Referral count */
.share-referral-count {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  text-align: center;
}

/* Customize disclosure */
.share-customize-details {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 16px;
}
.share-customize-summary {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.share-customize-summary::-webkit-details-marker { display: none; }
.share-customize-summary::before {
  content: '▸ ';
  font-size: 11px;
}
.share-customize-details[open] .share-customize-summary::before { content: '▾ '; }

/* Angle grid */
.share-angles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.share-angle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.15s, background 0.15s;
}
.share-angle--active {
  border-color: var(--teal, #00d9be);
  background: rgba(0,217,190,0.06);
}

.share-angle-emoji {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.share-angle-body {
  flex: 1;
  min-width: 0;
}

.share-angle-label {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.share-angle-preview {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.share-angle-use {
  flex-shrink: 0;
  align-self: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.share-angle-use:hover {
  border-color: var(--teal, #00d9be);
  color: var(--teal, #00d9be);
}
.share-angle--active .share-angle-use {
  border-color: var(--teal, #00d9be);
  color: var(--teal, #00d9be);
  background: rgba(0,217,190,0.08);
}

@media (max-width: 600px) {
  .share-card--v2 { padding: 20px 16px; }
  .share-primary-btns { flex-direction: column; }
  .share-dest-btn { width: 100%; justify-content: center; }
  .share-angle { flex-wrap: wrap; }
  .share-angle-use { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   EMAIL GATE — unlock wall for action plan / about / breakdown
   ═══════════════════════════════════════════════════════════════ */

.email-gate {
  background: linear-gradient(to bottom, rgba(248,250,252,0) 0%, #f8fafc 36%);
  padding: 60px 24px 28px;
  text-align: center;
  margin-top: -48px;
  border-radius: 0 0 12px 12px;
}

.email-gate--inline {
  background: none;
  padding: 20px 0 4px;
  margin-top: 0;
  border-radius: 0;
}

.email-gate-lock {
  font-size: 28px;
  margin-bottom: 10px;
}

.email-gate-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}

.email-gate-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px;
}

.email-gate-form {
  display: flex;
  gap: 8px;
  max-width: 380px;
  margin: 0 auto;
}

.email-gate-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s;
}

.email-gate-input:focus { border-color: var(--teal); }

.email-gate-btn {
  padding: 10px 18px;
  background: var(--teal);
  color: #0b1623;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.email-gate-btn:hover { opacity: 0.88; }

.email-gate-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .email-gate-form { flex-direction: column; }
  .email-gate-btn { width: 100%; }
}
