:root {
  --hr-blue: #0077BA;
  --hr-blue-light: #8CCAE5;
  --hr-white: #FFFFFF;
  --hr-blue-2: #508AC5;
  --hr-periwinkle: #AEC2E2;
  --hr-sky: #A1D2EA;
  --hr-mist: #D5E9F4;
  --hr-button: #F96E47;
  --hr-error: #B8471F;
  --hr-error-surface: #FDEEE9;
  --hr-gray-100: #D5D7D8;
  --hr-gray-300: #97999C;
  --hr-gray-600: #666666;
  --hr-black: #000000;
  --hr-body: #666666;
  --hr-rule: #D5D7D8;
  --hr-paper: #FFFFFF;
  --hr-canvas: #FAFBFC;
  --blue: var(--hr-blue);
  --blue-deep: var(--hr-blue);
  --blue-night: var(--hr-blue);
  --blue-light: var(--hr-blue-light);
  --blue-mist: var(--hr-mist);
  --ink: var(--hr-black);
  --body: var(--hr-body);
  --muted: var(--hr-gray-600);
  --rule: var(--hr-rule);
  --paper: var(--hr-paper);
  --coral: var(--hr-button);
  --coral-hover: var(--hr-button);
  --display: "Montserrat", Arial, sans-serif;
  --sans: "Source Sans 3", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --welcome-gutter: clamp(28px, 6vw, 96px);
  --welcome-top: clamp(92px, 11svh, 132px);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--hr-canvas); scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--body);
  background: var(--hr-canvas);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  min-width: 168px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.brand-mark img { display: block; width: 190px; height: auto; }

.brand-fallback {
  color: var(--hr-white);
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.welcome-screen { min-height: 100svh; position: relative; overflow: hidden; background: var(--blue-night); }

.welcome-nav {
  height: 102px;
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--welcome-gutter);
  color: var(--hr-white);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.welcome-hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 130px clamp(28px, 6vw, 96px) 132px;
  color: var(--hr-white);
  background: linear-gradient(112deg, var(--hr-blue) 0%, var(--hr-blue-2) 100%);
}

.welcome-copy {
  width: min(720px, 62vw);
  position: relative;
  z-index: 2;
  animation: welcome-copy-in .9s var(--ease-out) both;
}

.welcome-kicker, .eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.welcome-kicker { color: var(--hr-white); }

.welcome-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--hr-white);
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .92;
}

.welcome-lede {
  max-width: 600px;
  margin: 30px 0 32px;
  color: var(--hr-white);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.welcome-proof {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  grid-template-areas:
    "intro proof"
    "market market"
    "growth expect"
    "privacy privacy";
  gap: 34px clamp(34px, 6vw, 88px);
  padding: clamp(76px, 9vw, 132px) clamp(28px, 7vw, 112px) 72px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: var(--hr-canvas);
}

.proof-intro {
  grid-area: intro;
  max-width: 420px;
  padding: 28px;
  border-top: 4px solid var(--hr-blue);
  background: var(--hr-white);
}

.proof-intro > p:last-child, .expect-next > p:last-child {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.35;
}

.proof-list {
  grid-area: proof;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.proof-list > div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--rule);
  background: var(--hr-white);
}

.proof-list > div:nth-child(2) { background: var(--hr-mist); }
.proof-list > div:nth-child(3) { border-top: 4px solid var(--hr-blue-light); }

.proof-list dt {
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -.045em;
}

.proof-list dd { margin: 7px 0 0; color: var(--hr-gray-600); }

.growth-map {
  grid-area: market;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--hr-white);
}

.state-badge {
  min-width: 128px;
  position: relative;
  display: grid;
  justify-items: start;
  padding: 14px 20px 14px 58px;
  border: 1px solid var(--hr-blue-light);
  border-radius: 12px;
  background: var(--hr-mist);
}

.state-badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 17px;
  width: 30px;
  height: 38px;
  background: var(--hr-blue);
  transform: translateY(-50%);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.state-badge.current::before { -webkit-mask-image: url("./assets/state-ca.svg"); mask-image: url("./assets/state-ca.svg"); }
.state-badge.new::before { -webkit-mask-image: url("./assets/state-tx.svg"); mask-image: url("./assets/state-tx.svg"); }

.state-badge.new { border-color: var(--hr-blue); background: var(--hr-white); }
.state-label { color: var(--hr-blue); font-family: var(--display); font-size: 1.45rem; font-weight: 800; line-height: 1; }
.state-tag { margin-top: 6px; color: var(--hr-gray-600); font-size: .78rem; font-weight: 700; }
.new-pill {
  position: absolute;
  top: -12px;
  right: -9px;
  padding: 3px 9px;
  border-radius: 100px;
  color: var(--hr-white);
  background: var(--hr-blue);
  font-family: var(--display);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.growth-arrow { width: 88px; height: 24px; flex: 0 0 auto; color: var(--hr-blue-light); }
.growth-plus {
  padding: 9px 16px;
  border: 1px dashed var(--hr-blue-light);
  color: var(--hr-blue);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.proof-growth { grid-area: growth; max-width: 620px; margin: 0; padding: 24px; color: var(--ink); background: var(--hr-white); font-size: 1.08rem; }
.expect-next { grid-area: expect; max-width: 620px; padding: 24px; background: var(--hr-mist); }
.expect-next .eyebrow { color: #005B8A; }

.privacy-link {
  grid-area: privacy;
  width: fit-content;
  color: var(--blue-deep);
  font-size: .87rem;
  font-weight: 700;
  text-underline-offset: .22em;
}

.welcome-privacy { display: none; }

@media (min-width: 1321px) {
  .welcome-screen {
    min-height: 100svh;
    position: relative;
    display: grid;
    grid-template-columns: 44vw minmax(0, 1fr);
    overflow: visible;
  }

  .welcome-hero {
    width: auto;
    min-height: 0;
    height: auto;
    grid-column: 1;
    min-height: 100svh;
    align-items: start;
    padding: var(--welcome-top) var(--welcome-gutter) clamp(48px, 8svh, 112px);
  }

  .welcome-copy { width: min(100%, 760px); }
  .welcome-copy h1 { max-width: 720px; font-size: clamp(3.65rem, 5.6vw, 6.6rem); }
  .welcome-lede { max-width: 590px; margin: 24px 0 28px; font-size: clamp(1rem, 1.2vw, 1.17rem); }

  .welcome-proof {
    width: auto;
    position: relative;
    z-index: 4;
    grid-column: 2;
    align-self: start;
    margin: var(--welcome-top) var(--welcome-gutter) clamp(28px, 5svh, 72px) 0;
    display: grid;
    grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr);
    grid-template-areas:
      "intro proof"
      "market market"
      "growth expect"
      "privacy privacy";
    align-content: start;
    gap: clamp(9px, 1.15vw, 18px) clamp(12px, 1.35vw, 24px);
    padding: 0;
    border: 0;
    background: transparent;
    animation: welcome-proof-in .95s .16s var(--ease-out) both;
  }

  .proof-intro, .proof-list > div, .growth-map, .proof-growth, .expect-next { box-shadow: 0 16px 30px rgba(6, 59, 91, .11); }
  .proof-intro { max-width: none; padding: clamp(14px, 1.5vw, 22px); border-top-width: 3px; }
  .proof-intro > p:last-child, .expect-next > p:last-child { font-size: clamp(.95rem, 1.23vw, 1.28rem); line-height: 1.3; }
  .proof-intro .eyebrow, .expect-next .eyebrow { margin-bottom: 9px; font-size: .58rem; }
  .proof-list { gap: 8px; }
  .proof-list > div { padding: clamp(11px, 1.15vw, 17px); }
  .proof-list dt { font-size: clamp(1.15rem, 1.55vw, 1.55rem); }
  .proof-list dd { margin-top: 4px; font-size: clamp(.72rem, .82vw, .84rem); line-height: 1.35; }
  .growth-map { gap: clamp(9px, 1vw, 15px); padding: clamp(10px, 1.15vw, 16px); }
  .state-badge { min-width: 96px; padding: 9px 13px; border-radius: 9px; }
  .state-label { font-size: 1.15rem; }
  .state-tag { margin-top: 3px; font-size: .67rem; }
  .new-pill { top: -9px; right: -8px; font-size: .54rem; }
  .growth-arrow { width: clamp(44px, 4.5vw, 72px); height: 18px; }
  .growth-plus { padding: 7px 10px; font-size: .61rem; }
  .proof-growth, .expect-next { max-width: none; padding: clamp(13px, 1.35vw, 20px); font-size: clamp(.8rem, .96vw, .96rem); line-height: 1.4; }
  .privacy-link { color: rgba(255, 255, 255, .9); font-size: .72rem; }
}

@media (min-width: 1321px) {
  .welcome-screen { background: var(--hr-blue); }
  .welcome-hero { background: transparent; }

  .welcome-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "intro intro"
      "proof proof"
      "market market"
      "growth growth"
      "expect expect";
    align-content: start;
    gap: clamp(12px, 1.35vw, 24px);
    padding: 0 0 0 var(--welcome-gutter);
    border-left: 1px solid rgba(255, 255, 255, .24);
  }

  .proof-intro, .proof-list > div, .growth-map, .proof-growth, .expect-next {
    box-shadow: none;
    background: transparent;
  }

  .proof-intro { padding: 0; border: 0; }
  .proof-intro > p:last-child { color: var(--hr-white); font-size: clamp(1.08rem, 1.35vw, 1.48rem); line-height: 1.28; }
  .expect-next > p:last-child { color: var(--hr-white); font-size: clamp(1rem, 1.2vw, 1.28rem); line-height: 1.35; }
  .proof-intro .eyebrow, .expect-next .eyebrow { color: var(--hr-white); font-size: .66rem; }

  .proof-list {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 1px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-bottom: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .24);
  }

  .proof-list > div {
    min-height: 106px;
    padding: clamp(12px, 1.25vw, 20px) clamp(10px, 1.15vw, 18px);
    border: 0;
    background: var(--hr-blue);
  }

  .proof-list > div:nth-child(2), .proof-list > div:nth-child(3) { background: var(--hr-blue); }
  .proof-list > div:nth-child(3) { border-top: 0; }
  .proof-list dt { color: var(--hr-white); font-size: clamp(1.25rem, 1.75vw, 1.8rem); }
  .proof-list dd { color: rgba(255, 255, 255, .96); font-size: clamp(.74rem, .84vw, .88rem); line-height: 1.4; }

  .growth-map {
    justify-content: center;
    gap: clamp(8px, .9vw, 20px);
    padding: clamp(8px, 1vw, 16px) 0;
    border: 0;
  }

  .state-badge {
    min-width: 148px;
    min-height: 60px;
    justify-items: start;
    padding: 8px 0 8px 68px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .state-badge::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 52px;
    height: 58px;
    background: var(--hr-white);
    opacity: .9;
    transform: translateY(-50%);
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
  }
  .state-badge.current::before { -webkit-mask-image: url("./assets/state-ca.svg"); mask-image: url("./assets/state-ca.svg"); }
  .state-badge.new::before { -webkit-mask-image: url("./assets/state-tx.svg"); mask-image: url("./assets/state-tx.svg"); }
  .state-badge.new::before { width: 58px; height: 62px; }
  .state-badge.new { grid-template-columns: auto auto; column-gap: 8px; border: 0; background: transparent; }
  .state-badge.new .state-label, .state-badge.new .state-tag { grid-column: 1; }
  .state-badge.new .new-pill { position: static; grid-column: 2; grid-row: 1; align-self: center; }
  .state-label, .state-tag { color: var(--hr-white); }
  .state-label { font-size: clamp(1.28rem, 1.5vw, 1.7rem); }
  .state-tag { font-size: clamp(.68rem, .78vw, .8rem); }
  .new-pill { background: var(--hr-white); color: var(--hr-blue); }
  .growth-arrow { width: clamp(40px, 3.6vw, 64px); color: rgba(255, 255, 255, .7); }
  .growth-plus {
    min-width: 68px;
    align-self: center;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, .96);
    font-size: .7rem;
    line-height: 1.15;
    text-align: left;
  }
  .growth-plus::before {
    width: 22px;
    content: "";
    display: block;
    flex: 0 0 auto;
    margin-right: 7px;
    border-top: 2px dashed rgba(255, 255, 255, .72);
  }

  .proof-growth { padding: clamp(13px, 1.45vw, 20px) 0 0; border-top: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .96); font-size: clamp(.86rem, 1vw, 1rem); }
  .proof-intro > p:last-child, .expect-next > p:last-child { max-width: 72ch; }
  .proof-growth > span { display: block; max-width: 72ch; }
  .expect-next { padding: clamp(14px, 1.45vw, 22px) 0 0; border-top: 1px solid rgba(255, 255, 255, .2); border-left: 0; }
  .privacy-link {
    display: none;
  }
  .welcome-privacy {
    position: absolute;
    z-index: 6;
    bottom: clamp(28px, 4svh, 56px);
    left: var(--welcome-gutter);
    display: block;
    color: rgba(255, 255, 255, .96);
    font-size: .76rem;
    font-weight: 700;
    text-underline-offset: .22em;
  }
}

.screen {
  min-height: 100svh;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 86% 14%, rgba(213, 233, 244, .48), transparent 27rem),
    var(--hr-canvas);
}

.brand-masthead { height: 92px; position: relative; z-index: 12; overflow: hidden; color: var(--hr-white); background: var(--blue-deep); }

.masthead-inner {
  height: 92px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(24px, 5vw, 76px);
}

.masthead-note {
  color: var(--hr-white);
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.progress-wrap {
  height: 62px;
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 224px 1fr 48px;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.progress-copy { display: flex; flex-direction: column; line-height: 1.25; }

.progress-copy span {
  color: var(--muted);
  font-family: var(--display);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.progress-copy strong { color: var(--ink); font-size: .82rem; font-weight: 700; }

.progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 100px;
  color: var(--blue);
  background: var(--hr-gray-100);
  appearance: none;
}

.progress::-webkit-progress-bar { border-radius: 100px; background: var(--hr-gray-100); }
.progress::-webkit-progress-value { border-radius: 100px; background: var(--blue); transition: width .6s var(--ease-out); }
.progress::-moz-progress-bar { border-radius: 100px; background: var(--blue); }
.progress-count { color: var(--blue-deep); font-family: var(--display); font-size: .73rem; font-weight: 800; text-align: right; }

.stage {
  width: min(100%, 1540px);
  min-height: calc(100svh - 154px);
  position: relative;
  display: grid;
  align-items: start;
  margin: 0 auto;
  padding: clamp(64px, 8vh, 104px) clamp(28px, 6vw, 124px) 150px;
}

.step-panel { width: min(100%, 980px); position: relative; z-index: 2; animation: step-forward .58s var(--ease-out); }
html[data-direction="back"] .step-panel { animation-name: step-back; }

@keyframes step-forward {
  from { opacity: 0; transform: translate3d(34px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes step-back {
  from { opacity: 0; transform: translate3d(-26px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes welcome-copy-in {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes welcome-proof-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

h1 {
  max-width: 960px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -.058em;
  line-height: 1;
}

h1:focus { outline: none; }
.section-panel h1, .closing-panel h1, .profile-panel h1 { max-width: 760px; font-size: clamp(2rem, 3.25vw, 3.1rem); }

.lede { max-width: 650px; margin: 24px 0 0; color: var(--body); font-size: clamp(1.08rem, 1.55vw, 1.25rem); line-height: 1.58; }
.profile-panel { width: min(100%, 700px); }
.profile-form { margin-top: 46px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 9px; }
label, .field-label { color: var(--ink); font-size: .9rem; font-weight: 700; }
label span { color: var(--hr-error); }

input, select, textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 17px;
  border: 1px solid var(--hr-blue-light);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: var(--hr-white);
  box-shadow: 0 1px 0 rgba(0, 119, 186, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

select {
  appearance: none;
  padding-right: 48px;
  background: var(--hr-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077BA' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
}

textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 119, 186, .18); }
[aria-invalid="true"] { border-color: var(--hr-error); box-shadow: 0 0 0 4px rgba(184, 71, 31, .18); }
.profile-context { margin-top: 20px; }
.profile-context:empty { display: none; }
.profile-context .details { margin: 0; }

.profile-readout {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--hr-blue);
  border-radius: 0 9px 9px 0;
  background: var(--hr-mist);
}

.profile-readout .selected-clinic {
  color: var(--hr-black);
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.profile-readout strong { color: var(--hr-blue); font-size: .87rem; }
.profile-readout span:last-child { color: var(--hr-gray-600); font-size: .92rem; }

.profile-actions, .decision-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
}

.primary, .secondary, .back {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 8px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.primary {
  border: 1px solid var(--coral);
  color: var(--hr-black);
  background: var(--coral);
  box-shadow: 0 9px 22px rgba(249, 110, 71, .26);
}

.primary span { margin-left: 8px; }
.primary:hover { border-color: var(--coral-hover); background: var(--coral-hover); box-shadow: 0 12px 26px rgba(249, 110, 71, .34); transform: translateY(-2px); }

.primary:disabled, .primary.is-confirmed { cursor: wait; border-color: var(--blue-night); color: var(--hr-white); background: var(--blue-night); box-shadow: none; transform: none; }
.secondary { border: 1px solid var(--blue); color: var(--blue-deep); background: var(--hr-white); }
.secondary:hover { color: var(--hr-white); background: var(--blue-deep); }
.back { padding: 0 8px 0 0; border: 0; color: var(--body); background: transparent; }
.back::before { content: "←"; margin-right: 8px; }
.back:hover { color: var(--blue-deep); }

.primary:focus-visible, .secondary:focus-visible, .back:focus-visible, .privacy-link:focus-visible, .welcome-privacy:focus-visible {
  outline: 3px solid var(--blue-night);
  outline-offset: 4px;
}

.error { margin: 14px 0 0; color: var(--hr-error); font-size: .94rem; font-weight: 700; }
.collection-privacy { display: inline-block; margin-top: 22px; color: var(--hr-blue); font-size: .82rem; font-weight: 700; text-underline-offset: .22em; }
.copy { max-width: 920px; margin-top: 36px; color: var(--body); font-size: 1.04rem; }
.copy > p { max-width: 68ch; margin: 0 0 24px; }
.copy > p strong { color: var(--ink); }
.details { margin: 30px 0; border-top: 1px solid var(--rule); }

.detail {
  display: grid;
  grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.detail strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.detail span { color: var(--body); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 30px 0; }
.two-col > div { padding-top: 17px; border-top: 3px solid var(--blue-light); }

.two-col strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.two-col p { margin: 9px 0 0; }

.section-heading .eyebrow { margin-bottom: 14px; }

.training-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.training-path::before {
  content: "";
  height: 1px;
  position: absolute;
  top: 8px;
  right: 12.5%;
  left: 12.5%;
  background: var(--hr-blue-light);
}

.training-path li { min-width: 0; position: relative; padding: 32px 11px 0; text-align: center; }
.training-path li::before {
  content: "";
  width: 17px;
  height: 17px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  border: 4px solid var(--hr-canvas);
  border-radius: 50%;
  background: var(--hr-blue);
  box-shadow: 0 0 0 1px var(--hr-blue-light);
  transform: translateX(-50%);
}

.training-path strong, .training-path span { display: block; }
.training-path strong { color: var(--hr-blue); font-family: var(--display); font-size: .73rem; font-weight: 800; line-height: 1.35; }
.training-path span { margin-top: 6px; color: var(--hr-gray-600); font-size: .86rem; line-height: 1.4; }

.schedule-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 38px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hr-white);
}

.schedule-option {
  min-width: 0;
  padding: 27px 30px 29px;
  background: var(--hr-mist);
}

.schedule-option + .schedule-option { border-left: 1px solid var(--rule); }
.schedule-option:last-child { background: var(--hr-sky); }

.schedule-option > strong {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--blue-light);
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.schedule-option p { margin: 14px 0 0; color: var(--hr-gray-600); line-height: 1.58; }

.schedule-deadlines {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 38px 0 42px;
  padding: 24px 22px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--hr-white);
}

.schedule-deadlines::before {
  content: "";
  height: 1px;
  position: absolute;
  top: 32px;
  right: 25%;
  left: 25%;
  background: var(--blue-light);
}

.deadline-step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.deadline-dot {
  width: 17px;
  height: 17px;
  position: relative;
  z-index: 1;
  display: block;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-light);
}

.deadline-step p { margin: 13px 0 0; }

.deadline-step strong,
.deadline-step span:last-child {
  display: block;
}

.deadline-step strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.deadline-step span:last-child { margin-top: 3px; color: var(--body); font-size: .92rem; }

.shift-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0 42px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hr-white);
}

.shift-stat {
  min-width: 0;
  margin: 0;
  padding: 24px 22px 25px;
  border: 0;
  border-right: 1px solid var(--rule);
}

.shift-stat:last-child { border-right: 0; }

.shift-stat strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.shift-stat > span,
.shift-stat summary > span {
  display: block;
  margin-top: 10px;
  color: var(--body);
  font-size: .96rem;
  line-height: 1.38;
}

.shift-stat summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.shift-stat summary::-webkit-details-marker { display: none; }

.shift-stat[open] { background: var(--hr-mist); box-shadow: inset 0 3px 0 var(--hr-blue-light); }

.shift-stat-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--hr-blue);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--hr-blue-light);
  text-underline-offset: .22em;
}

.shift-stat > p {
  margin: 17px 0 0;
  color: var(--body);
  font-size: .95rem;
  line-height: 1.5;
}

.shift-stat summary:focus-visible {
  outline: 3px solid var(--blue-night);
  outline-offset: 6px;
}

.shift-chart {
  margin: 38px 0 34px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--hr-white);
}

.shift-axis,
.shift-chart-row {
  display: grid;
  grid-template-columns: minmax(170px, .42fr) minmax(300px, 1fr);
  gap: 24px;
}

.shift-axis { margin-bottom: 10px; }

.shift-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shift-chart-row { align-items: center; padding: 9px 0; }

.shift-chart-label {
  color: var(--ink);
  font-family: var(--display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
}

.shift-track {
  height: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  background-color: var(--hr-mist);
  background-image: linear-gradient(to right, rgba(0, 119, 186, .16) 1px, transparent 1px);
  background-size: 25% 100%;
}

.shift-bar {
  width: var(--length);
  position: absolute;
  inset: 0 auto 0 var(--start);
  border-radius: inherit;
  background: var(--hr-blue);
  box-shadow: 0 2px 8px rgba(0, 119, 186, .22);
  transform-origin: left center;
  animation: shift-bar-in .68s var(--ease-out) both;
}

.shift-bar.alt { background: var(--hr-blue-2); }

@keyframes shift-bar-in {
  from { opacity: .42; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

.career-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 40px 0 42px;
  padding: 25px 12px 21px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  list-style: none;
}

.career-path::before {
  content: "";
  height: 1px;
  position: absolute;
  top: 34px;
  right: 10%;
  left: 10%;
  background: var(--blue-light);
}

.career-path li {
  min-width: 0;
  position: relative;
  padding: 32px 13px 0;
  text-align: center;
}

.career-path li::before {
  content: "";
  width: 17px;
  height: 17px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-light);
  transform: translateX(-50%);
}

.career-path li:last-child::before { background: var(--blue); }

.career-path strong,
.career-path span { display: block; }

.career-path strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.35;
}

.career-path span { margin-top: 7px; color: var(--body); font-size: .83rem; line-height: 1.4; }

.growth-prompt {
  position: relative;
  margin: 31px 0 0 !important;
  padding: 23px 24px 23px 27px;
  border: 1px solid var(--hr-blue-light);
  border-radius: 0 10px 10px 0;
  background: var(--hr-mist);
}

.growth-prompt::before {
  content: "";
  width: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--blue);
}

.growth-prompt strong {
  color: var(--blue-deep) !important;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.35;
}

.source-details { margin: 28px 0; border-top: 1px solid var(--rule); }
.source-details details { border-bottom: 1px solid var(--rule); }

.source-details summary {
  position: relative;
  padding: 15px 40px 15px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.source-details summary::-webkit-details-marker { display: none; }
.source-details summary::after { content: "+"; position: absolute; right: 4px; color: var(--blue); font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.source-details details[open] summary::after { content: "−"; }
.source-details p { max-width: 660px; margin: -2px 0 18px; color: var(--body); font-size: .95rem; }

.topic-details {
  margin: 32px 0;
  border-top: 2px solid var(--hr-blue-light);
}

.topic-details details {
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
}

.topic-details summary { padding: 16px 42px 16px 0; }
.topic-details summary::after { right: 4px; }
.topic-details p { margin: -1px 0 18px; padding: 0; }
.support-topics { border-top-color: var(--hr-periwinkle); }
.benefit-topics { border-top-color: var(--hr-blue-light); }
.routine-policy .policy-details { border-top-color: var(--hr-blue-light); }
.escalation-policy .policy-details { border-top-color: var(--hr-button); }

.support-network {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 32px 0;
  border-top: 2px solid var(--hr-periwinkle);
}

.support-network > div { min-width: 0; padding: 19px 0 21px; border-bottom: 1px solid var(--rule); }
.support-network strong {
  display: block;
  color: var(--hr-blue);
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.support-network span { display: block; margin-top: 8px; color: var(--hr-gray-600); font-size: .98rem; line-height: 1.5; }

.policy-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 34px 0; }

.policy-group {
  min-width: 0;
  margin: 0;
  padding: 25px 24px 24px;
  border: 1px solid var(--hr-blue-light);
  border-top: 4px solid var(--hr-blue);
  border-radius: 0;
  background: var(--hr-white);
}

.policy-group > p:first-child { color: var(--hr-black); font-weight: 600; }
.policy-group .topic-details { margin-bottom: 0; }
.escalation-policy { border-color: var(--hr-button); border-top-color: var(--hr-button); background: var(--hr-error-surface); }
.escalation-policy .topic-details summary { color: var(--hr-error); }

.benefit-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 25px;
}

.benefit-highlights > div {
  min-width: 0;
  padding: 20px 22px 22px;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--hr-blue);
  border-radius: 10px;
  background: var(--hr-white);
}

.benefit-highlights strong { display: block; color: var(--hr-blue); font-family: var(--display); font-size: clamp(1.45rem, 2.7vw, 2rem); font-weight: 700; letter-spacing: -.045em; }
.benefit-highlights span { display: block; margin-top: 7px; color: var(--hr-gray-600); }
.benefits-compare { gap: 18px; margin: 0 0 31px; }
.benefits-compare > div { padding: 18px 0 21px; border-top-color: var(--hr-blue); background: transparent; }

.perk-browser { margin: 27px 0 25px; padding: 20px 0 0; border-top: 1px solid var(--rule); }
.perk-browser > p { margin: 0 0 12px; color: var(--ink); font-weight: 600; }
.perk-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.perk-chip { min-height: 36px; padding: 6px 12px; border: 1px solid var(--hr-blue-light); border-radius: 999px; color: var(--hr-blue); background: var(--hr-white); font-size: .84rem; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.perk-chip[aria-selected="true"], .perk-chip:hover { border-color: var(--hr-blue); color: var(--hr-white); background: var(--hr-blue); }
.perk-chip:focus-visible { outline: 3px solid var(--blue-night); outline-offset: 3px; }
.perk-detail { min-height: 0; margin-top: 12px; padding: 14px 18px 15px; border-left: 3px solid var(--hr-blue); background: var(--hr-mist); animation: detail-reveal .26s var(--ease-out); }
.perk-detail strong { color: var(--hr-blue); font-family: var(--display); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.perk-detail p { max-width: 68ch; margin: 5px 0 0; color: var(--hr-gray-600); line-height: 1.45; }
@keyframes detail-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.compensation-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.compensation-stat {
  min-width: 0;
  padding: 22px 28px 24px 0;
}

.compensation-stat + .compensation-stat {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.compensation-stat > span {
  display: block;
  color: var(--hr-blue);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.compensation-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.compensation-stat p {
  margin: 8px 0 0;
  color: var(--body);
  font-size: .96rem;
  line-height: 1.45;
}

.pay, .reviewed-total {
  margin: 30px 0;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pay strong, .reviewed-total strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.pay span, .reviewed-total span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.range-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 28px 0 12px; }
input[type="range"] { min-height: 28px; padding: 0; border: 0; box-shadow: none; accent-color: var(--coral); }

.acknowledgement {
  position: relative;
  margin-top: 48px;
  padding: 29px 0 0;
  border-top: 1px solid var(--rule);
}

.acknowledgement.is-reviewed { border-top-color: var(--hr-blue-light); }
.acknowledgement.is-reviewed > p { padding-right: 48px; }

.ack-reviewed {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 24px;
  right: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--hr-white);
  background: var(--hr-blue);
  font-family: var(--display);
  font-size: .86rem;
  font-weight: 800;
}
.question-saved { position: absolute; top: 30px; right: 47px; color: var(--hr-blue); font-size: .76rem; font-weight: 700; }

.acknowledgement > p {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.42;
}

.question-panel { max-width: 660px; margin-top: 24px; animation: question-in .3s var(--ease-out) both; }

@keyframes question-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hint { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }

.decision-dock {
  max-width: 780px;
  position: relative;
  padding: 15px 18px;
  border: 1px solid rgba(0, 119, 186, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 45px rgba(0, 119, 186, .14);
  backdrop-filter: blur(16px);
}

.ack-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.closing-panel, .success { width: min(100%, 760px); }

.success-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-content: center;
  margin-bottom: 27px;
  border-radius: 50%;
  color: var(--hr-white);
  background: var(--blue);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
}

.receipt {
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
}

.success a { color: var(--blue-deep); font-weight: 700; text-underline-offset: .22em; }

@media (max-width: 1320px) {
  .welcome-proof {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "proof"
      "market"
      "growth"
      "expect"
      "privacy";
  }

  .proof-intro, .proof-growth, .expect-next { max-width: none; }
  .proof-growth > span { display: block; max-width: 72ch; }
}

@media (min-width: 1800px) {
  .welcome-copy { width: min(100%, 760px); }
  .welcome-copy h1 { max-width: 720px; font-size: clamp(4.8rem, 5.2vw, 6.8rem); }
  .welcome-lede { max-width: 590px; }
  .welcome-proof > :not(.privacy-link) { width: min(100%, 1500px); }
  .stage { width: min(100%, 1720px); padding-inline: clamp(64px, 5vw, 160px); }
  .step-panel { width: min(100%, 1180px); }
}

@media (max-width: 800px) {
  body { font-size: 16px; }
  .welcome-nav { height: 82px; padding: 12px 22px; }
  .welcome-nav > span:last-child { display: none; }
  .brand-mark { min-width: 142px; min-height: 40px; }
  .brand-mark img { width: 156px; }
  .welcome-hero { min-height: 100svh; align-items: start; padding: 118px 22px 130px; }
  .welcome-copy { width: 100%; }
  .welcome-copy h1 { max-width: 520px; font-size: clamp(3.35rem, 15vw, 5.5rem); }
  .welcome-lede { margin-top: 24px; font-size: 1.05rem; }
  .welcome-proof { gap: 26px; padding: 74px 22px 52px; }
  .proof-intro, .proof-growth, .expect-next { padding: 22px; }
  .proof-list dt { font-size: 1.5rem; }
  .growth-map { padding: 26px 18px; }
  .growth-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }
  .state-badge { min-width: 0; width: 100%; padding: 13px 10px 13px 48px; }
  .state-badge::before { left: 12px; width: 27px; height: 35px; }
  .state-badge.new::before { width: 31px; height: 38px; }
  .state-badge.current { grid-column: 1; grid-row: 1; }
  .growth-arrow { width: 36px; grid-column: 2; grid-row: 1; }
  .state-badge.new { grid-column: 3; grid-row: 1; }
  .growth-plus {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid var(--rule);
    color: var(--hr-blue);
    font-size: .66rem;
    text-align: center;
  }
  .brand-masthead { height: 78px; }
  .masthead-inner { height: 78px; padding: 8px 20px; }
  .masthead-note { display: none; }
  .progress-wrap { height: 58px; grid-template-columns: 1fr 50px; gap: 13px; padding: 0 20px; }
  .progress-copy { grid-column: 1 / -1; display: none; }
  .stage { min-height: calc(100svh - 136px); padding: 50px 22px 142px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .lede { margin-top: 19px; font-size: 1.05rem; }
  .profile-form { margin-top: 34px; }
  .fields, .two-col, .policy-layout, .support-network { grid-template-columns: 1fr; }
  .name-fields { gap: 15px; }
  .detail { grid-template-columns: 1fr; gap: 5px; padding: 15px 0; }
  .copy { margin-top: 30px; }
  .copy > p { max-width: none; }
  .profile-actions { align-items: stretch; flex-direction: column-reverse; }
  .profile-actions .primary { width: 100%; }
  .profile-actions .back { align-self: flex-start; }

  .decision-dock {
    max-width: none;
    position: fixed;
    inset: auto 0 0;
    gap: 12px;
    margin: 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: 0 -14px 34px rgba(0, 119, 186, .14);
  }

  .decision-dock .ack-actions { flex: 1; flex-wrap: nowrap; justify-content: flex-end; }
  .decision-dock .primary, .decision-dock .secondary { min-height: 50px; }
  .acknowledgement { margin-top: 38px; }
  .acknowledgement > p { font-size: 1.15rem; }
  .range-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .compensation-summary { grid-template-columns: 1fr; margin-top: 28px; }
  .compensation-stat, .compensation-stat + .compensation-stat { padding: 19px 0; border-left: 0; }
  .compensation-stat + .compensation-stat { border-top: 1px solid var(--rule); }
}

@media (max-width: 720px) {
  .proof-list { grid-template-columns: 1fr; }
  .training-path {
    grid-template-columns: 1fr;
    margin: 31px 0;
  }

  .training-path::before { display: none; }
  .training-path li { padding: 0 0 26px 35px; text-align: left; }
  .training-path li:last-child { padding-bottom: 0; }
  .training-path li::before { top: 2px; left: 0; transform: none; }

  .training-path li:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 10px;
    left: 8px;
    background: var(--hr-blue-light);
  }

  .benefit-highlights { grid-template-columns: 1fr; }
  .policy-group { padding: 18px; }
  .perk-detail { min-height: 0; padding: 18px 19px; }

  .schedule-compare { grid-template-columns: 1fr; margin-top: 28px; }
  .schedule-option { padding: 23px 20px 25px; }
  .schedule-option + .schedule-option { border-top: 1px solid var(--rule); border-left: 0; }

  .schedule-deadlines {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 34px 0 38px;
    padding: 0;
  }

  .schedule-deadlines::before { display: none; }

  .deadline-step {
    grid-template-columns: 17px minmax(0, 1fr);
    gap: 17px;
    justify-items: start;
    text-align: left;
  }

  .deadline-step:first-child::after {
    content: "";
    width: 1px;
    height: calc(100% + 26px);
    position: absolute;
    z-index: 0;
    top: 8px;
    left: 8px;
    background: var(--blue-light);
  }

  .deadline-step p { margin: -3px 0 0; }

  .shift-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 34px; }
  .shift-stat { padding: 20px 16px 22px; }

  .shift-stat:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .shift-stat:first-child > span { margin-top: 0; }
  .shift-stat strong { font-size: clamp(2rem, 10vw, 2.65rem); }

  .shift-axis,
  .shift-chart-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .shift-axis > span { display: none; }
  .shift-chart { margin-top: 34px; }
  .shift-chart-row { padding: 10px 0; }
  .shift-chart-label { font-size: .84rem; }
  .shift-track { height: 9px; }

  .career-path {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 36px 0 38px;
    padding: 24px;
  }

  .career-path::before { display: none; }

  .career-path li {
    padding: 0 0 27px 35px;
    text-align: left;
  }

  .career-path li:last-child { padding-bottom: 0; }

  .career-path li::before {
    top: 2px;
    left: 0;
    transform: none;
  }

  .career-path li:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 10px;
    left: 8px;
    background: var(--blue-light);
  }

  .career-path strong { font-size: .74rem; }
  .career-path span { margin-top: 4px; font-size: .9rem; }
  .growth-prompt { padding-left: 21px; }
}

@media (max-width: 440px) {
  .welcome-copy h1 { font-size: clamp(3.15rem, 16vw, 4.5rem); }
  .welcome-lede { max-width: 94%; }
  .welcome-copy .primary { width: 100%; }
  .decision-dock .ack-actions { gap: 7px; }
  .decision-dock .primary, .decision-dock .secondary { padding: 0 14px; }
  .decision-dock:has(#continue-question) { align-items: stretch; flex-wrap: wrap; }
  .decision-dock:has(#continue-question) .back { width: auto; flex-basis: 100%; }
  .decision-dock:has(#continue-question) .ack-actions { width: 100%; flex: 1 1 100%; }
  .decision-dock:has(#continue-question) .primary, .decision-dock:has(#continue-question) .secondary { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
  .perk-chips { gap: 7px; }
  .perk-chip { min-height: 38px; padding-inline: 11px; font-size: .78rem; }

  .decision-dock .back {
    width: 42px;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
  }

  .decision-dock .back::before { color: var(--body); font-size: 1.2rem; }
}

/* Keep the welcome call to action complete in the first viewport on short phones. */
@media (max-width: 440px) and (max-height: 700px) {
  .welcome-hero { align-items: center; padding: 72px 18px 28px; }
  .welcome-kicker { margin-bottom: 10px; font-size: .62rem; }
  .welcome-copy h1 { font-size: clamp(2.55rem, 13vw, 3.45rem); line-height: .88; }
  .welcome-lede { margin: 15px 0 20px; font-size: .96rem; line-height: 1.38; }
  .welcome-copy .primary { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


.therapy-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.therapy-overview > div { padding: 24px; border: 1px solid var(--hr-blue-light); border-radius: 12px; background: var(--hr-mist); }
.therapy-overview strong { display: block; color: var(--hr-blue); font-family: var(--display); font-size: 1rem; }
.therapy-overview p { margin: 8px 0 0; line-height: 1.5; }

.clinic-field { position: relative; }
.field-help { margin: 0; color: var(--hr-gray-600); font-size: .88rem; line-height: 1.4; }
.clinic-options { max-height: min(42vh, 320px); overflow-y: auto; margin-top: 2px; border: 1px solid var(--hr-blue-light); border-radius: 10px; background: var(--hr-white); box-shadow: 0 12px 28px rgba(0, 69, 110, .16); }
.clinic-group + .clinic-group { border-top: 1px solid var(--hr-rule); }
.clinic-group-title { padding: 12px 16px 5px; color: var(--hr-blue); font-family: var(--display); font-size: .76rem; font-weight: 700; }
.clinic-option { display: block; width: 100%; min-height: 44px; padding: 9px 16px; border: 0; background: transparent; color: var(--hr-black); text-align: left; }
.clinic-option:hover, .clinic-option:focus-visible, .clinic-option.is-active { outline: 0; background: var(--hr-mist); }
.clinic-option[aria-selected="true"] { font-weight: 700; }
.clinic-no-match { margin: 8px 0 0; color: var(--hr-error); font-size: .91rem; }
.profile-readout ul, .schedule-option ul { margin: 10px 0 0; padding-left: 1.25em; }
.profile-readout li, .schedule-option li { margin: 4px 0; line-height: 1.45; }

@media (max-width: 800px) {
  .therapy-overview { grid-template-columns: 1fr; }
}

/* The poster and action read as one video control; full media loads only on request. */
.team-video-tile { display: grid; grid-template-columns: 88px minmax(0, 1fr); width: min(100%, 460px); min-height: 116px; margin: 24px 0; padding: 0; border: 0; border-radius: 12px; background: var(--hr-white); color: #173a4e; text-align: left; overflow: hidden; box-shadow: 0 12px 28px rgba(0, 37, 60, .16); transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
.team-video-preview { position: relative; display: grid; place-items: center; min-height: 116px; overflow: hidden; background: #163d50; }
.team-video-preview img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.team-video-preview::after { content: ""; position: absolute; inset: 0; background: rgba(0, 26, 43, .16); }
.team-video-play { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--hr-button); color: #173a4e; box-shadow: 0 3px 11px rgba(0, 22, 36, .24); transition: transform .22s var(--ease-out); }
.team-video-play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
.team-video-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 13px 18px; line-height: 1.3; }
.team-video-copy > strong { color: #064f79; font-family: var(--display); font-size: 1.08rem; line-height: 1.2; }
.team-video-description { margin-top: 4px; color: #315166; font-size: .86rem; }
.team-video-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #005e98; font-size: .8rem; font-weight: 700; }
.team-video-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s var(--ease-out); }
.team-video-tile:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(0, 37, 60, .21); }
.team-video-tile:hover .team-video-play { transform: scale(1.08); }
.team-video-tile:hover .team-video-action svg { transform: translateX(3px); }
.team-video-tile:active { transform: translateY(0); }
.team-video-tile:focus-visible, .team-video-close:focus-visible { outline: 3px solid var(--hr-button); outline-offset: 4px; }
body.team-video-open { overflow: hidden; }
.team-video-dialog { box-sizing: border-box; width: min(440px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 16px; border: 0; border-radius: 16px; background: white; color: var(--hr-black); overflow-y: auto; box-shadow: 0 20px 70px rgba(0, 0, 0, .3); }
.team-video-dialog::backdrop { background: rgba(0, 20, 32, .78); }
.team-video-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.team-video-dialog h2 { margin: 0; color: var(--hr-blue); font-family: var(--display); font-size: 1rem; }
.team-video-close { min-width: 76px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--hr-blue-light); border-radius: 8px; background: var(--hr-mist); color: var(--hr-blue); cursor: pointer; }
.team-video-player { display: block; width: 100%; max-height: calc(100svh - 120px); aspect-ratio: 9 / 16; background: #102f3e; object-fit: contain; }
.team-video-player[hidden] { display: none; }
.team-video-error { margin: 16px 0 0; line-height: 1.5; }
@media (max-width: 440px) {
  .team-video-tile { grid-template-columns: 66px minmax(0, 1fr); min-height: 94px; margin-block: 8px; }
  .team-video-preview { min-height: 94px; }
  .team-video-play { width: 34px; height: 34px; }
  .team-video-play svg { width: 17px; height: 17px; }
  .team-video-copy { padding: 8px 12px; }
  .team-video-copy > strong { font-size: .94rem; }
  .team-video-description { margin-top: 2px; font-size: .77rem; line-height: 1.25; }
  .team-video-action { margin-top: 4px; font-size: .74rem; }
}

.bot-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
