/* Forte-interim — design tokens & base */
:root {
  --navy: #0B2151;
  --navy-900: #071640;
  --navy-700: #17336A;
  --blue: #3366FF;
  --blue-hover: #254FD9;
  --blue-bright: #4D7BFF;
  --amber: #F59E0B;
  --amber-hover: #E08C00;
  --amber-soft: #FEF3C7;
  --ink: #0F1729;
  --muted: #5A6578;
  --line: #E5E8EF;
  --line-strong: #D1D6E0;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --bg-navy-tint: #EEF2FA;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.04);
  --shadow: 0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.12);
  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Paint the document root navy so the iOS status-bar safe area is navy, not white */
html { background-color: #0B1838; }

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Navigation (always navy) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #0B1838;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.nav.scrolled {
  background: rgba(11, 24, 56, 0.96);
}
.nav-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: #fff;
  letter-spacing: -0.02em;
}
.logo .logo-sub { color: rgba(255,255,255,0.6); font-weight: 500; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  color: var(--navy); font-weight: 800; font-size: 14px;
  letter-spacing: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a.link {
  font-size: 14px; color: rgba(255,255,255,0.62); font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}
.nav-links a.link:hover { color: rgba(255,255,255,0.92); }
.nav-links a.link.active {
  color: #fff;
  font-weight: 600;
}
.nav-links a.link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Nav buttons adapted for dark hero */
.nav .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: transparent;
}
.nav .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Nav stays navy across pages */
.nav.on-light { background: var(--navy); }

/* After hero, if nav scrolled into light section, we keep the navy translucent look — clean and consistent */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber); color: var(--navy);
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.btn-primary:hover { background: var(--amber-hover); color: var(--navy); }
.btn-navy {
  background: var(--navy); color: #fff;
}
.btn-navy:hover { background: var(--navy-900); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-link {
  background: transparent; color: var(--navy); padding: 0; height: auto;
}
.btn-link:hover { color: var(--blue); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn .arrow { transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero (white) ---------- */
.hero {
  background: #fff;
  padding: 80px 0 96px;
  margin-top: -72px;
  padding-top: 152px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--muted); }
.hero .eyebrow .dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(245,158,11,0.2); }
.hero h1 { color: var(--navy); }
.hero h1 .accent { color: var(--amber); }
.hero .sub { color: var(--navy); }
.hero .sub strong { color: var(--navy); }
.hero-visual {
  border: 1px solid var(--line);
  background: var(--bg-navy-tint);
}
.hero .btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(245,158,11,0.25);
}
.hero .btn-primary:hover { background: var(--amber-hover); color: var(--navy); }
.hero .btn-ghost {
  color: var(--navy);
  border-color: var(--line-strong);
  background: transparent;
}
.hero .btn-ghost:hover {
  border-color: var(--navy);
  background: transparent;
}
.hero .hero-stat {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.hero h1 {
  font-size: 68px; line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero .sub {
  font-size: 19px; line-height: 1.55;
  max-width: 540px; margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; }
.hero-actions .note {
  font-size: 13px; color: var(--muted);
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-navy-tint);
}
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block;
}
.hero-stat {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  width: 142px;
}
.hero-stat .big {
  font-size: 22px; font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .big .unit { color: var(--muted); font-size: 13px; font-weight: 500; }
.hero-stat .label {
  font-size: 10px; color: var(--muted); margin-top: 5px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--mono);
}
.hero-stat .compare {
  font-size: 10px; color: var(--muted); margin-top: 7px; padding-top: 7px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
}
.hero-stat .compare s { color: var(--muted); opacity: 0.7; }
.hero-stat.top-left { top: 20px; left: 20px; }
.hero-stat.bottom-right { bottom: 20px; right: 20px; }

/* Placeholder photo block */
.photo-ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.08) 0 1px,
      transparent 1px 14px
    ),
    rgba(255,255,255,0.03);
  display: grid; place-items: center;
  position: relative;
}
.photo-ph .cap {
  font-family: var(--mono);
  font-size: 11px; color: rgba(255,255,255,0.7);
  background: rgba(10,31,68,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 10px; border-radius: 3px;
  letter-spacing: 0.04em;
}
.section .photo-ph {
  background:
    repeating-linear-gradient(135deg, rgba(10,31,68,0.06) 0 1px, transparent 1px 14px),
    var(--bg-navy-tint);
}
.section .photo-ph .cap {
  color: var(--muted); background: rgba(255,255,255,0.88); border: none;
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}
.section.soft { background: var(--bg-soft); }
.section-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.section-header h2 {
  font-size: 44px; line-height: 1.1; letter-spacing: -0.03em;
}
.section-header p { font-size: 17px; color: var(--muted); max-width: 460px; }

/* ---------- How it works ---------- */
.hiw-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.hiw-col {
  padding: 48px;
}
.hiw-col[data-variant="company"] { background: #fff; }
.hiw-col[data-variant="worker"] { background: #FFF9EF; }
.hiw-col + .hiw-col { border-left: 1px solid var(--line); }
.hiw-col h3 {
  font-size: 14px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.hiw-col h3::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
}
.hiw-col[data-variant="worker"] h3::before { background: var(--blue); }
.hiw-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.hiw-step:last-child { border-bottom: 0; }
.hiw-step .num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-weight: 700; color: var(--navy);
  font-size: 15px;
}
.hiw-step h4 { font-size: 18px; margin-bottom: 6px; }
.hiw-step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.hiw-col .cta-row { margin-top: 32px; }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}
.cat:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cat .cat-tag {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.cat h3 {
  font-size: 22px; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cat p { color: var(--muted); font-size: 14px; margin-bottom: 24px; flex: 1; }
.cat .cat-meta {
  display: flex; justify-content: space-between; align-items: end;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.cat .cat-meta .count { font-weight: 700; color: var(--navy); font-size: 18px; }
.cat .cat-meta .count-lbl {
  font-size: 11px; color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.cat .arrow-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--navy);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.cat:hover .arrow-btn { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--navy);
  color: #fff;
  padding: 96px 0;
  border-bottom: 0;
}
.trust h2 {
  color: #fff;
  font-size: 36px; letter-spacing: -0.03em;
  max-width: 640px; margin-bottom: 56px;
  line-height: 1.15;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item {
  padding: 36px 32px 0 0;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-item .ico {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: #fff;
}
.trust-item h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.trust-item p { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.55; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 280px; margin-bottom: 24px; }
.footer-contact {
  font-size: 14px; color: var(--ink); line-height: 1.8;
}
.footer-contact a:hover { color: var(--blue); }
.footer-col h5 {
  font-size: 12px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 500;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--ink); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-bottom .legal { display: flex; gap: 24px; }

/* ---------- Page container / modals ---------- */
.page {
  min-height: 100vh;
  background: var(--bg);
}

/* Modal / flow overlay */
.flow-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 23, 41, 0.5);
  display: grid; place-items: center;
  padding: 40px 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 180ms ease;
}
.flow-overlay.open { opacity: 1; pointer-events: auto; }
.flow-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(920px, 100%);
  max-height: calc(100vh - 80px);
  display: grid; grid-template-columns: 320px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform 220ms ease;
}
.flow-overlay.open .flow-panel { transform: translateY(0); }

.flow-sidebar {
  background: var(--navy);
  color: #fff;
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.flow-sidebar .sb-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; margin-bottom: 36px;
}
.flow-sidebar .sb-logo .logo-mark { background: #fff; color: var(--navy); }
.flow-sidebar h3 {
  color: #fff; font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 10px; line-height: 1.25;
}
.flow-sidebar .sb-sub {
  color: rgba(255,255,255,0.7); font-size: 14px;
  margin-bottom: 32px; line-height: 1.5;
}
.flow-steps { list-style: none; padding: 0; margin: 0; flex: 1; }
.flow-steps li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  padding: 14px 0;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  position: relative;
}
.flow-steps li + li::before {
  content: ""; position: absolute; left: 13px; top: -12px; height: 24px;
  border-left: 1px dashed rgba(255,255,255,0.15);
}
.flow-steps li.active { color: #fff; }
.flow-steps li.done { color: rgba(255,255,255,0.85); }
.flow-steps .step-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
}
.flow-steps li.active .step-dot { background: #fff; color: var(--navy); border-color: #fff; }
.flow-steps li.done .step-dot { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.2); }
.flow-steps li .step-name { font-weight: 500; line-height: 1.3; }
.flow-steps li .step-desc { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

.flow-main {
  padding: 36px 44px;
  overflow-y: auto;
  min-height: 0;
  max-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
}
.flow-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.flow-head .step-label {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.flow-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
}
.flow-close:hover { border-color: var(--navy); color: var(--navy); }
.flow-main h2 {
  font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px;
}
.flow-main .lead {
  color: var(--muted); font-size: 15px; margin-bottom: 32px;
  max-width: 520px;
}
.flow-body { flex: 1; }
.flow-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; margin-top: auto;
  border-top: 1px solid var(--line);
}
.flow-footer .progress-text {
  font-size: 13px; color: var(--muted);
  font-family: var(--mono);
}

/* Form primitives */
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field textarea {
  height: auto; min-height: 96px; padding: 12px 14px; resize: vertical;
  line-height: 1.5;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 79, 214, 0.12);
}
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: #C73E3E;
}
.field .error { font-size: 12px; color: #C73E3E; margin-top: 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Choice cards (account type, pricing, etc) */
.choice-grid { display: grid; gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 120ms ease;
  position: relative;
  background: #fff;
}
.choice:hover { border-color: var(--navy); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .choice-title {
  font-weight: 600; color: var(--navy); font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.choice .choice-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.choice .choice-tag {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 6px;
}
.choice.selected {
  border-color: var(--blue);
  background: #F3F6FE;
  box-shadow: 0 0 0 1px var(--blue) inset;
}
.choice .check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  background: #fff;
}
.choice.selected .check {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.choice .check svg { opacity: 0; }
.choice.selected .check svg { opacity: 1; }

/* Chip selector (multi select) */
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  transition: all 120ms ease;
}
.chip:hover { border-color: var(--navy); }
.chip.selected {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Summary rows */
.summary-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.summary-row {
  display: grid; grid-template-columns: 180px 1fr auto;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .k { color: var(--muted); font-size: 13px; }
.summary-row .v { color: var(--ink); font-weight: 500; }
.summary-row button { font-size: 12px; color: var(--blue); font-weight: 600; }

/* Success screen */
.success {
  text-align: center;
  padding: 24px 0 12px;
}
.success .check-big {
  width: 72px; height: 72px; border-radius: 50%;
  background: #E8F0FD; color: var(--blue);
  display: grid; place-items: center;
  margin: 0 auto 24px;
}
.success h2 { font-size: 30px; margin-bottom: 12px; }
.success p { color: var(--muted); max-width: 440px; margin: 0 auto 32px; font-size: 15px; }
.success .next-steps {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  background: var(--bg-soft);
}
.success .next-steps h4 {
  font-size: 13px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 500; margin-bottom: 16px;
}
.success .next-steps ol {
  margin: 0; padding-left: 20px; color: var(--ink);
  font-size: 14px; line-height: 1.8;
}

/* File upload */
.uploader {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 120ms ease;
}
.uploader:hover { border-color: var(--navy); background: var(--bg-soft); }
.uploader.has-file {
  border-style: solid; border-color: var(--blue);
  background: #F3F6FE; color: var(--navy);
}
.uploader strong { color: var(--navy); }

/* ---------- Jobs page ---------- */
.jobs-hero {
  background: var(--navy);
  padding: 120px 0 64px;
  margin-top: -72px;
  padding-top: 152px;
  color: #fff;
  border-bottom: 1px solid var(--navy-900);
}
.jobs-hero h1 { color: #fff; }
.jobs-body { padding: 96px 0; background: var(--bg-soft); min-height: 60vh; }
.jobs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.jobs-filters {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: 88px;
}
.jf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.jf-head h3 { font-size: 15px; }
.jf-reset { font-size: 12px; color: var(--blue); font-weight: 600; }
.jf-block { padding: 16px 0; border-top: 1px solid var(--line); }
.jf-block:first-of-type { border-top: 0; padding-top: 0; }
.jf-label { display: block; font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.jf-block input[type="text"] { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13px; }
.jf-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 13px; color: var(--ink); }
.jf-check input { position: absolute; opacity: 0; pointer-events: none; }
.jf-box { width: 16px; height: 16px; border-radius: 3px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.jf-check input:checked + .jf-box { background: var(--blue); border-color: var(--blue); }
.jf-name { flex: 1; }
.jf-count { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.jobs-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 14px; }
.jobs-sort { height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font-size: 13px; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; cursor: pointer; transition: all 140ms ease; display: flex; flex-direction: column; }
.job-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.job-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.job-logo { width: 44px; height: 44px; border-radius: 8px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.job-cat { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.job-title { font-size: 18px; margin-bottom: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.job-meta { margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.job-meta div { display: flex; flex-direction: column; }
.job-meta dt { font-size: 11px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.job-meta dd { margin: 0; font-size: 13px; color: var(--navy); font-weight: 500; }
.job-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.job-gate { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.job-arrow { color: var(--navy); }
.jobs-empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.gate-panel { background: #fff; border-radius: var(--radius-lg); padding: 40px; width: min(480px, 100%); position: relative; text-align: center; box-shadow: var(--shadow-lg); }
.gate-lock { width: 56px; height: 56px; border-radius: 50%; background: #FEF3C7; color: var(--amber); display: grid; place-items: center; margin: 0 auto 20px; }
.gate-panel h2 { font-size: 24px; margin-bottom: 10px; }
.gate-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.55; }
.gate-preview { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; text-align: left; background: var(--bg-soft); }
.gate-preview-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.gate-preview-meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; }
.gate-preview-meta span { padding: 0 2px; }
.gate-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.gate-actions .btn { width: 100%; }
.gate-note { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .jobs-filters { position: static; }
  .jobs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .section-header { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-col + .hiw-col { border-left: 0; border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 28px; margin-bottom: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .flow-panel { grid-template-columns: 1fr; max-height: calc(100vh - 40px); }
  .flow-sidebar { padding: 24px; }
  .flow-main { padding: 28px 24px; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
}
