:root {
  --navy: #10265f;
  --navy-deep: #081942;
  --cyan: #21a9df;
  --cyan-soft: #eaf8fd;
  --ink: #18233b;
  --muted: #66738b;
  --line: #dce5ef;
  --panel: #f6f9fc;
  --white: #ffffff;
  --success: #147d64;
  --warning: #9a6700;
  --danger: #a12b2b;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(16, 38, 95, 0.09);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
}

button, input, select { font: inherit; }

button, a, input, select { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: 10px;
  transform: translateY(-160%);
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  height: 78px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand > span:last-child { display: grid; line-height: .9; }
.brand strong { font-size: 30px; letter-spacing: -.04em; }
.brand small { margin-top: 6px; font-size: 9px; font-weight: 850; letter-spacing: .24em; }

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: block;
}

.brand-mark i {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--cyan);
}

.brand-mark i:nth-child(1) { left: 11px; top: 0; }
.brand-mark i:nth-child(2) { left: 0; top: 11px; opacity: .82; }
.brand-mark i:nth-child(3) { right: 0; top: 11px; opacity: .68; }
.brand-mark i:nth-child(4) { left: 11px; bottom: 0; opacity: .92; }

.secure-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.secure-label span { color: var(--success); font-size: 11px; }

.page-shell { padding: 56px 0 44px; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 56px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, p { text-wrap: pretty; }

h1 {
  max-width: 740px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.compensation-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid #cfe1ed;
  border-top: 4px solid var(--cyan);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.compensation-card > p:first-child {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.comp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.comp-grid div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.comp-grid span, .comp-grid small { display: block; color: var(--muted); font-size: 11px; font-weight: 750; }
.comp-grid strong { display: block; margin: 3px 0; color: var(--navy); font-size: 28px; letter-spacing: -.03em; }
.schedule-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.employer-card > strong { display: block; color: var(--navy); font-size: 22px; }
.employer-card > small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.5; }

.progress {
  margin-bottom: 18px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(16,38,95,.05);
}

.progress ol {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8793a6;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.progress li::before {
  content: attr(data-number);
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #d8e1eb;
  border-radius: 50%;
  background: white;
  font-size: 11px;
}

.progress li::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
}

.progress li:last-child::after { display: none; }
.progress li.is-active, .progress li.is-complete { color: var(--navy); }
.progress li.is-active::before { border-color: var(--cyan); color: var(--navy); box-shadow: 0 0 0 5px var(--cyan-soft); }
.progress li.is-complete::before { content: "✓"; border-color: var(--success); background: var(--success); color: white; }
.progress li.is-complete::after { background: var(--success); }

.status-banner {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid #d8e5ec;
  border-radius: 12px;
  background: #f8fbfd;
}

.status-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--warning); }
.status-banner strong { color: var(--navy); font-size: 13px; }
.status-banner p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.status-banner.is-ready .status-dot { background: var(--success); }
.status-banner.is-blocked .status-dot { background: var(--danger); }

.workflow-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 620px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.workflow-aside {
  padding: 42px 34px;
  background: var(--navy-deep);
  color: white;
}

.workflow-aside h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.workflow-aside > p:not(.eyebrow) { margin: 12px 0 0; color: #c8d5ee; font-size: 14px; line-height: 1.65; }
.privacy-note { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.privacy-note strong { font-size: 13px; }
.privacy-note p { margin: 8px 0 0; color: #aebdda; font-size: 12px; line-height: 1.6; }

.workflow-main { padding: 42px clamp(28px, 5vw, 64px) 48px; }
.step-panel { max-width: 700px; }
.step-count { margin: 0 0 10px; color: var(--cyan); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.step-panel h2 { margin: 0; color: var(--navy); font-size: 32px; letter-spacing: -.03em; }
.step-panel > p:not(.step-count) { margin: 12px 0 28px; color: var(--muted); line-height: 1.65; }

form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: 1.5fr .55fr .8fr; }
label { color: var(--navy-deep); font-size: 12px; font-weight: 750; }
input, select {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #cbd7e3;
  border-radius: 9px;
  outline: none;
}

input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(33,169,223,.12); }
input:disabled, select:disabled { color: #7e8898; background: #f5f7fa; cursor: not-allowed; }

.upload-box {
  display: grid;
  padding: 22px;
  border: 1px dashed #a9bfd0;
  border-radius: 12px;
  background: #fbfdff;
}
.upload-box input { height: auto; margin: 10px 0; padding: 0; border: 0; }
.upload-box span { color: var(--muted); font-size: 11px; font-weight: 500; }

.button-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
button { min-height: 46px; padding: 0 20px; border-radius: 9px; font-weight: 800; cursor: pointer; }
button.primary { border: 1px solid var(--navy); background: var(--navy); color: white; }
button.primary:hover:not(:disabled) { background: var(--navy-deep); }
button.secondary { border: 1px solid #cbd7e3; background: white; color: var(--navy); }
button:disabled { opacity: .45; cursor: not-allowed; }
.primary-link { display: inline-grid; min-height: 46px; padding: 0 20px; place-items: center; border: 1px solid var(--navy); border-radius: 9px; color: white; background: var(--navy); font-weight: 800; text-decoration: none; }
.primary-link:hover { background: var(--navy-deep); }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; line-height: 1.55; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; }
.review-summary { display: grid; gap: 8px; margin-bottom: 22px; }
.review-summary div, .receipt-placeholder { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); font-size: 12px; }
.review-summary span, .receipt-placeholder span { color: var(--muted); }
.blocking-message { margin-bottom: 22px; padding: 14px; border: 1px solid #edc5c5; border-radius: 10px; color: var(--danger); background: #fff8f8; font-size: 13px; }
.completion-mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 28px 0; border-radius: 50%; background: #e7f7f2; color: var(--success); font-size: 38px; }

footer { display: flex; justify-content: space-between; gap: 30px; margin-top: 24px; color: var(--muted); font-size: 11px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--navy); font-weight: 750; }

.policy-shell { width: min(100% - 40px, 900px); margin: 0 auto; padding: 64px 0 80px; }
.policy-shell > a { color: var(--navy); font-weight: 800; }
.policy-card { margin-top: 24px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.policy-card h1 { margin: 0; color: var(--navy); font-size: clamp(36px, 6vw, 58px); letter-spacing: -.04em; }
.policy-card h2 { margin: 38px 0 10px; color: var(--navy); font-size: 24px; }
.policy-card p, .policy-card li { color: var(--muted); line-height: 1.7; }
.policy-card a { color: var(--navy); font-weight: 750; }
.policy-effective { color: var(--cyan) !important; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .compensation-card { max-width: 420px; }
  .workflow-card { grid-template-columns: 1fr; }
  .workflow-aside { padding: 28px; }
  .privacy-note { margin-top: 24px; }
  .progress { overflow-x: auto; }
  .progress ol { min-width: 650px; }
}

@media (max-width: 620px) {
  .comp-grid { grid-template-columns: 1fr; }
  .header-inner, .page-shell { width: min(100% - 24px, 1180px); }
  .page-shell { padding-top: 36px; }
  .secure-label { display: none; }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .workflow-main { padding: 30px 20px 36px; }
  .button-row { flex-direction: column-reverse; }
  button { width: 100%; }
  footer { display: grid; }
  footer nav { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
