/* Marketing keeps the Gyasi tokens. Document tokens follow the live PI workspace. */
.pi-page { --doc-navy: #24364a; --doc-ink: #1b1f23; --doc-muted: #5f6b76; --doc-rule: #c9d1d9; --doc-soft: #f3f5f7; --doc-amber: #7a4b00; --doc-amber-bg: #fff8e6; }
.pi-intro { padding-block: 40px 58px; }
.pi-intro-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pi-solution-index { font-size: 11px; color: var(--muted); }
.pi-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: end; margin-top: 42px; }
.pi-intro h1 { font-size: clamp(48px, 5.3vw, 82px); font-weight: 500; letter-spacing: -.065em; line-height: 1.04; }
.pi-intro h1 span { color: var(--accent); }
.pi-intro-copy { padding-bottom: 6px; max-width: 550px; }
.pi-product-label { color: var(--ink); font-size: 14px; margin: 0; }
.pi-intro .lede { font-size: 17px; margin: 14px 0 25px; max-width: 450px; }
.pi-intro .hero-actions { gap: 26px; }
.pi-explore { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; min-height: 48px; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.pi-explore:hover { color: var(--accent); border-color: var(--accent); }
.pi-intro h1, .pi-intro-copy { animation: rise .65s both; }
.pi-intro-copy { animation-delay: .12s; }
.pi-showcase { padding-bottom: 80px; scroll-margin-top: 24px; }
.pi-showcase-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line); }
.pi-showcase-heading h2 { font-size: clamp(18px, 1.8vw, 25px); letter-spacing: -.035em; font-weight: 500; }
.pi-showcase-heading > span { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.pi-showcase-heading i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.sample-workspace { color-scheme: light; color: var(--doc-ink); background: #eef1f4; border: 1px solid #40514c; border-radius: 8px; box-shadow: 0 24px 70px #0003; }
.sample-workspace :focus-visible { outline-color: #176a80; }
.workspace-masthead { display: flex; align-items: center; gap: 24px; padding: 19px 28px; background: var(--doc-navy); color: #fff; border-radius: 7px 7px 0 0; font-size: 12px; }
.workspace-masthead > div { display: flex; align-items: center; gap: 14px; }
.workspace-monogram { font-family: 'Space Grotesk', sans-serif; font-size: 22px; color: var(--accent-light); }
.workspace-masthead p { margin: 0; padding-left: 24px; border-left: 1px solid #728191; color: #dae3ed; }
.workspace-masthead p span { margin-inline: 8px; color: #a9b9ca; }
.sample-badge { margin-left: auto; padding: 5px 10px; border: 1px solid #6d8094; border-radius: 3px; font-size: 10px; }
.stage-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-bottom: 1px solid var(--doc-rule); }
.stage-controls > a { display: flex; align-items: center; gap: 13px; padding: 21px 28px; position: relative; border-right: 1px solid #e1e6eb; border-bottom: 3px solid transparent; transition: background .2s, border-color .2s; }
.stage-controls > a:last-child { border-right: 0; }
.stage-controls > a:hover { background: #f1f7f7; }
.stage-controls > a[aria-selected='true'] { border-bottom-color: #147b81; background: #eef8f7; }
.stage-number { color: var(--doc-muted); font: 500 13px 'Space Grotesk', sans-serif; }
.stage-controls strong { display: block; font-weight: 600; font-size: 14px; color: var(--doc-navy); }
.stage-controls small { display: block; font-size: 11px; color: var(--doc-muted); margin-top: 3px; }
.stage-arrow { margin-left: auto; font-size: 17px; color: #6d8490; }
.workspace-body { padding: 30px; }
.sample-js-note { font-size: 12px; line-height: 1.7; padding: 16px 28px; margin: 0; background: #fff8e6; color: var(--doc-amber); }
.workspace-eyebrow { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--doc-muted); margin: 0 0 10px; }
.stage-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.stage-heading h3 { color: var(--doc-navy); font-size: clamp(21px, 2.2vw, 31px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.stage-heading > p { max-width: 250px; margin: 0 0 2px; font-size: 12px; line-height: 1.65; color: var(--doc-muted); }
.stage-panel, .file-panel, .sheet-panel { min-width: 0; scroll-margin-top: 24px; }
.sample-workspace.is-enhanced .stage-panel, .sample-workspace.is-enhanced .file-panel, .sample-workspace.is-enhanced .sheet-panel { animation: workspace-in .25s ease-out; }
@keyframes workspace-in { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.sample-workspace:not(.is-enhanced) .stage-panel + .stage-panel { border-top: 1px solid var(--doc-rule); padding-top: 35px; margin-top: 35px; }
.sample-workspace:not(.is-enhanced) .file-panel + .file-panel { margin-top: 25px; }
.sample-workspace:not(.is-enhanced) .sheet-panel + .sheet-panel { border-top: 1px solid var(--doc-rule); margin-top: 25px; }
.chronology-layout { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.65fr); gap: 24px; align-items: start; }
.case-overview { padding: 24px; background: #fff; border: 1px solid #dde3e8; }
.case-overview h4, .surface-heading h4 { margin: 0; color: var(--doc-navy); font-size: 15px; font-weight: 600; }
.case-facts { margin: 20px 0 0; }
.case-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding-block: 10px; border-bottom: 1px solid #e6eaee; font-size: 12px; }
.case-facts dt { color: var(--doc-muted); }
.case-facts dd { margin: 0; font-weight: 600; }
.medical-figure { padding-block: 23px; }
.medical-figure > span { font-size: 11px; color: var(--doc-muted); }
.medical-figure > strong { display: block; color: var(--doc-navy); font: 500 clamp(30px, 3vw, 45px) 'Space Grotesk', sans-serif; letter-spacing: -.055em; margin-block: 5px; }
.medical-figure strong span { font-size: .55em; color: var(--doc-muted); }
.medical-figure small { font-size: 11px; color: var(--doc-muted); }
.review-callout { background: var(--doc-amber-bg); color: var(--doc-amber); display: flex; align-items: flex-start; gap: 11px; padding: 15px; border-left: 2px solid #cfa858; }
.note-marker { flex: 0 0 18px; display: inline-grid; place-items: center; border: 1px solid #c4a262; color: var(--doc-amber); width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; }
.review-callout strong { font-size: 12px; }
.review-callout p { font-size: 11px; line-height: 1.7; margin: 5px 0 0; }
.sample-footnote { color: var(--doc-muted); font-size: 10px; line-height: 1.7; margin: 18px 0 0; }
.timeline-surface { background: #fff; padding: 24px 28px; border: 1px solid #dde3e8; }
.surface-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--doc-rule); padding-bottom: 19px; }
.surface-heading > span { font-size: 10px; color: var(--doc-muted); }
.treatment-timeline { list-style: none; padding: 0; margin: 24px 0 0; }
.treatment-timeline > li { display: grid; grid-template-columns: 74px minmax(0, 1fr); position: relative; }
.timeline-date { font-size: 12px; font-weight: 700; padding-top: 3px; color: var(--doc-navy); }
.timeline-date > span { display: block; font-size: 10px; color: var(--doc-muted); font-weight: 400; margin-top: 4px; }
.timeline-entry { padding: 0 0 26px 24px; border-left: 1px solid var(--doc-rule); position: relative; }
.timeline-entry::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; background: #217e82; border-radius: 50%; outline: 4px solid #fff; }
.treatment-timeline > li:last-child .timeline-entry { padding-bottom: 0; }
.entry-type { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--doc-muted); }
.timeline-entry h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 7px 0; }
.timeline-entry > p { font-size: 12px; line-height: 1.7; color: var(--doc-muted); margin: 0; }
summary { cursor: pointer; }
.source-reference { margin-top: 10px; font-size: 11px; color: var(--doc-navy); }
.source-reference summary { padding-block: 8px; width: fit-content; min-height: 36px; }
.source-reference summary:hover { color: #147b81; }
.source-reference summary span { color: var(--doc-muted); margin-left: 9px; font-size: 10px; }
.source-reference > div { background: var(--doc-soft); padding: 15px; border-left: 2px solid #83a5ac; margin-top: 4px; line-height: 1.7; }
.source-reference p { margin: 6px 0 12px; color: var(--doc-muted); }
.source-reference p:last-child { margin-bottom: 0; }
.timeline-gap > p { border-left: 1px dashed #b59b6a; color: var(--doc-amber); font-size: 10px; line-height: 1.7; margin: -5px 0 24px; padding: 10px 15px 10px 24px; background: #fffbf2; }
.timeline-gap strong { display: block; font-weight: 500; }
.demand-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
.letter-paper { background: #fff; padding: clamp(25px, 3.5vw, 56px); color: var(--doc-ink); font: 15px/1.7 Georgia, 'Times New Roman', serif; border: 1px solid #dce2e7; box-shadow: 0 3px 12px #24364a0a; }
.document-legend { text-align: center; border-block: 1px solid var(--doc-rule); color: var(--doc-muted); font: 700 9px/1.5 'DM Sans', sans-serif; letter-spacing: .07em; text-transform: uppercase; padding: 7px 0; margin-bottom: 22px; }
.letterhead { padding-bottom: 15px; margin-bottom: 22px; border-bottom: 3px solid var(--doc-navy); font-family: 'DM Sans', sans-serif; }
.letterhead > strong { color: var(--doc-navy); display: block; font-size: 26px; font-weight: 700; letter-spacing: -.045em; }
.letterhead > span { display: block; color: var(--doc-muted); font-size: 11px; margin-top: 3px; }
.letter-date { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.letter-date span { color: var(--doc-muted); }
.letter-subject { background: var(--doc-soft); border-left: 3px solid var(--doc-navy); padding: 14px 18px; font: 12px/1.6 'DM Sans', sans-serif; margin-block: 18px; }
.letter-subject > strong, .letter-subject > h4 { display: block; text-transform: uppercase; color: var(--doc-navy); font-size: 12px; letter-spacing: .05em; margin: 0 0 8px; border: 0; padding: 0; }
.letter-subject dl { margin: 0; }
.letter-subject dl > div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 10px; margin-top: 4px; }
.letter-subject dt { font-size: 10px; text-transform: uppercase; color: var(--doc-muted); }
.letter-subject dd { margin: 0; font-weight: 600; }
.letter-ask { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--doc-navy); font-family: 'DM Sans', sans-serif; margin: 20px 0 0; }
.letter-ask > div { padding: 10px 12px; border-right: 1px solid var(--doc-rule); }
.letter-ask > div:last-child { border: 0; }
.letter-ask span { display: block; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; color: var(--doc-muted); line-height: 1.5; }
.letter-ask strong { font-size: clamp(16px, 1.7vw, 23px); font-weight: 700; color: var(--doc-navy); }
.letter-paper p { margin-block: 17px; overflow-wrap: anywhere; }
.letter-paper h4 { font: 700 12px/1.6 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--doc-navy); border-bottom: 1px solid var(--doc-navy); padding-bottom: 7px; margin: 28px 0 15px; }
.letter-paper h4 > span { margin-right: 10px; color: var(--doc-muted); }
.letter-paper .locked-label { font: 10px/1.6 'DM Sans', sans-serif; color: var(--doc-muted); margin: 7px 0 22px; }
.paragraph-editor { padding: 13px; margin-inline: -14px; border: 1px solid #80b4b7; background: #f4fbfa; }
.paragraph-editor > label { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 600 10px/1.5 'DM Sans', sans-serif; color: #216567; margin-bottom: 10px; }
.paragraph-editor label span { font-weight: 400; }
.paragraph-editor textarea { width: 100%; min-height: 200px; max-height: 500px; resize: vertical; border: 0; background: transparent; color: var(--doc-ink); font: inherit; line-height: 1.75; padding: 2px; display: block; }
.paragraph-editor textarea:focus { outline: 2px solid #197982; outline-offset: 4px; }
.editor-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-top: 10px; font: 10px/1.6 'DM Sans', sans-serif; color: var(--doc-muted); }
.editor-footer button { color: #216567; font-size: 11px; font-weight: 600; background: transparent; border: 0; padding: 9px 0; min-height: 36px; cursor: pointer; }
.editor-footer button:hover { text-decoration: underline; }
.letter-paper .editor-help { font: 10px/1.6 'DM Sans', sans-serif; color: var(--doc-muted); margin-top: 10px; }
.letter-paper .letter-endnote, .letter-endnote { border-top: 1px solid var(--doc-rule); padding-top: 15px; margin-top: 30px; color: var(--doc-muted); font: 10px/1.7 'DM Sans', sans-serif; }
.review-rail { background: #fff; border: 1px solid #dde3e8; }
.rail-heading { padding: 22px; }
.rail-heading h4 { font-size: 20px; color: var(--doc-navy); font-weight: 500; margin: 6px 0 12px; }
.rail-heading p { font-size: 12px; line-height: 1.7; color: var(--doc-muted); margin: 0; }
.review-detail { border-top: 1px solid #e0e6eb; }
.review-detail summary { display: flex; align-items: center; gap: 9px; padding: 16px 22px; font-size: 12px; font-weight: 600; min-height: 52px; color: var(--doc-navy); list-style: none; }
.review-detail summary::-webkit-details-marker { display: none; }
.review-detail summary:hover { background: var(--doc-soft); }
.detail-sign { margin-left: auto; font-size: 19px; font-weight: 400; transition: transform .2s; }
.review-detail[open] .detail-sign { transform: rotate(45deg); }
.review-detail > div { padding: 0 22px 20px; font-size: 12px; line-height: 1.7; }
.review-detail p { margin: 0 0 10px; color: var(--doc-muted); }
.review-detail small { font-size: 10px; color: var(--doc-muted); }
.damages-list { margin: 0; }
.damages-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; border-bottom: 1px solid #e3e7eb; padding: 8px 0; font-size: 11px; }
.damages-list dt { color: var(--doc-muted); }
.damages-list dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.damages-list .damages-total { border-bottom: 0; color: var(--doc-navy); font-size: 13px; font-weight: 700; padding-top: 14px; }
.damages-total dt { color: inherit; }
.review-detail .rail-caption { margin: 12px 0 0; font-size: 10px; }
.approval-explainer { background: #f4f8f8; }
.approval-explainer strong { font-size: 11px; color: var(--doc-navy); }
.deliverables-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; align-items: start; }
.deliverable-controls > a { display: block; position: relative; padding: 20px 24px 20px 16px; border-bottom: 1px solid var(--doc-rule); border-left: 3px solid transparent; transition: background .2s, border-color .2s; }
.deliverable-controls > a[aria-selected='true'] { border-left-color: #147b81; background: #fff; }
.deliverable-controls > a:hover { background: #fff9; }
.file-format { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: var(--doc-muted); margin-bottom: 8px; }
.deliverable-controls strong { display: block; font-size: 16px; color: var(--doc-navy); font-weight: 500; }
.deliverable-controls small { display: block; font-size: 11px; color: var(--doc-muted); margin-top: 6px; }
.file-arrow { position: absolute; top: 20px; right: 10px; font-size: 14px; color: #587785; }
.deliverable-controls > p { font-size: 11px; line-height: 1.8; color: var(--doc-muted); padding: 4px 16px; }
.deliverable-preview { min-width: 0; }
.file-panel { max-width: 850px; margin-inline: auto; }
.letter-paper .letter-subject h4 { border: 0; margin: 0 0 7px; padding: 0; }
.document-table { width: 100%; border-collapse: collapse; font: 12px/1.7 'DM Sans', sans-serif; }
.document-table caption, .billing-table caption { font-size: 10px; color: var(--doc-muted); text-align: left; padding: 0 0 10px; }
.document-table th { font-weight: 400; text-align: left; }
.document-table td { text-align: right; white-space: nowrap; }
.document-table th, .document-table td { padding: 10px; border-bottom: 1px solid var(--doc-rule); }
.document-table .table-total > * { background: var(--doc-navy); color: #fff; font-weight: 700; }
.hotsheet-paper, .workbook-paper { background: #fff; border: 1px solid #dce2e7; padding: 28px; font-size: 12px; line-height: 1.7; }
.internal-band { margin: -28px -28px 24px; background: var(--doc-amber); color: #fff; padding: 9px 18px; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hotsheet-paper > h4 { font-size: 29px; letter-spacing: -.05em; color: var(--doc-navy); margin: 0; font-weight: 600; }
.hotsheet-subtitle { margin-top: 0; color: var(--doc-muted); }
.hotsheet-strip { border: 1px solid var(--doc-navy); display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0; }
.hotsheet-strip > div { padding: 12px; }
.hotsheet-strip > div + div { border-left: 1px solid var(--doc-rule); background: var(--doc-amber-bg); }
.hotsheet-strip span { font-size: 10px; color: var(--doc-muted); display: block; }
.hotsheet-strip strong { font-size: 21px; color: var(--doc-navy); }
.hotsheet-paper h5, .sheet-panel h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--doc-navy); border-bottom: 1px solid var(--doc-navy); padding-bottom: 6px; margin: 23px 0 12px; }
.hotsheet-item { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--doc-rule); }
.hotsheet-item > span { align-self: start; background: var(--doc-amber-bg); color: var(--doc-amber); font-size: 9px; padding: 2px 6px; }
.hotsheet-item p { margin: 3px 0; }
.hotsheet-item small { color: var(--doc-muted); font-size: 10px; }
.workbook-heading h4 { font-size: 25px; line-height: 1.15; color: var(--doc-navy); letter-spacing: -.035em; margin: 0 0 12px; }
.workbook-heading > p:last-child { font-size: 11px; color: var(--doc-muted); }
.sheet-controls { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--doc-rule); margin-top: 25px; }
.sheet-controls a { font-size: 11px; padding: 12px 13px; border: 1px solid transparent; border-bottom: 2px solid transparent; min-height: 44px; }
.sheet-controls a[aria-selected='true'] { background: #edf6f5; border-bottom-color: #147b81; font-weight: 700; }
.sheet-controls a:hover { background: var(--doc-soft); }
.workbook-summary { margin: 0; }
.workbook-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 10px; border-bottom: 1px solid #e2e7ec; font-size: 12px; }
.workbook-summary > div:nth-child(odd) { background: #f5f7f9; }
.workbook-summary dt { color: var(--doc-muted); }
.workbook-summary dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.workbook-summary > div:last-child { background: var(--doc-navy); color: #fff; }
.workbook-summary > div:last-child dt { color: #fff; }
.table-hint { font-size: 11px; color: var(--doc-muted); }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.billing-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.billing-table th, .billing-table td { padding: 12px 10px; border: 1px solid #e0e5eb; text-align: right; white-space: nowrap; }
.billing-table thead th { background: var(--doc-navy); color: #fff; }
.billing-table th:first-child, .billing-table td:last-child { text-align: left; white-space: normal; }
.billing-table tbody th { font-weight: 500; }
.billing-table tbody tr:nth-child(even) { background: var(--doc-soft); }
.billing-table tfoot { background: #eef5f5; font-weight: 700; }
.reconciliation-row { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--doc-rule); }
.reconciliation-row strong { font-size: 12px; font-weight: 600; }
.reconciliation-row small { display: block; font-size: 11px; color: var(--doc-muted); margin-top: 5px; }
.reconciliation-row > span { font-size: 10px; font-weight: 700; color: #1e6b3a; background: #eaf6ee; padding: 3px 8px; }
.workbook-footnote { font-size: 10px; color: var(--doc-muted); padding-top: 20px; margin-top: 25px; border-top: 1px solid var(--doc-rule); }
.workspace-navigation { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; padding: 18px 30px; border-top: 1px solid var(--doc-rule); border-radius: 0 0 7px 7px; }
.workspace-navigation button { border: 1px solid #b5c3ce; color: var(--doc-navy); background: #fff; font-size: 12px; font-weight: 600; border-radius: 3px; padding: 12px 16px; min-height: 44px; cursor: pointer; transition: background .2s; }
.workspace-navigation button:last-child { color: #fff; background: var(--doc-navy); border-color: var(--doc-navy); }
.workspace-navigation button:hover { background: #e8f4f3; }
.workspace-navigation button:last-child:hover { background: #36546e; }
.workspace-navigation button:disabled { cursor: default; opacity: .4; }
.workspace-navigation > span { font-size: 10px; color: var(--doc-muted); text-align: center; }
.demo-caption { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 18px 0 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.demo-caption > span { color: #d3ded9; }
.pi-workflow { padding-block: 80px 110px; border-top: 1px solid var(--line); }
.workflow-intro h2 { font-size: clamp(30px, 3.4vw, 49px); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; margin-top: 22px; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; margin-top: 55px; }
.workflow-steps > div { padding-top: 20px; border-top: 1px solid var(--line); }
.workflow-steps > div > span { font-size: 10px; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.workflow-steps h3 { font-size: 21px; font-weight: 500; letter-spacing: -.03em; margin-top: 26px; }
.workflow-steps p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 14px 0 0; max-width: 340px; }
.pi-contact { background: #182320; border-top: 1px solid var(--line); padding-block: 80px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.pi-contact h2 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.06em; font-weight: 500; margin: 22px 0; }
.pi-contact p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.pi-contact .button { flex-shrink: 0; }
.pi-page .reveal.in-view { animation: rise .6s both; }
@media (min-width: 1600px) { .pi-intro, .pi-showcase, .pi-workflow, .pi-contact { padding-inline: max(84px, calc((100vw - 1480px) / 2)); } }
@media (max-width: 1100px) {
  .pi-intro-grid { gap: 35px; }
  .pi-intro .hero-actions { gap: 10px 20px; }
  .workspace-masthead { padding-inline: 22px; }
  .stage-controls > a { padding: 20px; gap: 10px; }
  .stage-arrow { display: none; }
  .workspace-body { padding: 24px; }
  .stage-heading { align-items: start; }
  .stage-heading > p { max-width: 220px; }
  .chronology-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
  .case-overview, .timeline-surface { padding: 20px; }
  .case-facts > div { display: block; }
  .case-facts dd { margin-top: 4px; }
  .demand-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
  .letter-paper { padding: 28px; }
  .deliverables-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 20px; }
  .timeline-date { font-size: 11px; }
  .treatment-timeline > li { grid-template-columns: 58px minmax(0, 1fr); }
  .timeline-entry { padding-left: 18px; }
  .workflow-steps { gap: 28px; }
}
@media (max-width: 850px) {
  .pi-intro h1 { font-size: 55px; }
  .pi-intro .lede { font-size: 15px; }
  .pi-intro .button { padding-inline: 16px; font-size: 12px; }
  .workspace-masthead { flex-wrap: wrap; gap: 12px; }
  .workspace-masthead p { padding-left: 14px; margin-left: auto; font-size: 11px; }
  .sample-badge { display: none; }
  .stage-controls > a { padding: 18px 14px; }
  .stage-controls strong { font-size: 12px; }
  .stage-controls small { font-size: 10px; }
  .stage-heading { display: block; }
  .stage-heading > p { max-width: none; margin-top: 12px; }
  .chronology-layout { grid-template-columns: 1fr; }
  .case-overview { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .case-overview h4 { grid-column: 1 / -1; }
  .case-facts { grid-row: 2 / 4; }
  .case-facts > div { display: flex; }
  .case-facts dd { margin-top: 0; }
  .medical-figure { padding-block: 15px; }
  .medical-figure > strong { font-size: 38px; }
  .sample-footnote { grid-column: 1 / -1; }
  .demand-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; }
  .letter-paper { padding: 25px; font-size: 14px; }
  .letter-ask > div { padding: 8px; }
  .letter-ask strong { font-size: 17px; }
  .letter-ask span { font-size: 7px; }
  .rail-heading, .review-detail summary { padding: 18px 16px; }
  .review-detail > div { padding-inline: 16px; }
  .deliverables-layout { display: block; }
  .deliverable-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; }
  .deliverable-controls > a { padding: 14px 12px; }
  .deliverable-controls strong { font-size: 14px; }
  .deliverable-controls small { font-size: 10px; }
  .file-format { font-size: 8px; }
  .file-arrow { display: none; }
  .deliverable-controls > p { grid-column: 1 / -1; padding: 0 12px; margin-bottom: 0; }
  .workflow-steps h3 { font-size: 19px; }
}
@media (max-width: 650px) {
  .pi-intro { padding-block: 28px 34px; }
  .pi-intro-top { align-items: start; }
  .pi-intro-top .eyebrow { font-size: 8px; }
  .pi-solution-index { font-size: 9px; }
  .pi-intro-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 28px; }
  .pi-intro h1 { font-size: clamp(43px, 11vw, 64px); }
  .pi-product-label { font-size: 12px; }
  .pi-intro .lede { margin-block: 11px 19px; font-size: 14px; }
  .pi-intro .hero-actions { gap: 13px; }
  .pi-intro .button { font-size: 11px; padding-inline: 13px; gap: 10px; min-height: 48px; }
  .pi-explore { font-size: 11px; gap: 10px; }
  .pi-showcase { padding-inline: 14px; padding-bottom: 50px; }
  .pi-showcase-heading { padding-block: 18px; gap: 14px; align-items: start; }
  .pi-showcase-heading h2 { font-size: 17px; max-width: 210px; line-height: 1.3; }
  .pi-showcase-heading > span { font-size: 9px; margin-top: 3px; gap: 6px; }
  .workspace-masthead { padding: 15px 17px; gap: 7px; }
  .workspace-masthead > div { gap: 10px; }
  .workspace-masthead strong { font-size: 11px; }
  .workspace-monogram { font-size: 18px; }
  .workspace-masthead p { margin: 0; border: 0; padding-left: 0; flex-basis: 100%; font-size: 10px; }
  .stage-controls > a { display: block; padding: 14px 9px 12px; }
  .stage-number { font-size: 10px; display: block; margin-bottom: 7px; }
  .stage-controls strong { font-size: 11px; line-height: 1.4; min-height: 31px; }
  .stage-controls small { font-size: 9px; margin-top: 2px; }
  .workspace-body { padding: 20px 13px; }
  .stage-heading { margin-bottom: 21px; }
  .stage-heading h3 { font-size: 24px; }
  .stage-heading > p { font-size: 11px; }
  .workspace-eyebrow { font-size: 9px; }
  .case-overview { display: block; padding: 20px; }
  .case-facts { margin-top: 10px; }
  .case-facts > div { padding-block: 8px; }
  .medical-figure { padding-block: 21px; }
  .case-overview h4 { font-size: 14px; }
  .timeline-surface { padding: 20px 15px; }
  .surface-heading h4 { font-size: 14px; }
  .surface-heading > span { font-size: 9px; }
  .treatment-timeline > li { grid-template-columns: 51px minmax(0, 1fr); }
  .timeline-entry { padding-left: 15px; }
  .timeline-entry h4 { font-size: 14px; }
  .timeline-entry > p { font-size: 12px; }
  .entry-type { font-size: 8px; }
  .source-reference summary { font-size: 10px; min-height: 44px; }
  .source-reference summary span { font-size: 9px; margin-left: 3px; }
  .timeline-gap > p { padding-left: 15px; }
  .demand-layout { grid-template-columns: 1fr; }
  .letter-paper { padding: 21px; }
  .letterhead > strong { font-size: 23px; }
  .letter-subject { padding: 12px; }
  .letter-subject dl > div { grid-template-columns: 63px minmax(0, 1fr); gap: 7px; font-size: 11px; }
  .letter-subject dt { font-size: 9px; }
  .letter-ask > div { padding: 8px 7px; }
  .letter-ask strong { font-size: 16px; }
  .letter-ask span { font-size: 7px; }
  .document-legend { font-size: 8px; }
  .paragraph-editor > label { font-size: 9px; }
  .editor-footer { font-size: 9px; }
  .editor-footer button { min-height: 44px; }
  .paragraph-editor textarea { min-height: 300px; }
  .deliverable-controls { gap: 4px; }
  .deliverable-controls > a { padding: 12px 9px; }
  .deliverable-controls strong { font-size: 12px; min-height: 36px; }
  .deliverable-controls small { font-size: 9px; }
  .file-format { font-size: 7px; min-height: 25px; }
  .hotsheet-paper, .workbook-paper { padding: 20px; }
  .internal-band { margin: -20px -20px 20px; padding: 9px 12px; font-size: 8px; }
  .workbook-heading h4 { font-size: 23px; }
  .sheet-controls a { font-size: 10px; padding: 12px 8px; }
  .workbook-summary > div { font-size: 11px; padding-inline: 8px; gap: 10px; }
  .workspace-navigation { flex-wrap: wrap; padding: 16px 13px; gap: 12px; }
  .workspace-navigation > span { order: -1; flex-basis: 100%; }
  .workspace-navigation button { font-size: 10px; padding: 10px 9px; }
  .demo-caption { gap: 4px; font-size: 10px; margin-inline: 7px; }
  .pi-workflow { padding-block: 55px; }
  .workflow-intro .eyebrow { font-size: 8px; }
  .workflow-intro h2 { font-size: 29px; line-height: 1.2; }
  .workflow-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 35px; }
  .workflow-steps h3 { margin-top: 15px; font-size: 22px; }
  .workflow-steps p { max-width: none; }
  .pi-contact { padding-block: 55px; display: block; }
  .pi-contact h2 { font-size: 52px; }
  .pi-contact .button { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-intro h1, .pi-intro-copy, .pi-page .reveal.in-view, .sample-workspace.is-enhanced .stage-panel, .sample-workspace.is-enhanced .file-panel, .sample-workspace.is-enhanced .sheet-panel { animation: none; }
}
