:root {
  --navy: #222e50;
  --olive: #53683b;
  --paper: #faf9f5;
  --muted: #69716d;
  --line: #dddfd6;
  --soft: #edf0e5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9caf7c;
  outline-offset: 5px;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 6vw;
}
.brand {
  padding: 0;
  border: 0;
  background: none;
  display: block;
}
.brand img {
  width: 136px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
.header-note {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.quiet {
  background: none;
  border: 0;
  font-size: 14px;
  padding: 10px 0;
}
.quiet:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
#alternate {
  margin-left: auto;
}
main {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 24px 65px;
}
footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 6vw;
  font-size: 12px;
  color: var(--muted);
}
.landing {
  width: 760px;
  text-align: center;
  padding: 38px 0 80px;
  animation: enter 0.8s var(--ease) both;
}
.eyebrow {
  font:
    14px HTCAssistant,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 24px;
}
.landing h1 {
  font:
    normal clamp(46px, 6vw, 76px)/1.06 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 0 0 26px;
}
.landing h1 em {
  color: var(--olive);
  font-weight: normal;
}
.landing .lead {
  max-width: 510px;
  margin: 0 auto 33px;
  line-height: 1.75;
  color: var(--muted);
  font-size: 17px;
}
.primary,
.secondary {
  border-radius: 5px;
  min-height: 49px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  transition:
    background 0.2s,
    transform 0.2s;
  border: 1px solid var(--navy);
}
.primary {
  background: var(--navy);
  color: white;
}
.primary:hover {
  background: #303f67;
  transform: translateY(-1px);
}
.secondary {
  background: transparent;
  border-color: var(--line);
}
.secondary:hover {
  background: var(--soft);
}
.landing .primary {
  min-width: 228px;
}
.under {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}
.hire-link {
  margin-top: 42px;
}
.hire-link button {
  font-size: 14px;
}
.hire-link span {
  color: var(--muted);
  margin-right: 10px;
}
.form-shell {
  width: min(100%, 660px);
  align-self: flex-start;
  margin-top: 22px;
}
.form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}
.back {
  border: 0;
  background: none;
  padding: 7px 0;
  font-size: 14px;
  color: var(--muted);
}
.back:hover {
  color: var(--navy);
}
.track {
  display: flex;
  gap: 5px;
  margin-bottom: 43px;
}
.track button {
  flex: 1;
  border: 0;
  height: 3px;
  background: var(--line);
  padding: 0;
  border-radius: 4px;
  position: relative;
  transition: background 0.5s;
}
.track button:before {
  content: "";
  position: absolute;
  inset: -9px 0;
}
.track button.passed {
  background: #a7b791;
}
.track button.current {
  background: var(--olive);
}
.track button:disabled {
  cursor: default;
  opacity: 1;
}
.question {
  animation: enter 0.42s var(--ease) both;
}
.question.reverse {
  animation-name: enter-back;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(17px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes enter-back {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h1,
h2,
p {
  margin-top: 0;
}
.question h1,
.review h1,
.success h1 {
  font:
    normal 40px/1.14 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0 0 15px;
}
.help {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 570px;
}
.field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bfc6b9;
  padding: 12px 0 16px;
  outline: none;
  background: transparent;
  color: var(--navy);
  font-size: 24px;
  border-radius: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field::placeholder {
  color: #adb3aa;
}
.field:focus {
  border-color: var(--olive);
  box-shadow: 0 1px 0 var(--olive);
}
textarea.field {
  font-size: 20px;
  line-height: 1.6;
  resize: vertical;
  min-height: 140px;
  max-height: 300px;
}
.field[aria-invalid="true"] {
  border-color: #a3423d;
}
.field-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.field-meta button {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--muted);
  padding: 0;
}
.error {
  color: #a3423d;
  font-size: 14px;
  min-height: 22px;
  margin: 15px 0 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 20px;
}
.key-hint {
  font-size: 12px;
  color: var(--muted);
}
.key-hint kbd {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 5px;
}
.bottom-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 20px;
}
.bottom-actions button {
  font-size: 12px;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 5px 0;
}
.bottom-actions button:hover {
  text-decoration: underline;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff50;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.choice:has(input:checked) {
  background: #e9eedf;
  border-color: #93a67b;
}
.choice input {
  accent-color: var(--olive);
  height: 17px;
  width: 17px;
  flex-shrink: 0;
  margin: 0;
}
.choice span {
  font-size: 15px;
}
.consent {
  padding: 22px;
  align-items: flex-start;
}
.consent span {
  line-height: 1.65;
}
.consent input {
  margin-top: 5px;
}
.consent small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}
.review {
  animation: enter 0.4s var(--ease);
}
.review-list {
  margin: 25px 0;
}
.review-row {
  display: grid;
  grid-template-columns: 135px 1fr 35px;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  align-items: start;
}
.review-row dt {
  font-size: 13px;
  color: var(--muted);
}
.review-row dd {
  font-size: 15px;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}
.review-row button {
  background: none;
  border: 0;
  font-size: 12px;
  padding: 0;
  color: var(--olive);
}
.review-row button:hover {
  text-decoration: underline;
}
.price {
  border: 1px solid var(--line);
  background: #fff9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-radius: 6px;
  margin: 26px 0;
}
.price strong {
  font:
    32px Georgia,
    serif;
}
.price span {
  font-size: 14px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.success {
  width: 600px;
  animation: enter 0.55s var(--ease);
}
.check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e3ebd6;
  color: var(--olive);
  display: grid;
  place-content: center;
  font-size: 25px;
  margin-bottom: 26px;
}
.success .help {
  max-width: 480px;
}
.review .primary {
  margin-top: 10px;
}
.pill {
  display: inline-block;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 3px 10px;
  margin-bottom: 18px;
  color: var(--muted);
}
dialog {
  max-width: 440px;
  width: calc(100% - 36px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 25px 100px #222e5020;
}
dialog::backdrop {
  background: #222e503d;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font:
    28px Georgia,
    serif;
}
dialog p {
  color: var(--muted);
  line-height: 1.6;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 26px;
}
.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;
}
@media (min-height: 900px) {
  main {
    padding-top: 70px;
  }
  .form-shell {
    margin-top: 40px;
  }
}
@media (max-width: 650px) {
  header {
    padding: 24px;
    gap: 16px;
  }
  .brand img {
    width: 112px;
  }
  .header-note {
    display: none;
  }
  #alternate {
    font-size: 13px;
  }
  main {
    padding: 25px 24px 45px;
    align-items: flex-start;
  }
  .landing {
    padding: 55px 0 50px;
  }
  .landing h1 {
    font-size: 49px;
    letter-spacing: -1.5px;
  }
  .landing .lead {
    font-size: 16px;
  }
  .form-shell {
    margin-top: 5px;
  }
  .question h1,
  .review h1,
  .success h1 {
    font-size: 34px;
  }
  .track {
    margin-bottom: 32px;
  }
  .choices {
    grid-template-columns: 1fr;
  }
  .choice {
    padding: 13px;
  }
  .field {
    font-size: 22px;
  }
  .review-row {
    grid-template-columns: 90px 1fr 30px;
    gap: 10px;
  }
  .key-hint {
    display: none;
  }
  .bottom-actions {
    margin-top: 32px;
  }
  footer {
    padding: 18px 24px;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
  }
  .success {
    padding-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.form-top {
  min-height: 30px;
  margin-bottom: 10px;
}
.form-shell {
  max-width: 660px;
}
.question h1 {
  margin-bottom: 28px;
}
.question:has(.help) h1 {
  margin-bottom: 14px;
}
.field {
  margin-top: 5px;
}
.salary-skip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 23px;
  cursor: pointer;
}
.salary-skip input {
  width: 17px;
  height: 17px;
  accent-color: var(--olive);
}
.field:disabled {
  opacity: 0.35;
}
.error:empty {
  min-height: 0;
  margin: 0;
}
.actions {
  margin-top: 30px;
}
.membership-note {
  margin: 25px 0;
  max-width: 580px;
}
.brand {
  cursor: default;
}
footer > span:first-child {
  display: none;
}
footer {
  justify-content: flex-end;
}
.form-shell {
  margin-top: 12px;
}

header {
  mix-blend-mode: multiply;
}
.brand img {
  mix-blend-mode: normal;
}
.opening .header-note {
  visibility: hidden;
}
.entry-shell {
  max-width: 690px;
  margin-top: 0 !important;
}
.entry-intro {
  text-align: center;
  margin: 0 -40px 26px;
}
.entry-intro .eyebrow {
  margin-bottom: 18px;
}
.entry-intro h1 {
  font:
    normal clamp(42px, 4.4vw, 62px)/1.08 Georgia,
    serif;
  letter-spacing: -1.8px;
  margin: 0;
}
.entry-intro em {
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  transform: skewX(-8deg);
  color: var(--olive);
}
.entry-shell .form-top {
  display: none;
}
.entry-shell .track {
  margin: 28px auto 24px;
  width: 150px;
  gap: 5px;
}
.entry-shell .track button {
  height: 3px;
}
.name-label {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 12px;
}
.question > h1,
.question > .help {
  text-align: center;
}
.question > .help {
  margin-left: auto;
  margin-right: auto;
}
.field {
  display: block;
  text-align: center;
  border: 1px solid #222e500d;
  border-radius: 16px;
  background: #ffffffbd;
  padding: 21px 24px;
  box-shadow: 0 2px 7px #222e5003;
  font-size: 22px;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.field:focus {
  background: #fffffff0;
  border: 1px solid #53683b55;
  box-shadow: 0 0 0 4px #53683b08;
}
.field::placeholder {
  color: #979d98;
}
textarea.field {
  font-size: 19px;
  padding: 22px;
  min-height: 155px;
}
.actions {
  justify-content: space-between;
  gap: 20px;
}
.primary,
.secondary {
  border-radius: 12px;
}
.choice {
  border-radius: 13px;
  background: #ffffffa0;
}
.consent {
  text-align: left;
}
.mode-switch {
  font-size: 14px;
}
@media (min-height: 900px) {
  main:has(.entry-shell) {
    padding-top: 32px;
  }
}
@media (max-width: 650px) {
  .entry-intro {
    margin: 12px 0 28px;
  }
  .entry-intro h1 {
    font-size: 42px;
    letter-spacing: -1.3px;
  }
  .entry-shell .track {
    margin-top: 24px;
  }
  .field {
    font-size: 20px;
    padding: 19px 17px;
    border-radius: 14px;
  }
  .actions {
    gap: 12px;
  }
  .mode-switch {
    font-size: 13px;
  }
  .primary {
    padding: 13px 19px;
  }
  .entry-shell {
    padding-bottom: 20px;
  }
}

main {
  align-items: center;
  padding: 32px 24px;
  min-height: 0;
}
.form-shell,
.entry-shell {
  align-self: auto;
  margin: 0 !important;
}
.field,
textarea.field {
  text-align: left;
}
.entry-shell .track {
  display: none;
}
.entry-intro {
  margin-bottom: 34px;
}
.name-label {
  text-align: left;
  font-size: 18px;
  margin-bottom: 12px;
}
.quiet,
#alternate,
.mode-switch,
.back {
  font-size: 16px;
}
.primary,
.secondary {
  font-size: 16px;
  min-height: 52px;
}
.header-note {
  font-size: 13px;
}
.fine {
  font-size: 14px;
}
.question > .help {
  font-size: 18px;
}
.question h1 {
  font-size: 42px;
}
.choice span {
  font-size: 16px;
}
.entry-intro h1 {
  font-size: clamp(44px, 4.4vw, 62px);
}
body,
html {
  background: #faf9f5;
}
#step-form {
  view-transition-name: question;
}
.entry-intro {
  view-transition-name: introduction;
}
.brand {
  view-transition-name: brand;
}
::view-transition-group(question) {
  animation-duration: 650ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
::view-transition-old(question) {
  animation: soft-out 230ms ease both;
}
::view-transition-new(question) {
  animation: soft-in 550ms ease both;
}
::view-transition-old(introduction) {
  animation: soft-out 350ms ease both;
}
::view-transition-new(introduction) {
  animation: soft-in 600ms ease both;
}
::view-transition-group(root) {
  animation-duration: 550ms;
}
html:active-view-transition .question {
  animation: none;
}
@keyframes soft-out {
  to {
    opacity: 0;
    filter: blur(3px);
  }
}
@keyframes soft-in {
  from {
    opacity: 0;
    filter: blur(3px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@media (min-height: 900px) {
  main,
  main:has(.entry-shell) {
    padding-top: 32px;
  }
}
@media (max-width: 650px) {
  main {
    align-items: center;
    padding: 24px;
    min-height: calc(100svh - 180px);
  }
  .entry-intro {
    margin-top: 0;
  }
  .entry-intro h1 {
    font-size: 41px;
  }
  .question h1 {
    font-size: 35px;
  }
  .quiet,
  #alternate,
  .mode-switch,
  .back {
    font-size: 15px;
  }
  .entry-shell {
    padding-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) {
    animation: none !important;
  }
}

.question,
.question.reverse,
.review,
.success,
.landing {
  animation: none !important;
}
#step-form,
.entry-intro,
.brand {
  view-transition-name: none;
}
.form-shell,
.entry-shell,
.success {
  transform: translateY(-46px);
}
.field {
  background: #fff;
  border: 1px solid #b9c0b1;
  box-shadow: 0 3px 12px #222e5006;
}
.field:focus {
  background: #fff;
  border-color: #738665;
  box-shadow: 0 0 0 3px #53683b0d;
}
.field::placeholder {
  color: #858d87;
}
.choice {
  background: #fff;
  border-color: #c7cebf;
}
.actions {
  min-height: 52px;
}
@media (max-width: 650px) {
  .form-shell,
  .entry-shell,
  .success {
    transform: translateY(-18px);
  }
}
@media (max-height: 720px) {
  .form-shell,
  .entry-shell,
  .success {
    transform: none;
  }
  main {
    align-items: flex-start;
    padding-top: 18px;
  }
}

@media (min-width: 741px) {
  .form-shell,
  .entry-shell {
    max-width: 510px;
  }
  .success {
    width: 510px;
  }
  .entry-intro {
    margin: 0 -30px 27px;
  }
  .entry-intro h1 {
    font-size: 46px;
    letter-spacing: -1.3px;
  }
  .entry-intro .eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
    margin-bottom: 17px;
  }
  .question h1,
  .review h1,
  .success h1 {
    font-size: 33px;
    letter-spacing: -0.7px;
  }
  .question > .help {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 21px;
  }
  .name-label {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .field {
    font-size: 18px;
    padding: 16px 19px;
    border-radius: 12px;
  }
  textarea.field {
    font-size: 17px;
    padding: 17px 19px;
    min-height: 122px;
    line-height: 1.6;
  }
  .primary,
  .secondary {
    font-size: 14px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 9px;
    gap: 22px;
  }
  .mode-switch,
  .back {
    font-size: 14px;
  }
  .actions {
    margin-top: 24px;
    min-height: 44px;
  }
  .choice {
    padding: 12px;
    border-radius: 10px;
    gap: 10px;
  }
  .choice span {
    font-size: 14px;
  }
  .choice input {
    width: 15px;
    height: 15px;
  }
  .consent {
    padding: 18px;
  }
  .choices {
    gap: 8px;
  }
  .track {
    margin-bottom: 31px;
    gap: 4px;
  }
  .form-top {
    margin-bottom: 6px;
  }
  .review-row {
    grid-template-columns: 110px 1fr 30px;
    padding: 12px 0;
    gap: 12px;
  }
  .review-row dd {
    font-size: 14px;
  }
  .review-list {
    margin: 20px 0;
  }
  .fine {
    font-size: 13px;
  }
  .price {
    padding: 18px;
  }
  .price strong {
    font-size: 28px;
  }
}

@media (min-width: 741px) {
  .form-shell,
  .entry-shell {
    max-width: 390px;
  }
  .success {
    width: 390px;
  }
  .entry-intro {
    margin: 0 -18px 23px;
  }
  .entry-intro h1 {
    font-size: 35px;
    letter-spacing: -1px;
  }
  .entry-intro .eyebrow {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .question h1,
  .review h1,
  .success h1 {
    font-size: 27px;
    letter-spacing: -0.5px;
  }
  .question > .help {
    font-size: 14px;
    margin-bottom: 17px;
  }
  .name-label {
    font-size: 14px;
    margin-bottom: 9px;
  }
  .field {
    font-size: 16px;
    padding: 13px 16px;
    border-radius: 10px;
  }
  textarea.field {
    font-size: 15px;
    padding: 14px 16px;
    min-height: 105px;
  }
  .primary,
  .secondary {
    font-size: 13px;
    min-height: 39px;
    padding: 8px 15px;
    border-radius: 8px;
    gap: 17px;
  }
  .mode-switch,
  .back {
    font-size: 13px;
  }
  .actions {
    margin-top: 19px;
    min-height: 39px;
  }
  .choice {
    padding: 10px;
    gap: 8px;
  }
  .choice span {
    font-size: 13px;
  }
  .consent {
    padding: 15px;
  }
  .choices {
    gap: 7px;
  }
  .track {
    margin-bottom: 24px;
  }
  .review-row {
    grid-template-columns: 88px 1fr 28px;
    gap: 9px;
  }
  .review-row dd {
    font-size: 13px;
  }
}

.track {
  position: fixed;
  top: 116px;
  left: 50%;
  width: min(390px, calc(100vw - 48px));
  transform: translateX(-50%);
  margin: 0 !important;
  z-index: 3;
}
@media (max-width: 740px) {
  .track {
    top: 100px;
    width: min(390px, calc(100vw - 48px));
  }
}

main {
  position: relative;
  display: block;
  padding: 0;
  min-height: 0;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
#alternate {
  display: none !important;
}
.stable-shell {
  position: absolute;
  width: 390px;
  max-width: calc(100vw - 48px);
  left: 50%;
  top: calc(50svh - 240px);
  transform: translateX(-50%);
  height: 495px;
  margin: 0;
}
.stable-nav {
  position: absolute;
  top: 25px;
  left: 0;
  height: 26px;
}
.stable-shell .track {
  position: absolute;
  top: 65px !important;
  left: 0;
  width: 100%;
  margin: 0 !important;
  transform: none;
  height: 3px;
}
.stable-shell .track button {
  flex: 1;
  height: 3px;
}
.stable-opening .track {
  visibility: hidden;
}
.stable-heading {
  position: absolute;
  top: 103px;
  left: 0;
  right: 0;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 19px;
  text-align: center;
}
.stable-heading h1 {
  font:
    normal 27px/1.15 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 0;
}
.stable-heading h1.long-title {
  font-size: 23px;
}
.stable-heading .help {
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 0;
}
.stable-shell .answer-area {
  position: absolute;
  top: 216px;
  left: 0;
  right: 0;
  max-height: 226px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  padding: 3px;
}
.stable-shell .actions {
  position: absolute;
  top: 458px;
  left: 0;
  right: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 39px;
}
.stable-shell .field {
  margin: 0;
  font-size: 16px;
  padding: 13px 15px;
  min-height: 48px;
  box-shadow: none;
  text-align: left;
}
.stable-shell textarea.field {
  min-height: 120px;
  resize: none;
}
.stable-shell fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.stable-shell .choices {
  gap: 6px;
}
.stable-shell .choice {
  padding: 9px;
  min-height: 34px;
  gap: 7px;
}
.stable-shell .choice span {
  font-size: 13px;
  line-height: 1.3;
}
.stable-shell .choice input {
  width: 14px;
  height: 14px;
}
.stable-shell .consent {
  padding: 16px;
}
.stable-shell .consent span {
  font-size: 14px;
  line-height: 1.6;
}
.stable-shell .error {
  font-size: 13px;
  margin-top: 7px;
}
.stable-shell .primary,
.stable-shell .secondary {
  font-size: 13px;
  padding: 9px 14px;
  min-height: 39px;
}
.stable-shell .quiet {
  font-size: 13px;
}
.stable-opening .entry-intro {
  position: absolute;
  top: 28px;
  left: -24px;
  right: -24px;
  margin: 0;
  text-align: center;
}
.stable-opening .entry-intro h1 {
  font-size: 35px;
  line-height: 1.08;
  letter-spacing: -1px;
}
.stable-opening .entry-intro .eyebrow {
  font-size: 12px;
  margin-bottom: 14px;
}
.stable-opening .stable-heading {
  top: 163px;
  height: 50px;
  text-align: left;
  padding-bottom: 11px;
  display: block;
}
.stable-opening .stable-heading h1 {
  font:
    500 14px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  padding-top: 19px;
  letter-spacing: 0;
}
.mode-switch {
  position: relative;
  overflow: hidden;
  background: #e9eae5;
  color: #535c58;
  border: 1px solid #dadcd5;
}
.mode-switch:hover {
  background: #e2e5dc;
  text-decoration: none;
}
.mode-switch:after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -65%;
  width: 45%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, #ffffffb0, transparent);
  animation: button-glint 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes button-glint {
  0%,
  60% {
    left: -65%;
    opacity: 0;
  }
  66% {
    opacity: 0.8;
  }
  83%,
  100% {
    left: 150%;
    opacity: 0;
  }
}
.other-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.22s ease,
    opacity 0.22s ease,
    margin 0.22s ease;
}
.other-expand.expanded {
  display: block;
  max-height: 60px;
  opacity: 1;
  margin-top: 8px;
}
.other-expand .field {
  font-size: 14px;
  min-height: 39px;
  padding: 9px 12px;
}
.no-email {
  border: 0;
  background: none;
  color: var(--olive);
  padding: 18px 0 0;
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
  line-height: 1.6;
  font-size: 14px;
  cursor: pointer;
}
.no-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.upload-label {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border: 1px dashed #9aa68e;
  border-radius: 10px;
  background: #fff8;
  font-size: 15px;
  cursor: pointer;
}
.upload-label:has(+ input:focus-visible) {
  outline: 3px solid #53683b;
}
.stable-review {
  position: relative;
  width: 390px;
  max-width: calc(100vw - 48px);
  margin: 145px auto 80px;
}
.stable-review h1 {
  font:
    27px Georgia,
    serif;
  margin: 20px 0;
}
.stable-review .actions {
  justify-content: space-between;
}
.stable-review .review-row {
  grid-template-columns: 88px 1fr 28px;
  gap: 9px;
}
.stable-review .review-row dd {
  font-size: 13px;
}
.stable-review .fine {
  font-size: 13px;
}
@media (max-width: 650px) {
  main {
    padding: 0;
    min-height: 100svh;
  }
  .stable-shell {
    top: max(125px, calc(50svh - 240px));
    height: 495px;
  }
  .stable-review {
    margin-top: 125px;
  }
  .stable-shell .entry-intro h1 {
    font-size: 33px;
  }
  .stable-shell .quiet {
    font-size: 13px;
  }
  footer {
    position: relative;
  }
  .stable-shell .actions {
    top: 458px;
  }
}
@media (max-height: 740px) {
  body {
    min-height: 740px;
  }
  .stable-shell {
    top: 125px;
  }
  footer {
    position: absolute;
    top: 680px;
    bottom: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mode-switch:after {
    animation: none;
    display: none;
  }
  .other-expand {
    transition: none;
  }
}
.stable-shell:not(.stable-opening) .stable-heading {
  display: block;
  padding: 0;
}
.stable-shell:not(.stable-opening) .stable-heading h1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
}
.stable-shell:not(.stable-opening) .stable-heading .help {
  position: absolute;
  top: 73px;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.stable-shell .answer-area {
  max-height: none;
  overflow: visible;
}
.stable-shell .actions {
  transition: top 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.other-expand {
  display: block;
  grid-template-rows: unset;
  max-height: 0;
}
.other-expand.expanded {
  display: block;
  max-height: 65px;
}
.stable-shell .answer-area > .error:empty {
  display: none;
}
.stable-shell .answer-area .field {
  scroll-margin-bottom: 80px;
}
.no-email.secondary {
  width: 100%;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #d6dbd0;
  background: #edf0e8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  line-height: 1.55;
  font-size: 13px;
  white-space: normal;
  min-height: 66px;
}
.no-email.secondary:hover {
  background: #e4e9dd;
  text-decoration: none;
}
.no-email.secondary > span:first-child {
  flex: 1;
}
.no-email.secondary > span:last-child {
  flex: 0 0 auto;
}
.mode-switch:after {
  animation-duration: 3.5s;
}
@media (prefers-reduced-motion: reduce) {
  .stable-shell .actions {
    transition: none;
  }
}
.preference-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.preference-card {
  background: #ffffffbc;
  border: 1px solid #cdd3c7;
  border-radius: 12px;
  padding: 15px 13px;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.preference-card:has(.preference-title input:checked) {
  background: #f0f3e9;
  border-color: #9bab8c;
}
.preference-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  cursor: pointer;
}
.preference-title input,
.mini-consent input {
  accent-color: var(--olive);
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
}
.preference-summary {
  font-size: 12px;
  line-height: 1.5;
  margin: 9px 0 0;
  color: var(--muted);
}
.preference-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.25s ease;
}
.preference-expand.expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}
.preference-inner {
  overflow: hidden;
  min-height: 0;
}
.preference-inner > :first-child {
  margin-top: 15px;
}
.mini-consent {
  display: flex;
  gap: 7px;
  font-size: 12px;
  line-height: 1.65;
}
.preference-inner .upload-label {
  font-size: 12px;
  padding: 12px 9px;
  justify-content: center;
}
.preference-inner .fine {
  font-size: 11px;
  overflow-wrap: anywhere;
  margin: 9px 0 0;
  line-height: 1.5;
}
.preference-inner .quiet {
  font-size: 12px;
  margin-top: 8px;
}
.preference-inner .error {
  font-size: 12px;
}
.preference-inner .error:empty {
  display: none;
}
@media (max-width: 380px) {
  .preference-split {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preference-expand {
    transition: none;
  }
}

.stable-shell .answer-area {
  padding: 0;
}
.stable-shell:not(.stable-opening) .stable-heading {
  top: 88px;
  height: 110px;
  display: flex;
  justify-content: flex-end;
  padding: 0;
}
.stable-shell:not(.stable-opening) .stable-heading h1 {
  position: static;
  line-height: 1.15;
}
.stable-shell:not(.stable-opening) .stable-heading .help {
  position: static;
  margin: 10px 0 0;
  line-height: 1.4;
}
.stable-shell .actions {
  left: 0;
  right: 0;
}
.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.name-fields label {
  font-size: 13px;
  line-height: 1.4;
}
.name-fields .field {
  margin-top: 7px;
}
.stable-opening .stable-heading {
  display: none;
}
.poster-title {
  margin-top: 14px;
  overflow: hidden;
  animation: poster-unfurl 350ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.poster-title label,
.contact-expand label {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}
.poster-title .field {
  width: 100%;
}
@keyframes poster-unfurl {
  from {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
  }
  to {
    max-height: 105px;
    opacity: 1;
    margin-top: 14px;
  }
}
.contact-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.28s ease,
    opacity 0.28s ease;
}
.contact-expand.expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}
.contact-expand > div {
  overflow: hidden;
  min-height: 0;
}
.contact-expand label {
  margin-top: 16px;
}
.contact-expand textarea.field {
  min-height: 110px;
}
.future-updates {
  align-items: flex-start !important;
  padding: 16px !important;
}
.future-updates span {
  line-height: 1.6 !important;
}
.future-updates input {
  margin-top: 3px !important;
}
.resume-section {
  margin-top: 0;
}
.resume-section + .future-updates {
  margin-top: 18px;
}
.resume-section .fine {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0;
}
.file-success {
  padding: 13px;
  background: #e6eedc;
  border: 1px solid #a8b898;
  border-radius: 9px;
  margin-top: 12px;
  font-size: 13px;
}
.file-success[hidden] {
  display: none;
}
.file-success > span {
  color: var(--olive);
  font-weight: 600;
  display: block;
}
.file-success strong {
  font-weight: 400;
  display: block;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.file-success .quiet {
  padding: 6px 0 0;
}
.end-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 26px 0;
  font-size: 14px;
}
.end-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.track button:disabled {
  cursor: default;
}
.track button:disabled:hover {
  background: var(--line);
}

.glint-label {
  position: relative;
  display: inline-block;
  color: #535c58;
  background: linear-gradient(
    105deg,
    #535c58 0%,
    #535c58 42%,
    #fff 49%,
    #535c58 56%,
    #535c58 100%
  );
  background-size: 300% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-glint 3.5s linear infinite;
}
@keyframes text-glint {
  0%,
  18% {
    background-position: 150% 0;
  }
  29%,
  100% {
    background-position: -150% 0;
  }
}
@media (max-width: 650px) {
  html,
  body {
    min-height: 100svh;
    height: auto;
  }
  body {
    display: flex;
    flex-direction: column;
  }
  header {
    position: relative;
    padding: 22px 24px;
    min-height: 85px;
  }
  main {
    display: block;
    min-height: 0;
    flex: 1;
    padding: 12px 24px 34px;
  }
  footer {
    position: relative;
    top: auto;
    bottom: auto;
    padding: 16px 24px;
    margin-top: auto;
  }
  .stable-shell {
    position: relative;
    top: auto !important;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 390px;
    height: auto !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .stable-shell .stable-nav {
    position: relative;
    top: auto;
    height: 32px;
    order: 0;
  }
  .stable-shell .track {
    position: relative;
    top: auto !important;
    left: auto;
    width: 100%;
    order: 1;
    margin: 8px 0 32px !important;
  }
  .stable-shell #step-form {
    order: 3;
  }
  .stable-opening .stable-nav,
  .stable-opening .track {
    display: none;
  }
  .stable-opening .entry-intro {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: 2;
    margin: 18px -5px 34px;
  }
  .stable-opening .entry-intro h1 {
    font-size: 34px;
  }
  .stable-shell .stable-heading,
  .stable-shell:not(.stable-opening) .stable-heading {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    display: block;
    text-align: left;
    margin: 0 0 18px;
    padding: 0;
  }
  .stable-shell:not(.stable-opening) .stable-heading h1 {
    position: static;
    font-size: 27px;
  }
  .stable-shell:not(.stable-opening) .stable-heading .help {
    position: static;
    margin: 10px 0 0;
    font-size: 14px;
  }
  .stable-opening .stable-heading {
    display: none !important;
  }
  .stable-shell .answer-area {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 0;
    overflow: visible;
    max-height: none;
  }
  .stable-shell .actions {
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    margin: 18px 0 0;
    min-height: 44px;
    gap: 12px;
  }
  .stable-shell .primary,
  .stable-shell .secondary {
    min-height: 44px;
    font-size: 14px;
  }
  .stable-shell .quiet {
    font-size: 14px;
  }
  .stable-shell .field {
    font-size: 16px;
    min-height: 48px;
  }
  .stable-shell .choice {
    min-height: 44px;
  }
  .stable-shell .choice span {
    font-size: 14px;
  }
  .stable-review {
    width: 100%;
    max-width: 390px;
    margin: 12px auto 20px;
  }
  .stable-review .review-row {
    grid-template-columns: 82px 1fr 30px;
  }
  .stable-review .review-row dd {
    font-size: 14px;
  }
  .stable-review .actions {
    flex-wrap: wrap;
  }
  .header-note {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .poster-title,
  .glint-label {
    animation: none !important;
  }
  .contact-expand {
    transition: none;
  }
  .glint-label {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

.glint-label {
  background-color: #535c58;
  background-image: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    #fff 49%,
    transparent 56%,
    transparent 100%
  );
  background-repeat: no-repeat;
  animation: text-glint 3.5s ease-in-out infinite;
}
@keyframes text-glint {
  0%,
  18% {
    background-position: 150% 0;
  }
  41%,
  100% {
    background-position: -150% 0;
  }
}
.end-links a,
.end-links a:visited {
  color: #2753c6;
  transition: color 0.18s ease;
}
.end-links a:hover,
.end-links a:focus-visible {
  color: #4d73d2;
}
.help,
.fine,
.review-row dd {
  white-space: pre-wrap;
}

#clear-dialog p {
  white-space: pre-wrap;
}

.urgency {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.urgency legend {
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--navy);
}
.urgency .choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.stable-shell fieldset.urgency {
  margin: 26px 0 0;
}
.stable-shell .urgency .choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stable-shell .urgency .choice {
  flex: 0 0 auto;
  white-space: nowrap;
}

.stable-review .actions {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.glint-label {
  animation: none !important;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.mode-switch:after {
  animation-duration: 3s;
}

.stable-shell .actions #restart,
.stable-review .actions #restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 39px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  line-height: 1.3;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.stable-shell .actions #restart:hover,
.stable-review .actions #restart:hover {
  background: #222e5008;
  color: var(--navy);
  text-decoration: none;
}
.stable-review:not(.review) .actions #restart {
  background: #222e500d;
  box-shadow: inset 0 0 0 1px #222e5026;
}
.stable-review:not(.review) .actions #restart:hover {
  background: #222e5014;
}
#restart .reset-icon {
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 650px) {
  .stable-shell .actions #restart,
  .stable-review .actions #restart {
    min-height: 44px;
  }
}

.stable-shell .stable-heading h1,
.stable-shell:not(.stable-opening) .stable-heading h1,
.stable-review h1 {
  font:
    normal 27px/1.15 Georgia,
    serif;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.stable-shell .stable-heading .help,
.stable-shell:not(.stable-opening) .stable-heading .help,
.stable-review .help {
  font:
    normal 14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--muted);
}
.stable-shell .urgency legend,
.poster-title label,
.contact-expand label {
  font:
    500 13px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--navy);
}
.poster-title .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;
}
#restart .reset-icon {
  font-size: 14px;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mode-switch:after {
  animation-duration: 2.5s;
}
.stable-shell .urgency .choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.stable-shell .urgency .choice {
  width: 100%;
  white-space: normal;
}
.stable-shell .urgency .choice:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.resume-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #c7cebf;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  cursor: pointer;
}
.resume-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--olive);
  flex: none;
}
.resume-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.25s ease;
}
.resume-expand.expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}
.resume-expand > div {
  min-height: 0;
  overflow: hidden;
}
.resume-expand .upload-label {
  margin-top: 12px;
}
.resume-file-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #9aa68e;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease;
}
.resume-file-panel .upload-label {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}
.resume-file-panel:has(.upload-label:hover) {
  border-color: var(--olive);
}
.resume-file-panel .upload-label:hover {
  color: var(--olive);
  text-decoration: none;
}
.resume-file-panel .fine {
  margin: 4px 0 0;
}
.resume-file-panel .file-success {
  margin-top: 14px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #d6dbd0;
  border-radius: 0;
  background: none;
}
.portfolio-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 5px 10px 5px 7px;
  border: 1px solid #cbd5c3;
  border-radius: 999px;
  background: #edf1e8;
  color: var(--olive);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.portfolio-badge img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.stable-review .portfolio-badge {
  margin-bottom: 8px;
}
#clear-dialog {
  max-width: 370px;
  padding: 24px;
  border: 1px solid #d6d6d2;
  border-radius: 14px;
  background: #f3f2ee;
  box-shadow: 0 18px 55px #222e5022;
}
#clear-dialog::backdrop {
  background: #222e5030;
  backdrop-filter: blur(2px);
}
#clear-dialog h2 {
  font:
    normal 25px/1.2 Georgia,
    serif;
  margin: 0 0 8px;
}
#clear-dialog p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .resume-expand {
    transition: none;
  }
}

.stable-shell .stable-nav {
  top: 3px;
  right: 0;
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.portfolio-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 132px;
  max-width: calc(100% - 64px);
  height: 54px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}
.portfolio-badge-label {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 1.1px;
}
.portfolio-badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
  filter: none;
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  gap: 12px;
}
.review-top .portfolio-badge {
  max-width: calc(100% - 64px);
}
.stable-review > .portfolio-badge {
  justify-content: flex-start;
  margin: 0 0 22px;
  max-width: 100%;
}
.poster-company {
  margin-top: 12px;
}
.poster-company .field {
  width: 100%;
}
.stable-shell .role-choices .choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stable-shell .role-choices .fellowship-choice {
  margin-top: 6px;
}
.stable-shell .role-choices .fellowship-choice .choice {
  width: 100%;
  background: #fff;
  border-color: #c7cebf;
}
.stable-shell .role-choices .fellowship-choice .choice:has(input:checked) {
  background: #e9eedf;
  border-color: #93a67b;
}
@media (max-width: 370px) {
  .stable-shell .role-choices .choices {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .stable-shell .stable-nav {
    top: auto;
    height: 54px;
  }
  .stable-shell .track {
    margin: 8px 0 32px !important;
  }
}
@media (max-width: 380px) {
  .portfolio-badge-label {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .portfolio-badge {
    width: 120px;
  }
  .portfolio-badge img {
    max-width: 112px;
  }
}

body > header,
body > footer {
  display: none !important;
}
body {
  min-height: 690px;
}
main {
  padding-top: 32px;
  padding-bottom: 56px;
}
#app {
  min-height: 620px;
}

.landing-shell .landing-choices {
  position: absolute;
  top: 216px;
  left: 0;
  right: 0;
  display: grid;
  gap: 12px;
}
.landing-shell .landing-choices .mode-switch {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
}
.landing-shell .landing-choices .mode-switch span {
  position: relative;
  z-index: 1;
}
.landing-choices .mode-switch:after {
  animation: landing-button-glint 4s ease-in-out infinite;
}
.landing-choices .mode-switch:nth-child(2):after {
  animation-delay: -2s;
}
@keyframes landing-button-glint {
  0% {
    left: -65%;
    opacity: 0;
  }
  4% {
    opacity: 0.8;
  }
  38% {
    left: 150%;
    opacity: 0;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}
@media (max-width: 650px) {
  .landing-shell .landing-choices {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: 3;
    margin-top: 0;
  }
  .landing-shell .entry-intro {
    margin-bottom: 34px;
  }
  .landing-shell .landing-choices .mode-switch {
    min-height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-choices .mode-switch:after {
    animation: none;
    display: none;
  }
}

html,
body {
  height: auto;
  min-height: 0;
}
body {
  display: block;
}
main#app {
  display: block;
  flex: none;
  min-height: 0;
  padding: 32px 24px 48px;
}
.stable-shell,
.stable-review {
  position: relative;
  top: auto !important;
  left: auto;
  right: auto;
  transform: none;
  width: 390px;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  display: block;
}
.stable-shell .stable-nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: 54px;
  width: 100%;
  margin: 0;
}
.stable-shell .track {
  position: relative;
  top: auto !important;
  left: auto;
  width: 100%;
  height: 3px;
  margin: 10px 0 28px !important;
}
.stable-shell .stable-heading,
.stable-shell:not(.stable-opening) .stable-heading {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: auto;
  display: block;
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}
.stable-shell .stable-heading h1,
.stable-shell:not(.stable-opening) .stable-heading h1,
.stable-review h1 {
  position: static;
  font:
    normal 27px/1.2 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 0;
  color: var(--navy);
}
.stable-shell .stable-heading .help,
.stable-shell:not(.stable-opening) .stable-heading .help,
.stable-review .help {
  position: static;
  font:
    400 14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  margin: 10px 0 0;
  color: var(--muted);
}
.stable-shell .answer-area {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  padding: 0;
  max-height: none;
  overflow: visible;
}
.stable-shell .actions,
.stable-review .actions {
  position: relative;
  top: auto !important;
  left: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  margin: 20px 0 0;
  transition: none;
}
.stable-shell .field {
  font:
    400 16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
}
.stable-shell textarea.field {
  min-height: 120px;
  resize: none;
  max-height: 360px;
}
.stable-shell .primary,
.stable-shell .secondary,
.stable-review .primary,
.stable-review .secondary,
.stable-shell .quiet,
.stable-review .quiet,
.back {
  font-size: 14px;
  line-height: 1.4;
  min-height: 44px;
}
.stable-shell .choice {
  min-height: 44px;
  padding: 10px;
  gap: 9px;
}
.stable-shell .choice span {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.stable-shell .choice input {
  height: 16px;
  width: 16px;
}
.stable-shell .poster-title,
.stable-shell .poster-company {
  margin-top: 12px;
  animation: none;
}
.stable-shell .error {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
}
.stable-shell .error:empty {
  display: none;
}
.stable-opening .entry-intro {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  text-align: center;
  margin: 8px -20px 32px;
}
.stable-opening .entry-intro h1 {
  font:
    normal 35px/1.12 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0;
}
.stable-opening .entry-intro .eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
}
.stable-opening .landing-description {
  max-width: 380px;
  margin: 18px auto 0;
  color: var(--muted);
  font:
    400 15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.landing-shell .landing-choices {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 0;
}
.stable-review .review-top {
  margin-bottom: 24px;
}
.stable-review .review-list {
  margin: 24px 0;
}
.stable-review .submission-note {
  margin: -20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.stable-review .submission-note + .actions {
  margin-top: 28px;
}
.stable-review .review-row {
  grid-template-columns: 88px minmax(0, 1fr) 32px;
  gap: 10px;
  padding: 12px 0;
}
.stable-review .review-row dd {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transform: translateY(-2px);
}
.stable-review .review-row button {
  min-height: 32px;
}
.stable-review .primary {
  margin-top: 0;
}
.stable-review .fine {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 16px;
}
.stable-review .help {
  margin-bottom: 18px;
}
h1[tabindex="-1"]:focus {
  outline: none;
}
.stable-shell .field:focus,
.stable-shell .field:focus-visible {
  outline: none;
  border-color: var(--olive);
  box-shadow: none;
}
.choice:has(input:focus-visible),
.resume-toggle:has(input:focus-visible) {
  outline: 2px solid #738665;
  outline-offset: 2px;
}
.compensation-fields {
  display: grid;
  gap: 14px;
}
.compensation-fields label {
  display: block;
  margin-bottom: 7px;
  font:
    500 13px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--navy);
}
.compensation-fields .field {
  width: 100%;
}
.compensation-fields + .salary-skip {
  margin-top: 18px;
  line-height: 1.4;
}
@media (max-width: 650px) {
  main#app {
    padding: 24px 24px 36px;
  }
  .stable-shell .stable-heading,
  .stable-shell:not(.stable-opening) .stable-heading {
    text-align: left;
  }
  .stable-opening .entry-intro {
    margin: 8px 0 28px;
  }
  .stable-opening .entry-intro h1 {
    font-size: clamp(27px, 7.5vw, 34px);
  }
  .stable-shell .actions #restart,
  .stable-review .actions #restart {
    min-height: 44px;
  }
}

.submission-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.submission-note a:hover { opacity: .8; }
