/* DPC Homepage composition v1. Consumes STEP tokens; does not redefine the shared
   theme. IconHeading is one component across recognition, journey and outcomes.
   Typography roles derive from C-008 and the public About body/section scale. */
:root {
  color-scheme:light;
  --green:var(--step-color-brand-forest); --ink:var(--step-color-ink-primary);
  --ink-soft:var(--step-color-ink-secondary); --line:var(--step-color-surface-line);
  --paper:var(--step-color-surface-white);
  --home-gutter:var(--dpc-page-gutter);
  --home-section:var(--step-spacing-exception-48);
  --home-icon:var(--step-spacing-exception-48);
}
.hero-content,.stage-copy,.dpc-icon-heading>* {min-width:0}
.hero-content {min-width:0}
/* Keyboard skip link sits one level above the shared header (1000). */
.skip-link {position:absolute;left:20px;top:12px;z-index:1001;transform:translateY(-160%);padding:12px;background:var(--green);color:var(--paper)}
.skip-link:focus {transform:none}
.hero {padding:var(--step-spacing-32) 0;border-bottom:1px solid var(--line)}
.hero-grid {display:grid;align-items:center;gap:var(--step-spacing-32)}
.hero-heading h1 {font-weight:400}
.hero-heading h1>span {display:block}
.hero-rule {width:64px;height:2px;background:var(--green);margin:24px 0}
.hero-copy {max-width:56ch;text-wrap:pretty}
.hero-actions {display:flex;flex-wrap:wrap;gap:var(--step-spacing-12);margin-top:var(--step-spacing-24)}
.hero-actions .button {flex:1 1 auto}
/* DPC-HOME-HERO-COMPOSITION v2 candidate; owner:
   ../tests/dpc-home-hero-composition.json. The bounded group grows from 1360
   to 1648px. Its copy/art/legend tracks and gaps share one growth parameter;
   surplus canvas stays equally outside the group. Typography roles are locked.
   Native unfiltered region Y=-8..520 has centre 256, 20 source units above the
   viewBox centre. A derived copy end-margin aligns both visible centres.
   Native dashed leaders retain frame Y128/230/330 and the 8px icon gap.
   Execution retains frame centre441, without a fourth leader. */
.hero {container:home-hero / inline-size;--hero-marker:var(--step-spacing-32)}
.visual-wrap {min-width:0;width:100%;justify-self:stretch}
.hero-assembly-layout {display:grid;gap:var(--step-spacing-24)}
.hero-visual {width:100%;max-width:480px;justify-self:center;color:var(--green)}
.hero-visual-svg {display:block;width:100%;height:auto;overflow:visible;fill:none;stroke:none}
.hero-legend {list-style:none;margin:0;padding:0;display:grid;gap:var(--step-spacing-24)}
.hero-pillar {min-width:0;display:grid;grid-template-columns:var(--hero-marker) minmax(0,1fr);gap:var(--step-spacing-12);align-items:start}
.hero-callout-symbol {align-self:start;display:block;width:var(--hero-marker);height:var(--hero-marker);overflow:visible}
.hero-pillar-title {display:flex;align-items:center;min-height:var(--hero-marker);font-size:var(--step-typography-scale-20);font-weight:400;line-height:1.4;color:var(--green)}
.hero-pillar-copy {margin-top:var(--step-spacing-4);font-size:var(--step-typography-scale-16);font-weight:400;line-height:1.5}
@container home-hero (min-width:600px) {
 .hero-legend {grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Intermediate composition shares two columns and a full-width explanatory rail.
   Wrappers are presentational; reading order remains copy, native art, legend. */
@container home-hero (min-width:700px) and (max-width:1439px) {
 .hero-grid {grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}
 .visual-wrap,.hero-assembly-layout {display:contents}
 .hero-visual {grid-column:2;grid-row:1}
 .hero-legend {grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);padding-top:var(--step-spacing-24)}
}
@container home-hero (min-width:1100px) and (max-width:1439px) {
 .hero-legend {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@container home-hero (min-width:1440px) {
 .hero-grid {--composition-growth:clamp(0px,calc(100cqw - 2 * var(--home-gutter) - 1360px),288px);--copy-width:calc(456px + var(--composition-growth) / 2);--art-width:calc(448px + var(--composition-growth) / 3);--legend-width:calc(416px + var(--composition-growth) / 9);--composition-gap:calc(32px + var(--composition-growth) / 18);max-width:1648px;grid-template-columns:var(--copy-width) calc(var(--art-width) + 8px + var(--legend-width));gap:var(--composition-gap);align-items:center}
 .hero-content,.visual-wrap {align-self:center}
 .hero-content {margin-block-end:calc(40 * var(--art-width) / 682)}
 .hero-copy {max-width:none;font-size:var(--step-typography-scale-20)}
 .hero-assembly-layout {--diagram-height:calc(var(--art-width) * 576 / 682);grid-template-columns:var(--art-width) var(--legend-width);gap:var(--step-spacing-8);align-items:start}
 .hero-visual {width:var(--art-width);max-width:none;align-self:start;justify-self:start}
 .hero-legend {display:grid;grid-template-columns:1fr;grid-template-rows:calc(var(--diagram-height) * 128 / 576 - var(--hero-marker) / 2) minmax(calc(var(--diagram-height) * 102 / 576),max-content) minmax(calc(var(--diagram-height) * 100 / 576),max-content) minmax(calc(var(--diagram-height) * 111 / 576),max-content) auto;gap:0}
 .hero-pillar {align-self:start;padding-bottom:var(--step-spacing-4)}
 .hero-pillar:nth-child(1) {grid-row:2}
 .hero-pillar:nth-child(2) {grid-row:3}
 .hero-pillar:nth-child(3) {grid-row:4}
 .hero-pillar:nth-child(4) {grid-row:5}
 .hero-level-dashes {display:block}
}
@container home-hero (min-width:1600px) {
 .hero-grid {--hero-marker:var(--step-spacing-40)}
 .hero-heading h1 {font-size:var(--step-typography-scale-48)}
}
.hero-level-dashes {display:none;fill:none;stroke:#7d8388;stroke-width:1.75;stroke-dasharray:13 12;stroke-linecap:round}
@container home-hero (min-width:1440px) {.hero-level-dashes {display:block}}
.home-section {padding:var(--home-section) 0;border-bottom:1px solid var(--line)}
.home-section h2 {text-align:center;margin-bottom:var(--step-spacing-32)}
.home-section h2::after {content:"";display:block;width:48px;height:2px;background:var(--green);margin:var(--step-spacing-16) auto 0}
.section-lead {text-align:center;margin:0 auto var(--step-spacing-32)}
/* Shared explanatory-section roles. The hero and later sections retain their owners. */
.explanation-section .container {max-width:1648px} /* DPC-HOME-HERO-COMPOSITION v2 maximum; centred by .container. */
.insight h2::after,.process-outcomes-section h2::after,.fit h2::after {content:none}
/* Chris-approved local lighter presentation: native source paths/viewBox retained.
   Stroke adaptation and offer/conversion mappings await Brand source admission. */
.explanation-section [data-icon-presentation="home-light-candidate"]::before {content:none}
.explanation-section [data-icon-presentation="home-light-candidate"] svg {display:block;width:100%;height:100%;color:var(--green);stroke-width:1.25}
/* Same rendered stroke for the STEP target's native48-unit coordinate system. */
.explanation-section [data-icon-presentation="home-light-candidate"] svg[data-icon-grid="48"] {stroke-width:2.5}
/* Registered SVG source, exact geometry and intrinsic stroke ratio. */
.dpc-icon {display:flex;align-items:center;justify-content:center;flex:none;width:var(--home-icon);height:var(--home-icon)}
.dpc-icon::before {content:"";display:block;width:100%;height:100%;background:var(--green);mask:var(--dpc-icon-source) center/contain no-repeat;-webkit-mask:var(--dpc-icon-source) center/contain no-repeat}
.dpc-icon-heading {display:grid;grid-template-columns:var(--home-icon) minmax(0,1fr);gap:var(--step-spacing-16);align-items:center}
.dpc-icon-heading h3 {margin:0;padding:0}
.signal-list,.outcomes {display:grid;gap:var(--step-spacing-24)}
.signal,.outcome {display:grid;align-content:start;gap:var(--step-spacing-16);padding-bottom:var(--step-spacing-24);border-bottom:1px solid var(--line)}
.signal:last-child,.outcome:last-child {border-bottom:0;padding-bottom:0}
.signal p,.outcome p {margin:0}
.insight {background:var(--step-color-surface-panel)}
.insight-grid,.cause-list {display:grid;gap:var(--step-spacing-24)}
.cause {display:grid;align-items:center;gap:var(--step-spacing-24);padding:var(--step-spacing-24);background:var(--paper);border-left:4px solid var(--green)}
.cause p {margin:0;font-weight:400}
.dpc-relation {display:flex;align-items:center;gap:var(--step-spacing-12)}
.dpc-relation .dpc-icon:nth-child(2) {width:32px;height:32px}
.thesis {display:grid;gap:var(--step-spacing-24);padding:var(--step-spacing-24);background:var(--green);border-radius:var(--step-radius-default);color:var(--step-color-ink-inverse)}
.thesis p {color:inherit;font-weight:var(--step-typography-weight-regular)}
.thesis-statement {font-size:var(--step-typography-scale-24);line-height:1.4;text-wrap:pretty}
.question-label {font-size:var(--step-typography-scale-16)}
.question-text {font-size:var(--step-typography-scale-20);line-height:1.4;text-wrap:pretty}
.question-pair {display:grid;gap:var(--step-spacing-24);padding-top:var(--step-spacing-24);border-top:1px solid currentColor}
.question-pair p+p {margin-top:var(--step-spacing-8)}
/* The rail is a separate track. Its segments meet through the inter-row gap;
   the last segment ends at its marker, never behind the card. */
.journey {list-style:none;margin:0;padding:0;display:grid;gap:var(--step-spacing-24)}
.journey li {position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:var(--step-spacing-16)}
.journey li:not(:last-child)::before {content:"";position:absolute;left:15px;top:40px;height:calc(100% + 24px);width:2px;background:var(--green)}
.stage-number {grid-column:1;grid-row:1;align-self:start;z-index:1;display:grid;place-items:center;width:32px;height:32px;margin-top:24px;border-radius:50%;background:var(--green);color:var(--paper);font-size:var(--step-typography-scale-18);font-weight:var(--step-typography-weight-regular)}
.stage-copy {grid-column:2;display:grid;align-content:start;gap:var(--step-spacing-16);padding:var(--step-spacing-24);border:1px solid var(--line);border-radius:var(--step-radius-default);background:var(--paper)}
.stage-copy p {margin:0}
/* Chris-approved local adoption accent candidate; not a shared brand palette mutation. */
.stage-copy {--stage-inset:var(--step-spacing-24)}
.stage-copy .adoption-note {display:block;margin:0 calc(-1 * var(--stage-inset)) calc(-1 * var(--stage-inset));padding:var(--stage-inset);border:0;border-radius:0 0 var(--step-radius-default) var(--step-radius-default);background:#D93616;color:#FFFFFF;font-weight:var(--step-typography-weight-regular)}
@media(min-width:1440px) {.stage-copy {--stage-inset:var(--step-spacing-20)}}
.fit h2 {margin-bottom:var(--step-spacing-24)}
.fit-grid {display:grid;gap:var(--step-spacing-16)}
.fit-statement,.fit-grid>div>p,.fit-close {text-align:center}
.fit-statement,.fit-close,.close-lead {font-size:var(--step-typography-scale-18);font-weight:400}
.fit-statement {color:var(--ink)}
.trigger-list {list-style:none;padding:0;margin:var(--step-spacing-24) 0 0;display:grid;gap:var(--step-spacing-16)}
.trigger-list li {display:grid;grid-template-columns:var(--home-icon) minmax(0,1fr);gap:var(--step-spacing-16);align-items:center;padding:var(--step-spacing-24);border:1px solid var(--line);border-radius:var(--step-radius-default);background:var(--step-color-surface-panel);color:var(--ink-soft)}
.fit-close {margin-top:var(--step-spacing-32);color:var(--green)}
.credibility-grid,.close-grid {display:grid;gap:var(--step-spacing-24)}
.credibility-grid {align-items:start}
.credibility-grid p {max-width:72ch}
.credibility-grid .text-link {margin-top:0;justify-self:start}
.text-link {display:inline-flex;align-items:center;min-height:44px;margin-top:var(--step-spacing-16);color:var(--green);text-underline-offset:5px}
.commercial {border:0}
.commercial h2 {margin-bottom:var(--step-spacing-16)}
.commercial h2::after {content:none}
.close-lead {text-align:center;color:var(--green);margin-bottom:var(--step-spacing-24)}
.close-grid {align-items:stretch}
.clarify-panel {padding:var(--step-spacing-24);background:var(--step-color-surface-panel);border:1px solid var(--line);border-radius:var(--step-radius-default)}
.clarify-list {list-style:none;padding:0;margin:var(--step-spacing-16) 0 0;display:grid;gap:var(--step-spacing-8)}
.clarify-list li {position:relative;padding-left:var(--step-spacing-24)}
.clarify-list li::before {content:"✓";position:absolute;left:0;color:var(--green)}
.cta-panel {display:grid;align-items:center;gap:var(--step-spacing-24);padding:var(--step-spacing-32) var(--step-spacing-24);border-radius:var(--step-radius-default);background:radial-gradient(circle at 70% 45%,rgba(255,255,255,.16),transparent 18rem),linear-gradient(120deg,#005b4d,#073d35);color:var(--paper)}
.cta-illustration {width:100%;max-width:320px;justify-self:center}
.cta-graph {display:block;width:100%;height:auto;opacity:.9;pointer-events:none}
.email-action {display:flex;align-items:center;justify-content:center;gap:var(--step-spacing-8);min-height:44px;color:var(--paper);font-size:var(--step-typography-scale-16);font-weight:400;text-decoration:none;overflow-wrap:anywhere}
.email-action svg {flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.cta-panel a:focus-visible {outline-color:var(--paper)}
@media(min-width:700px) {
 :root {--home-section:var(--step-spacing-exception-64)}
 .hero-actions .button {flex:0 1 auto}
 .signal-list,.outcomes,.trigger-list {grid-template-columns:repeat(2,minmax(0,1fr))}
 .signal,.outcome {border-bottom:0;padding:0}
 .signal,.outcome {grid-row:span 2;grid-template-rows:subgrid;row-gap:var(--step-spacing-16)}
 .cause {grid-template-columns:152px minmax(0,1fr)}
 .question-pair {grid-template-columns:repeat(2,minmax(0,1fr))}
 .cta-panel {grid-template-columns:repeat(2,minmax(0,1fr))}
 .cta-actions {align-content:center}
}
@media(min-width:1100px) {
 .cause-list,.credibility-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .close-grid {grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
 .thesis {grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;padding:var(--step-spacing-32)}
 .question-pair {border-top:0;border-left:1px solid currentColor;padding:0 0 0 24px}
 .trigger-list {grid-template-columns:repeat(3,minmax(0,1fr))}
 .cta-panel {grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);padding:var(--step-spacing-24)}
 .cta-actions {grid-column:auto;grid-template-columns:1fr}
}
@media(min-width:1440px) {
 .signal-list,.outcomes {grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--step-spacing-32)}
 .signal,.outcome {border-right:1px solid var(--line);padding-right:var(--step-spacing-32)}
 .signal:last-child,.outcome:last-child {border:0;padding-right:0}
 /* Marker, heading, description and optional note share intrinsic rows.
    Card edges align without fixing their height or padding short copy. */
 .journey {grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:32px auto auto auto;gap:var(--step-spacing-16)}
 .journey li {grid-row:span 4;grid-template-columns:1fr;grid-template-rows:subgrid;gap:var(--step-spacing-16)}
 .journey li:not(:last-child)::before {left:50%;top:15px;height:2px;width:calc(100% + 16px)}
 .stage-number {margin:0;justify-self:center}
 .stage-copy {--stage-note-gap:calc(var(--step-spacing-2) / 2);grid-column:1;grid-row:2 / span 3;grid-template-rows:subgrid;row-gap:var(--stage-note-gap);padding:var(--step-spacing-20)}
 .stage-copy>.dpc-icon-heading {grid-row:1;margin-bottom:calc(var(--step-spacing-16) - var(--stage-note-gap))}
 .stage-copy>p:not(.adoption-note) {grid-row:2}
 .stage-copy>.adoption-note {grid-row:3}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto}*,*::before,*::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* Keep the stacked process and its rail one readable group before five columns fit. */
@media (min-width:700px) and (max-width:1439px) {
  .process-outcomes-section .journey {max-width:960px;margin-inline:auto}
}

/* Audience cards share intrinsic row height when shown as a grid. */
@media(min-width:700px) {.fit .trigger-list {grid-auto-rows:1fr}}
