.product-development-page {
  --pd-ink: #202622;
  --pd-ink-soft: #354039;
  --pd-green: #4f6b5d;
  --pd-green-pale: #e9efeb;
  --pd-blue: #58758a;
  --pd-blue-pale: #e8eef2;
  --pd-clay: #9c6b56;
  --pd-clay-pale: #f2e9e4;
  --pd-line: #d8ddd9;
  --pd-paper: #f7f7f3;
}

.product-development-page .subpage-header {
  min-height: 620px;
  padding: 158px 0 76px;
  background: linear-gradient(180deg, #f1ede8 0%, #faf9f7 100%);
  color: var(--pd-ink);
  text-align: left;
}

.product-development-page .subpage-header .container {
  max-width: 1080px;
}

.product-development-page .subpage-header h1 {
  max-width: 920px;
  margin-bottom: 26px;
  color: var(--pd-ink);
  font-size: 4.4rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.product-development-page .subpage-header p:not(.seo-eyebrow) {
  max-width: 850px;
  color: #4d5751;
  font-size: 1.08rem;
  line-height: 1.8;
}

.product-development-page .subpage-header .seo-eyebrow {
  color: var(--pd-clay);
}

.pd-page {
  min-width: 0;
}

.pd-page > .container:first-child {
  padding-top: 44px;
}

.pd-page .seo-breadcrumb {
  margin-bottom: 0;
}

.pd-page h2,
.pd-page h3 {
  letter-spacing: 0;
}

.pd-page button {
  font: inherit;
}

.pd-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 38px;
}

.pd-section-heading h2 {
  max-width: 760px;
  color: var(--pd-ink);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.25;
}

.pd-section-heading > p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.72;
}

.pd-panel-label {
  margin-bottom: 10px;
  color: var(--pd-green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pd-starting-section {
  margin-top: 42px;
  padding: 76px 0;
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
  background: var(--pd-paper);
}

.pd-register-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.pd-input-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pd-input-button {
  min-height: 48px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid var(--pd-line);
  background: transparent;
  color: #58615c;
  cursor: pointer;
  font-size: 0.88rem;
  text-align: left;
}

.pd-input-button:hover,
.pd-input-button:focus-visible,
.pd-input-button.is-active {
  background: var(--pd-ink);
  color: #fff;
  outline: none;
}

.pd-text-link {
  margin-top: 22px;
  color: var(--pd-clay);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
}

.pd-text-link:hover,
.pd-text-link:focus-visible,
.pd-context-links a:hover,
.pd-context-links a:focus-visible {
  color: var(--color-primary-dark);
}

.pd-register {
  min-width: 0;
}

.pd-register-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 30px;
}

.pd-register-heading h3 {
  color: var(--pd-ink);
  font-family: var(--font-display);
  font-size: 2.05rem;
}

.pd-register-heading > p {
  color: #59625d;
  line-height: 1.72;
}

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

.pd-state {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
  background: #fff;
}

.pd-state span {
  display: block;
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pd-state p {
  color: #4d5651;
  font-size: 0.9rem;
  line-height: 1.68;
}

.pd-state-specified {
  box-shadow: inset 4px 0 0 var(--pd-green);
}

.pd-state-visible {
  box-shadow: inset 4px 0 0 var(--pd-blue);
}

.pd-state-assumed {
  box-shadow: inset 4px 0 0 #b38a49;
}

.pd-state-open {
  box-shadow: inset 4px 0 0 var(--pd-clay);
}

.pd-decision-system,
.pd-approval-section,
.pd-evidence-boundary,
.pd-reference-section,
.pd-related,
.pd-faq-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.pd-decision-rows {
  border-top: 1px solid var(--pd-line);
}

.pd-decision-rows article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid var(--pd-line);
}

.pd-decision-rows article > span {
  color: var(--pd-clay);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.pd-decision-rows h3 {
  margin-bottom: 7px;
  color: var(--pd-ink);
  font-size: 1rem;
}

.pd-decision-rows p {
  max-width: 860px;
  color: #5d6661;
  font-size: 0.9rem;
  line-height: 1.68;
}

.pd-output-band {
  padding: 78px 0;
  background: var(--pd-ink);
  color: #fff;
}

.pd-section-heading-light h2,
.pd-section-heading-light > p,
.pd-output-band .seo-eyebrow {
  color: #fff;
}

.pd-section-heading-light > p {
  opacity: 0.72;
}

.pd-output-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.pd-output-option {
  appearance: none;
  min-height: 210px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.pd-output-option:hover,
.pd-output-option:focus-visible,
.pd-output-option.is-active {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 4px 0 var(--pd-clay);
  outline: none;
}

.pd-output-grid h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.95rem;
}

.pd-output-grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  line-height: 1.7;
}

.pd-output-reading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.pd-output-reading > div {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.pd-output-reading > div:last-child {
  border-right: 0;
}

.pd-output-reading span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pd-output-reading strong {
  display: block;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.65;
}

.pd-approval-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--pd-line);
  background: var(--pd-line);
}

.pd-approval-grid article {
  min-height: 168px;
  padding: 25px;
  background: #fff;
}

.pd-approval-grid h3 {
  min-height: 46px;
  margin-bottom: 13px;
  color: var(--pd-green);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.pd-approval-grid p {
  color: #5e6762;
  font-size: 0.84rem;
  line-height: 1.65;
}

.pd-context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 24px;
}

.pd-context-links a {
  color: var(--pd-clay);
  font-size: 0.82rem;
  font-weight: 750;
}

.pd-evidence-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 10px;
  padding-bottom: 24px;
}

.pd-case-note,
.pd-handover-note {
  min-height: 390px;
  padding: 48px;
}

.pd-case-note {
  background: var(--pd-clay-pale);
}

.pd-handover-note {
  background: var(--pd-blue-pale);
}

.pd-case-note h2,
.pd-handover-note h2 {
  max-width: 470px;
  margin-bottom: 22px;
  color: var(--pd-ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.3;
}

.pd-case-note > p:not(.pd-panel-label),
.pd-handover-note > p:not(.pd-panel-label) {
  margin-bottom: 20px;
  color: #505a54;
  font-size: 0.9rem;
  line-height: 1.75;
}

.pd-boundary-copy {
  color: #68716c;
  font-size: 0.82rem;
  line-height: 1.7;
}

.pd-handover-note ul {
  margin-bottom: 22px;
  border-top: 1px solid rgba(88, 117, 138, 0.3);
}

.pd-handover-note li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(88, 117, 138, 0.3);
  font-size: 0.84rem;
}

.pd-evidence-boundary {
  max-width: 1100px;
}

.pd-evidence-table {
  border-top: 1px solid var(--pd-line);
}

.pd-evidence-table > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--pd-line);
}

.pd-evidence-table strong {
  color: var(--pd-ink);
  font-size: 0.86rem;
}

.pd-evidence-table p {
  color: #606964;
  font-size: 0.82rem;
  line-height: 1.68;
}

.pd-reference-section {
  border-top: 1px solid var(--pd-line);
}

.pd-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pd-reference-grid a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--pd-line);
  background: #fff;
}

.pd-reference-grid a:hover,
.pd-reference-grid a:focus-visible {
  border-color: var(--pd-green);
  background: var(--pd-green-pale);
  outline: none;
}

.pd-reference-grid img {
  width: 150px;
  height: auto;
  aspect-ratio: 3 / 4;
  background: #f0f1ef;
  object-fit: contain;
}

.pd-reference-grid span,
.pd-related-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--pd-clay);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pd-reference-grid h3 {
  margin-bottom: 8px;
  color: var(--pd-ink);
  font-size: 1rem;
  line-height: 1.35;
}

.pd-reference-grid p {
  color: #616a65;
  font-size: 0.8rem;
  line-height: 1.6;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pd-related-grid > * {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--pd-line);
  background: #fff;
}

.pd-related-grid a:hover,
.pd-related-grid a:focus-visible {
  border-color: var(--pd-green);
  background: var(--pd-green-pale);
  outline: none;
}

.pd-related-grid strong {
  display: block;
  color: var(--pd-ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pd-related-grid .is-planned {
  background: #f2f3f1;
}

.pd-related-grid .is-planned span,
.pd-related-grid .is-planned strong {
  color: #747b77;
}

.pd-faq-section {
  border-top: 1px solid var(--pd-line);
}

.pd-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--pd-line);
  border-left: 1px solid var(--pd-line);
}

.pd-faq-list article {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
}

.pd-faq-list h3 {
  margin-bottom: 14px;
  color: var(--pd-ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
}

.pd-faq-list p {
  color: #5c6560;
  font-size: 0.86rem;
  line-height: 1.72;
}

.pd-project-cta {
  margin-top: 0;
  margin-bottom: 96px;
}

@media (max-width: 1024px) {
  .product-development-page .subpage-header h1 {
    font-size: 3.7rem;
  }

  .pd-section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 36px;
  }

  .pd-output-grid,
  .pd-approval-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-reference-grid a {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .pd-reference-grid img {
    width: 120px;
  }
}

@media (max-width: 820px) {
  .pd-register-layout {
    grid-template-columns: 1fr;
  }

  .pd-input-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pd-input-rail .pd-panel-label,
  .pd-input-rail .pd-text-link {
    grid-column: 1 / -1;
  }

  .pd-input-button {
    border: 1px solid var(--pd-line);
  }

  .pd-evidence-table > div {
    grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .product-development-page .subpage-header {
    min-height: 0;
    padding: 112px 0 54px;
  }

  .product-development-page .subpage-header h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .product-development-page .subpage-header p:not(.seo-eyebrow) {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .pd-page > .container:first-child {
    padding-top: 34px;
  }

  .pd-starting-section {
    margin-top: 34px;
    padding: 54px 0;
  }

  .pd-section-heading,
  .pd-register-heading,
  .pd-register-grid,
  .pd-output-grid,
  .pd-approval-grid,
  .pd-evidence-pair,
  .pd-evidence-table > div,
  .pd-reference-grid,
  .pd-related-grid,
  .pd-faq-list {
    grid-template-columns: 1fr;
  }

  .pd-section-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .pd-section-heading h2 {
    font-size: 1.65rem;
  }

  .pd-register-heading {
    gap: 14px;
  }

  .pd-register-heading h3 {
    font-size: 1.7rem;
  }

  .pd-state,
  .pd-output-option,
  .pd-approval-grid article,
  .pd-related-grid > *,
  .pd-faq-list article {
    min-height: 0;
  }

  .pd-output-reading {
    grid-template-columns: 1fr;
  }

  .pd-output-reading > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .pd-output-reading > div:last-child {
    border-bottom: 0;
  }

  .pd-decision-system,
  .pd-approval-section,
  .pd-evidence-boundary,
  .pd-reference-section,
  .pd-related,
  .pd-faq-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .pd-decision-rows article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .pd-output-band {
    padding: 56px 0;
  }

  .pd-approval-grid h3 {
    min-height: 0;
  }

  .pd-case-note,
  .pd-handover-note {
    min-height: 0;
    padding: 32px 24px;
  }

  .pd-evidence-table > div {
    gap: 8px;
    padding: 22px 0;
  }

  .pd-evidence-table strong {
    margin-bottom: 4px;
  }

  .pd-reference-grid a {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .pd-reference-grid img {
    width: 92px;
  }

  .pd-faq-list article {
    padding: 24px;
  }

  .pd-project-cta {
    margin-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .product-development-page .subpage-header h1 {
    font-size: 2.12rem;
  }

  .pd-input-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
