/* CNO candidate invitation, adapted from the legacy JobInvite design. */
:root {
  color-scheme: light;
  --navy: #002d72;
  --red: #e4002b;
  --ink: #0c1836;
  --muted: #5b6474;
  --border: #e6e9f0;
  --page: #eef1f7;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Montserrat", "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: var(--navy); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; border-radius: 3px; }
button { font-family: inherit; cursor: pointer; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2;
  padding: 12px 16px;
  background: white;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.trust-bar {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: white;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.5;
}
.trust-bar span { margin: 0 6px; }
.page-shell { width: min(100%, 1032px); margin: 0 auto; padding: 36px 36px 28px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cno-logo { display: block; width: auto; height: 48px; max-width: 64%; object-fit: contain; }
.header-label {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 352px; align-items: start; gap: 48px; margin-top: 44px; }
.hero-copy { align-self: center; scroll-margin-top: 24px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #d00027;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow::before { content: ""; width: 16px; height: 2px; flex-shrink: 0; background: var(--red); }
.candidate-greeting { margin-bottom: 8px; color: var(--navy); font-size: 16px; font-weight: 700; }
h1 { font-size: clamp(34px, 3.8vw, 46px); line-height: 1.09; letter-spacing: -.03em; font-weight: 800; overflow-wrap: anywhere; }
.hero-summary { margin-top: 18px; color: var(--muted); font-size: 17px; font-weight: 500; line-height: 1.6; }
.invitation-state { margin-top: 24px; padding-left: 14px; border-left: 3px solid #b5c3db; }
.candidate-status { font-size: 14px; font-weight: 700; line-height: 1.6; }
.candidate-details { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.invitation-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
}
.button-primary { width: 100%; background: var(--red); color: white; }
.button-primary:hover { background: #c60026; text-decoration: none; }
.help-link { font-size: 13px; font-weight: 600; line-height: 1.5; }
.noscript-note { margin-top: 20px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: white; font-size: 14px; line-height: 1.6; }
.interview-card { padding: 30px 28px; border-radius: 18px; background: var(--navy); color: white; }
.card-eyebrow { color: #b9c6e4; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.interview-card h2 { margin-top: 16px; font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.18; }
.card-intro { margin-top: 13px; color: #ccd6ea; font-size: 14px; line-height: 1.7; }
.interview-facts { display: flex; flex-direction: column; gap: 17px; margin-top: 25px; padding-top: 23px; border-top: 1px solid #3e5c94; }
.interview-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.interview-facts dt { color: #ccd6ea; font-size: 12px; line-height: 1.5; }
.interview-facts dd { max-width: 60%; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: right; }
.candidate-deadline { margin-top: 23px; padding-top: 20px; border-top: 1px solid #3e5c94; font-size: 13px; font-weight: 600; line-height: 1.65; }
.card-note { margin-top: 23px; color: #ccd6ea; font-size: 12px; line-height: 1.7; }
.preparation { margin-top: 44px; padding: 32px 34px; border: 1px solid var(--border); border-radius: 18px; background: white; }
.preparation-intro { padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.preparation-intro h2 { color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.5; }
.preparation-intro p { margin-top: 9px; max-width: 800px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.steps-title { margin-top: 27px; font-size: 21px; font-weight: 800; letter-spacing: -.015em; line-height: 1.4; }
.preparation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 24px 0 0; padding: 0; list-style: none; }
.step-number { display: block; margin-bottom: 10px; color: #d00027; font-size: 13px; font-weight: 800; }
.preparation-steps h3 { margin-bottom: 6px; font-size: 15px; font-weight: 750; line-height: 1.5; }
.preparation-steps p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.closing-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; padding: 30px 32px; border-radius: 18px; background: var(--navy); color: white; }
.closing-band h2 { font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.4; }
.closing-band p { margin-top: 7px; color: #ccd6ea; font-size: 13px; line-height: 1.6; }
.button-outline { flex-shrink: 0; padding: 12px 18px; border-color: #849cca; color: white; font-size: 13px; }
.button-outline:hover { border-color: white; background: #164486; text-decoration: none; }
.closing-band a:focus-visible { outline-color: white; }
.page-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 26px; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.7; }
.page-footer a { color: var(--muted); }

@media (max-width: 900px) {
  .page-shell { padding: 30px 28px 28px; }
  .hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  h1 { font-size: 38px; }
  .interview-card { padding: 28px 24px; }
  .preparation { padding: 28px; }
  .preparation-steps { gap: 24px; }
}

@media (max-width: 720px) {
  body { background: white; }
  .trust-bar { background: #f4f6fb; font-size: 11px; }
  .page-shell { max-width: 560px; padding: 25px 24px 28px; }
  .cno-logo { height: 42px; }
  .header-label { padding: 7px 10px; font-size: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 33px; }
  h1 { max-width: 460px; font-size: 38px; }
  .hero-summary { font-size: 16px; }
  .invitation-actions { align-items: stretch; }
  .help-link { align-self: flex-start; }
  .interview-card { padding: 27px; }
  .interview-card h2 { font-size: 29px; }
  .interview-card h2 br { display: none; }
  .interview-facts dt, .interview-facts dd { font-size: 13px; }
  .preparation { margin-top: 32px; padding: 0; border: 0; border-radius: 0; }
  .preparation-intro { padding-bottom: 25px; }
  .steps-title { margin-top: 25px; }
  .preparation-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 21px; }
  .preparation-steps li { display: flex; gap: 15px; padding: 20px 0; border-top: 1px solid #eef1f6; }
  .preparation-steps li:first-child { padding-top: 0; border-top: 0; }
  .preparation-steps li:last-child { padding-bottom: 0; }
  .step-number { flex-shrink: 0; width: 22px; margin-top: 3px; margin-bottom: 0; }
  .closing-band { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 30px; padding: 26px; }
  .button-outline { width: 100%; }
}

@media (max-width: 360px) {
  .page-shell { padding-right: 20px; padding-left: 20px; }
  .header-label { display: none; }
  .cno-logo { max-width: 100%; }
  h1 { font-size: 34px; }
  .interview-card { padding: 24px 20px; }
  .interview-facts > div { gap: 12px; }
}
