.opportunity-page .hero {
  background: var(--ground);
}
.opportunity-page .eyebrow,
.opportunity-page .button {
  font-size: 11px;
}

.opportunity-page .navlinks a {
  align-items: center;
  display: inline-flex;
  font-size: 10px;
  min-height: 44px;
}

.opportunity-page .brand {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.opportunity-page footer a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  padding: 0 4px;
}

.opportunity-page .print-url {
  display: none;
}

.opportunity-page .tool-note {
  border-left: 4px solid var(--orange);
  color: var(--ink2);
  margin-top: 24px;
  max-width: 66ch;
  padding: 2px 0 2px 16px;
}

.opportunity-page .callout .list {
  color: var(--gtext);
}

.opportunity-page .decision-figure {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  box-shadow: var(--lift);
  margin: 30px 0 0;
  padding: 24px;
}

.opportunity-page .matrix-scale {
  color: var(--mute);
  display: flex;
  font: 11px var(--mono);
  justify-content: space-between;
  letter-spacing: .04em;
  margin: 10px 0;
  text-transform: uppercase;
}

.opportunity-page .matrix-scale.vertical {
  justify-content: flex-start;
  margin-top: 20px;
}

.opportunity-page .matrix-scale.vertical.low {
  margin-bottom: 0;
  margin-top: 10px;
}

.opportunity-page .decision-matrix {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opportunity-page .matrix-card {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-top: 6px solid var(--ink2);
  min-height: 170px;
  padding: 22px;
}

.opportunity-page .matrix-card h3 {
  margin: 8px 0;
}

.opportunity-page .matrix-card p {
  color: var(--ink2);
  margin-bottom: 0;
}

.opportunity-page .matrix-card.start {
  background: #fff5ed;
  border-color: var(--orange);
}

.opportunity-page .matrix-card.gated {
  border-top-color: var(--blue);
}

.opportunity-page .matrix-card.simple {
  border-top-color: var(--green);
}

.opportunity-page .matrix-label {
  color: var(--mute);
  font: 10px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.opportunity-page .worksheet-grid,
.opportunity-page .fence-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.opportunity-page .worksheet-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.opportunity-page .worksheet-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 12px;
  min-height: 238px;
  padding: 20px;
}

.opportunity-page .worksheet-card h3 {
  font-size: 20px;
  margin: 8px 0;
}

.opportunity-page .worksheet-card p {
  color: var(--ink2);
}

.opportunity-page .write-lines {
  border-bottom: 1px solid #b8c1ce;
  border-top: 1px solid #b8c1ce;
  height: 55px;
  margin-top: 18px;
  position: relative;
}

.opportunity-page .write-lines::after {
  border-top: 1px solid #b8c1ce;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
}

.opportunity-page .fence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.opportunity-page .fence-step {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 20px;
}

.opportunity-page .step-number {
  align-items: center;
  background: var(--graphite);
  border-radius: 7px;
  color: var(--gtext);
  display: inline-flex;
  font: 11px var(--mono);
  height: 30px;
  justify-content: center;
  width: 30px;
}

.opportunity-page .fence-step h3 {
  margin: 12px 0 8px;
}

.opportunity-page .fence-step p {
  color: var(--ink2);
  margin-bottom: 0;
}

.opportunity-page .commit-card {
  background: var(--graphite);
  border-radius: 16px;
  color: var(--gtext);
  margin-top: 26px;
  padding: 32px;
}

.opportunity-page .commit-card p {
  color: var(--gtext);
  font: 700 clamp(22px, 4vw, 34px)/1.45 var(--disp);
  margin: 0;
}

.opportunity-page .commit-blank {
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  min-width: 120px;
  padding: 0 5px;
}

.opportunity-page .worked-row {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 26px 0 0;
  overflow: hidden;
}

.opportunity-page .worked-row > div {
  border-left: 1px solid var(--hair);
  padding: 20px;
}

.opportunity-page .worked-row > div:first-child {
  border-left: 0;
}

.opportunity-page .worked-row dt {
  color: var(--orange-deep);
  font: 10px var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.opportunity-page .worked-row dd {
  color: var(--ink2);
  margin: 9px 0 0;
}

.opportunity-page .source-note {
  color: var(--mute);
  font-size: 13px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .opportunity-page .worksheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opportunity-page .fence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opportunity-page .worked-row {
    grid-template-columns: 1fr;
  }

  .opportunity-page .worked-row > div {
    border-left: 0;
    border-top: 1px solid var(--hair);
  }

  .opportunity-page .worked-row > div:first-child {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .opportunity-page .decision-figure {
    padding: 18px;
  }

  .opportunity-page .decision-matrix,
  .opportunity-page .worksheet-grid,
  .opportunity-page .fence-grid {
    grid-template-columns: 1fr;
  }

  .opportunity-page .matrix-scale {
    display: none;
  }

  .opportunity-page .matrix-card.start {
    order: 1;
  }

  .opportunity-page .matrix-card.simple {
    order: 2;
  }

  .opportunity-page .matrix-card.gated {
    order: 3;
  }

  .opportunity-page .matrix-card.human {
    order: 4;
  }

  .opportunity-page .matrix-card {
    min-height: 0;
  }

  .opportunity-page .worksheet-card {
    min-height: 0;
  }

  .opportunity-page .commit-card {
    padding: 24px;
  }

  .opportunity-page .commit-blank {
    min-width: 92px;
  }
}

@media print {
  @page {
    margin: .45in;
    size: letter portrait;
  }

  html,
  body.opportunity-page,
  .opportunity-page main {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .opportunity-page {
    background: #fff;
    font-size: 10pt;
  }

  .opportunity-page > .skip,
  .opportunity-page > #brief-progress-status,
  .opportunity-page nav,
  .opportunity-page footer,
  .opportunity-page .print-hide,
  .opportunity-page .brief-actions,
  .opportunity-page #brief .legal {
    display: none !important;
  }

  .opportunity-page .hero {
    padding: 0 0 16px;
  }

  .opportunity-page .hero h1 {
    font-size: 28pt;
  }

  .opportunity-page main section {
    padding: 12px 0;
  }

  .opportunity-page h2 {
    font-size: 22pt;
  }

  .opportunity-page .lede {
    margin-bottom: 8px;
    margin-top: 8px;
  }

  .opportunity-page .wrap {
    max-width: none;
    padding: 0;
  }

  .opportunity-page .decision-figure,
  .opportunity-page .matrix-card,
  .opportunity-page .worksheet-card,
  .opportunity-page .fence-step,
  .opportunity-page .commit-card {
    box-shadow: none;
    break-inside: avoid;
  }

  .opportunity-page #map {
    break-before: page;
  }

  .opportunity-page #brief {
    break-after: avoid-page;
  }

  .opportunity-page .decision-figure {
    margin-top: 12px;
    padding: 14px;
  }

  .opportunity-page .matrix-card {
    min-height: 100px;
    padding: 12px;
  }

  .opportunity-page .worksheet-grid {
    gap: 8px;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 12px;
  }

  .opportunity-page .worksheet-card {
    min-height: 148px;
    padding: 10px;
  }

  .opportunity-page .worksheet-card h3 {
    font-size: 11.5pt;
  }

  .opportunity-page .worksheet-card p {
    font-size: 8.5pt;
    line-height: 1.35;
    margin: 6px 0;
  }

  .opportunity-page .write-lines {
    height: 42px;
    margin-top: 8px;
  }

  .opportunity-page .fence-grid {
    gap: 8px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 12px;
  }

  .opportunity-page .fence-step {
    padding: 8px;
  }

  .opportunity-page .fence-step h3 {
    font-size: 11.5pt;
    margin: 6px 0;
  }

  .opportunity-page .fence-step p {
    font-size: 8.5pt;
    line-height: 1.35;
  }

  .opportunity-page .commit-card {
    background: #fff;
    border: 2px solid #12161b;
    color: #12161b;
    margin-top: 8px;
    padding: 10px;
  }

  .opportunity-page .commit-card p {
    color: #12161b;
    font-size: 13pt;
  }

  .opportunity-page .source-note {
    display: none;
  }

  .opportunity-page .print-url {
    color: #12161b;
    display: block;
    font: 9pt var(--mono);
    margin: 12px 0 0;
    text-align: right;
  }
}

/* Interactive AI Test Brief */
.opportunity-page .visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.opportunity-page .brief-progress {
  background: #3b444f;
  height: 4px;
  overflow: hidden;
  width: 100%;
}

.opportunity-page .brief-progress span {
  background: var(--orange);
  display: block;
  height: 100%;
  width: 0;
}

.opportunity-page .matrix-card {
  appearance: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  position: relative;
  text-align: left;
  width: 100%;
}

.opportunity-page .matrix-card.start {
  background: var(--ground);
  border-color: var(--hair);
  border-top-color: var(--ink2);
}

.opportunity-page .matrix-card[aria-pressed="true"] {
  background: #fff5ed;
  border: 2px solid var(--orange);
}

.opportunity-page .matrix-card[aria-pressed="true"]::after {
  background: var(--orange);
  color: var(--graphite);
  content: "SELECTED";
  font: 700 9px var(--mono);
  letter-spacing: .04em;
  padding: 4px 6px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.opportunity-page .matrix-card[aria-pressed="true"] .matrix-label {
  display: block;
  padding-right: 72px;
}

.opportunity-page .matrix-status {
  color: var(--mute);
  font-size: 14px;
  margin: 16px 0 0;
}

.opportunity-page .matrix-status:empty {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.opportunity-page .worksheet-card textarea {
  background: var(--surface);
  border-bottom: 2px solid #b8c1ce;
  margin-top: 18px;
  min-height: 88px;
  resize: vertical;
}

.opportunity-page .worksheet-card textarea:focus {
  border-bottom-color: var(--orange);
}

.opportunity-page .worksheet-card textarea.is-filled {
  background: #fff5ed;
  border-bottom-color: var(--orange);
  color: var(--orange-deep);
}

.opportunity-page .commit-card .commit-blank {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--orange);
  border-radius: 0;
  color: var(--gdim);
  display: inline-block;
  font: inherit;
  line-height: 1.2;
  max-width: 100%;
  min-height: 44px;
  min-width: 120px;
  padding: 0 5px;
  vertical-align: baseline;
  width: auto;
}

.opportunity-page .commit-card .commit-blank.is-filled {
  color: var(--orange);
}

.opportunity-page .commit-card .commit-blank::placeholder {
  color: var(--gdim);
  opacity: 1;
}

.opportunity-page .commit-card .commit-date {
  color-scheme: dark;
  width: 215px;
}

.opportunity-page .commit-card .commit-test {
  width: 20ch;
}

.opportunity-page .commit-card .commit-proof {
  width: 18ch;
}

.opportunity-page .commit-card .commit-limit {
  width: 17ch;
}

.opportunity-page .brief-noscript {
  border-left: 4px solid var(--hair);
  color: var(--ink2);
  margin-top: 24px;
  padding: 2px 0 2px 16px;
}

.opportunity-page .brief-band {
  margin-top: 28px;
}

.opportunity-page .brief-doc {
  background: var(--surface);
  border-radius: 6px;
  box-shadow: var(--lift);
  color: var(--ink);
  margin: 0 auto;
  max-width: 800px;
  padding: 42px;
  width: 100%;
}

.opportunity-page .brief-band .brief-doc p {
  color: var(--ink2);
}

.opportunity-page .brief-band .brief-doc .eyebrow {
  color: var(--mute);
}

.opportunity-page .brief-doc .brief-date {
  margin: 0 0 16px;
}

.opportunity-page .brief-doc h3 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 28px;
}

.opportunity-page .brief-lines {
  margin: 0;
}

.opportunity-page .brief-lines > div {
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 18px;
  grid-template-columns: 94px minmax(0, 1fr);
  padding: 13px 0;
}

.opportunity-page .brief-lines dt {
  color: var(--mute);
  font: 10px var(--mono);
  letter-spacing: .06em;
}

.opportunity-page .brief-lines dd {
  color: var(--orange-deep);
  margin: 0;
  overflow-wrap: anywhere;
}

.opportunity-page .brief-lines dd.is-empty {
  color: var(--mute);
}

.opportunity-page .brief-stop-rule {
  background: var(--ground);
  border-left: 4px solid var(--orange);
  margin-top: 22px;
  padding: 18px 20px;
}

.opportunity-page .brief-stop-rule .eyebrow {
  margin: 0 0 8px;
}

.opportunity-page .brief-stop-rule p:last-child {
  margin: 0;
}

.opportunity-page .brief-fill {
  color: var(--orange-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.opportunity-page .brief-fill.is-empty {
  color: var(--mute);
  font-weight: 400;
}

.opportunity-page .brief-band .brief-doc .brief-fence {
  color: var(--ink2);
  font: 10px/1.6 var(--mono);
  letter-spacing: .04em;
  margin: 22px 0 0;
  max-width: none;
  text-transform: none;
  white-space: nowrap;
}

.opportunity-page .brief-band .brief-doc .brief-footer {
  border-top: 1px solid var(--hair);
  color: var(--mute);
  font: 10px var(--mono);
  margin: 24px 0 0;
  max-width: none;
  padding-top: 14px;
  text-align: right;
}

.opportunity-page .brief-actions {
  margin: 16px auto 0;
  max-width: 800px;
}

.opportunity-page .brief-actions .button {
  cursor: pointer;
  flex: 1 1 180px;
}

.opportunity-page #brief .legal {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.opportunity-page .clipboard-helper {
  height: 1px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 1px;
}

@media (max-width: 620px) {
  .opportunity-page .brief-band {
    padding: 12px;
  }

  .opportunity-page .brief-doc {
    min-width: 0;
    padding: 26px 18px;
    width: 100%;
  }

  .opportunity-page .brief-lines > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .opportunity-page .brief-band .brief-doc .brief-fence {
    white-space: normal;
  }

  .opportunity-page .brief-actions .button {
    flex-basis: 100%;
  }

  .opportunity-page .commit-card .commit-blank {
    min-width: 92px;
  }
}

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

  .opportunity-page * {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .opportunity-page.printing-brief > .skip,
  .opportunity-page.printing-brief > nav,
  .opportunity-page.printing-brief > #brief-progress-status,
  .opportunity-page.printing-brief main > :not(#brief),
  .opportunity-page.printing-brief > footer {
    display: none !important;
  }

  .opportunity-page.printing-brief #brief {
    border: 0;
    display: block !important;
    padding: 0 !important;
  }

  .opportunity-page.printing-brief #brief > .wrap {
    max-width: none;
    padding: 0;
  }

  .opportunity-page.printing-brief #brief > .wrap > :not(.brief-band) {
    display: none !important;
  }

  .opportunity-page.printing-brief .brief-band {
    background: #fff;
    border-radius: 0;
    display: block !important;
    margin: 0;
    padding: 0;
  }

  .opportunity-page.printing-brief .brief-doc {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block !important;
    font-size: 8pt;
    line-height: 1.25;
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
  }

  .opportunity-page.printing-brief .brief-doc .brief-date {
    font-size: 7pt;
    margin-bottom: 8px;
  }

  .opportunity-page.printing-brief .brief-doc h3 {
    font-size: 18pt;
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .opportunity-page.printing-brief .brief-lines > div {
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 5px 0;
  }

  .opportunity-page.printing-brief .brief-lines dt {
    font-size: 7pt;
  }

  .opportunity-page.printing-brief .brief-stop-rule {
    margin-top: 9px;
    padding: 8px 10px;
  }

  .opportunity-page.printing-brief .brief-stop-rule .eyebrow {
    margin-bottom: 4px;
  }

  .opportunity-page.printing-brief .brief-stop-rule p:last-child {
    line-height: 1.25;
  }

  .opportunity-page.printing-brief .brief-band .brief-doc .brief-fence {
    font-size: 7pt;
    line-height: 1.3;
    margin-top: 9px;
  }

  .opportunity-page.printing-brief .brief-band .brief-doc .brief-footer {
    font-size: 7pt;
    margin-top: 9px;
    padding-top: 6px;
  }
}
