.value-check-stage {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.22fr);
  min-height: calc(100vh - 84px);
  padding: clamp(36px, 5vw, 72px) var(--page-gutter);
}

.value-check-intro {
  align-content: start;
  display: grid;
}

.value-check-intro .portal-breadcrumbs {
  margin-bottom: clamp(46px, 8vw, 110px);
}

.value-check-intro h1 {
  font-family: var(--font-editorial);
  font-size: clamp(3.2rem, 6.2vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
  margin: 12px 0 30px;
  text-transform: none;
}

.value-check-intro h1 em {
  color: var(--gold);
  font-weight: 400;
}

.value-check-intro > p {
  color: var(--inverse-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  max-width: 44rem;
}

.value-check-privacy {
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
}

.value-check-privacy li {
  color: var(--inverse-muted);
  font-size: .73rem;
  letter-spacing: .04em;
}

.value-check-privacy li::before {
  color: var(--gold);
  content: "✓";
  margin-right: 10px;
}

.value-check-source-link {
  color: var(--paper);
  display: inline-flex;
  font-size: .73rem;
  font-weight: 700;
  margin-top: 28px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.value-check-card {
  align-self: start;
  background: var(--paper);
  color: var(--ink);
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
}

.value-check-card-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.value-check-card-head span,
.value-check-empty > span,
.value-check-result-head span,
.value-check-form label > span,
.value-check-assessment-head span,
.value-check-separation span,
.value-check-location-head span,
.value-check-location-grid article > span {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.value-check-card-head strong {
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.value-check-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.value-check-step {
  border: 1px solid var(--line);
}

.value-check-step > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 18px;
}

.value-check-step > summary::-webkit-details-marker {
  display: none;
}

.value-check-step > summary::after {
  color: var(--accent);
  content: "+";
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
}

.value-check-step[open] > summary::after {
  content: "−";
}

.value-check-step > summary span {
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.value-check-step > summary strong {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 560;
  margin-left: auto;
}

.value-check-fields {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-check-fields label {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  min-height: 105px;
  padding: 20px 18px;
}

.value-check-fields label:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.value-check-fields label.is-wide {
  border-right: 0;
  grid-column: 1 / -1;
}

.value-check-fields label > small {
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.45;
}

.value-check-form input,
.value-check-form select {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  min-height: 48px;
  min-width: 0;
  outline: 0;
  padding: 8px 0;
  width: 100%;
}

.value-check-form label:focus-within {
  box-shadow: inset 0 -2px var(--accent);
}

.value-check-location-input {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 22px 18px;
}

.value-check-location-input > div:first-of-type {
  display: grid;
  gap: 6px;
}

.value-check-location-input > div:first-of-type > span {
  font-size: .88rem;
  font-weight: 740;
}

.value-check-location-input small {
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.45;
}

.value-check-location-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.value-check-location-actions button {
  border: 0;
}

.value-check-submit {
  background: var(--gold);
  border: 0;
  color: var(--ink-deep);
  font-size: .72rem;
  font-weight: 760;
  grid-column: 1 / -1;
  letter-spacing: .12em;
  min-height: 58px;
  padding: 18px;
  text-transform: uppercase;
}

.value-check-output {
  background: var(--paper-soft);
  margin-top: 22px;
  padding: clamp(22px, 3vw, 36px);
}

.value-check-empty h2 {
  font-family: var(--font-editorial);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  margin: 18px 0 12px;
  text-transform: none;
}

.value-check-empty p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.value-check-result-head {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
}

.value-check-result-head > div {
  display: grid;
  gap: 12px;
}

.value-check-result-head strong {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .95;
}

.value-check-result-head p {
  color: var(--muted);
  font-size: .72rem;
  margin: 0;
  text-align: right;
}

.value-check-result-head p b {
  color: var(--accent);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.value-check-range {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.value-check-range > div {
  background: #fff;
  border-top: 3px solid var(--accent-soft);
  display: grid;
  gap: 8px;
  padding: 16px;
}

.value-check-range > div.is-central {
  border-top-color: var(--gold);
}

.value-check-range span {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.value-check-range strong {
  font-family: var(--font-editorial);
  font-size: 1.12rem;
}

.value-check-evidence {
  margin: 28px 0 0;
}

.value-check-evidence > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px 18px;
  grid-template-columns: minmax(145px, .45fr) minmax(0, 1fr);
  padding: 14px 0;
}

.value-check-evidence dt {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.value-check-evidence dd {
  font-size: .84rem;
  font-weight: 720;
  margin: 0;
}

.value-check-evidence small {
  color: var(--muted);
  font-size: .7rem;
  grid-column: 2;
  line-height: 1.5;
}

.value-check-boundary {
  border-left: 3px solid var(--gold);
  margin-top: 24px;
  padding-left: 18px;
}

.value-check-boundary strong {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.value-check-boundary p,
.value-check-disclaimer {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.55;
  margin: 8px 0 0;
}

.value-check-assessment {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 24px;
}

.value-check-assessment-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.value-check-assessment-head > div {
  display: grid;
  gap: 7px;
}

.value-check-assessment-head h3,
.value-check-location-head h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  margin: 0;
  text-transform: none;
}

.value-check-assessment-head > strong {
  color: var(--accent);
  font-family: var(--font-editorial);
  font-size: 1.6rem;
  font-weight: 500;
}

.value-check-assessment progress {
  accent-color: var(--gold);
  display: block;
  height: 8px;
  margin-top: 16px;
  width: 100%;
}

.value-check-assessment-note,
.value-check-location-result > p,
.value-check-location-source {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.55;
}

.value-check-separation {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.value-check-separation article {
  background: #fff;
  border-top: 3px solid var(--line);
  padding: 17px;
}

.value-check-separation article:last-child {
  border-top-color: var(--gold);
}

.value-check-separation strong {
  display: block;
  font-size: .78rem;
  margin-top: 8px;
}

.value-check-separation p,
.value-check-flags p,
.value-check-answered p,
.value-check-open p {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.5;
  margin: 8px 0 0;
}

.value-check-flags {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.value-check-flags h4,
.value-check-answered h4 {
  font-size: .7rem;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

.value-check-flags article {
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
}

.value-check-flags article strong {
  font-size: .76rem;
}

.value-check-flags.is-clear {
  border-left: 3px solid #5b8678;
  padding-left: 14px;
}

.value-check-answered,
.value-check-open {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}

.value-check-answered > summary,
.value-check-open > summary {
  cursor: pointer;
  font-size: .72rem;
  font-weight: 740;
}

.value-check-answered section {
  margin-top: 18px;
}

.value-check-answered dl {
  margin: 7px 0 0;
}

.value-check-answered dl > div {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(130px, .48fr) minmax(0, 1fr);
  padding: 6px 0;
}

.value-check-answered dt,
.value-check-answered dd,
.value-check-open li {
  font-size: .7rem;
  line-height: 1.45;
}

.value-check-answered dt {
  color: var(--muted);
}

.value-check-answered dd {
  font-weight: 650;
  margin: 0;
}

.value-check-open ul {
  columns: 2;
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.value-check-location-result {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 22px;
}

.value-check-location-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.value-check-location-head > div {
  display: grid;
  gap: 6px;
}

.value-check-location-head > small {
  color: var(--muted);
  font-size: .62rem;
  text-align: right;
}

.value-check-location-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 17px;
}

.value-check-location-grid article {
  background: #fff;
  display: grid;
  gap: 8px;
  padding: 15px;
}

.value-check-location-grid strong {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  font-weight: 500;
}

.value-check-location-grid p {
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.45;
  margin: 0;
}

.value-check-location-grid a {
  color: var(--accent);
  font-size: .65rem;
  font-weight: 700;
}

.value-check-location-source {
  display: block;
  margin-top: 14px;
}

.value-check-map-dialog {
  background: var(--paper);
  border: 0;
  color: var(--ink);
  height: min(850px, 92vh);
  max-height: none;
  max-width: none;
  padding: 0;
  width: min(1180px, 94vw);
}

.value-check-map-dialog::backdrop {
  background: rgba(13, 24, 27, .78);
}

.value-check-map-dialog-head {
  align-items: start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 22px;
}

.value-check-map-dialog-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.6vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -.035em;
  margin: 4px 0;
  text-transform: none;
}

.value-check-map-dialog-head p {
  color: var(--muted);
  font-size: .7rem;
  margin: 0;
}

.value-check-map-dialog-head button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-size: .68rem;
  padding: 10px 12px;
  text-transform: uppercase;
}

.value-check-map-dialog iframe {
  border: 0;
  height: calc(100% - 100px);
  width: 100%;
}

.value-check-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.value-check-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 22px;
}

.value-check-actions button {
  border: 0;
}

.value-check-actions button:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.value-check-notice {
  color: var(--muted);
  flex: 1 1 100%;
  font-size: .72rem;
  margin: 0;
}

.value-check-notice.is-error {
  color: #9b342b;
}

.value-check-method {
  padding: var(--section-space) var(--page-gutter);
}

.value-check-method-head {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr minmax(280px, .58fr);
  margin-bottom: 44px;
}

.value-check-method-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .9;
  margin: 12px 0 0;
  text-transform: none;
}

.value-check-method-head > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.value-check-scope {
  background: var(--paper-soft);
  padding: clamp(54px, 7vw, 94px) var(--page-gutter);
}

.value-check-scope-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-check-scope-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 46px);
}

.value-check-scope-grid h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 14px 0 24px;
  text-transform: none;
}

.value-check-scope-grid ul {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  padding-left: 1.2em;
}

.value-check-object-file {
  align-items: end;
  background: var(--gold);
  display: grid;
  gap: clamp(38px, 8vw, 120px);
  grid-template-columns: 1.15fr 0.85fr;
  padding: clamp(64px, 9vw, 122px) var(--page-gutter);
}

.value-check-object-file .portal-eyebrow {
  color: var(--ink);
}

.value-check-object-file h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .92;
  margin: 12px 0 0;
  text-transform: none;
}

.value-check-object-file p {
  line-height: 1.65;
  margin: 0 0 28px;
}

.value-check-object-file .portal-button {
  max-width: 320px;
}

@media (max-width: 1050px) {
  .value-check-stage {
    grid-template-columns: 1fr;
  }

  .value-check-intro .portal-breadcrumbs {
    margin-bottom: 46px;
  }
}

@media (max-width: 720px) {
  .value-check-stage {
    padding-inline: 18px;
  }

  .value-check-form,
  .value-check-method-head,
  .value-check-scope-grid,
  .value-check-object-file {
    grid-template-columns: 1fr;
  }

  .value-check-fields {
    grid-template-columns: 1fr;
  }

  .value-check-fields label,
  .value-check-fields label:nth-child(odd),
  .value-check-fields label.is-wide {
    border-right: 0;
    grid-column: auto;
  }

  .value-check-step > summary strong {
    display: none;
  }

  .value-check-location-input,
  .value-check-separation,
  .value-check-location-grid {
    grid-template-columns: 1fr;
  }

  .value-check-location-actions {
    justify-content: flex-start;
  }

  .value-check-open ul {
    columns: 1;
  }

  .value-check-result-head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .value-check-result-head p {
    text-align: left;
  }

  .value-check-range {
    grid-template-columns: 1fr;
  }

  .value-check-evidence > div {
    grid-template-columns: 1fr;
  }

  .value-check-evidence small {
    grid-column: 1;
  }
}

@media print {
  .site-header,
  .site-footer,
  .value-check-intro > p,
  .value-check-privacy,
  .value-check-source-link,
  .value-check-form,
  .value-check-actions,
  .value-check-scope,
  .value-check-object-file,
  .value-check-map-dialog {
    display: none !important;
  }

  .value-check-stage {
    background: #fff !important;
    color: #172326 !important;
    display: block;
    min-height: 0;
    padding: 0;
  }

  .value-check-intro h1 {
    color: #172326 !important;
    font-size: 34px;
    margin: 0 0 24px;
  }

  .value-check-card,
  .value-check-output,
  .value-check-method {
    padding: 18px 0;
  }

  .value-check-card,
  .value-check-output,
  .value-check-range > div,
  .portal-card {
    background: #fff !important;
  }

  .value-check-result-head,
  .value-check-evidence > div,
  .portal-card {
    break-inside: avoid-page;
  }
}
