.pc-page .site-header .wordmark,
.pc-page .menu-toggle,
.pc-page .header-contact,
.pc-page .site-nav a,
.pc-page .site-footer nav a {
  min-height: 44px;
}

.pc-page .site-nav a,
.pc-page .site-footer nav a {
  display: inline-flex;
  align-items: center;
}

.pc-page .header-contact {
  display: inline-flex;
  align-items: center;
}

.pc-main {
  overflow: clip;
}

.pc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(50px, 8vw, 150px);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(72px, 8vw, 140px) var(--page) clamp(78px, 8vw, 138px);
}

.pc-hero::after {
  position: absolute;
  right: var(--page);
  bottom: 0;
  width: clamp(84px, 9vw, 150px);
  height: 8px;
  background: var(--coral);
  content: "";
}

.pc-hero-heading h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.15rem, 6.7vw, 7.9rem);
  letter-spacing: -0.065em;
}

.pc-hero-copy {
  align-self: end;
  max-width: 570px;
}

.pc-hero-copy > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.55;
}

.pc-boundaries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.pc-boundaries li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.pc-tool-section {
  background: var(--plum);
  color: var(--ivory);
}

.pc-tool-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(72px, 7vw, 120px) var(--page);
}

.pc-tool-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.6fr);
  gap: clamp(45px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(35px, 4vw, 62px);
}

.pc-tool-intro .kicker {
  color: rgba(248, 245, 238, 0.58);
}

.pc-tool-intro h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(2.5rem, 5vw, 6rem);
}

.pc-tool-intro > p {
  max-width: 590px;
  margin: 0;
  color: rgba(248, 245, 238, 0.7);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

.pc-privacy-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(248, 245, 238, 0.22);
  background: var(--plum-2);
}

.pc-privacy-mark {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  background: var(--coral);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
}

.pc-privacy-note strong {
  display: block;
  margin: 1px 0 3px;
  font-size: 0.86rem;
}

.pc-privacy-note p {
  max-width: 960px;
  margin: 0;
  color: rgba(248, 245, 238, 0.67);
  font-size: 0.79rem;
  line-height: 1.55;
}

.pc-shell,
.pc-result {
  background: var(--paper);
  color: var(--ink);
}

.pc-progress-header {
  display: grid;
  grid-template-columns: auto minmax(170px, 0.45fr);
  gap: 30px;
  align-items: center;
  padding: 22px clamp(20px, 3.2vw, 48px);
  border-bottom: 1px solid var(--line);
}

.pc-progress-header > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pc-progress-header span {
  color: var(--coral-dark);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pc-progress-header strong {
  font-size: 0.86rem;
}

.pc-progress-header progress {
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--ivory-2);
  color: var(--coral);
}

.pc-progress-header progress::-webkit-progress-bar {
  background: var(--ivory-2);
}

.pc-progress-header progress::-webkit-progress-value {
  background: var(--coral);
  transition: width 180ms ease;
}

.pc-progress-header progress::-moz-progress-bar {
  background: var(--coral);
}

.pc-progress-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.pc-progress-steps li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 54px;
  padding: 12px clamp(10px, 1.5vw, 22px);
  align-items: center;
  gap: 9px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.pc-progress-steps li:last-child {
  border-right: 0;
}

.pc-progress-steps li::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.pc-progress-steps li[data-state="complete"] {
  color: var(--ink);
}

.pc-progress-steps li[aria-current="step"] {
  background: var(--ivory);
  color: var(--ink);
}

.pc-progress-steps li[aria-current="step"]::after {
  background: var(--coral);
}

.pc-progress-steps span {
  color: var(--coral-dark);
  font-size: 0.67rem;
  font-weight: 850;
}

.pc-progress-steps b {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
}

.pc-question-panel {
  min-width: 0;
  padding: clamp(30px, 4vw, 62px);
}

.pc-live-summary {
  min-width: 0;
  padding: clamp(30px, 3vw, 46px);
  border-left: 1px solid var(--line);
  background: var(--ivory-2);
}

.pc-live-summary > span,
.pc-result-details article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.pc-live-summary h3 {
  max-width: 13ch;
  margin-bottom: 32px;
  font-size: clamp(1.55rem, 2.1vw, 2.1rem);
}

.pc-live-summary dl {
  margin: 0;
}

.pc-live-summary dl div {
  padding: 13px 0 15px;
  border-top: 1px solid var(--line);
}

.pc-live-summary dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  text-transform: uppercase;
}

.pc-live-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.pc-live-summary > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.pc-is-enhanced .pc-step:not(.is-active) {
  display: none;
}

.pc-step {
  min-width: 0;
  min-height: 480px;
  padding: 0;
  margin: 0;
  border: 0;
}

.pc-step legend {
  width: 100%;
  padding: 0;
}

.pc-step legend span {
  display: block;
  max-width: 20ch;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.pc-step-intro {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.pc-option-grid--dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-option {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.pc-option input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--coral-dark);
  cursor: pointer;
}

.pc-option span {
  min-width: 0;
}

.pc-option strong,
.pc-option small {
  display: block;
}

.pc-option strong {
  margin-bottom: 3px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.pc-option small {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.35;
}

.pc-option:has(input:checked) {
  border-color: var(--plum);
  box-shadow: inset 4px 0 0 var(--coral);
  background: var(--ivory);
}

.pc-option:focus-within {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}

.pc-option:focus-within input {
  outline: none;
}

.pc-error {
  max-width: 720px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--coral-dark);
  background: rgba(242, 72, 56, 0.1);
  color: #7c201b;
  font-size: 0.8rem;
  font-weight: 750;
}

.pc-error[hidden],
.pc-result[hidden],
[data-next][hidden],
[data-complete][hidden] {
  display: none !important;
}

.pc-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.pc-button,
.pc-reset {
  min-height: 48px;
  border-radius: 2px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.pc-button {
  display: inline-flex;
  padding: 12px 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  text-decoration: none;
}

.pc-button--primary {
  background: var(--plum);
  color: var(--ivory);
}

.pc-button--secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.pc-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.pc-reset {
  justify-self: center;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.pc-noscript {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-size: 0.85rem;
}

.pc-result {
  padding: clamp(30px, 4.5vw, 72px);
}

.pc-result-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 72px);
}

.pc-result-heading h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
}

.pc-hypothesis {
  margin: 0;
  padding: 18px 20px;
  border-top: 4px solid var(--coral);
  background: var(--ivory-2);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.pc-hypothesis strong {
  color: var(--ink);
}

.pc-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0 0 clamp(36px, 5vw, 68px);
  border: 1px solid var(--line);
  list-style: none;
}

.pc-map li {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: clamp(20px, 2.2vw, 32px);
  border-right: 1px solid var(--line);
}

.pc-map li:last-child {
  border-right: 0;
  background: var(--plum);
  color: var(--ivory);
}

.pc-map li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 3px;
  transform: translateY(-50%);
  background: var(--coral);
  content: "";
}

.pc-map-number {
  display: block;
  margin-bottom: clamp(45px, 5vw, 78px);
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 850;
}

.pc-map li:last-child .pc-map-number {
  color: var(--coral);
}

.pc-map li > p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.pc-map li:last-child > p,
.pc-map li:last-child small {
  color: rgba(248, 245, 238, 0.62);
}

.pc-map h3 {
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  line-height: 1.05;
}

.pc-map small {
  display: block;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.pc-result-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(36px, 5vw, 68px);
  background: var(--line);
  border: 1px solid var(--line);
}

.pc-result-details article {
  min-width: 0;
  padding: clamp(25px, 3.5vw, 52px);
  background: var(--ivory);
}

.pc-result-details h3 {
  max-width: 22ch;
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 2.7vw, 3rem);
}

.pc-result-details p,
.pc-result-details li {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.pc-result-details ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

.pc-result-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(25px, 3vw, 42px);
  background: var(--coral);
  color: var(--ink);
}

.pc-result-cta p {
  max-width: 760px;
  margin-bottom: 5px;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 750;
}

.pc-result-cta small {
  display: block;
  max-width: 800px;
  font-size: 0.68rem;
  line-height: 1.45;
}

.pc-result-cta .pc-button--primary {
  min-width: 245px;
}

.pc-result-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 24px;
}

.pc-aftercare {
  display: grid;
  grid-template-columns: 0.45fr minmax(0, 1fr) minmax(270px, 0.6fr);
  gap: clamp(35px, 6vw, 105px);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(76px, 8vw, 135px) var(--page);
  align-items: start;
}

.pc-aftercare .kicker {
  margin: 9px 0 0;
}

.pc-aftercare h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 4.3vw, 5rem);
}

.pc-aftercare > p {
  margin: 7px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.pc-aftercare .quiet-link {
  grid-column: 3;
}

@media (hover: hover) {
  .pc-option:hover {
    border-color: var(--plum);
    background: var(--ivory);
  }

  .pc-button--primary:hover {
    background: var(--coral);
    color: var(--ink);
  }

  .pc-result-cta .pc-button--primary:hover {
    background: var(--ivory);
  }

  .pc-button--secondary:hover {
    border-color: var(--plum);
    background: var(--ivory-2);
  }

  .pc-reset:hover {
    color: var(--ink);
  }
}

@media (max-width: 1180px) {
  .pc-option-grid--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pc-map li {
    min-height: 220px;
    border-bottom: 1px solid var(--line);
  }

  .pc-map li:nth-child(2n) {
    border-right: 0;
  }

  .pc-map li:last-child {
    grid-column: 1 / -1;
    min-height: 190px;
    border-bottom: 0;
  }

  .pc-map li::after {
    display: none !important;
  }

  .pc-map-number {
    margin-bottom: 35px;
  }
}

@media (max-width: 960px) {
  .pc-hero,
  .pc-tool-intro,
  .pc-result-heading,
  .pc-aftercare {
    grid-template-columns: 1fr;
  }

  .pc-hero {
    gap: 44px;
  }

  .pc-hero-heading h1 {
    max-width: 13ch;
  }

  .pc-tool-intro {
    gap: 30px;
  }

  .pc-workspace {
    grid-template-columns: 1fr;
  }

  .pc-live-summary {
    display: none;
  }

  .pc-step {
    min-height: 0;
  }

  .pc-result-heading {
    gap: 34px;
  }

  .pc-aftercare {
    gap: 28px;
  }

  .pc-aftercare .quiet-link {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .pc-page .header-contact {
    display: none;
  }

  .pc-hero {
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .pc-hero-heading h1 {
    font-size: clamp(2.75rem, 14vw, 4.8rem);
  }

  .pc-hero-copy > p {
    font-size: 1rem;
  }

  .pc-tool-inner {
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .pc-tool-intro h2 {
    font-size: clamp(2.35rem, 12vw, 4.1rem);
  }

  .pc-privacy-note {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .pc-privacy-mark {
    width: 36px;
    height: 36px;
  }

  .pc-progress-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .pc-progress-steps li {
    min-height: 45px;
    padding: 9px 4px;
    justify-content: center;
  }

  .pc-progress-steps b {
    display: none;
  }

  .pc-progress-steps span {
    font-size: 0.7rem;
  }

  .pc-question-panel {
    padding: 28px 18px 22px;
  }

  .pc-step legend span {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .pc-step-intro {
    margin-bottom: 23px;
  }

  .pc-option-grid,
  .pc-option-grid--dense {
    grid-template-columns: 1fr;
  }

  .pc-option {
    min-height: 68px;
  }

  .pc-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 20px;
    margin-top: 25px;
  }

  .pc-actions .pc-reset {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .pc-actions .pc-button--primary {
    grid-column: 2;
  }

  .pc-result {
    padding: 30px 18px;
    scroll-margin-top: 18px;
  }

  .pc-result-heading h2 {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }

  .pc-map,
  .pc-result-details,
  .pc-result-cta {
    grid-template-columns: 1fr;
  }

  .pc-map li,
  .pc-map li:nth-child(2n),
  .pc-map li:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pc-map li:last-child {
    border-bottom: 0;
  }

  .pc-map-number {
    margin-bottom: 28px;
  }

  .pc-result-details article {
    padding: 25px 22px;
  }

  .pc-result-cta {
    gap: 22px;
    padding: 24px 20px;
  }

  .pc-result-cta .pc-button--primary {
    width: 100%;
    min-width: 0;
  }

  .pc-result-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .pc-result-actions .pc-reset {
    justify-self: stretch;
  }
}

@media (max-width: 390px) {
  .pc-boundaries {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pc-boundaries li {
    justify-self: start;
  }

  .pc-actions {
    grid-template-columns: 1fr;
  }

  .pc-actions .pc-button--primary,
  .pc-actions .pc-reset {
    grid-row: auto;
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-progress-header progress::-webkit-progress-value {
    transition: none;
  }
}

@media (forced-colors: active) {
  .pc-option:has(input:checked) {
    border: 2px solid SelectedItem;
    box-shadow: none;
  }

  .pc-progress-steps li[aria-current="step"] {
    outline: 2px solid CanvasText;
    outline-offset: -3px;
  }
}

@media print {
  .pc-hero,
  .pc-privacy-note,
  .pc-compiler-view,
  .pc-aftercare,
  .pc-result-cta,
  .pc-result-actions {
    display: none !important;
  }

  .pc-tool-section,
  .pc-tool-inner {
    padding: 0;
    background: #fff;
    color: #000;
  }

  .pc-result {
    display: block !important;
    padding: 0;
  }
}
