/* SkimHire candidate intake portal — production styles.
 *
 * Ported 2026-04-28 from docs/design/candidate-intake-portal/skimhire-hifi.css
 * (production component classes only — wireframe / doc / phone-shell chrome
 * stripped). Design tokens inlined from skimhire-tokens.css so a single CSS
 * file ships.
 *
 * Mobile-first. Desktop currently inherits via max-width constraints; a
 * separate desktop refinement pass is deferred per Sponsor direction.
 */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --sh-primary:     #0D47A1;
  --sh-primary-lt:  #1565C0;
  --sh-primary-bg:  #f0f4ff;

  --sh-text:           #1a1a2e;
  --sh-text-strong:    #333;
  --sh-text-secondary: #555;
  --sh-text-muted:     #666;
  --sh-text-light:     #767676;

  --sh-bg:            #f5f5f5;
  --sh-bg-card:       #f8f9fa;
  --sh-bg-dark:       #1A2332;
  --sh-border:        #e0e0e0;
  --sh-border-input:  #ddd;
  --sh-border-light:  #f0f0f0;

  --sh-success: #38a169;
  --sh-warning: #d69e2e;
  --sh-danger:  #e53e3e;

  --sh-pill-bg:   #e8f0fe;
  --sh-pill-text: #1a56db;

  --sh-shadow-sm: 0 1px 4px  rgba(0,0,0,0.06);
  --sh-shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --sh-shadow-cta: 0 4px 15px rgba(13,71,161,0.35);

  --sh-r-sm:   6px;
  --sh-r-md:   8px;
  --sh-r-lg:   10px;
  --sh-r-pill: 100px;

  --sh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sh-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Reset / base ───────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: var(--sh-font);
  color: var(--sh-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }

/* ── App bar (top of every page) ───────────────────────────────────── */
.ci-app-bar {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--sh-border-light);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
/* Lockup link — wraps the SVG <img>. Mirrors `.sh-lockup-link` on the
   marketing site (snippets/skimhire-lockup.liquid + assets/skimhire-base.css). */
.sh-lockup-link {
  text-decoration: none;
  display: inline-block;
  line-height: 0;
}
.sh-lockup-link:hover { opacity: 0.9; }
.sh-lockup-link img { display: block; }
.nav-link {
  font-size: 13px;
  color: var(--sh-primary);
  font-weight: 600;
  text-decoration: none;
}

/* ── Main shell + step containers ──────────────────────────────────── */
.intake-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 32px;
}
.step {
  padding: 20px 0 24px;
}
.step[hidden] { display: none !important; }

/* ── Footer ─ ported from marketing-site `.sh-footer` chrome
      (assets/skimhire-base.css :362-553) so /apply renders the same
      dark band, 3-column grid, and bottom-bar as the rest of the site. */
.sh-footer {
  background: var(--sh-bg-dark);
  color: rgba(255,255,255,0.7);
  font-family: var(--sh-font);
  line-height: 1.6;
  margin-top: 40px;
}
.sh-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 24px;
}
.sh-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.sh-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.sh-footer-tagline {
  font-size: 14px;
  margin: 16px 0;
}
.sh-footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}
.sh-footer-contact a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.sh-footer-contact a:hover { color: #fff; }
.sh-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sh-footer-col li { margin-bottom: 8px; }
.sh-footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.sh-footer-col a:hover { color: #fff; }
.sh-footer-disclosure {
  font-size: 12px;
  text-align: center;
  margin: 20px auto 0;
  max-width: 600px;
  opacity: 0.55;
  line-height: 1.5;
  padding: 0 16px;
}
.sh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 16px;
  text-align: center;
}
.sh-footer-bottom p {
  font-size: 12px;
  margin: 0;
  opacity: 0.5;
}
/* Footer lockup link inverts the hover treatment so the white logo doesn't
   feel underweight on click. */
.sh-footer .sh-lockup-link:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .sh-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sh-footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .sh-footer-grid { grid-template-columns: 1fr; }
}

/* ── Hero (Screen 1) ───────────────────────────────────────────────── */
.ci-hero {
  padding: 28px 8px 24px;
  background: linear-gradient(180deg, var(--sh-primary-bg) 0%, #fff 100%);
  margin: 0 -16px 8px;
  padding-left: 24px;
  padding-right: 24px;
}
.ci-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sh-pill-bg);
  color: var(--sh-pill-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--sh-r-pill);
  margin-bottom: 14px;
}
.ci-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sh-success);
  box-shadow: 0 0 0 3px rgba(56,161,105,0.18);
}
.ci-hero h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--sh-text);
  margin: 0 0 12px;
}
.ci-hero h1 em {
  font-style: normal;
  color: var(--sh-primary);
}
.ci-hero p.lede {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sh-text-secondary);
  margin: 0 0 18px;
}

/* ── Section titles inside steps ───────────────────────────────────── */
.scr-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sh-text);
  margin: 0 0 4px;
  line-height: 1.2;
}
.scr-sub {
  font-size: 13px;
  color: var(--sh-text-secondary);
  line-height: 1.5;
  margin: 0 0 16px;
}

/* ── Step bar (3-segment progress) ─────────────────────────────────── */
.step-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0 12px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sh-text-light);
}
.step-bar .seg {
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.step-bar .seg .num {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sh-border);
  color: var(--sh-text-muted);
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.step-bar .seg.active .num { background: var(--sh-primary); color: #fff; }
.step-bar .seg.done .num   { background: var(--sh-success); color: #fff; }
.step-bar .seg.active { color: var(--sh-text); }
.step-bar .sep {
  flex: 1; height: 1px; background: var(--sh-border-light); margin: 0 2px;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--sh-r-md);
  font-family: var(--sh-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  line-height: 1.2;
  width: 100%;
  min-height: 48px;
}
.btn-primary {
  background: var(--sh-primary);
  color: #fff;
  box-shadow: var(--sh-shadow-cta);
}
.btn-primary:hover { background: var(--sh-primary-lt); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled {
  background: #b6c7ca;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.65;
}
.btn-secondary {
  background: #fff;
  color: var(--sh-primary);
  border: 1.5px solid var(--sh-primary);
}
.btn-secondary:hover { background: var(--sh-primary-bg); }
.btn-ghost {
  background: transparent;
  color: var(--sh-text-secondary);
  border: 1px solid var(--sh-border);
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--sh-primary); color: var(--sh-primary); }
.btn-danger-outline {
  background: #fff;
  color: var(--sh-danger);
  border: 1.5px solid var(--sh-danger);
}
.btn-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; }
.btn-row .btn { flex: 1; }

/* ── Inputs ───────────────────────────────────────────────────────── */
.field { margin-bottom: 14px; }
.field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  color: var(--sh-text-strong);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.field-label .opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--sh-text-light);
  font-size: 11px;
}
.input, input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--sh-border-input);
  border-radius: var(--sh-r-md);
  background: #fff;
  font-family: var(--sh-font);
  font-size: 15px;
  color: var(--sh-text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 48px;
}
.input:focus,
input:focus {
  border-color: var(--sh-primary);
  box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}
.input-help {
  font-size: 11px;
  color: var(--sh-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Drop zone ─────────────────────────────────────────────────────── */
.drop-zone {
  border: 2px dashed var(--sh-primary);
  border-radius: var(--sh-r-lg);
  background: var(--sh-primary-bg);
  padding: 28px 20px;
  text-align: center;
  margin: 18px 0;
  position: relative;
}
.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.drop-zone .ico {
  width: 48px; height: 48px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: #fff;
  display: grid; place-items: center;
  color: var(--sh-primary);
  font-weight: 700;
  font-size: 22px;
  box-shadow: var(--sh-shadow-sm);
}
.drop-zone h3 {
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--sh-text);
}
.drop-zone .sub {
  font-size: 12px;
  color: var(--sh-text-muted);
  margin: 0 0 12px;
  line-height: 1.45;
}
.drop-zone .types {
  font-size: 11px;
  color: var(--sh-text-light);
  font-family: var(--sh-mono);
  display: block;
}

/* Parse-progress chip — shown during upload */
.parse-progress {
  margin: 12px 0;
  text-align: center;
  font-size: 13px;
  color: var(--sh-text-secondary);
  padding: 12px;
  border: 1.5px dashed var(--sh-border);
  border-radius: var(--sh-r-md);
  background: #fafbfc;
}
.parse-progress::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sh-primary);
  margin-right: 8px;
  vertical-align: middle;
  animation: sh-pulse 1.2s infinite;
}
.parse-progress progress {
  width: 100%;
  margin-top: 8px;
}
@keyframes sh-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── Trust list / trust strip ──────────────────────────────────────── */
.trust-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--sh-text-secondary);
  line-height: 1.45;
}
.trust-list .check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--sh-success);
  color: #fff;
  display: grid; place-items: center;
  font-size: 9px;
  font-weight: 900;
  margin-top: 2px;
}
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--sh-text-light);
  padding-top: 14px;
  border-top: 1px solid var(--sh-border-light);
  margin-top: 18px;
  flex-wrap: wrap;
}
.trust-strip > span { white-space: nowrap; }
.trust-strip .sep { color: var(--sh-border); }

/* ── Pill-card (parse-review rows + status rows) ───────────────────── */
.pill-card,
.parse-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-md);
  margin-bottom: 8px;
}
.pill-card .label,
.parse-review-row .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sh-text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}
.pill-card .value,
.parse-review-row .value {
  font-size: 14px;
  color: var(--sh-text);
  font-weight: 600;
  line-height: 1.3;
}
.pill-card .value .muted,
.parse-review-row .value .muted {
  color: var(--sh-text-light);
  font-weight: 400;
}
.pill-card.confirmed,
.parse-review-row.confirmed {
  border-color: rgba(56,161,105,0.3);
  background: linear-gradient(180deg, #fff, #f6fdf9);
}

/* ── OCR re-check banner (Screen 3, conditional) ───────────────────── */
.ocr-banner {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: #fffbe6;
  border: 1px solid #ffe69c;
  border-left: 3px solid var(--sh-warning);
  border-radius: var(--sh-r-md);
  margin: 14px 0;
  align-items: flex-start;
}
.ocr-banner .ico {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sh-warning);
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 900;
}
.ocr-banner .body {
  font-size: 12px;
  color: #5d4a00;
  line-height: 1.5;
}
.ocr-banner .body b {
  color: #3d2f00;
  display: block;
  margin-bottom: 2px;
}

/* ── Help tip (callout) ────────────────────────────────────────────── */
.help-tip {
  padding: 11px 13px;
  background: var(--sh-primary-bg);
  border-left: 3px solid var(--sh-primary);
  border-radius: 6px;
  font-size: 13px;
  color: var(--sh-text-strong);
  line-height: 1.5;
  margin: 12px 0;
}
.help-tip b { color: var(--sh-primary); }

/* ── Consent block ─────────────────────────────────────────────────── */
.consent-card {
  padding: 14px;
  background: var(--sh-bg-card);
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-r-md);
  margin: 16px 0;
}
.consent-card label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--sh-text-strong);
  cursor: pointer;
}
.consent-card input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 0;
  margin-top: 1px;
  accent-color: var(--sh-primary);
  cursor: pointer;
}
.consent-card a { color: var(--sh-primary); }

/* Submit error banner */
.submit-error {
  font-size: 13px;
  color: var(--sh-danger);
  background: #fff5f5;
  border-left: 3px solid var(--sh-danger);
  padding: 10px 12px;
  border-radius: 6px;
  margin: 12px 0;
}

/* ── Confirmation seal ─────────────────────────────────────────────── */
.seal {
  width: 72px; height: 72px;
  margin: 12px auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sh-success), #48bb78);
  color: #fff;
  display: grid; place-items: center;
  font-size: 32px;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(56,161,105,0.35), 0 0 0 6px rgba(56,161,105,0.08);
}

/* ── HMAC URL chip (Screen 6 + 7) ──────────────────────────────────── */
.hmac-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--sh-text-muted);
  margin-top: 18px;
  margin-bottom: 6px;
}
.hmac-chip {
  background: #fff;
  border: 1.5px dashed var(--sh-primary);
  border-radius: var(--sh-r-md);
  padding: 10px 12px;
  font-family: var(--sh-mono);
  font-size: 11px;
  color: var(--sh-text-strong);
  word-break: break-all;
  line-height: 1.5;
  display: block;
  text-decoration: none;
}
.hmac-chip:hover { background: var(--sh-primary-bg); }

/* ── Account-upgrade card (post-submit, optional) ──────────────────── */
.upgrade-card {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-r-md);
  background: #fafbfc;
  text-align: left;
}
.upgrade-card .h {
  font-size: 13px;
  font-weight: 700;
  color: var(--sh-text);
  margin-bottom: 4px;
}
.upgrade-card .d {
  font-size: 12px;
  color: var(--sh-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.upgrade-card a {
  font-size: 13px;
  color: var(--sh-primary);
  text-decoration: underline;
  font-weight: 600;
}

/* ── Status pill (Screens 7 + 8) ───────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--sh-r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.status-pill.listed   { background: #e8f5e9; color: #1b5e20; border: 1px solid rgba(56,161,105,0.3); }
.status-pill.listed .dot { background: var(--sh-success); box-shadow: 0 0 0 3px rgba(56,161,105,0.2); }
.status-pill.screening { background: #fff8e1; color: #856404; border: 1px solid rgba(214,158,46,0.3); }
.status-pill.screening .dot { background: var(--sh-warning); }
.status-pill.unlocked { background: var(--sh-primary); color: #fff; }
.status-pill.unlocked .dot { background: #fff; }
.status-pill.opted_out, .status-pill.stale, .status-pill.expired,
.status-pill.rejected, .status-pill.hired {
  background: #f5f5f5; color: var(--sh-text-light); border: 1px solid var(--sh-border);
}
.status-pill.opted_out .dot, .status-pill.stale .dot, .status-pill.expired .dot,
.status-pill.rejected .dot, .status-pill.hired .dot {
  background: transparent; border: 1.5px solid var(--sh-text-light);
}

/* ── Skip link ─────────────────────────────────────────────────────── */
.skip-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--sh-text-muted);
  padding: 12px 0;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
}

/* ── Question screen helpers ───────────────────────────────────────── */
#question-progress {
  font-size: 11px;
  color: var(--sh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
#question-body {
  margin: 16px 0;
}
#question-body label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-md);
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s;
}
#question-body label:hover { border-color: var(--sh-primary); }
#question-body input[type="radio"],
#question-body input[type="checkbox"] {
  accent-color: var(--sh-primary);
  width: 20px; height: 20px;
  flex-shrink: 0;
}
#question-body label br { display: none; }
#question-body .field {
  margin-bottom: 12px;
}

/* ── Back row ──────────────────────────────────────────────────────── */
.back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--sh-text-muted);
}
.back-row a {
  color: var(--sh-primary);
  text-decoration: none;
  font-weight: 600;
}

/* ── Status page (separate template) ───────────────────────────────── */
.status-page { padding: 16px 0; }
.status-page .pt-id {
  font-family: var(--sh-mono);
  font-size: 11px;
  color: var(--sh-text-light);
  margin: 0 0 8px;
}
.status-meta {
  margin-top: 14px;
  font-size: 14px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
}
.status-meta dt {
  color: var(--sh-text-muted);
  font-weight: 500;
}
.status-meta dd {
  margin: 0;
  color: var(--sh-text);
  font-weight: 600;
}
.status-page .opt-out-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--sh-border-light);
}

/* ── Tighter mobile padding for very small screens ─────────────────── */
@media (max-width: 360px) {
  .intake-shell { padding: 0 12px 32px; }
  .ci-hero { padding-left: 16px; padding-right: 16px; }
  .ci-hero h1 { font-size: 24px; }
}

/* ── Step-aside chrome (used at desktop on landing/parse-review/consent
      and on the status page). At ≤1023px the default is `display:none`;
      `.step-aside.always` keeps it visible at mobile (status page uses
      this so the `.hmac-chip` stays visible). ─── */
.step-aside { font-size: 13px; line-height: 1.55; }
.step-aside h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sh-text-muted);
  margin: 0 0 14px;
}
.step-aside .what-next-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.step-aside .what-next-row:last-child { margin-bottom: 0; }
.step-aside .what-next-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sh-primary);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.step-aside .what-next-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--sh-text);
  line-height: 1.35;
}
.step-aside .what-next-d {
  font-size: 12px;
  color: var(--sh-text-muted);
  line-height: 1.45;
  margin-top: 2px;
}
.step-aside .glossary {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  color: var(--sh-text-secondary);
  line-height: 1.7;
}
.step-aside .glossary li b { color: var(--sh-text); }
.step-aside .glossary li.current::after {
  content: ' ←';
  color: var(--sh-primary);
  font-weight: 800;
}
.step-aside .aside-divider {
  border-top: 1px dashed var(--sh-border);
  margin: 18px 0;
}
.step-aside .upgrade-card {
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
}

@media (max-width: 1023px) {
  .step-aside { display: none; }
  .step-aside.always {
    display: block;
    margin-top: 22px;
  }
}

/* ── Desktop layer (≥1024px) — adopted from
      `docs/design/candidate-intake-portal/wireframes-{hifi,lofi}.html`.
      Mobile design is preserved as-is below 1024px. ──────────────────── */
@media (min-width: 1024px) {
  .intake-shell {
    max-width: 1100px;
    padding: 0 32px 56px;
  }

  .step {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 0 48px;
  }
  .step.has-aside {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    max-width: 1100px;
    align-items: start;
  }

  .step-aside, .step-aside.always {
    background: #fafbfc;
    border: 1px solid var(--sh-border-light);
    border-radius: var(--sh-r-lg);
    padding: 22px 24px;
    position: sticky;
    top: 88px;
    margin-top: 0;
  }

  /* Hero scales up — soft-tint pattern preserved (matches /faq /pricing
     headers, doesn't compete with the form). */
  .ci-hero {
    padding: 56px 0 48px;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--sh-r-lg);
    padding-left: 40px;
    padding-right: 40px;
  }
  .ci-hero h1 { font-size: 44px; }
  .ci-hero p.lede { font-size: 17px; max-width: 560px; }

  /* Landing CTAs side-by-side at desktop */
  .btn-stack {
    flex-direction: row;
    gap: 14px;
  }
  .btn-stack .btn {
    width: auto;
    min-width: 220px;
  }

  /* Drop zone, seal, headlines breathe */
  .drop-zone { padding: 48px 32px; }
  .drop-zone h3 { font-size: 17px; }
  .drop-zone .sub { font-size: 13px; }
  .seal {
    width: 96px;
    height: 96px;
    font-size: 44px;
    margin: 16px auto 22px;
  }
  .scr-title { font-size: 32px; }

  /* Step-bar gets more horizontal room */
  .step-bar { font-size: 12px; }
  .step-bar .seg .num { width: 22px; height: 22px; font-size: 11px; }

  /* Trust list reads better at slightly larger size when in main column */
  .trust-list li { font-size: 14px; }

  /* Confirmation main column centers within its grid cell */
  [data-step="confirmation"] .confirmation-main { text-align: center; }
  [data-step="confirmation"] .confirmation-main .help-tip,
  [data-step="confirmation"] .confirmation-main .trust-strip { text-align: left; }
}

/* ── Info-icon (clickable "ⓘ" trigger next to a label) ───────────── */
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border: 1px solid var(--sh-border);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  color: var(--sh-primary);
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}
.info-icon:hover {
  background: var(--sh-primary-bg);
  border-color: var(--sh-primary);
}
.info-icon:focus-visible {
  outline: 2px solid var(--sh-primary);
  outline-offset: 1px;
}

/* ── Native <dialog> modal (used for the Stretch-rate explainer) ───── */
.sh-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 32px);
  border-radius: var(--sh-r-lg);
  box-shadow: var(--sh-shadow-md);
}
.sh-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}
.sh-modal-card {
  background: #fff;
  border-radius: var(--sh-r-lg);
  padding: 24px 24px 20px;
  position: relative;
  text-align: left;
  color: var(--sh-text);
}
.sh-modal-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-right: 32px; /* leave room for close button */
}
.sh-modal-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--sh-text-secondary);
  margin: 0 0 12px;
}
.sh-modal-card p:last-of-type { margin-bottom: 16px; }
.sh-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--sh-text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--sh-r-sm);
}
.sh-modal-close:hover { color: var(--sh-text); background: var(--sh-border-light); }
.sh-modal-ok { width: 100%; }

