/* === BASE === */
:root {
  --bg: #161412;
  --surface: #1e1b17;
  --border: #2e2a23;
  --amber: #c97d2e;
  --amber-dim: rgba(201, 125, 46, 0.15);
  --amber-light: #e8a84a;
  --text: #f0ebe2;
  --text-muted: #8a7f70;
  --text-dim: #4a4238;
  --red: #e05252;
  --green: #4caf7d;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 96px;
  min-height: 85vh;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 48px;
}

.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.proof-stat:first-child { padding-left: 0; }

.proof-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}

.proof-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === SCREEN FRAME === */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen-frame {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #111009;
  border-bottom: 1px solid var(--border);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.screen-dot.red { background: #e05252; }
.screen-dot.yellow { background: #e0c452; }
.screen-dot.green { background: #4caf7d; }

.screen-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}

.screen-body { padding: 20px; }

.job-title-bar {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 8px 12px;
  background: var(--border);
  border-radius: 6px;
  text-align: center;
}

.candidate-list { display: flex; flex-direction: column; gap: 8px; }

.candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.candidate.top {
  border-color: var(--amber);
  background: var(--amber-dim);
}

.rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
}

.candidate.top .rank { color: var(--amber); }

.c-info { flex: 1; }
.c-name { font-size: 14px; font-weight: 600; color: var(--text); }
.c-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.score-block { text-align: right; }
.score-pill {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}
.score-pill.high { background: rgba(76,175,125,0.2); color: #4caf7d; }
.score-pill.mid { background: rgba(201,125,46,0.2); color: var(--amber-light); }
.score-pill.low { background: rgba(224,82,82,0.15); color: #e05252; }
.score-evidence { font-size: 10px; color: var(--text-muted); }

.screen-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.voice-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 4px 8px;
  border-radius: 4px;
}

/* === PROMISE === */
.promise {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

.promise-annotation {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.promise-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.promise-card {
  padding: 28px 28px 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.promise-card.fail {
  background: var(--surface);
}

.promise-card.win {
  background: rgba(201,125,46,0.06);
  border-color: var(--amber);
}

.promise-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.promise-card.fail .promise-icon {
  background: rgba(224,82,82,0.12);
  color: var(--red);
}

.promise-card.win .promise-icon {
  background: var(--amber-dim);
  color: var(--amber);
}

.promise-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.promise-card.fail p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.promise-card.win p { font-size: 14px; color: var(--text); line-height: 1.6; }

/* === HOW === */
.how {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.how-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.how-step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--amber-dim);
  line-height: 1;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.how-coda {
  margin-top: 48px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* === RUBRIC === */
.rubric {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

.rubric-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rubric-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.rubric-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.rubric-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.rubric-attributes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.attr {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}

.attr-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.attr-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* === RUBRIC SAMPLE === */
.rubric-sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.rs-header {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.rs-row {
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.rs-ksa {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.rs-bar-wrap {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.rs-bar {
  height: 100%;
  background: var(--text-muted);
  border-radius: 3px;
}

.rs-bar.amber { background: var(--amber); }

.rs-score {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
}

.rs-score.amber { color: var(--amber); }

.rs-cite {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-left: 102px;
  border-left: 2px solid var(--border);
  margin-left: 0;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.closing-promise {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
}

/* === FOOTER === */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px 64px; gap: 48px; min-height: unset; }
  .nav { padding: 20px 24px; }
  .promise { padding: 64px 24px; }
  .promise-grid { grid-template-columns: 1fr; }
  .how { padding: 64px 24px; }
  .rubric { padding: 64px 24px; }
  .rubric-inner { grid-template-columns: 1fr; gap: 48px; }
  .rubric-right { order: -1; }
  .closing { padding: 80px 24px; }
  .footer { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 36px; }
  .hero-proof-row { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
  .how-step { grid-template-columns: 1fr; gap: 16px; }
  .step-num { font-size: 28px; }
  .rs-row { grid-template-columns: 80px 1fr 40px; }
  .rs-cite { padding-left: 0; border-left: none; }
}