/* How the review works: an unfolded brief, recommendations, then your decision. */
.hsp-page { color: var(--ink); }
.hsp-page *, .hsp-page *::before, .hsp-page *::after { min-width: 0; }
.hsp-page .hsp-opening { padding: clamp(28px, 3.2vw, 46px) 0 clamp(52px, 6vw, 88px); }
.hsp-page .crumbs { margin-bottom: 36px; }
.hsp-page .hsp-eyebrow { margin: 0 0 20px; font-size: .875rem; line-height: 1.5; letter-spacing: .04em; font-weight: 650; color: var(--muted); }
.hsp-page h1 { font-size: clamp(3rem, 5vw, 4.75rem); line-height: 1.02; letter-spacing: -.05em; margin: 0; max-width: 13ch; text-wrap: balance; }
.hsp-page h2 { font-size: clamp(2.25rem, 3.7vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; margin: 0; }
.hsp-page h3 { font-size: 1.5rem; line-height: 1.2; }
.hsp-page p { font-size: 1rem; line-height: 1.8; }
.hsp-page a { text-underline-offset: 5px; }
.hsp-page :is(h1,h2,h3,p,a,span,summary) { overflow-wrap: anywhere; }
.hsp-page .btn { white-space: normal; font-size: 1rem; max-width: 100%; text-align: center; }
.hsp-page .hsp-opening-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hsp-page .hsp-lede { font-size: 1.125rem; line-height: 1.75; max-width: 44ch; margin: 26px 0 0; }
.hsp-page .hsp-opening-copy .actions { margin-top: 26px; gap: 14px 24px; align-items: center; }
.hsp-page .hsp-opening-copy .text-link { display: inline-block; min-height: 44px; padding-block: 8px; font-size: .875rem; }
.hsp-page .hsp-brief { display: flex; flex-wrap: wrap; align-items: stretch; position: relative; isolation: isolate; margin-top: 22px; }
.hsp-page .hsp-brief::before { content: ""; position: absolute; z-index: -1; left: 8px; bottom: -12px; width: calc(100% - 8px); height: 90%; border: 1px solid var(--line-2); background: var(--mist-2); }
.hsp-page .hsp-brief-inputs { flex: 1 1 8rem; display: grid; align-content: stretch; background: var(--msp-t); border: 1px solid var(--ink); border-right: 0; }
.hsp-page .hsp-brief-inputs > div { padding: 26px 18px; display: flex; flex-direction: column; align-items: start; }
.hsp-page .hsp-brief-inputs > div + div { border-top: 1px solid var(--msp-ink); }
.hsp-page .hsp-brief-n { display: block; font: 500 1.5rem/1.2 var(--font-display); white-space: nowrap; margin-bottom: 26px; }
.hsp-page .hsp-brief-inputs p { font: 550 1.375rem/1.25 var(--font-display); letter-spacing: -.02em; margin: 0 0 12px; }
.hsp-page .hsp-brief-inputs > div > span:last-child:not(.hsp-brief-n) { font-size: .875rem; line-height: 1.65; color: var(--muted); }
.hsp-page .hsp-brief-output { position: relative; flex: 2.5 1 16rem; padding: 30px 28px; min-width: min(100%, 16rem); background: var(--paper); border: 1px solid var(--ink); border-radius: 0 0 28px 0; }
.hsp-page .hsp-clip { width: 70px; margin: -52px -8px 18px auto; }
.hsp-page .hsp-output-label { font-size: .875rem; color: var(--muted); margin: 0 0 22px; }
.hsp-page .hsp-output-title { font: 550 clamp(2rem, 2.8vw, 2.625rem)/1.1 var(--font-display); letter-spacing: -.045em; margin: 0; }
.hsp-page .hsp-blank-rules { display: grid; gap: 20px; padding: 34px 0; }
.hsp-page .hsp-blank-rules span { display: block; width: 100%; border-bottom: 1px solid var(--line-2); }
.hsp-page .hsp-blank-rules span:last-child { width: 67%; }
.hsp-page .hsp-illustrative { font-size: .875rem; line-height: 1.65; color: var(--muted); margin: 0; max-width: 30ch; }
.hsp-page .hsp-review { padding: clamp(56px, 6.5vw, 96px) 0; background: var(--mist); }
.hsp-page .hsp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.hsp-page .hsp-section-head h2 { max-width: 13ch; }
.hsp-page .hsp-section-head .text-link { display: inline-block; min-height: 44px; padding-block: 8px; font-size: 1rem; }
.hsp-page #delivery .hsp-section-head p:not(.hsp-eyebrow) { max-width: 60ch; margin-top: 18px; }
.hsp-page .hsp-delivery-note { margin: 22px 0 0; color: var(--muted); font-size: .9375rem; }
/* Keep each step in normal reading order; on taller screens later cards slide over earlier ones. */
.hsp-page .hsp-contributions { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; isolation: isolate; }
.hsp-page .hsp-contribution {
  --step-ink: var(--msp-ink); --step-tint: var(--msp-t); --step-offset: 0px;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); align-content: center;
  align-items: start; gap: 16px clamp(16px, 3vw, 38px); padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line-2);
  border-radius: 18px; background: var(--white); box-shadow: 0 12px 30px rgba(15, 34, 54, .08);
}
.hsp-page .hsp-contribution-2 { --step-ink: var(--bpo-ink); --step-tint: var(--bpo-t); --step-offset: 14px; }
.hsp-page .hsp-contribution-3 { --step-ink: var(--ai-ink); --step-tint: var(--ai-t); --step-offset: 28px; }
.hsp-page .hsp-step-n {
  display: grid; place-items: center; width: clamp(40px, 5vw, 58px); aspect-ratio: 1;
  border-radius: 12px; background: var(--step-tint); color: var(--step-ink);
  font: 600 clamp(1.25rem, 2vw, 1.75rem)/1 var(--font-display); font-variant-numeric: tabular-nums;
}
.hsp-page .hsp-role { font-size: .875rem; line-height: 1.6; color: var(--step-ink); margin: 0 0 10px; }
.hsp-page .hsp-contribution h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin: 0 0 12px; max-width: 24ch; }
.hsp-page .hsp-contribution-copy > p:last-child { color: var(--muted); margin: 0; max-width: 54ch; }
.hsp-page .hsp-recommendation-art { grid-column: 2; width: min(100%, 140px); }
@media screen and (min-width: 900px) {
  .hsp-page .hsp-contribution { grid-template-columns: max-content minmax(0, 1fr) minmax(0, .46fr); min-height: 240px; }
  .hsp-page .hsp-recommendation-art { grid-column: 3; width: min(100%, 240px); justify-self: center; align-self: center; }
}
@media screen and (min-width: 360px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .hsp-page .hsp-contributions { grid-template-rows: repeat(3, 1fr) 92px; }
  .hsp-page .hsp-contributions::after { content: ""; }
  .hsp-page .hsp-contribution { position: sticky; top: calc(var(--header-h, 72px) + 24px + var(--step-offset)); }
}
.hsp-page .hsp-prepare { padding: clamp(60px, 7vw, 100px) 0; }
.hsp-page .hsp-preparation-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 90px; align-items: start; }
.hsp-page .hsp-notebook { position: relative; border-left: 1px solid var(--line-2); padding-left: 32px; }
.hsp-page .hsp-notebook::before { content: ""; position: absolute; left: -5px; top: 0; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.hsp-page .hsp-notebook h2 { max-width: 16ch; margin: 0 0 22px; }
.hsp-page .prepare-list .prepare-help { font-size: 1rem; line-height: 1.75; margin: 0 0 25px; color: var(--muted); }
.hsp-page .prep-checklist { list-style: none; margin: 0; padding: 0; }
.hsp-page .prep-checklist li { border-color: var(--line-2); }
.hsp-page .prep-checklist li:last-child { border-bottom: 1px solid var(--line-2); }
.hsp-page .prep-checklist label { font-size: 1rem; line-height: 1.75; padding: 20px 0; gap: 16px; min-height: 64px; }
.hsp-page .prep-checklist input { width: 23px; height: 23px; margin-top: 3px; flex: none; }
.hsp-page .hsp-preparation-note { margin: 20px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.hsp-page .hsp-safe { padding-top: 8px; }
.hsp-page .hsp-safe-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--msp-ink); margin-bottom: 22px; }
.hsp-page .hsp-safe-icon .ico { width: 23px; height: 23px; }
.hsp-page .hsp-safe h2 { font-size: clamp(1.875rem, 2.6vw, 2.5rem); max-width: 14ch; margin: 0 0 24px; }
.hsp-page .hsp-safe > p { color: var(--muted); margin: 0 0 22px; max-width: 46ch; }
.hsp-page .ui-links a { display: inline-block; min-height: 44px; padding-block: 8px; font-size: 1rem; }
.hsp-page .hsp-boundary { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.hsp-page .hsp-boundary h2 { font-size: clamp(2rem, 3.1vw, 3rem); max-width: 17ch; }
.hsp-page .hsp-boundary-art { width: min(100%, 235px); margin: 22px 0 0; }
.hsp-page .hsp-boundary-copy > p { color: var(--muted); margin: 0 0 24px; }
.hsp-page .hsp-boundary-copy > p:first-child { color: var(--ink); }
.hsp-page .hsp-boundary-copy > p:last-child { margin-bottom: 0; }
.hsp-page .hsp-boundary-copy a { display: inline-block; min-height: 44px; padding-block: 8px; }
.hsp-page .hsp-questions { padding: clamp(52px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.hsp-page .hsp-questions .faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); column-gap: 80px; align-items: start; }
.hsp-page .hsp-questions .faq h2 { grid-row: 1 / 4; font-size: clamp(2.25rem, 3.7vw, 3.5rem); line-height: 1.08; max-width: 13ch; }
.hsp-page .hsp-questions details { grid-column: 2; border-color: var(--line-2); }
.hsp-page .hsp-questions details:last-child { border-bottom: 1px solid var(--line-2); }
.hsp-page .hsp-questions summary { padding-block: 22px; font-size: 1rem; line-height: 1.6; gap: 20px; }
.hsp-page .hsp-questions summary .ico { width: 20px; height: 20px; flex: none; }
.hsp-page .hsp-questions details p { font-size: 1rem; line-height: 1.8; padding: 0 28px 26px 0; }
.hsp-page .closing h2 { font-size: clamp(2.25rem, 3.7vw, 3.5rem); line-height: 1.08; }
.hsp-page .closing .closing-copy > p { font-size: 1rem; line-height: 1.8; }
.hsp-page .hsp-drawing { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
.hsp-page .hsp-paper { fill: var(--paper); }
.hsp-page .hsp-mint { fill: var(--msp-t); }
.hsp-page .hsp-amber { fill: var(--bpo-t); }
@media (prefers-reduced-motion: no-preference) {
  .motion .hsp-page .is-in .hsp-object { animation: hsp-paper-settle .36s ease-out both; transform-box: fill-box; transform-origin: center; }
}
@keyframes hsp-paper-settle { from { transform: translateY(6px) rotate(-1deg); } to { transform: translateY(0) rotate(0); } }
@media (max-width: 1099px) {
  .hsp-page .hsp-opening-grid { gap: 36px; }
  .hsp-page .hsp-brief-output { padding-inline: 24px; }
  .hsp-page .hsp-preparation-grid { gap: 44px; }
  .hsp-page .hsp-boundary, .hsp-page .hsp-questions .faq { gap: 44px; }
}
@media (max-width: 767px) {
  .hsp-page .hsp-opening { padding-top: 25px; }
  .hsp-page .crumbs { margin-bottom: 28px; }
  .hsp-page .hsp-opening-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .hsp-page h1 { font-size: clamp(2.875rem, 8.5vw, 4rem); max-width: 14ch; }
  .hsp-page .hsp-lede { font-size: 1rem; margin-top: 24px; }
  .hsp-page .hsp-brief { margin-top: 12px; }
  .hsp-page .hsp-brief-inputs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); border-right: 1px solid var(--ink); }
  .hsp-page .hsp-brief-inputs > div { padding: 20px; }
  .hsp-page .hsp-brief-inputs > div + div { border: 0; border-left: 1px solid var(--msp-ink); }
  .hsp-page .hsp-brief-n { margin-bottom: 16px; font-size: 1.375rem; }
  .hsp-page .hsp-brief-inputs p { font-size: 1.25rem; }
  .hsp-page .hsp-brief-output { padding: 26px; }
  .hsp-page .hsp-clip { width: 64px; margin-top: -43px; }
  .hsp-page .hsp-output-title { font-size: 2.5rem; }
  .hsp-page .hsp-blank-rules { padding-block: 28px; }
  .hsp-page .hsp-section-head { display: block; margin-bottom: 28px; }
  .hsp-page .hsp-section-head > a { margin-top: 18px; }
  .hsp-page .hsp-preparation-grid, .hsp-page .hsp-boundary { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hsp-page .hsp-notebook { padding-left: 20px; }
  .hsp-page .hsp-safe { padding-top: 0; }
  .hsp-page .hsp-boundary { gap: 22px; }
  .hsp-page .hsp-boundary-art { width: 180px; margin-top: 18px; }
  .hsp-page .hsp-questions .faq { display: block; }
  .hsp-page .hsp-questions .faq h2 { margin-bottom: 28px; }
}
@media print {
  .hsp-page .hsp-opening-grid, .hsp-page .hsp-contributions, .hsp-page .hsp-preparation-grid, .hsp-page .hsp-boundary, .hsp-page .hsp-questions .faq { display: block; }
  .hsp-page .hsp-brief { margin-top: 32px; }
  .hsp-page .hsp-brief::before, .hsp-page .hsp-drawing { display: none; }
  .hsp-page .hsp-contribution, .hsp-page .hsp-brief-output { border-radius: 0; box-shadow: none; break-inside: avoid; }
  .hsp-page .hsp-safe { margin-top: 30px; }
  .hsp-page .hsp-questions .faq h2 { margin-bottom: 24px; }
}
