/* Public narrative and read-only demo. Operational primitives live in style.css. */
.public-site { background: #0d130e; }
.public-site main { max-width: 1280px; padding: 0 48px; }
.public-site .site-header { background: #0d130e; }
.public-site .header-inner { max-width: 1280px; padding: 20px 48px; }
.public-site .site-footer { max-width: 1184px; margin-top: 40px; }
.public-site h2 { font-size: clamp(28px,3vw,40px); line-height: 1.18; letter-spacing: -1.3px; font-weight: 500; }
.public-site h3 { font-size: 19px; font-weight: 500; }
.public-site .eyebrow { color: var(--accent); font: 11px/1.6 var(--mono); letter-spacing: 1.5px; }
.micro { font-size: 12px; color: var(--muted); line-height: 1.65; }
.demo-label { display: inline-flex; align-items: center; gap: 8px; font: 11px/1.6 var(--mono); letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.demo-label::before { content: ''; width: 5px; height: 5px; border: 1px solid var(--muted); border-radius: 50%; }
.product-opening { padding: 90px 0 48px; }
.product-opening h1 { font-size: clamp(42px,5.4vw,76px); line-height: 1.06; letter-spacing: -3.6px; font-weight: 500; margin: 22px 0 32px; }
.product-opening h1 span { color: var(--accent); }
.opening-bottom { display: grid; grid-template-columns: minmax(0,690px) auto; justify-content: space-between; gap: 40px; align-items: start; }
.opening-bottom .lede { font-size: 18px; max-width: 650px; margin: 0; }
.opening-bottom > div { padding-top: 4px; }
.opening-bottom .micro { max-width: 220px; margin: 12px 0 0; }
/* Signature diagram: provider distribution ends at separate customer boundaries. */
.journey { margin: 0; padding: 24px; border: 1px solid #3f4b36; border-radius: 10px; background: #141c13; box-shadow: 0 20px 60px #0002; }
.journey figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.journey figcaption .demo-label { margin-right: 12px; }
.journey figcaption .technical { font-size: 10px; color: var(--muted); }
.journey-graph { display: grid; grid-template-columns: 192px 58px minmax(0,1fr); align-items: center; padding-top: 24px; }
.release-origin { padding: 22px 18px; border: 1px solid #6d7e50; border-radius: 8px; background: #1c2618; }
.node-kicker { display: block; font: 10px/1.6 var(--mono); text-transform: uppercase; color: var(--accent); margin-bottom: 20px; letter-spacing: .4px; }
.release-origin img { display: block; margin-bottom: 20px; }
.release-origin h3 { font-size: 18px; margin: 0 0 4px; }
.release-origin > p { font-size: 12px; margin-bottom: 16px; }
.release-versions { display: grid; grid-template-columns: 1fr auto; gap: 8px; font: 20px/1.5 var(--mono); margin: 24px 0; }
.release-versions strong { grid-column: 1; font-weight: 500; color: var(--accent); }
.release-versions > span:nth-child(2) { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--accent); font-size: 30px; }
.path-label { color: var(--accent); background: var(--accent-soft); font-weight: 500; }
.release-origin .micro { margin: 16px 0 0; font-size: 11px; }
.branch-lines { width: 100%; height: 100%; min-height: 400px; overflow: visible; }
.branch-lines path { fill: none; stroke: var(--accent); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.branch-lines circle { fill: var(--accent); }
.customer-paths { display: grid; grid-template-rows: repeat(3,1fr); gap: 14px; min-width: 0; }
.customer-path { border: 1px solid #40503c; border-radius: 7px; background: #192119; padding: 16px 18px; }
.customer-path-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-bottom: 14px; }
.customer-path-head > span:last-child { color: var(--muted); font-size: 11px; }
.environment-id { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #5a6c4e; margin-right: 6px; color: var(--accent); font: 10px var(--mono); border-radius: 3px; }
.journey-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; gap: 14px; }
.journey-stages li { position: relative; margin: 0; border-top: 1px solid #4a5942; padding-top: 10px; min-width: 0; transition: border-color .2s ease, background-color .2s ease; }
.journey-stages li::after { content: ''; width: 4px; height: 4px; position: absolute; right: 0; top: -3px; background: #4a5942; border-radius: 50%; }
.journey-stages .stage-number { display: block; font: 11px var(--mono); color: var(--muted); margin-bottom: 4px; }
.journey-stages strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.5; }
.journey-stages li > span:last-child { color: var(--muted); display: block; font-size: 12px; margin-top: 4px; }
.journey-stages li.stage-selected { border-color: var(--accent); background: #263123; }
.journey-stages li.stage-selected::after { background: var(--accent); }
.path-outcome { margin: 12px 0 0; font-size: 12px; color: var(--ink); }
.path-outcome .micro { font-size: 11px; }
.status-dot { display: inline-block; width: 5px; height: 5px; margin-right: 6px; background: #a7b3a0; border-radius: 50%; }
.blocked .path-outcome { color: var(--caution); }
.blocked .status-dot { background: var(--caution); }
.status-return { margin-top: 24px; padding: 16px 0 0; border-top: 1px dashed #56654a; display: flex; gap: 16px; align-items: start; }
.status-return > span { font-size: 22px; color: var(--muted); }
.status-return p { margin: 0; font-size: 12px; }
.status-return strong { color: var(--ink); font-weight: 500; }
.journey-explore { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stage-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-controls button { min-height: 44px; font-size: 12px; padding: 6px 12px; font-weight: 500; }
.stage-controls [aria-pressed=true] { color: var(--accent); border-color: #879b62; background: var(--accent-soft); }
.journey-explore p { flex-basis: 100%; margin: 0; font-size: 12px; max-width: 900px; }
/* Narrative sections use space and ruled divisions, not repeated card stacks. */
.site-section { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
.section-intro { max-width: 680px; margin-bottom: 32px; }
.section-intro p:last-child { font-size: 16px; margin-bottom: 0; }
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; }
.problem-copy .lede { font-size: 17px; }
.offering-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding-top: 32px; }
.offering-grid article { border-top: 1px solid #68744f; padding-top: 20px; }
.offering-grid h3 { margin-top: 16px; }
.offering-grid p { font-size: 14px; margin-bottom: 0; }
/* Read-only demonstration. All panels are usable without JavaScript. */
.migration-demo { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.demo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.demo-toolbar strong { display: block; font: 18px var(--display); margin-top: 8px; }
.demo-toolbar strong .technical { font-size: 14px; margin-left: 12px; }
.demo-tabs { gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--line); background: #121a13; }
.demo-tabs a { font-size: 13px; padding: 14px 20px; border-bottom: 2px solid transparent; min-height: 50px; }
.demo-tabs [aria-selected=true] { color: var(--accent); border-bottom-color: var(--accent); }
.demo-panel { padding: 32px 28px; scroll-margin-top: 20px; }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.demo-panel h3 { margin-top: 0; font-size: 21px; }
.panel-intro { max-width: 760px; margin-bottom: 28px; }
.panel-intro p { font-size: 14px; margin-bottom: 0; }
.code-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.code-comparison > div { min-width: 0; }
.code-caption { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: 5px 5px 0 0; background: #20291f; font: 11px var(--mono); }
.diff-before { color: #dfb4aa; }
.diff-after { color: var(--accent); }
.code-comparison pre { margin: 0; padding: 20px 16px; min-height: 220px; border-radius: 0 0 5px 5px; line-height: 1.85; font-size: 12px; }
.code-comparison code { font-size: inherit; }
.demo-detail { border-top: 1px solid var(--line); padding-top: 8px; }
.demo-detail p { font-size: 13px; margin-top: 16px; }
.verification-record { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.verification-record dl { margin: 0; }
.verification-record dl > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.verification-record dd { margin: 0; font: 11px var(--mono); text-align: right; }
.verification-record aside { border-left: 1px solid var(--line); padding-left: 32px; }
.verification-record aside h3 { margin-top: 16px; font-size: 20px; }
.verification-record aside p { font-size: 13px; }
.evidence-source { border-top: 1px solid var(--line); padding-top: 20px; margin: 24px 0 0; }
.pr-preview { border: 1px solid var(--line); border-radius: 6px; }
.pr-title { padding: 20px 24px; display: flex; gap: 16px; align-items: start; background: #20291f; }
.pr-title h4 { font-size: 18px; margin: 0; font-weight: 500; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 11px var(--mono); color: var(--muted); padding: 16px 24px; border-bottom: 1px solid var(--line); }
.pr-body { padding: 24px; font-size: 14px; }
.pr-body h4 { font-size: 15px; margin: 20px 0 8px; }
.pr-body h4:first-child { margin-top: 0; }
.pr-body .note { margin-bottom: 0; }
.blocked-example { padding: 16px 24px; background: #211f17; border: 1px solid #67583b; border-radius: 6px; margin-top: 24px; }
.blocked-example summary { font-weight: 400; }
.blocked-example summary .pill { margin-right: 12px; }
.blocked-example > div { max-width: 820px; padding-top: 12px; font-size: 14px; }
.progress-preview { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 48px; }
.progress-surface { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.surface-heading { display: flex; justify-content: space-between; gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.progress-surface table { min-width: 620px; }
.progress-surface td { font-size: 12px; }
.progress-surface > .micro { padding: 16px 20px; margin: 0; border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; margin: 40px 0 24px; }
.trust-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
.trust-grid h3 { margin-top: 12px; }
.trust-grid p { font-size: 14px; }
.trust-icon { font: 24px var(--mono); color: var(--accent); }
.text-action { display: inline-block; font-size: 14px; padding: 8px 0; }
.availability { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.availability-pack { border-left: 2px solid var(--accent); padding-left: 32px; }
.availability-pack h3 { margin: 12px 0; font-size: 25px; }
.availability-pack .versions { font-size: 20px; margin: 20px 0; }
.availability-pack ul { font-size: 13px; color: var(--muted); }
.availability-pack .micro { margin-top: 24px; }
.closing { padding: 80px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing h2 { margin: 24px 0 32px; font-size: 44px; }
/* Separate, readable vertical journey for tablets and phones. */
@media(max-width: 1050px) {
  .public-site .header-inner { padding: 20px 32px; }
  .public-site main { padding: 0 32px; }
  .journey-graph { grid-template-columns: 170px 40px minmax(0,1fr); }
  .customer-path { padding: 14px 12px; }
  .journey-stages { gap: 8px; }
  .progress-preview { grid-template-columns: 1fr; gap: 16px; }
  .progress-preview .section-intro { margin-bottom: 12px; }
}
@media(max-width: 900px) {
  .public-site .header-inner { flex-wrap: wrap; }
  .public-site .header-inner nav { flex-wrap: wrap; gap: 16px; }
  .journey-graph { grid-template-columns: 1fr; gap: 24px; }
  .branch-lines { display: none; }
  .release-origin { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 20px; align-items: center; }
  .release-origin .node-kicker { grid-column: 1 / -1; margin-bottom: 8px; }
  .release-origin img { grid-column: 1; grid-row: 2 / 4; margin: 0; }
  .release-origin h3 { grid-column: 2; grid-row: 2; }
  .release-origin > p { grid-column: 2; margin: 0; }
  .release-versions { grid-column: 3; grid-row: 2 / 4; margin: 0; grid-template-columns: auto auto auto; font-size: 18px; align-items: center; }
  .release-versions strong { grid-column: 3; }
  .release-versions > span:nth-child(2) { grid-column: 2; grid-row: 1; font-size: 24px; }
  .release-origin > .pill { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .release-origin .micro { grid-column: 1 / -1; }
  .customer-paths { position: relative; border-left: 1px solid var(--accent); padding-left: 20px; grid-template-rows: auto; }
  .customer-paths::before { content: ''; position: absolute; left: -1px; top: -24px; height: 24px; border-left: 1px solid var(--accent); }
  .customer-path { position: relative; }
  .customer-path::before { content: ''; position: absolute; left: -21px; top: 28px; width: 20px; border-top: 1px solid var(--accent); }
  .customer-path-head { font-size: 12px; }
  .journey-stages strong { font-size: 12px; }
  .journey-stages li > span:last-child { font-size: 11px; }
  .opening-bottom { grid-template-columns: 1fr; gap: 24px; }
  .opening-bottom .micro { max-width: none; }
  .problem,.availability { gap: 32px; }
  .verification-record { grid-template-columns: 1fr; gap: 24px; }
  .verification-record aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
}
@media(max-width: 650px) {
  .public-site .header-inner { padding: 16px 20px; }
  .public-site main { padding: 0 20px; }
  .public-site .header-inner nav { gap: 8px 16px; }
  .product-opening { padding: 48px 0 32px; }
  .product-opening h1 { font-size: clamp(36px,9.5vw,52px); letter-spacing: -1.8px; margin: 20px 0 24px; }
  .opening-bottom .lede { font-size: 16px; }
  .journey { padding: 18px; }
  .journey figcaption { align-items: start; flex-direction: column; gap: 8px; }
  .journey figcaption .demo-label { display: flex; margin-bottom: 8px; }
  .release-origin { grid-template-columns: auto 1fr; padding: 16px; }
  .release-versions { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; justify-self: start; }
  .customer-path-head { flex-direction: column; gap: 4px; }
  .journey-stages { grid-template-columns: 1fr; padding-left: 12px; border-left: 1px solid #526145; gap: 14px; }
  .journey-stages li { padding: 0 0 0 10px; border-top: 0; display: grid; grid-template-columns: 18px 1fr; gap: 0 6px; }
  .journey-stages li::after { left: -15px; top: 6px; right: auto; }
  .journey-stages .stage-number { grid-column: 1; grid-row: 1 / 3; margin-top: 2px; }
  .journey-stages strong { grid-column: 2; }
  .journey-stages li > span:last-child { grid-column: 2; margin-top: 2px; }
  .path-outcome .micro { display: block; margin-left: 12px; }
  .journey-explore { gap: 8px; }
  .stage-controls button { min-height: 44px; }
  .site-section { padding: 56px 0; }
  .problem,.offering-grid,.trust-grid,.availability,.code-comparison { grid-template-columns: 1fr; gap: 24px; }
  .problem .section-intro { margin-bottom: 0; }
  .offering-grid { padding-top: 8px; }
  .demo-toolbar { align-items: start; flex-direction: column; gap: 12px; padding: 20px; }
  .demo-toolbar strong .technical { display: block; margin: 10px 0 0; }
  .demo-tabs { width: auto; padding: 0 10px; gap: 0; }
  .demo-tabs a { padding: 12px 16px; }
  .demo-panel { padding: 24px 18px; }
  .code-comparison pre { font-size: 11px; min-height: 0; padding: 16px 12px; }
  .code-caption { padding: 12px; }
  .pr-title { flex-direction: column; padding: 18px; }
  .pr-title h4 { font-size: 16px; }
  .pr-meta,.pr-body { padding: 18px; }
  .blocked-example { padding: 12px 18px; }
  .blocked-example summary .pill { display: flex; width: fit-content; margin-bottom: 10px; }
  .surface-heading { flex-direction: column; }
  .availability-pack { padding-left: 20px; }
  .closing { padding: 56px 0; }
  .closing h2 { font-size: 32px; }
}
@media(prefers-reduced-motion: reduce) { .journey-stages li { transition: none; } }
