/* Marketing layouts built on the application's IBM design language.
 * Palette: styles.css, matching CommTrack-System/src/theme.js.
 * Four surfaces; square geometry; blue identifies actions and selection.
 */
:root {
  --page: var(--grey-10);
  --layer: #fff;
  --command: var(--grey-100);
  --text: var(--grey-100);
  --text-secondary: var(--grey-70);
  --text-muted: var(--grey-60);
  --border: var(--grey-20);
  --brand: var(--blue-60);
  --brand-text: var(--blue-70);
  --header-h: 56px;
}
body { background: var(--layer); color: var(--text); }
a { color: var(--brand-text); }
button, input { font: inherit; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--layer); color: var(--text); padding: 12px 20px; }
.skip-link:focus { top: 8px; }
.hd { height: var(--header-h); }
.hd-word { display: block; }
.hd-cta span, .action span, .text-link span { font-size: 20px; line-height: 1; }
.hd-nav a { padding-inline: 14px; }
.hd-menu { order: 4; }
#top { scroll-margin-top: var(--header-h); }
.page-width { width: min(1312px, calc(100% - 128px)); margin-inline: auto; }
.eyebrow, .small-label { font-family: var(--mono); font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.eyebrow { display: flex; gap: 16px; align-items: center; }
.line-mark { display: block; width: 32px; height: 2px; background: var(--brand); }
.home section, .workflow-details article { scroll-margin-top: calc(var(--header-h) + 24px); }
.opening { background: var(--page); border-bottom: 1px solid var(--border); position: relative; }
.opening-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-block: 80px 64px; }
.opening-copy { min-width: 0; }
.opening h1 { font-size: clamp(50px, 5.2vw, 76px); font-weight: 300; line-height: 1.025; letter-spacing: -.04em; margin-block: 28px; max-width: 13ch; }
.opening h1 em { font-style: normal; color: var(--brand-text); }
.opening-deck { font-size: 21px; line-height: 1.4; font-weight: 400; }
.opening-description { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--text-secondary); max-width: 44ch; }
.opening-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 14px 20px; font-size: 14px; text-decoration: none; transition: background .16s; }
.action-primary { background: var(--brand); color: var(--layer); }
.action-primary:hover { background: var(--blue-70); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; font-size: 14px; color: var(--brand-text); text-decoration: none; border-bottom: 1px solid var(--blue-30); }
.text-link:hover { color: var(--blue-80); border-color: var(--blue-70); }
.opening-note { margin-top: 20px; color: var(--text-muted); font-size: 12px; }
.position-figure { min-width: 0; }
.position-window { border: 1px solid var(--grey-30); background: var(--layer); }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; background: var(--command); color: var(--grey-30); font-size: 11px; }
.mini-brand { font-size: 14px; font-weight: 600; color: var(--layer); letter-spacing: -.02em; }
.mini-brand span { color: var(--blue-50); }
.window-bar > span:last-child { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.window-context { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--grey-30); font-size: 12px; }
.window-context > span:first-child { color: var(--brand-text); font-weight: 500; }
.window-context > span:last-child { color: var(--text-muted); font-family: var(--mono); font-size: 10px; }
.position-content { padding: 24px; }
.position-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.position-heading h2 { margin-top: 8px; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.012em; }
.sample-badge { background: var(--layer); color: var(--text-muted); border: 1px solid var(--grey-30); padding: 2px 7px; font-family: var(--mono); font-size: 10px; font-weight: 400; white-space: nowrap; }
.position-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 18px; }
.position-controls p { font-size: 12px; color: var(--text-secondary); }
.currency-switch { display: flex; border-bottom: 1px solid var(--grey-30); }
.currency-switch button { min-width: 56px; min-height: 36px; padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-secondary); background: var(--layer); font-family: var(--mono); font-size: 11px; cursor: pointer; }
.currency-switch button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--brand); }
.currency-switch button:hover { background: var(--page); }
.position-total { padding: 18px 0 20px; border-top: 1px solid var(--border); }
.position-total > span { display: block; font-size: 12px; color: var(--text-secondary); }
.position-total p { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin: 5px 0; line-height: 1.25; }
.position-total p span { font-family: var(--mono); font-size: 15px; color: var(--text-secondary); }
.position-total strong { font-family: var(--mono); font-size: clamp(29px, 2.5vw, 37px); font-weight: 400; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.position-total small { display: block; color: var(--text-muted); font-size: 11px; }
.settlement-head { display: grid; grid-template-columns: 1fr 1fr; padding: 9px 12px; background: var(--tint); border-block: 1px solid var(--grey-30); color: var(--text-secondary); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.settlement-head span:last-child { text-align: right; }
.settlement-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 12px; background: var(--layer); border: 0; border-bottom: 1px solid var(--border); text-align: left; color: var(--text); cursor: pointer; }
.settlement-row:hover { background: var(--page); }
.settlement-row[aria-pressed="true"] { background: var(--blue-10); box-shadow: inset 3px 0 0 var(--brand); }
.settlement-row > span { display: flex; flex-direction: column; gap: 3px; }
.settlement-row b { font-size: 12px; font-weight: 500; }
.settlement-row small { font-size: 11px; color: var(--text-secondary); }
.settlement-row strong { font-family: var(--mono); font-size: 13.5px; font-weight: 400; font-variant-numeric: tabular-nums; }
.position-foot { display: flex; align-items: start; gap: 9px; font-size: 11px; color: var(--text-secondary); padding-top: 16px; line-height: 1.6; }
.status-dot { display: block; width: 5px; height: 5px; background: var(--brand); flex: 0 0 5px; margin-top: 6px; }
.position-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: var(--text-muted); font-size: 11px; }
.position-figure figcaption > span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.scope-strip { padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--grey-30); font-size: 12px; }
.scope-strip > span { font-weight: 500; }
.scope-strip ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px 32px; color: var(--text-secondary); }
.scope-strip li { display: flex; align-items: center; gap: 12px; }
.scope-strip li::before { content: "+"; color: var(--brand-text); font-family: var(--mono); }
.opening::after { content: ""; display: block; height: 4px; width: 25%; background: var(--brand); }
.section { padding-block: 88px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 96px; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2, .control-copy h2, .start-copy h2, .contact-copy h2 { font-size: clamp(34px, 3.3vw, 48px); font-weight: 300; line-height: 1.08; letter-spacing: -.025em; }
.section-intro > p:last-child, .control-copy > p:not(.eyebrow), .start-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; color: var(--text-secondary); max-width: 46ch; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.outcomes article { border-top: 1px solid var(--grey-30); padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.section-number { font-family: var(--mono); font-size: 12px; color: var(--brand-text); }
.outcomes h3 { font-size: 21px; font-weight: 500; letter-spacing: -.015em; margin-top: 16px; }
.outcomes p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; margin: 12px 0 20px; }
.outcomes .text-link { margin-top: auto; }
.control-section { background: var(--command); color: var(--layer); padding-block: 80px; }
.control-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: center; }
.control-copy .eyebrow { color: var(--blue-40); }
.control-copy h2, .start-copy h2, .contact-copy h2 { margin: 22px 0; }
.control-copy > p:not(.eyebrow) { color: var(--grey-30); }
.control-list { margin: 32px 0 0; list-style: none; padding: 0; }
.control-list li { display: flex; gap: 16px; padding-block: 18px; border-top: 1px solid var(--grey-80); }
.control-check { flex: 0 0 22px; font-family: var(--mono); font-size: 11px; color: var(--blue-40); padding-top: 2px; }
.control-list h3 { font-weight: 500; font-size: 17px; }
.control-list p { color: var(--grey-30); font-size: 14px; line-height: 1.65; margin-top: 7px; }
.evidence-figure { border: 1px solid var(--grey-80); background: var(--grey-90); padding: 28px; }
.evidence-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.evidence-head .small-label { color: var(--grey-30); font-size: 10px; }
.evidence-head .sample-badge { color: var(--grey-40); background: transparent; border-color: var(--grey-70); }
.evidence-figure h3 { margin-top: 24px; font-size: 22px; font-weight: 400; letter-spacing: -.015em; }
.evidence-meta { margin-top: 6px; color: var(--grey-30); font-size: 12px; }
.evidence-values { margin: 24px 0 28px; font-size: 12px; }
.evidence-values > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-block: 12px; border-top: 1px solid var(--grey-80); }
.evidence-values dt { color: var(--grey-30); }
.evidence-values dd { margin: 0; font-family: var(--mono); font-size: 13.5px; }
.evidence-values dd span { font-size: 11px; color: var(--grey-30); }
.evidence-values .variance { background: var(--grey-80); padding: 12px; margin-inline: -12px; border-left: 3px solid var(--blue-50); }
.record-path { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.record-node { width: 7px; height: 7px; background: var(--blue-50); flex: 0 0 7px; margin-top: 6px; z-index: 1; }
.record-path:not(:last-of-type)::before { content: ""; position: absolute; width: 1px; left: 3px; top: 13px; bottom: -6px; background: var(--grey-70); }
.record-path strong { font-size: 13px; font-weight: 500; }
.record-path p { font-size: 12px; color: var(--grey-30); margin-top: 3px; }
.evidence-figure figcaption { border-top: 1px solid var(--grey-70); padding-top: 18px; font-size: 11px; line-height: 1.6; color: var(--grey-30); }
.workflow-line { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; padding: 0; margin: 40px 0; border: 1px solid var(--grey-30); }
.workflow-line li { background: var(--page); padding: 22px 18px; border-right: 1px solid var(--grey-30); font-size: 14px; font-weight: 500; }
.workflow-line li:last-child { border-right: 0; color: var(--blue-80); background: var(--blue-10); box-shadow: inset 0 3px var(--brand); }
.workflow-line span { display: block; font-size: 11px; color: var(--text-muted); font-family: var(--mono); margin-bottom: 12px; }
.workflow-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.workflow-details h3 { font-size: 23px; line-height: 1.25; font-weight: 400; letter-spacing: -.012em; margin: 18px 0 14px; }
.workflow-details p:not(.small-label) { font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.workflow-details .feature-note { font-size: 12px !important; margin-top: 18px; border-left: 2px solid var(--grey-30); padding-left: 12px; }
.start-section { padding-block: 80px; background: var(--page); border-block: 1px solid var(--border); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.start-copy .text-link { margin-top: 22px; }
.location-note { display: flex; align-items: start; gap: 10px; color: var(--text-secondary); font-size: 12px; margin-top: 30px; }
.questions details { border-top: 1px solid var(--grey-30); padding-block: 20px; }
.questions details:last-child { border-bottom: 1px solid var(--grey-30); }
.questions summary { cursor: pointer; font-size: 16px; list-style: none; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; color: var(--brand-text); font-family: var(--mono); font-size: 19px; line-height: 1.3; }
.questions details[open] summary::after { content: "−"; }
.questions p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-top: 16px; padding-right: 20px; }
.questions a { display: inline-block; margin-top: 14px; font-size: 13px; text-underline-offset: 4px; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; padding-block: 88px; }
.contact-email { display: inline-flex; align-items: baseline; gap: 16px; margin-top: 24px; color: var(--brand-text); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--blue-30); padding-bottom: 8px; overflow-wrap: anywhere; }
.contact-r { background: var(--layer); }
.contact-r form { display: grid; gap: 20px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { min-width: 0; }
.field label { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text-secondary); }
.field label span { font-size: 11px; color: var(--text-muted); }
.field input { width: 100%; border: 1px solid var(--grey-30); background: var(--page); color: var(--text); font-size: 16px; }
.field input::placeholder { color: var(--text-muted); font-size: 14px; }
.submit { width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 14px; min-height: 52px; }
.submit:disabled { background: var(--grey-20); color: var(--text-muted); cursor: wait; }
.form-privacy { font-size: 11px; line-height: 1.6; color: var(--text-muted); }
.form-privacy a { text-underline-offset: 3px; }
.form-error { font-size: 13px; padding: 14px; color: var(--text); background: var(--tint); border-left: 3px solid var(--text); }
.form-done { background: var(--page); border: 1px solid var(--grey-30); box-shadow: inset 3px 0 var(--brand); padding: 28px; }
.form-done p { color: var(--text-secondary); }.form-done h3 { font-size: 25px; font-weight: 400; margin: 14px 0; }
.ft { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 64px; padding-inline: max(64px, calc((100vw - 1312px) / 2)); }
.ft-brand, .ft-col { grid-column: auto; }.ft-brand p { color: var(--grey-30); }.ft-col h4 { color: var(--grey-40); }.ft-legal { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid var(--grey-80); padding-top: 24px; }.ft-legal span { color: var(--grey-40); }
/* Existing page templates keep the system's dark command surfaces. */
.rec { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--blue-90); }
.shell { min-height: 600px; }.shell-l { background: var(--page); }.shell-h1 { font-weight: 300; }.shell .hero-btns { gap: 12px; }.shell-r.is-dark .shell-note { color: var(--grey-30); overflow-wrap: anywhere; }.shell-note a { color: inherit; text-underline-offset: 4px; }
@media (max-width: 1180px) {
  .page-width { width: calc(100% - 80px); }.opening-grid { gap: 40px; padding-block: 64px 48px; }.opening h1 { font-size: 62px; }.section-intro { column-gap: 64px; }.control-grid, .start-grid, .contact-section { gap: 64px; }.position-content { padding: 20px; }.ft { padding-inline: 40px; gap: 32px 48px; }
}
@media (max-width: 1023px) {
  .hd-nav { display: none; }.hd-menu { display: flex; }.opening-grid { gap: 32px; }.opening h1 { font-size: 54px; }.opening-actions { gap: 16px; }.position-heading h2 { font-size: 22px; }.position-heading .sample-badge { display: none; }.position-total strong { font-size: 29px; }.position-content { padding: 18px; }.window-context { padding-inline: 18px; }.scope-strip { flex-direction: column; align-items: flex-start; gap: 12px; }.control-grid { gap: 40px; }.evidence-figure { padding: 24px; }.section { padding-block: 72px; }.outcomes, .workflow-details { gap: 24px; }.outcomes h3 { font-size: 20px; }.start-grid, .contact-section { gap: 40px; }.ft-brand, .ft-col { grid-column: auto; }
}
@media (max-width: 800px) {
  .page-width { width: calc(100% - 48px); }.opening-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 52px 40px; }.opening h1 { font-size: clamp(48px, 8.6vw, 70px); max-width: 16ch; }.opening-description { max-width: 48ch; }.position-figure { width: 100%; max-width: 620px; justify-self: center; }.position-content { padding: 24px; }.position-heading .sample-badge { display: inline; }.position-total strong { font-size: 36px; }.section-intro, .control-grid, .start-grid, .contact-section { grid-template-columns: 1fr; gap: 32px; }.section-intro { gap: 16px; }.section-intro > p:last-child { max-width: 52ch; }.control-section, .start-section { padding-block: 64px; }.control-copy > p:not(.eyebrow) { max-width: 50ch; }.evidence-figure { width: 100%; max-width: 620px; justify-self: center; }.workflow-line { grid-template-columns: repeat(3, 1fr); margin-block: 32px; }.workflow-line li:nth-child(3) { border-right: 0; }.workflow-line li:nth-child(-n+3) { border-bottom: 1px solid var(--grey-30); }.outcomes { gap: 24px; }.outcomes h3 { font-size: 19px; }.workflow-details { grid-template-columns: 1fr; gap: 32px; }.workflow-details article { border-top: 1px solid var(--grey-30); padding-top: 20px; }.workflow-details h3 br { display: none; }.workflow-details p:not(.small-label) { max-width: 56ch; }.ft { grid-template-columns: 1fr 1fr; padding: 40px 24px 28px; gap: 32px; }.ft-brand { grid-column: 1 / -1; }.contact-section { padding-block: 64px; }.shell-l, .shell-r { padding: 64px 24px; }
}
@media (max-width: 560px) {
  .hd-brand { padding-inline: 14px; gap: 10px; }.hd-word { font-size: 16px; }.hd-menu { font-size: 0; padding-inline: 14px; gap: 0; }.hd-cta { font-size: 12px; gap: 14px; padding-inline: 14px; }.hd-cta span { font-size: 18px; }.opening h1 { font-size: 52px; max-width: 12ch; }.opening-deck { font-size: 20px; }.opening-description { font-size: 16px; }.opening-actions { gap: 16px; }.action { gap: 24px; }.text-link { font-size: 13px; }.scope-strip ul { gap: 8px 20px; font-size: 11px; }.position-content { padding: 20px 16px; }.window-bar { padding: 12px 16px; }.window-context { padding: 10px 16px; }.position-heading h2 { font-size: 23px; }.position-heading .small-label { font-size: 10px; }.position-total strong { font-size: 31px; }.position-figure figcaption { font-size: 10px; }.position-figure figcaption > span { font-size: 9px; }.settlement-row { padding: 12px; }.settlement-row strong { font-size: 12px; }.section { padding-block: 64px; }.section-intro h2, .control-copy h2, .start-copy h2, .contact-copy h2 { font-size: 36px; }.outcomes { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }.outcomes h3 { font-size: 23px; margin-top: 10px; }.outcomes p { margin-bottom: 12px; }.evidence-figure { padding: 22px; }.evidence-head { flex-wrap: wrap; }.evidence-values dd { font-size: 12px; }.workflow-line li { padding: 18px 14px; }.workflow-line { margin-block: 28px; }.form-pair { grid-template-columns: 1fr; gap: 20px; }.contact-email { font-size: 13px; gap: 8px; }.ft { gap: 32px 20px; }.ft-col a { font-size: 12px; }.shell-r.is-dark .rec-row { flex-wrap: wrap; gap: 6px 12px; }.shell-r.is-dark .rec-row b { overflow-wrap: anywhere; }
}
@media (max-width: 380px) { .opening h1 { font-size: 46px; }.position-total strong { font-size: 27px; }.position-heading .sample-badge { display: none; }.window-bar { font-size: 10px; }.window-context { font-size: 11px; }.window-context > span:last-child { font-size: 9px; }.evidence-figure { padding: 18px; }.position-figure figcaption { flex-direction: column; }.contact-email { font-size: 12px; } }
@media (max-width: 350px) { .hd-word { display: none; } }
@media (pointer: coarse) { .currency-switch button { min-height: 44px; min-width: 56px; }.text-link, .questions summary { min-height: 44px; }.hd-menu { min-width: 44px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
