:root {
  --bg: #f5f4f0;
  --bg-alt: #efefeb;
  --fg: #1c1c1a;
  --fg-muted: #6b6b63;
  --accent: #14372b;
  --accent-light: #1d5440;
  --amber: #c9773a;
  --score-high: #2d7a4f;
  --score-ok: #7a6e2d;
  --score-warn: #a33b1a;
  --border: #e0dfd9;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-logo-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── SIGNUP FORM ── */
.signup-form { margin-bottom: 28px; }
.signup-fields {
  display: flex;
  gap: 10px;
  max-width: 460px;
}
.signup-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: white;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-input::placeholder { color: var(--fg-muted); }
.signup-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20,55,43,0.08);
}
.btn-primary {
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-light); }
.btn-primary:active { transform: scale(0.98); }

/* Search widget */
.search-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 14px;
}
.search-icon { flex-shrink: 0; }
.search-result {
  padding: 20px 16px;
}
.result-manager {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.result-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.result-name { font-weight: 600; font-size: 14px; }
.result-role { font-size: 12px; color: var(--fg-muted); }
.result-score {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.score-ok { background: #f0ede5; color: #7a6e2d; }
.score-low { background: #fde8e2; color: #a33b1a; }
.result-bar {
  height: 4px;
  background: var(--bg-alt);
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  background: var(--score-ok);
  border-radius: 2px;
}
.result-verdict {
  font-size: 13px;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 8px;
}
.result-source { font-size: 11px; color: var(--fg-muted); }

.search-prompt-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 12px;
  font-style: italic;
}
.search-placeholder { font-size: 14px; }

/* ── RESULTS EXPLAINER ── */
.results-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.explainer-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.explainer-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}
.explainer-desc { font-size: 12px; color: var(--fg-muted); line-height: 1.4; }
.explainer-warn { border-color: var(--score-warn); }
.explainer-warn .explainer-label { color: var(--score-warn); }

/* Hero stat block */
.hero-stat-block {
  background: var(--accent);
  border-radius: 16px;
  padding: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 80px;
}
.stat-item { padding: 20px 0; }
.stat-item:first-child { padding-top: 0; }
.stat-item:last-child { padding-bottom: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.5;
}
.stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* ── TRUSTBAR ── */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trustbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.trustbar-label {
  font-size: 12px;
  color: var(--fg-muted);
  white-space: nowrap;
  font-weight: 500;
}
.trustbar-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-muted);
  opacity: 0.6;
  letter-spacing: -0.01em;
}

/* ── SECTION SHARED ── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
}

/* ── HOW ── */
.how { padding: 80px 0; }
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.how-step {
  background: white;
  padding: 40px 36px;
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 20px;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.how-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── FEATURES ── */
.features { padding: 80px 0; background: var(--bg-alt); }
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.feature-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.feature-accent .feature-icon { color: rgba(255,255,255,0.7); }
.feature-accent h3 { color: white; }
.feature-accent p { color: rgba(255,255,255,0.8); }
.feature-cta {
  border: 1px dashed var(--accent);
  background: transparent;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 96px 0;
  background: var(--fg);
  color: white;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.manifesto-quote {
  border-left: 2px solid var(--amber);
  padding-left: 32px;
}
.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 16px;
}
.manifesto-quote cite {
  font-size: 13px;
  font-style: normal;
  color: rgba(255,255,255,0.5);
}

/* ── CLOSING ── */
.closing {
  padding: 96px 0;
  background: var(--accent);
  color: white;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 40px;
  line-height: 1.6;
}
.closing-vision {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
  margin-top: 40px;
}
.closing-vision p {
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.7;
}

/* ── CLOSING SIGNUP ── */
.closing-signup-form { margin-bottom: 0; }
.closing-signup-fields {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 12px;
}
.closing-signup-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.1);
  color: white;
  outline: none;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}
.closing-signup-input::placeholder { color: rgba(255,255,255,0.5); }
.closing-signup-input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}
.btn-closing-primary {
  padding: 12px 24px;
  background: white;
  color: var(--accent);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-closing-primary:hover { background: rgba(255,255,255,0.9); }
.btn-closing-primary:active { transform: scale(0.98); }
.closing-signup-note {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ── FOOTER ── */
.footer {
  background: var(--fg);
  color: rgba(255,255,255,0.5);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stat-block { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { padding: 16px 0; }
  .stat-item:nth-child(odd) { padding-right: 16px; border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(even) { padding-left: 16px; }
  .stat-divider { display: none; }
  .how-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .trustbar-logos { gap: 20px; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stat-block { grid-template-columns: 1fr 1fr; }
  .how-step { padding: 28px 24px; }
  .closing-headline { font-size: 32px; }
  .trustbar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-links { display: none; }
}

/* ── MANAGER DETAIL PAGE ── */
.manager-header { padding: 48px 0 32px; }
.manager-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.manager-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.manager-name { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.1; }
.manager-title-co { font-size: 15px; color: var(--fg-muted); }
.score-badge { width: 56px; height: 56px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.score-high { background: var(--score-high); color: white; }
.score-ok { background: #f0ede5; color: #7a6e2d; }
.score-warn { background: #fde8e2; color: #a33b1a; }
.score-low { background: #fde8e2; color: #a33b1a; }
.profile-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 24px 28px; margin-bottom: 24px; }
.overall-score-row { display: flex; align-items: baseline; gap: 16px; }
.overall-score-num { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1; }
.overall-score-label { display: flex; flex-direction: column; gap: 2px; }
.overall-score-text { font-size: 20px; font-weight: 600; }
.overall-score-sub { font-size: 13px; color: var(--fg-muted); }
.dimensions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.dim-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.dim-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 8px; }
.dim-bar { height: 6px; background: var(--bg-alt); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.dim-bar-fill { height: 100%; border-radius: 3px; }
.dim-bar-fill-high { background: var(--score-high); }
.dim-bar-fill-ok { background: var(--score-ok); }
.dim-bar-fill-warn { background: var(--score-warn); }
.dim-bar-fill-low { background: var(--score-low); }
.dim-score { font-size: 13px; font-weight: 600; }
.comp-card { background: var(--bg-alt); border-radius: 10px; padding: 20px 24px; margin-bottom: 48px; }
.comp-range { display: flex; gap: 32px; flex-wrap: wrap; }
.comp-item label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-muted); margin-bottom: 4px; }
.comp-item span { font-size: 15px; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-muted); text-decoration: none; margin-bottom: 24px; }
.back-link:hover { color: var(--fg); }

/* ── GLASSDOOR BADGE ── */
.glassdoor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  margin-top: 4px;
  cursor: pointer;
}
.glassdoor-badge:hover { color: var(--fg); }
.glassdoor-stars { color: var(--amber); letter-spacing: -1px; }
.glassdoor-rating { font-weight: 600; }
.glassdoor-count { color: var(--fg-muted); }
.glassdoor-recommend { opacity: 0.75; }

/* ── RESULT BARS ── */
.result-bar-fill-high { background: var(--score-high); }
.result-bar-fill-ok { background: var(--score-ok); }
.result-bar-fill-warn { background: var(--score-warn); }
.result-bar-fill-low { background: var(--score-low); }
.search-result { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.search-result:hover .result-name { color: var(--accent); }

@media (max-width: 600px) {
  .manager-name { font-size: 28px; }
  .dimensions-grid { grid-template-columns: 1fr; }
  .overall-score-num { font-size: 48px; }
}