/* HireOS Landing Page - Recruiting Execution System */
/* Fonts: Space Grotesk (headings) + DM Sans (body) */
:root {
  --bg: #0B0B0F;
  --surface: #131318;
  --surface-2: #1A1A22;
  --border: #222230;
  --text: #E8E8F0;
  --text-dim: #6E6E8A;
  --text-muted: #3A3A52;
  --amber: #F59E0B;
  --amber-dim: #8A5A00;
  --amber-glow: rgba(245, 158, 11, 0.15);
  --p0: #F59E0B;
  --p1: #22C55E;
  --p2: #6366F1;
  --p3: #6E6E8A;
}

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

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 {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
  background: var(--amber-glow);
  border: 1px solid var(--amber-dim);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  font-weight: 500;
}
.label-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-sub strong {
  color: var(--amber);
}
.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 2px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Terminal */
.cmd-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.terminal-header {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-dot.red { background: #FF5F57; }
.terminal-dot.amber { background: #FEBC2E; }
.terminal-dot.green { background: #28C840; }
.terminal-title {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 8px;
  font-family: 'Space Grotesk', monospace;
}
.terminal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.terminal-line {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  align-items: center;
}
.terminal-line:hover { background: var(--surface-2); }
.terminal-line.top-line { background: var(--surface-2); }
.terminal-line.dim { opacity: 0.45; }
.t-time { color: var(--text-dim); font-size: 11px; }
.t-label { color: var(--text); }
.t-prio {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  min-width: 32px;
}
.p0 { background: var(--amber-glow); color: var(--amber); border: 1px solid var(--amber-dim); }
.p1 { background: rgba(34,197,94,0.1); color: var(--p1); border: 1px solid rgba(34,197,94,0.3); }
.p2 { background: rgba(99,102,241,0.1); color: var(--p2); border: 1px solid rgba(99,102,241,0.3); }
.p3 { background: rgba(110,110,138,0.1); color: var(--p3); border: 1px solid rgba(110,110,138,0.3); }

/* P0 bar */
.p0-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--amber-glow);
  border: 1px solid var(--amber-dim);
  border-radius: 8px;
}
.p0-indicator {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.p0-text {
  font-size: 12px;
  color: var(--text-dim);
}

/* Rule */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.rule-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.rule-text {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.02em;
}

/* Section labels */
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 560px;
}

/* Tiers section */
.tiers {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.tiers-header {
  margin-bottom: 48px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
}
.p0-card { border-color: var(--amber-dim); background: linear-gradient(135deg, var(--surface) 0%, rgba(245,158,11,0.04) 100%); }
.p1-card { border-color: rgba(34,197,94,0.2); }
.p2-card { border-color: rgba(99,102,241,0.2); }
.p3-card { border-color: rgba(110,110,138,0.15); }
.tier-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.tier-rank {
  font-family: 'Space Grotesk', monospace;
  font-size: 28px;
  font-weight: 700;
}
.p0-card .tier-rank { color: var(--amber); }
.p1-card .tier-rank { color: var(--p1); }
.p2-card .tier-rank { color: var(--p2); }
.p3-card .tier-rank { color: var(--p3); }
.tier-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.tier-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.tier-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.tier-examples li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.tier-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}
.p0-card .tier-examples li::before { background: var(--amber-dim); }
.p1-card .tier-examples li::before { background: rgba(34,197,94,0.4); }
.p2-card .tier-examples li::before { background: rgba(99,102,241,0.4); }
.p3-card .tier-examples li::before { background: var(--text-muted); }
.tier-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
}
.p0-badge { background: var(--amber-glow); color: var(--amber); border: 1px solid var(--amber-dim); }
.p1-badge { background: rgba(34,197,94,0.08); color: var(--p1); border: 1px solid rgba(34,197,94,0.25); }
.p2-badge { background: rgba(99,102,241,0.08); color: var(--p2); border: 1px solid rgba(99,102,241,0.25); }
.p3-badge { background: rgba(110,110,138,0.08); color: var(--p3); border: 1px solid rgba(110,110,138,0.2); }
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.p1-dot { background: var(--p1); }
.p2-dot { background: var(--p2); }
.p3-dot { background: var(--p3); }

/* Schedule */
.schedule {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.schedule-left { position: sticky; top: 40px; }
.escalation {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.esc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.esc-item {
  font-size: 13px;
  color: var(--text-dim);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.esc-item:last-child { border-bottom: none; }

.schedule-right { display: flex; flex-direction: column; gap: 2px; }
.day-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.day-block:last-child { border-bottom: none; }
.time-marker {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 3px;
}
.day-content { display: flex; align-items: flex-start; gap: 12px; }
.day-prio {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.p0-dot-small { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.p1-dot-small { background: var(--p1); }
.p2-dot-small { background: var(--p2); }
.day-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.day-sub { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.muted-block .day-title,
.muted-block .day-sub { opacity: 0.5; }
.muted { color: var(--text-muted); }

/* Closing */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 800px; }
.closing-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.bar-left, .bar-right { display: flex; align-items: center; gap: 16px; flex: 1; }
.bar-right { justify-content: flex-end; }
.bar-rule { flex: 1; height: 1px; background: var(--amber-dim); }
.bar-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--amber);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.closing-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 600px;
}
.closing-pillars {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}
.pillar {
  flex: 1;
  padding: 28px 24px;
  background: var(--surface);
}
.pillar-sep { width: 1px; background: var(--border); }
.pillar-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.pillar-text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.closing-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline { font-size: 12px; color: var(--text-dim); }
.footer-meta { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .schedule { grid-template-columns: 1fr; gap: 40px; }
  .schedule-left { position: static; }
  .tier-grid { grid-template-columns: 1fr; }
  .closing-pillars { flex-direction: column; }
  .pillar-sep { width: 100%; height: 1px; }
}
@media (max-width: 600px) {
  .hero, .tiers, .schedule, .closing { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 16px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { flex-wrap: wrap; }
}