:root {
  --surface: #F5F6F2;
  --card: #FFFFFF;
  --ink: #14181A;
  --muted: #6E7670;
  --accent: #2F6F62;
  --accent-strong: #1F4D43;
  --accent-soft: #E2EDE8;
  --line: #DEE2DA;
  --danger: #B3261E;
  --danger-soft: #FBEAE9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 26, 0.04), 0 8px 24px rgba(20, 24, 26, 0.05);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--surface);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
}
.page { max-width: 1040px; margin: 0 auto; padding: 0 28px 80px; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.02em; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; margin: 0; letter-spacing: -0.01em; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.logo { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.25rem; }
.nav-pill { background: var(--accent-soft); color: var(--accent-strong); font-size: 0.78rem; padding: 6px 14px; border-radius: 999px; font-weight: 500; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 48px 0 88px; }
.hero h1 { font-size: 2.9rem; line-height: 1.08; margin-bottom: 20px; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 440px; margin: 0 0 32px; line-height: 1.5; }
.cta-row { display: flex; gap: 14px; }
.cta-row .btn-primary, .cta-row .btn-secondary { width: auto; padding: 14px 24px; font-weight: 600; }

.flow { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px; display: flex; flex-direction: column; gap: 0; box-shadow: var(--shadow); }
.flow-step { display: flex; align-items: center; gap: 14px; }
.flow-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-icon svg { width: 22px; height: 22px; stroke: var(--accent-strong); fill: none; stroke-width: 1.6; }
.flow-label { font-weight: 600; font-size: 0.95rem; margin: 0; }
.flow-sub { font-size: 0.8rem; color: var(--muted); margin: 0; }
.flow-line { width: 1.5px; height: 28px; background: var(--line); margin-left: 23px; }

section.how { padding: 0 0 88px; }
section.preview { padding: 0 0 96px; }
.section-head { text-align: center; max-width: 520px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--accent-strong); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: 1.9rem; margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num { font-family: 'IBM Plex Mono', monospace; color: var(--accent); font-size: 0.85rem; font-weight: 500; margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.45; }

.app-flow { max-width: 680px; margin: 0 auto; }

.progress { display: flex; gap: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.progress-step { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.progress-step.active { color: var(--accent); font-weight: 600; }
.progress-step.done { color: var(--ink); }

.alert { background: var(--danger-soft); border: 1px solid var(--danger); color: var(--danger); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert.hidden { display: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 20px; }
.card.hidden { display: none; }

.dropzone {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: 28px 20px; cursor: pointer; color: var(--muted); font-size: 0.95rem;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--accent-soft); }

.divider { text-align: center; color: var(--muted); font-size: 0.82rem; margin: 16px 0; }

textarea, input[type="text"], input[type="email"] {
  width: 100%; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); resize: vertical;
}
textarea:focus, input[type="text"]:focus, input[type="email"]:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; font-size: 0.88rem; color: var(--muted); line-height: 1.4; cursor: pointer; }
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }

.btn-primary {
  width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 10px;
  padding: 14px 24px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background .15s ease;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-strong); }
.btn-primary:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn-link { display: inline-block; width: auto; text-decoration: none; text-align: center; }

.btn-secondary {
  background: transparent; border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 14px 22px; font-size: 0.95rem; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--ink); }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

.actions { display: flex; gap: 12px; margin-top: 8px; }
.actions .btn-primary, .actions .btn-secondary { width: auto; flex: 1; padding: 12px 18px; }

.section-title { font-size: 1.1rem; margin: 0 0 14px; }
.summary { color: var(--ink); margin: 0 0 18px; line-height: 1.5; }
.tag-group { margin-bottom: 16px; }
.tag-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 500; }
.tag.outline { background: #fff; border: 1px solid var(--line); color: var(--ink); }

.field { display: block; margin: 18px 0; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field span { display: block; margin-bottom: 6px; }

.job-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.job-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  text-decoration: none; color: inherit; display: block; transition: border-color .15s ease, transform .15s ease;
}
.job-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.preview .job-card { margin-bottom: 14px; }
.job-card-unverified { border-style: dashed; }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.job-title { font-weight: 600; font-size: 1rem; margin: 0 0 4px; font-family: 'Bricolage Grotesque', sans-serif; }
.job-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.job-why { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.job-flag { font-size: 0.76rem; color: var(--muted); font-style: italic; margin: 8px 0 0; }

.fit-bar { display: flex; gap: 3px; flex-shrink: 0; }
.fit-seg { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.fit-seg.on { background: var(--accent); }
.fit-label { font-size: 0.72rem; color: var(--muted); margin: 6px 0 0; text-align: right; font-family: 'IBM Plex Mono', monospace; }

.empty-state { text-align: center; color: var(--muted); font-size: 0.9rem; padding: 24px; }

.disclaimer { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 24px; line-height: 1.5; }

.closing { text-align: center; padding: 64px 0 80px; border-top: 1px solid var(--line); }
.closing h2 { font-size: 1.6rem; margin-bottom: 18px; }
.closing .btn-primary { width: auto; padding: 14px 24px; margin: 0 auto; display: inline-block; }

@media (max-width: 760px) {
  .page { padding: 0 16px 60px; }
  .actions { flex-direction: column; }
  .hero { grid-template-columns: 1fr; padding-bottom: 56px; }
  .step-grid { grid-template-columns: 1fr; }
  .app-flow { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
