/* ENLA Legacy Fund · shared mockup styles
   Lifted from ENLA_Employment_Application.html design system.
   Account-wide rules: DM Sans body, Cormorant Garamond display, no em-dashes,
   color tokens locked to brand triad.
*/

:root {
  --paper: #F7F7F7;
  --bone: #EFEFEF;
  --ink: #1A1A1A;
  --graphite: #4A4A4A;
  --stone: #8A8A8A;
  --rule: #E2E2E2;
  --rule-strong: #D4D4D4;
  --clay: #000B8C;
  --navy: #000B8C;
  --moss: #80BC00;
  --ochre: #F5B335;
  --terracotta: #A24E2C;
  --sky: #9CDCED;
  --orange: #FF6C0E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

/* ============ PAGE SHELL (no header/footer) ============ */
.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 90px 96px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ============ STEP INDICATOR ============ */
.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-top: 18px;
  padding-bottom: 0;
}
.stepper-item {
  position: relative;
  padding: 0 18px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stepper-item + .stepper-item { padding-left: 24px; border-left: 1px solid var(--rule); }
.stepper-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stepper-label {
  font-size: 14px;
  color: var(--graphite);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.stepper-item.is-current .stepper-num { color: var(--clay); }
.stepper-item.is-current .stepper-label { color: var(--ink); font-weight: 600; }
.stepper-item.is-done .stepper-num { color: var(--moss); }
.stepper-item.is-done .stepper-label { color: var(--graphite); }
.stepper-item.is-current::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  right: 18px;
  height: 2px;
  background: var(--clay);
}
.stepper-item.is-done::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  right: 18px;
  height: 2px;
  background: var(--moss);
}
.stepper-item:first-child.is-current::before,
.stepper-item:first-child.is-done::before { left: 0; }
.stepper-item.is-current + .stepper-item::before,
.stepper-item.is-done + .stepper-item::before { left: 24px; }

/* ============ EYEBROW + TITLE BLOCK ============ */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ochre); }

.page-title {
  font-size: 64px;
  line-height: 1.02;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-top: 18px;
  margin-bottom: 20px;
}
.page-title .emph { font-weight: 500; }

.page-dek {
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 560px;
  font-weight: 400;
}

/* ============ POLICY-GRID LAYOUT ============ */
.form-grid-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  max-width: 1060px;
}

.meta {
  position: sticky;
  top: 40px;
  align-self: start;
}
.meta-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  margin-bottom: 16px;
}
.meta-num {
  font-size: 64px;
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.meta-summary {
  font-size: 13px;
  line-height: 1.65;
  color: var(--graphite);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.body-col { min-width: 0; max-width: 720px; }

.body-heading {
  font-size: 38px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.body-heading .emph { font-weight: 500; }

.subsection {
  padding-top: 44px;
  margin-top: 44px;
  border-top: 1px solid var(--rule);
}
.subsection:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }

.sub-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sub-label .sub-num { color: var(--stone); font-variant-numeric: tabular-nums; }
.sub-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 60ch;
}
.sub-instructions {
  font-size: 14px;
  line-height: 1.6;
  color: var(--graphite);
  margin: -8px 0 20px;
  max-width: 62ch;
}

.body-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 64ch;
}
.body-prose p + p { margin-top: 18px; }
.body-prose strong { font-weight: 600; color: var(--ink); }
.body-prose a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* ============ FORM ELEMENTS ============ */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 20px 0;
}
.form-row.two { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.form-row.three { grid-template-columns: 1.2fr 1fr 0.9fr; gap: 20px 32px; }
.form-row.tight { gap: 14px 32px; margin: 14px 0; }
.span-2 { grid-column: span 2; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a5a5a;
  font-weight: 700;
  line-height: 1.4;
}
.field-input {
  width: 100%;
  padding: 8px 0 6px;
  border: none;
  border-bottom: 1px solid #c9c9c9;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  min-height: 32px;
  line-height: 1.4;
}
.field-input:focus { border-color: var(--clay); }
.field-input.is-locked {
  background: var(--bone);
  padding: 8px 12px;
  border-bottom-color: var(--rule);
  color: var(--graphite);
}
.field-hint {
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.01em;
  margin-top: 2px;
}
textarea.field-input {
  resize: vertical;
  min-height: 180px;
  padding-top: 10px;
  line-height: 1.65;
  font-size: 15.5px;
}

.field-counter {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  text-align: right;
  margin-top: 4px;
}

/* Option clusters (radio / checkbox groups) */
.option-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  padding: 12px 0 4px;
}
.option-cluster.cols-2 { grid-template-columns: repeat(2, 1fr); }
.option-cluster.cols-4 { grid-template-columns: repeat(4, 1fr); }
.option-cluster.stacked { grid-template-columns: 1fr; gap: 10px; }
.option-cluster label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.3;
}
.option-cluster input[type="checkbox"],
.option-cluster input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--clay);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  margin: 0;
  flex: 0 0 auto;
  position: relative;
}
.option-cluster input[type="radio"] { border-radius: 50%; }
.option-cluster input[type="checkbox"]:checked { background: var(--clay); }
.option-cluster input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.option-cluster input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--clay);
}

/* Parent block (visual container for parent #1, parent #2) */
.parent-block {
  margin-top: 24px;
  padding: 24px 26px 6px;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--clay);
}
.parent-block + .parent-block { margin-top: 28px; }
.parent-block .parent-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 4px;
}
.parent-block .parent-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.parent-block .parent-meta {
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

/* ============ CALLOUTS ============ */
.callout {
  padding: 22px 0 22px 26px;
  margin: 28px 0;
  border-left: 1.5px solid var(--rule);
}
.callout.note { border-left-color: var(--sky); }
.callout.rule { border-left-color: var(--clay); }
.callout.required { border-left-color: var(--moss); }
.callout.warning { border-left-color: var(--terracotta); }
.callout-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.callout.note .callout-label { color: #3a7a8c; }
.callout.rule .callout-label { color: var(--clay); }
.callout.required .callout-label { color: var(--moss); }
.callout.warning .callout-label { color: var(--terracotta); }
.callout-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.callout-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--graphite);
}

/* ============ ACKNOWLEDGMENT LIST ============ */
.ack-list {
  list-style: none;
  counter-reset: ack;
  margin: 24px 0;
}
.ack-list li {
  counter-increment: ack;
  position: relative;
  padding: 22px 0 22px 56px;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
}
.ack-list li::before {
  content: counter(ack, decimal-leading-zero) ".";
  position: absolute;
  left: 0;
  top: 22px;
  font-size: 13px;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ack-list li:last-child { border-bottom: none; }
.ack-list strong { font-weight: 600; }
.ack-confirm {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--graphite);
  letter-spacing: 0.01em;
}
.ack-confirm input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--clay);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  margin: 0;
  flex: 0 0 auto;
  position: relative;
}
.ack-confirm input[type="checkbox"]:checked { background: var(--clay); }
.ack-confirm input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ============ SIGNATURE ============ */
.sig-block {
  margin: 36px 0 12px;
  padding: 30px 28px;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--clay);
  background: #FCFCFC;
}
.sig-block .sig-header {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 18px;
}
.sig-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 32px;
  padding: 12px 0 4px;
}
.sig-row + .sig-row {
  border-top: 1px dashed var(--rule);
  margin-top: 14px;
  padding-top: 20px;
}
.sig-cell { display: flex; flex-direction: column; gap: 6px; }
.sig-cell .field-label { font-size: 10px; }
.sig-cell .field-input {
  min-height: 40px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
}

/* ============ NAV ROW ============ */
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 36px;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.nav-row .meta-progress {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
  padding: 14px 36px;
}
.btn.primary:hover { background: #00086d; border-color: #00086d; }
.btn.ghost { border-color: var(--rule); color: var(--graphite); }
.btn.ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--rule-strong); }
.btn .arrow { font-size: 14px; line-height: 1; }

/* ============ STATUS PAGES (landing / submitted / expired) ============ */
.status-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 56px 96px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.status-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  margin-bottom: 4px;
}
.status-mark.moss { background: var(--moss); }
.status-mark.terracotta { background: var(--terracotta); }
.status-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
}
.status-title {
  font-size: 72px;
  line-height: 1.0;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.status-title .emph { font-weight: 500; }
.status-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 56ch;
}
.status-body p + p { margin-top: 16px; }
.status-body strong { color: var(--ink); font-weight: 600; }

.timeline {
  margin-top: 16px;
  border-top: 1px solid var(--ink);
}
.timeline-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.timeline-when {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.timeline-what {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.timeline-what strong { font-weight: 600; }

.status-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .shell { padding: 48px 50px 80px; }
  .page-title { font-size: 48px; }
  .form-grid-shell { grid-template-columns: 1fr; gap: 36px; }
  .meta { position: static; }
  .meta-num { font-size: 48px; margin-bottom: 16px; }
  .stepper { grid-template-columns: repeat(5, 1fr); }
  .stepper-label { font-size: 12px; }
  .form-row.two, .form-row.three { grid-template-columns: 1fr; }
  .sig-row { grid-template-columns: 1fr 1fr; }
  .status-shell { padding: 80px 36px 64px; }
  .status-title { font-size: 56px; }
}

@media (max-width: 720px) {
  .shell { padding: 36px 22px 64px; gap: 32px; }
  .page-title { font-size: 36px; }
  .body-heading { font-size: 28px; }
  .sub-title { font-size: 20px; }
  .stepper { grid-template-columns: 1fr; gap: 4px; border-bottom: none; }
  .stepper-item { padding: 12px 0; border-left: none !important; border-bottom: 1px solid var(--rule); }
  .stepper-item::before { display: none !important; }
  .timeline-row { grid-template-columns: 1fr; gap: 4px; }
  .sig-row { grid-template-columns: 1fr; gap: 14px; }
  .nav-row { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .nav-row .btn { justify-content: center; }
  .status-title { font-size: 42px; }
}

@media print {
  .nav-row, .stepper { display: none; }
  body { background: #fff; }
}
