:root {
  --canvas: #f7f5f0;
  --paper: #ffffff;
  --ink: #1d2732;
  --muted: #66717c;
  --line: #d8dce0;
  --accent: #294b7a;
  --accent-dark: #213e66;
  --accent-wash: #eaf0f7;
  --error: #7b3431;
  --error-wash: #fbf2f1;
  --shadow: 0 16px 34px rgba(29, 39, 50, 0.07);
}

* { box-sizing: border-box; }

html { overflow-x: clip; background: var(--canvas); }

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  border: 6px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(247, 245, 240, 0.32);
  content: "";
  pointer-events: none;
}

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

.form-shell {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 24px 18px calc(38px + env(safe-area-inset-bottom));
}

.welcome-shell {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 16px 14px calc(54px + env(safe-area-inset-bottom));
}

.welcome-content {
  max-width: 704px;
  overflow: hidden;
  border: 1px solid #cfd7dc;
  border-radius: 4px;
  background: var(--paper);
}

.welcome-hero {
  display: flex;
  min-height: 407px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px 29px;
  background-color: #14243a;
  background-image: linear-gradient(125deg, rgba(10, 20, 32, 0.94) 0%, rgba(10, 20, 32, 0.82) 44%, rgba(10, 20, 32, 0.58) 100%), url("/manus-storage/async-images/KLUQVgc9cPr0V9n2BIgILV/image-2.webp");
  background-position: center;
  background-size: cover;
}

.welcome-body { padding: 0 20px 32px; }

.welcome-masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(247, 245, 240, 0.45);
}

.welcome-edition {
  margin: 0;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.105em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #b9d1d7;
  text-align: right;
}

.welcome-brand {
  display: inline-grid;
  gap: 0;
  margin: 0;
  color: #f7f5f0;
  font-size: clamp(25px, 6vw, 38px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.79;
  text-transform: uppercase;
}

.welcome-brand span { display: block; }

.welcome-hero h1 {
  max-width: 13.5ch;
  margin: 0;
  color: #f7f5f0;
  font-size: clamp(39px, 10vw, 63px);
  font-weight: 820;
  letter-spacing: -0.067em;
  line-height: 0.99;
}

.welcome-sections {
  display: grid;
  gap: 0;
  margin-top: 0;
  border-top: 2px solid #182b3e;
  counter-reset: welcome-section;
}

.welcome-section {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 22px 0 25px;
  border-bottom: 1px solid #cbd3d9;
  counter-increment: welcome-section;
}

.welcome-section::before {
  content: "0" counter(welcome-section);
  padding-top: 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.065em;
}

.welcome-section-copy { min-width: 0; }

.welcome-section:nth-child(5) {
  border-bottom: 2px solid #182b3e;
}

.welcome-section h2 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.welcome-section p {
  max-width: 59ch;
  margin: 0;
  color: #34414d;
  font-size: 16px;
  line-height: 1.62;
}

.welcome-section p strong {
  color: #1e2d3b;
  font-weight: 780;
}

.welcome-highlight {
  margin: 0 -1px;
  border-radius: 3px;
  padding: 1px 2px;
  background: var(--accent-wash);
  color: var(--accent-dark);
  font-weight: 780;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.welcome-actions {
  display: grid;
  justify-items: start;
  gap: 13px;
  margin-top: 33px;
}

.welcome-primary {
  width: 100%;
  min-height: 55px;
  font-weight: 820;
}

.welcome-start-over {
  border: 0;
  border-bottom: 1px solid #8b9aa5;
  padding: 0 0 2px;
  background: transparent;
  color: #526270;
  font-size: 14px;
  font-weight: 650;
}

.welcome-start-over:hover { border-color: var(--accent); color: var(--accent); }
.welcome-start-over:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8dde1;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.brand-lockup img { display: block; border-radius: 8px; }

.completion-estimate {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.progress-block { margin-bottom: 27px; }

.progress-caption {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-caption span:first-child { color: var(--accent); }

.progress-track {
  height: 4px;
  overflow: hidden;
  margin-top: 9px;
  border-radius: 100px;
  background: #dce2e6;
}

.progress-value {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 160ms ease-out;
}

.step-panel {
  padding: 28px 20px 24px;
  border: 1px solid #cfd7dc;
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: none;
}

.step-intro { margin-bottom: 27px; }

.step-intro h1,
.rank-heading h3 {
  margin: 0;
  color: #172330;
  font-size: clamp(28px, 7vw, 37px);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 1.08;
}

.step-intro p {
  max-width: 56ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.fields { display: grid; gap: 22px; }

.grid { display: grid; gap: 22px; }

.field { min-width: 0; }

.field label,
.field legend {
  display: block;
  margin: 0 0 7px;
  color: #26323e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.field-hint {
  margin: -3px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.optional {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  border: 1px solid #b9c2ca;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

select {
  min-height: 48px;
  color: var(--ink);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder { color: #8b959f; }

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 75, 122, 0.15);
}

.has-error input:not([type="checkbox"]):not([type="radio"]),
.has-error select,
.has-error textarea { border-color: var(--error); }

.field-error {
  margin: 7px 0 0;
  color: var(--error);
  font-size: 13px;
  font-weight: 650;
}

.error-summary {
  margin: 0 0 22px;
  padding: 13px 14px;
  border-left: 3px solid var(--error);
  border-radius: 6px;
  background: var(--error-wash);
  color: #542926;
  font-size: 14px;
}

.error-summary strong { display: block; }
.error-summary ul { margin: 5px 0 0; padding-left: 18px; }

.choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-option,
.check-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #c8d0d6;
  border-radius: 4px;
  background: #fff;
  color: #26323e;
  font-size: 14px;
  font-weight: 600;
}

.choice-option { justify-content: center; min-height: 47px; padding: 9px; }
.check-option { min-height: 45px; padding: 10px 11px; }

.choice-option:has(input:checked),
.check-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-wash);
}

.choice-option input,
.check-option input,
.consent-row input { accent-color: var(--accent); }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rank-section {
  padding: 18px;
  border: 1px solid #d6dde1;
  border-radius: 4px;
  background: #fbfcfc;
}

.rank-heading { margin-bottom: 14px; }

.rank-heading h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
}

.rank-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.rank-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-item {
  display: grid;
  grid-template-columns: 44px 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 8px 9px 8px 7px;
  border: 1px solid #d5dde2;
  border-radius: 3px;
  background: #fff;
  color: #273440;
  user-select: none;
}

.rank-item.is-dragging,
.rank-item.is-pointer-dragging { opacity: 0.56; border-color: var(--accent); background: var(--accent-wash); }

.drag-handle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7c8b;
  font-size: 22px;
  line-height: 1;
  touch-action: none;
}

.drag-handle:hover,
.drag-handle:focus-visible { background: var(--accent-wash); color: var(--accent); }

.rank-number { color: var(--accent); font-size: 13px; font-weight: 800; }
.rank-label { font-size: 14px; font-weight: 650; }

.rank-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.rank-move {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #9aa8b3;
  border-radius: 2px;
  background: #fbfcfc;
  color: #4b5c6b;
  font-size: 12px;
  font-weight: 750;
}

.rank-move:disabled { border-color: #d9dfe3; color: #a7b0b8; background: #f6f7f7; }
.rank-move:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent-list { display: grid; gap: 11px; }

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cbd3d8;
  border-radius: 4px;
  background: #fff;
  color: #273440;
  font-size: 14px;
  line-height: 1.48;
}

.consent-row.has-error { border-color: var(--error); background: var(--error-wash); }
.consent-row input { width: 17px; height: 17px; margin: 2px 0 0; }

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 22px;
}

.button {
  min-height: 49px;
  border-radius: 3px;
  padding: 12px 17px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.button.primary {
  min-width: 0;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.button.primary:focus-visible { outline: 3px solid rgba(41, 75, 122, 0.3); outline-offset: 2px; }

.button.secondary {
  border: 1px solid #bfc8cf;
  background: transparent;
  color: #31404e;
}

.button.secondary:hover:not(:disabled) { border-color: #8c9ca8; background: #f0f3f5; }
.button.secondary:disabled { border-color: transparent; color: #b2bac1; background: transparent; }
.form-actions .button { width: 100%; }

.confirmation {
  display: grid;
  width: min(100%, 620px);
  min-height: 100svh;
  margin: 0 auto;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.confirmation-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.confirmation .confirmation-brand {
  margin: 0;
  color: var(--accent);
}

.confirmation .confirmation-message {
  margin: 0;
  color: #1f2e3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

@media (min-width: 560px) {
  body::before { border-width: 8px; }
  .form-shell { padding: 44px 28px 56px; }
  .welcome-shell { padding: 34px 40px 74px; }
  .welcome-hero {
    min-height: 470px;
    padding: 32px 40px 38px;
    background-image: linear-gradient(106deg, rgba(10, 20, 32, 0.95) 0%, rgba(10, 20, 32, 0.82) 45%, rgba(10, 20, 32, 0.5) 100%), url("/manus-storage/async-images/KLUQVgc9cPr0V9n2BIgILV/image-1.webp");
    background-position: center;
  }
  .welcome-body { padding: 0 40px 48px; }
  .welcome-section { grid-template-columns: 54px minmax(0, 1fr); gap: 16px; }
  .step-panel { padding: 37px 40px 34px; }
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-item { grid-template-columns: 44px 24px minmax(0, 1fr) auto; }
  .rank-actions { grid-column: auto; display: flex; justify-content: flex-end; }
  .form-actions { display: flex; justify-content: space-between; }
  .form-actions .button { width: auto; }
  .button.primary { min-width: 158px; }
}

@media (max-width: 380px) {
  .form-shell { padding-inline: 14px; }
  .step-panel { padding-inline: 16px; }
  .choice-row { grid-template-columns: 1fr; }
  .button.primary { min-width: 0; }
}

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

/* Two-track portal */
.home-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 20px 18px calc(44px + env(safe-area-inset-bottom));
}

.site-nav,
.talent-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav { margin-bottom: 18px; }

.site-wordmark,
.talent-wordmark {
  display: inline-grid;
  gap: 0;
  color: #192d43;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.79;
  text-decoration: none;
  text-transform: uppercase;
}

.site-wordmark span,
.talent-wordmark span { display: block; }

.site-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: wrap;
  padding: 3px;
  border: 2px solid #192d43;
  background: var(--paper);
}

.site-nav-manifesto,
.site-nav-link,
.site-nav-cta,
.talent-candidate-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  color: #273946;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.site-nav-manifesto,
.site-nav-cta { border-right: 1px solid #9cabb6; }

.site-nav-cta {
  background: var(--accent);
  color: #fff;
}

.site-nav-link:hover,
.site-nav-manifesto:hover,
.talent-candidate-link:hover { background: var(--accent-wash); color: var(--accent); }
.site-nav-cta:hover { background: var(--accent-dark); }

.home-hero {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 22px;
  border: 1px solid #253c54;
  border-radius: 4px;
  background-color: #14243a;
  background-image: linear-gradient(112deg, rgba(9, 19, 31, 0.96) 0%, rgba(9, 19, 31, 0.8) 47%, rgba(9, 19, 31, 0.46) 100%), url("/manus-storage/async-images/KLUQVgc9cPr0V9n2BIgILV/image-2.webp");
  background-position: center;
  background-size: cover;
  color: #f7f5f0;
}

.home-eyebrow,
.anchor-eyebrow,
.talent-eyebrow,
.confirmation-brand {
  margin: 0;
  color: #b9d1d7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 7ch;
  margin: 17px 0 14px;
  color: #fff;
  font-size: clamp(54px, 15vw, 108px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.82;
  text-transform: uppercase;
}

.home-hero-copy {
  max-width: 39ch;
  margin: 0;
  color: #e1e8eb;
  font-size: 17px;
  line-height: 1.5;
}

.home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.home-primary-action,
.home-secondary-action,
.talent-application-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.home-primary-action { background: #fff; color: #1a2e44; }
.home-secondary-action:hover { background: rgba(255, 255, 255, 0.12); }
.home-primary-action:hover { background: #dce6e8; }

.contributor-anchor {
  margin-top: 22px;
  padding: 38px 22px;
  border-top: 4px solid var(--accent);
  border-right: 1px solid #cfd7dc;
  border-bottom: 1px solid #cfd7dc;
  border-left: 1px solid #cfd7dc;
  background: var(--paper);
}

.anchor-eyebrow,
.talent-eyebrow { color: var(--accent); }

.anchor-intro {
  display: grid;
  gap: 16px;
  margin-top: 15px;
}

.anchor-intro h2 {
  max-width: 17ch;
  margin: 0;
  color: #192d43;
  font-size: clamp(31px, 8vw, 55px);
  font-weight: 820;
  letter-spacing: -0.062em;
  line-height: 1.01;
}

.anchor-intro p {
  max-width: 58ch;
  margin: 0;
  color: #41505b;
  font-size: 16px;
  line-height: 1.58;
}

.discipline-grid {
  display: grid;
  gap: 8px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.discipline-grid li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 57px;
  padding: 14px;
  border: 1px solid #ced7dc;
  color: #2e3e4a;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.discipline-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.talent-application-cta {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.talent-application-cta:hover { border-color: var(--accent-dark); background: var(--accent-dark); }

.site-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
  padding: 17px 0 7px;
  border-top: 1px solid #cbd3d9;
  color: #526270;
  font-size: 12px;
}

.site-footer p { margin: 0 auto 0 0; color: #263a50; font-weight: 800; }
.site-footer a { color: #526270; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* Talent Bench intake */
.talent-shell {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 22px 18px calc(52px + env(safe-area-inset-bottom));
}

.talent-nav {
  margin-bottom: 35px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a2d42;
}

.talent-header { max-width: 650px; }

.talent-header h1 {
  max-width: 15ch;
  margin: 13px 0 12px;
  color: #192d43;
  font-size: clamp(35px, 9vw, 56px);
  font-weight: 820;
  letter-spacing: -0.067em;
  line-height: 0.99;
}

.talent-header > p:last-child {
  max-width: 57ch;
  margin: 0;
  color: #50606c;
  font-size: 16px;
  line-height: 1.55;
}

.talent-progress { margin-top: 31px; }
.talent-panel .step-intro h2 { margin: 0; color: #172330; font-size: clamp(28px, 7vw, 37px); font-weight: 780; letter-spacing: -0.052em; line-height: 1.08; }

.talent-selector legend,
.talent-choice-group legend { font-weight: 800; }

.talent-pill-grid,
.tool-pill-grid {
  display: grid;
  gap: 8px;
}

.talent-pill {
  min-height: 78px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 12px 13px;
  border: 1px solid #c5d0d7;
  border-radius: 3px;
  background: #fff;
  color: #273845;
  text-align: left;
}

.talent-pill strong { font-size: 14px; }
.talent-pill span { color: #667783; font-size: 12px; line-height: 1.35; }
.talent-pill.is-selected,
.tool-pill.is-selected { border-color: var(--accent); background: var(--accent-wash); }
.talent-pill:disabled { opacity: 0.48; cursor: not-allowed; }
.talent-pill:focus-visible,
.tool-pill:focus-visible { outline: 3px solid rgba(41, 75, 122, 0.22); outline-offset: 2px; }

.tool-pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tool-pill {
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid #c5d0d7;
  border-radius: 3px;
  background: #fff;
  color: #2d3e4a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.talent-choice-group { margin: 0; padding: 0; border: 0; }
.talent-choice-stack { display: grid; gap: 9px; }

.talent-choice-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  min-height: 67px;
  padding: 12px;
  border: 1px solid #c5d0d7;
  border-radius: 3px;
  background: #fff;
}

.talent-choice-card.is-selected { border-color: var(--accent); background: var(--accent-wash); }
.talent-choice-card input,
.talent-terms input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--accent); }
.talent-choice-card strong,
.talent-choice-card small { display: block; }
.talent-choice-card strong { color: #263845; font-size: 14px; }
.talent-choice-card small { margin-top: 2px; color: #667783; font-size: 12px; line-height: 1.35; }

.talent-terms {
  padding: 15px;
  border: 1px solid #c5d0d7;
  border-radius: 3px;
  background: #fff;
}

.talent-terms.has-error { border-color: var(--error); background: var(--error-wash); }
.talent-terms label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: #2a3b47; font-size: 14px; line-height: 1.5; }

.sound-cue-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #c5d0d7;
  border-left: 3px solid var(--accent);
  background: #f8faf9;
}

.sound-cue-control > div { min-width: 0; }
.sound-cue-control strong,
.sound-cue-control span { display: block; }
.sound-cue-control strong { color: #2a3e4b; font-size: 13px; }
.sound-cue-control > div > span { margin-top: 2px; color: #667783; font-size: 12px; line-height: 1.35; }

.sound-cue-toggle {
  min-width: 82px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #8fa0ac;
  background: #fff;
  color: #41525e;
  font-size: 12px;
  font-weight: 800;
}

.sound-cue-toggle b { color: var(--accent); }
.sound-cue-toggle.is-enabled { border-color: var(--accent); background: var(--accent-wash); color: var(--accent); }
.sound-cue-toggle:focus-visible { outline: 3px solid rgba(41, 75, 122, 0.28); outline-offset: 2px; }

.talent-confirmation {
  display: grid;
  min-height: 100svh;
  width: min(100%, 680px);
  margin: 0 auto;
  align-content: center;
  justify-items: start;
  padding: 34px;
}

.talent-confirmation h1 {
  margin: 13px 0 10px;
  color: #192d43;
  font-size: clamp(43px, 11vw, 74px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.86;
  text-transform: uppercase;
}

.talent-confirmation > p:last-child { max-width: 42ch; margin: 0; color: #50606c; font-size: 18px; line-height: 1.5; }

.talent-started-stamp {
  margin: 16px 0 0;
  padding: 7px 9px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transform-origin: left center;
}

.record-started .talent-started-stamp { animation: record-start-stamp 300ms cubic-bezier(0.2, 0.82, 0.22, 1) both; }

@keyframes record-start-stamp {
  from { opacity: 0; transform: translateY(-9px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (min-width: 560px) {
  .home-shell { padding: 32px 40px 54px; }
  .site-nav { margin-bottom: 26px; }
  .home-hero {
    min-height: 610px;
    padding: 48px 46px;
    background-image: linear-gradient(106deg, rgba(9, 19, 31, 0.96) 0%, rgba(9, 19, 31, 0.8) 48%, rgba(9, 19, 31, 0.44) 100%), url("/manus-storage/async-images/KLUQVgc9cPr0V9n2BIgILV/image-1.webp");
  }
  .contributor-anchor { margin-top: 28px; padding: 54px 46px; }
  .anchor-intro { grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr); align-items: end; }
  .discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discipline-grid li:last-child { grid-column: 1 / -1; }
  .talent-shell { padding: 40px 40px 64px; }
  .talent-pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-pill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 559px) {
  .site-nav { align-items: flex-start; gap: 12px; }
  .site-wordmark { flex: 0 0 auto; margin-top: 4px; }
  .site-nav-actions {
    display: grid;
    flex: 1 1 190px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    max-width: 270px;
  }
  .site-nav-manifesto,
  .site-nav-link,
  .site-nav-cta { width: 100%; min-width: 0; padding-inline: 7px; font-size: 11px; }
  .home-shell .site-nav-link { grid-column: 1 / -1; border-right: 0; }
  .home-shell .site-nav-manifesto { border-right: 1px solid #9cabb6; }
  .home-shell .site-nav-cta { border-right: 0; }
  .welcome-edition { max-width: 92px; }
  .tool-pill-grid { grid-template-columns: 1fr; }
}

/* Manifesto */

.manifesto-shell {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 20px 18px calc(64px + env(safe-area-inset-bottom));
}

.manifesto-nav { margin-bottom: 18px; }

.manifesto-hero {
  display: grid;
  min-height: 430px;
  align-content: end;
  padding: 27px 22px;
  border: 1px solid #203954;
  background: #172b42;
  color: #f7f5f0;
}

.manifesto-hero p {
  margin: 0 0 17px;
  color: #b9d1d7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.manifesto-hero h1 {
  max-width: 8ch;
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 15vw, 100px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.82;
  text-transform: uppercase;
}

.manifesto-paper {
  padding: 38px 22px 48px;
  border-right: 1px solid #cfd7dc;
  border-bottom: 1px solid #cfd7dc;
  border-left: 1px solid #cfd7dc;
  background: var(--paper);
}

.manifesto-paper > p,
.manifesto-section p {
  max-width: 59ch;
  margin: 0 0 23px;
  color: #344550;
  font-size: 17px;
  line-height: 1.63;
}

.manifesto-lede {
  max-width: 20ch !important;
  color: #1d3148 !important;
  font-size: clamp(27px, 7vw, 43px) !important;
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.08 !important;
}

.manifesto-statement,
.manifesto-closing {
  max-width: 24ch !important;
  color: #1d3148 !important;
  font-size: clamp(26px, 6vw, 39px) !important;
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.06 !important;
}

.manifesto-section {
  max-width: 720px;
  margin: 33px 0 0;
  padding-top: 24px;
  border-top: 2px solid #1d3148;
}

.manifesto-section h2 {
  max-width: 24ch;
  margin: 0 0 11px;
  color: #1d3148;
  font-size: clamp(24px, 6vw, 35px);
  font-weight: 820;
  letter-spacing: -0.048em;
  line-height: 1.08;
}

.manifesto-section p { margin-bottom: 0; }
.manifesto-declaration { border-top-width: 4px; }
.manifesto-closing { margin-top: 45px !important; }
.manifesto-welcome { margin-bottom: 0 !important; color: var(--accent) !important; font-size: 14px !important; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }

@media (min-width: 560px) {
  .manifesto-shell { padding: 32px 40px 74px; }
  .manifesto-nav { margin-bottom: 26px; }
  .manifesto-hero { min-height: 530px; padding: 48px 46px; }
  .manifesto-paper { padding: 56px 46px 64px; }
}

/* Proof-ledger home sections */
.path-markers {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.path-marker {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 2px solid #1b3047;
  background: var(--paper);
  color: #263b50;
  text-decoration: none;
}

.path-marker:hover { background: var(--accent-wash); }
.path-marker-number,
.ledger-principles > li > span,
.receipt-steps > li > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.path-marker strong,
.path-marker small { display: block; }
.path-marker strong { font-size: 15px; }
.path-marker small { margin-top: 3px; color: #647481; font-size: 12px; line-height: 1.35; }
.path-marker-arrow { color: var(--accent); font-size: 22px; font-weight: 800; }

.proof-ledger {
  margin-top: 22px;
  padding: 38px 22px;
  border: 1px solid #1f3853;
  border-top: 4px solid #b9d1d7;
  background: #192f48;
  color: #f7f5f0;
}

.proof-eyebrow,
.match-eyebrow {
  margin: 0;
  color: #b9d1d7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proof-ledger-intro {
  display: grid;
  gap: 16px;
  margin-top: 15px;
}

.proof-ledger h2,
.match-receipt h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(32px, 8vw, 55px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 1;
}

.proof-ledger-intro > p {
  max-width: 53ch;
  margin: 0;
  color: #e4ebed;
  font-size: 16px;
  line-height: 1.58;
}

.ledger-principles,
.receipt-steps {
  display: grid;
  gap: 0;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.ledger-principles > li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid rgba(224, 236, 239, 0.28);
}

.ledger-principles strong { display: block; color: #fff; font-size: 15px; }
.ledger-principles p { margin: 3px 0 0; color: #d2dfe3; font-size: 13px; line-height: 1.45; }

.hiring-hall-index {
  margin: 13px 0 -2px;
  color: #637480;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-receipt {
  margin-top: 22px;
  padding: 38px 22px;
  border-top: 4px solid var(--accent);
  border-right: 1px solid #cfd7dc;
  border-bottom: 1px solid #cfd7dc;
  border-left: 1px solid #cfd7dc;
  background: var(--paper);
}

.match-receipt h2 { margin-top: 14px; color: #192d43; }
.match-receipt-intro { max-width: 53ch; margin: 15px 0 0; color: #44545f; font-size: 16px; line-height: 1.58; }

.receipt-steps { gap: 8px; }

.receipt-steps > li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  column-gap: 10px;
  min-height: 88px;
  padding: 15px 14px;
  border: 1px solid #ccd6db;
}

.receipt-steps > li > span { grid-row: span 2; }
.receipt-steps strong { color: #293d4b; font-size: 14px; }
.receipt-steps p { grid-column: 2; margin: 3px 0 0; color: #657681; font-size: 13px; line-height: 1.4; }

@media (min-width: 560px) {
  .path-markers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-ledger,
  .match-receipt { margin-top: 28px; padding: 54px 46px; }
  .proof-ledger-intro { grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr); align-items: end; }
  .ledger-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .ledger-principles > li { grid-template-columns: 1fr; gap: 9px; }
  .receipt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .receipt-steps > li { grid-template-columns: 1fr; row-gap: 7px; }
  .receipt-steps > li > span { grid-row: auto; }
  .receipt-steps p { grid-column: auto; margin-top: 0; }
}

.proof-ledger-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 29px;
  padding-top: 17px;
  border-top: 1px solid rgba(224, 236, 239, 0.28);
}

.proof-ledger-footer strong { max-width: 31ch; color: #fff; font-size: 15px; line-height: 1.35; }
.proof-ledger-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid #b9d1d7; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.proof-ledger-footer a:hover { color: #b9d1d7; }

.manifesto-source {
  max-width: 59ch;
  margin: -8px 0 35px;
  color: #687985;
  font-size: 12px;
  line-height: 1.5;
}

.manifesto-source a { color: var(--accent); font-weight: 750; }

.talent-record-note {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 13px 14px;
  border-top: 2px solid var(--accent);
  border-right: 1px solid #cbd4da;
  border-bottom: 1px solid #cbd4da;
  border-left: 1px solid #cbd4da;
  background: var(--paper);
  color: #41525e;
  font-size: 12px;
  line-height: 1.35;
}

.talent-record-note > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.talent-record-note ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.talent-record-note li {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-left: 2px solid var(--accent);
  background: #f5f7f7;
  color: #41525e;
  font-size: 12px;
  font-weight: 720;
}

/* V1 contribution record */
.contribution-record {
  margin-top: 22px;
  padding: 38px 22px;
  border-top: 4px solid #1d3148;
  border-right: 1px solid #cfd7dc;
  border-bottom: 1px solid #cfd7dc;
  border-left: 1px solid #cfd7dc;
  background: var(--paper);
}

.record-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.record-intro {
  display: grid;
  gap: 16px;
  margin-top: 15px;
}

.record-intro h2 {
  max-width: 15ch;
  margin: 0;
  color: #192d43;
  font-size: clamp(32px, 8vw, 55px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 1;
}

.record-intro p {
  max-width: 55ch;
  margin: 0;
  color: #455662;
  font-size: 16px;
  line-height: 1.58;
}

.record-example {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 29px;
  border: 2px solid #1d3148;
  background: #fcfbf5;
}

.record-example::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.6'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.07;
  pointer-events: none;
}

.record-example > * { position: relative; z-index: 1; }

.ledger-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  background: #1d3148;
  color: #fff;
}

.ledger-header p,
.ledger-header span,
.ledger-status,
.ledger-rows dt,
.ledger-audit > p,
.ledger-ownership strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-header p { margin: 0 0 6px; }
.ledger-header > div > span { color: #b9d1d7; }

.ledger-status {
  flex: 0 0 auto;
  padding: 7px 8px;
  border: 1px solid #b9d1d7;
  box-shadow: inset 0 0 0 1px rgba(185, 209, 215, 0.35);
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.ledger-rows { margin: 0; }

.ledger-rows > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.46fr) minmax(0, 1fr);
  gap: 13px;
  padding: 13px 14px;
  border-top: 1px solid #c8d3d9;
}

.ledger-rows dt {
  color: var(--accent);
  line-height: 1.4;
}

.ledger-rows dd { margin: 0; color: #2b3e4d; font-size: 14px; font-weight: 680; line-height: 1.45; }

.ledger-audit {
  padding: 15px 14px;
  border-top: 2px solid #1d3148;
  background: #f0f3f1;
}

.ledger-audit > p { margin: 0 0 11px; color: #1d3148; }

.ledger-audit ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ledger-audit li {
  position: relative;
  padding-left: 16px;
  color: #52636e;
  font-size: 12px;
  line-height: 1.35;
}

.ledger-audit li::before {
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  background: #fcfbf5;
  content: "";
}

.ledger-ownership {
  padding: 15px 14px 16px;
  border-top: 1px solid #c8d3d9;
  background: #fcfbf5;
}

.ledger-ownership strong { display: block; color: var(--accent); }
.ledger-ownership p { max-width: 62ch; margin: 7px 0 0; color: #42545f; font-size: 12px; line-height: 1.48; }

.record-example.is-motion-ready:not(.is-revealed) .ledger-status,
.record-example.is-motion-ready:not(.is-revealed) .ledger-rows > div {
  opacity: 0;
}

.record-example.is-revealed .ledger-status { animation: ledger-stamp 270ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.record-example.is-revealed .ledger-rows > div { animation: ledger-rule 190ms ease-out both; }
.record-example.is-revealed .ledger-rows > div:nth-child(1) { animation-delay: 35ms; }
.record-example.is-revealed .ledger-rows > div:nth-child(2) { animation-delay: 70ms; }
.record-example.is-revealed .ledger-rows > div:nth-child(3) { animation-delay: 105ms; }
.record-example.is-revealed .ledger-rows > div:nth-child(4) { animation-delay: 140ms; }
.record-example.is-revealed .ledger-rows > div:nth-child(5) { animation-delay: 175ms; }
.record-example.is-revealed .ledger-rows > div:nth-child(6) { animation-delay: 210ms; }

@keyframes ledger-stamp {
  from { opacity: 0; transform: translateY(-10px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes ledger-rule {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.founding-bench {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 2px solid #1d3148;
}

.founding-bench > div:first-child { max-width: 54ch; }
.founding-kicker { margin: 0; color: var(--accent); font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-size: 10px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.founding-bench h3 { max-width: 22ch; margin: 7px 0; color: #1d3148; font-size: clamp(23px, 6vw, 32px); font-weight: 820; letter-spacing: -0.045em; line-height: 1.05; }
.founding-bench p:not(.founding-kicker) { margin: 0; color: #344752; font-size: 14px; line-height: 1.55; }
.founding-actions { display: grid; gap: 7px; min-width: min(100%, 205px); }
.founding-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 850; text-decoration: none; }
.founding-primary { padding: 10px 13px; border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.founding-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.founding-secondary { color: var(--accent); }
.founding-secondary:hover { color: var(--accent-dark); text-decoration: underline; }

@media (min-width: 560px) {
  .contribution-record { margin-top: 28px; padding: 54px 46px; }
  .record-intro { grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr); align-items: end; }
  .ledger-audit ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talent-record-note { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .talent-record-note ol { display: flex; flex-wrap: wrap; }
  .talent-record-note li { min-height: auto; padding: 0; border: 0; background: transparent; }
  .talent-record-note li:not(:last-child)::after { margin-left: 8px; color: var(--accent); content: "→"; }
}

@media (max-width: 559px) {
  .founding-actions { width: 100%; min-width: 0; }
  .founding-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .record-started .talent-started-stamp { animation: none; }
  .record-example.is-revealed .ledger-status,
  .record-example.is-revealed .ledger-rows > div {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
