/* Header, jump links and balanced navigation at tablet widths. */
.site-header .nav-wrap { width: min(1240px, calc(100% - 96px)); }
.nav-cta { min-height: 44px; }
.nav-scrim { position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: rgb(22 55 96 / 26%); }
.nav-open, .nav-open body { overflow: hidden; }
html[data-input="pointer"] :is(.biz-page, .about-page, .missing-page) :is(h1,h2)[tabindex="-1"]:focus { outline: none; }
.missing-page { padding-block: clamp(75px, 12vw, 160px); }
.missing-page h1 { font-size: clamp(30px, 4vw, 52px); }
.missing-page > p { margin-top: 16px; color: var(--brand-body); }
.missing-page .button-row { margin-top: 25px; }

.hero-utilities { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 9px; }
.hero-utilities a, .motion-control {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px;
  font-size: 12px; line-height: 1.4; background: transparent;
}
.hero-utilities a { color: var(--brand-strong); font-weight: 600; }
.hero-utilities a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-utilities [data-icon] { display: flex; width: 15px; }
.hero-utilities svg { width: 100%; height: 16px; }
.motion-control { color: var(--brand-body); padding: 0 4px; }
.motion-control:disabled { cursor: default; }
.motion-symbol { font-family: Arial, sans-serif; font-size: 14px; }
.hero-assurance { font-size: 12px; white-space: normal; }
.hero-label { font-size: max(12px, .8rem); }
.hero .button { font-size: 14px; }
.audience-bar strong { font-size: 14px; line-height: 1.55; }
.audience-bar small { font-size: 12px; line-height: 1.5; }
.service-tabs button > span:last-child { min-width: 0; font-size: 14px; line-height: 1.5; }
.service-tabs small { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.service-kicker { font-size: 13px; }
.service-panel { min-height: 0; }
.service-copy { justify-content: center; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
.biz-hero-copy .button-row { flex-wrap: wrap; }
.product-link { white-space: nowrap; }
.service-copy .text-link { margin: 19px 0 0; }
.service-visual .app-heading { flex-wrap: wrap; }
.app-heading .sample-status, .biz-report-top > span:last-child {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px;
  font-size: 12px; line-height: 1.55; font-weight: 600;
  color: var(--brand-strong); background: var(--brand-tint);
}
.chart-labels, .chart-labels span, .chart-meta span { font-size: 12px; }
.app-body[data-console="token"] .app-message { margin-top: 10px; color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.app-body .model-choices button, .app-body .app-task-line button, .citation-tags button { font-size: 12px; }
.app-body .app-task-line button { font-weight: 600; }
.app-body .app-chat p { font-size: 13px; }
.app-chat .result-citation { font-size: 12px; }
.app-body .app-task-line { font-size: 12px; }

/* Keep the staggered glass edges and a horizontal reading surface on each layer. */
.layer-scene { height: auto; min-height: 390px; padding-block: 8px; gap: 14px; }
.layer-prompt { color: var(--brand-body); font-size: 13px; text-align: center; }
.layer-scene .architecture-layer,
.layer-scene .architecture-layer:hover,
.layer-scene .architecture-layer[aria-pressed="true"] { transform: none; }
.layer-scene .architecture-layer { position: relative; }
.layer-scene .architecture-layer small { font-size: 12px; font-style: normal; color: var(--brand-body); }
.layer-scene .architecture-layer strong { font-style: normal; }
.layer-scene .architecture-layer[aria-pressed="true"] {
  border-color: var(--brand-bright); background: linear-gradient(120deg, #fff, #e4f1ff 60%, #cadaff);
  box-shadow: inset 0 -3px 0 #a8cef8, 0 6px 14px -12px var(--brand-strong);
}
.layer-scene .architecture-layer:hover { border-color: var(--brand-bright); }
.layer-foundation { font-size: 12px; }
.layer-explanation p { font-size: 14px; line-height: 1.7; }

#pipeline-note { display: none; }
.pipeline-step strong { font-size: 14px; }
.pipeline-step small, .workflow-status, .workflow-toolbar .quiet-button,
.workflow-bottom > p, .source-pane .document-item small, .document-item .document-icon,
.pane-heading > span:last-child, .scenario-tabs small { font-size: 12px; }
.source-pane .document-item { font-size: 13px; line-height: 1.55; }
.source-pane > .text-link, .result-highlight .result-citation { font-size: 13px; min-height: 44px; }
.result-empty p, .result-line, .result-highlight, .review-box, .task-result dl { font-size: 13px; }
.workflow-actions { flex-wrap: wrap; }
.workflow-actions .button { font-size: 13px; }
.workflow-actions .quiet-button { font-size: 12px; }
.workflow-actions button[hidden] { display: none; }

.delivery-tabs button > span { color: var(--brand-muted); font-size: 18px; }
.delivery-tabs button[aria-selected="true"] > span { color: var(--brand-strong); }
.delivery-tabs button > strong { font-size: 18px; }
.delivery-tabs button > small { font-size: 12px; }
.delivery-content { align-items: center; min-height: 0; gap: clamp(20px,4vw,55px); padding-block: 28px; }
.delivery-outcome strong { color: var(--brand-ink); font-size: 14px; }
.outcome-tags span { font-size: 12px; }
.delivery-content > div:first-child > p { font-size: 14px; }
.cg-card-title { font-weight: 600; }
.cg-type, .cg-card-date, .cg-disclosure, .cg-count, .cg-hint, .cg-dialog-details p { font-size: 12px; }
.archive-link { margin-top: 15px; min-height: 44px; }
.cg-disclosure { line-height: 1.65; }
.footer-grid a, .footer-grid button.text-link { min-height: 32px; display: flex; align-items: center; }
.footer-contacts .footer-email-label { display: block; font-size: 12px; color: var(--brand-muted); }
.footer-contacts .footer-email { margin-top: 0; }
.footer-grid .footer-brand > a { width: fit-content; }

.ab-summary strong { display: block; margin-bottom: 4px; font-size: 17px; color: var(--brand-ink); font-weight: 600; }
.abe-records button { font-size: 14px; }
.abe-enlarge { font-size: 13px; }
.abe-email-row .abe-email { font-size: clamp(19px,2vw,25px); }
.abe-brief-actions { justify-content: flex-start; flex-wrap: wrap; gap: 12px 20px; }
.abe-brief-actions .text-link { font-size: 13px; min-height: 44px; }
.abe-paper .abe-enlarge, .abe-consult-context { overflow-wrap: anywhere; }
.abe-brief textarea { font-size: 15px; }
.biz-audience { font-size: 14px; }
.biz-audience strong { font-weight: 600; }
.biz-report dl dt { color: var(--brand-body); font-weight: 400; }
.biz-report dl dd { color: var(--brand-body); }
.biz-report dl .report-priority dd { color: var(--brand-ink); font-weight: 600; }
.biz-report .biz-review p { font-size: 14px; }
.biz-enquiry { padding: 34px 0 42px; background: var(--brand-soft-gradient); }
.biz-enquiry > .container { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.biz-enquiry h2 { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.45; }
.biz-enquiry p { margin: 7px 0 0; font-size: 14px; color: var(--brand-body); }
.biz-enquiry-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.biz-enquiry-links .text-link { min-height: 44px; }

.contact-dialog { overscroll-behavior: contain; }
#contact-form label { font-size: 14px; color: var(--brand-ink); font-weight: 600; }
#contact-form :is(input, select, textarea) { font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--brand-ink); }
#contact-form :is(input,textarea)::placeholder { color: var(--brand-muted); }
#contact-form .form-note p, .contact-dialog .mail-help { font-size: 13px; line-height: 1.65; color: var(--brand-body); }
#contact-form .form-note { align-items: flex-start; }
.contact-dialog .mail-destination { font-size: 13px; color: var(--brand-muted); line-height: 1.7; margin: 3px 0; }
.mail-destination strong { color: var(--brand-ink); margin-inline-start: 8px; overflow-wrap: anywhere; }
.contact-dialog .mail-help { margin-block: 12px 5px; }
#summary-text { overflow-wrap: anywhere; font-size: 14px; }
#contact-summary .button-row { flex-wrap: wrap; gap: 10px 14px; }
#contact-summary .text-link { min-height: 44px; }
#contact-summary .button { font-size: 13px; }
.dialog-contact { font-size: 13px; }
.dialog-intro { font-size: 14px; }

.feature-list li, .architecture-small strong, .about-copy .text-link, .architecture-copy .text-link { font-size: 14px; }
.service-footnote, .architecture-small p, .layer-foundation span,
.about-principles span, .cg-filter-count, .footer-grid .footer-brand small { font-size: 12px; }
.workflow-toolbar strong { font-size: 14px; }
.workflow-toolbar .demo-tag, #workflow-overline { font-size: 12px; }
.workbench .pane-heading strong { font-size: 13px; }
.workflow-title .workflow-status { flex-shrink: 0; }
.app-topbar strong { font-size: 13px; }
.app-topbar > span:last-child, .app-body .app-heading > span, .app-body .app-message { font-size: 12px; }
.app-tree .tree-root, .app-tree .tree-leaf { font-size: 13px; }
.app-tree .tree-root small, .app-tree .tree-leaf span { font-size: 12px; }
.footer-grid > div > a:not(.footer-email), .footer-grid button.text-link, .footer-brand p { font-size: 13px; }
.footer-bottom > span, .footer-bottom > button { font-size: 12px; }

@media (max-width: 1150px) {
  .site-header .nav-wrap { width: calc(100% - 64px); }
}
@media (max-width: 900px) {
  .site-header .nav-cta { display: inline-flex; min-height: 44px; font-size: 12px; white-space: nowrap; }
  .hero-assurance { max-width: none; gap: 5px 12px; }
  .audience-bar strong, .service-tabs button > span:last-child { font-size: 13px; }
  .layer-scene { min-height: 340px; }
}
@media (max-width: 760px) {
  .nav-wrap .brand { margin-right: auto; }
  .site-header .nav-wrap { gap: 12px; }
  .menu-button { width: 44px; height: 44px; padding: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: transparent; }
  .menu-button > span { width: 20px; height: 1.5px; background: var(--brand-strong); }
  .menu-button[aria-expanded="true"] > span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .navigation { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 10px max(20px, calc((100% - 620px)/2)) 16px; background: white; border-bottom: 1px solid var(--brand-border); }
  .navigation.open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .navigation > a { padding: 13px 12px; font-size: 14px; min-height: 46px; }
  .navigation > a.active { background: var(--brand-wash); border-radius: 6px; font-weight: 600; }
  .navigation > a.active::after { display: none; }
}
@media (max-width: 700px), (pointer: coarse) {
  .hero-utilities a, .motion-control, .biz-nav :is(a,button), .biz-case-tabs button,
  .ab-nav-links a, .abe-records button, .abe-filters button, .abe-select-wrap select,
  .workflow-actions button, .cg-filter, .cg-zoom-reset, .cg-gallery .cg-icon-button,
  .footer-grid a, .footer-grid button.text-link, .footer-bottom button, .contact-email,
  .app-body :is(.app-task-line button,.model-choices button,.citation-tags button),
  .dialog-close, .dialog-contact a, .abe-service-link, .ab-download, .biz-jump,
  #contact-summary .button, .contact-dialog button[type="submit"] { min-height: 44px; }
  .cg-gallery .cg-icon-button, .dialog-close { min-width: 44px; }
}
@media (max-width: 650px) {
  .site-header .nav-wrap { width: calc(100% - 40px); gap: 8px; }
  .hero .button { font-size: 13px; }
  .hero-utilities { gap: 18px; margin-top: 3px; }
  .hero-assurance { margin-top: 15px; }
  .audience-bar { align-items: stretch; row-gap: 9px; }
  .audience-bar a { align-items: flex-start; }
  .audience-bar strong { font-size: 13px; }
  .audience-bar small { white-space: normal; }
  .service-tabs button { min-height: 78px; }
  .service-tabs button > span:last-child, .service-tabs small { white-space: normal; }
  .service-copy > p, .section-heading > p { font-size: 14px; }
  .service-copy .text-link { font-size: 13px; min-height: 44px; margin-top: 8px; }
  .app-tree .tree-leaf { align-items: flex-start; flex-direction: column; gap: 2px; }
  .footer-bottom { flex-wrap: wrap; row-gap: 8px; }
  .layer-scene { gap: 12px; margin-top: 16px; }
  .layer-explanation { margin-top: 18px; }
  .layer-explanation > span:first-child { flex-shrink: 0; font-size: 12px; }
  .layer-explanation p { font-size: 13px; }
  .workflow-title { align-items: flex-start; }
  .scenario-tabs button { min-height: 50px; }
  .scenario-tabs button > span:nth-child(2) { font-size: 13px; }
  .pipeline { margin: 22px 0 0; }
  .pipeline-step { min-height: 54px; }
  .pipeline-step strong { margin-top: 7px; font-size: 12px; white-space: normal; line-height: 1.5; }
  .pipeline-step small { display: none; }
  #pipeline-note { display: block; text-align: center; color: var(--brand-body); font-size: 12px; line-height: 1.55; margin: 9px 0 17px; }
  .source-pane > #workflow-source { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .source-pane .document-item { padding: 5px 0; font-size: 13px; }
  .source-pane .document-item small { font-size: 12px; }
  .source-pane > .text-link { margin-top: 4px; }
  .workflow-bottom > p { max-width: none; font-size: 12px; }
  .workflow-actions .quiet-button { margin-right: auto; }
  .delivery-tabs button > span { font-size: 15px; }
  .delivery-tabs button > strong { font-size: 15px; }
  .delivery-tabs button > small { white-space: normal; line-height: 1.5; }
  .delivery-content { min-height: 0; gap: 16px; padding: 22px 20px; }
  .delivery-outcome { gap: 12px; border-top: 1px solid var(--brand-border); padding-top: 14px; }
  .delivery-outcome .outcome-icon { flex-shrink: 0; }
  .cg-toolbar { gap: 10px; }
  .cg-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
  .cg-filter { padding-inline: 3px; border-radius: 7px; }
  .cg-card-title { font-size: 14px; }
  .cg-dialog-details p { font-size: 12px; }
  .footer-grid { row-gap: 18px; }
  .footer-grid a, .footer-grid button.text-link { margin-top: 0; }
  .footer-contacts .footer-email { overflow-wrap: anywhere; }
  .ab-summary strong { font-size: 16px; }
  .abe-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .abe-brief textarea { font-size: 16px; }
  .abe-enlarge { font-size: 12px; }
  .biz-audience { font-size: 13px; }
  .biz-report .biz-review p, .biz-delivery p { font-size: 14px; }
  .biz-enquiry { padding-block: 25px; }
}
@media (max-width: 370px) {
  .site-header .nav-wrap { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .scene-art { transform: none; }
}

