/* September 2026: preserve Outfit, orange, and the two themes; let the work speak. */
.btn, .btn-text { text-transform: none; letter-spacing: 0; font-size: 14px; }
.theme-switch button { width: 44px; height: 44px; }
.hero { min-height: 790px; padding-block: 145px 88px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); }
.hero h1 { font-size: clamp(44px, 4.5vw, 66px); line-height: 1.08; }
.hero-intro { font-size: 20px; margin-top: 26px; }
.hero .lede { font-size: 17px; max-width: 49ch; }
.hero .actions { column-gap: 24px; }
.demo-toolbar { gap: 16px; align-items: center; flex-direction: row; }
.demo-title { font-size: 17px; color: var(--ink); font-weight: 500; letter-spacing: -.01em; padding: 0; line-height: 1.35; }
.device-choices { display: flex; gap: 6px; justify-content: center; padding-top: 18px; }
.device-choices button { min-height: 44px; padding: 8px 16px; color: var(--ink-2); background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 13px; }
.device-choices button[aria-pressed="true"] { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.device-choices button:hover { background: var(--surface-raised); }
.setup-steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.setup-steps button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; font-size: 12px; }
.setup-steps span { font-variant-numeric: tabular-nums; color: inherit; }
.setup-steps button:hover { background: var(--surface-raised); }
.setup-steps button[aria-current] { color: var(--accent-ink); background: var(--accent-soft); font-weight: 500; }
.setup-explanation { padding-top: 19px; min-height: 126px; }
.setup-explanation h3 { font-size: 17px; margin-bottom: 8px; }
.setup-explanation p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--ink-2); }
.setup-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.setup-bottom p { font-size: 11px; line-height: 1.4; margin: 0; color: var(--ink-3); }
.setup-bottom button { color: var(--ink); border: 1px solid var(--line-strong); background: var(--surface); min-height: 44px; border-radius: 6px; padding: 7px 15px; cursor: pointer; font-size: 13px; white-space: nowrap; }
.setup-bottom button:hover { background: var(--surface-raised); }
.card { min-width: 0; }
.card > *, .card .shot { min-width: 0; max-width: 100%; }
.card .shot--globe, .card .shot--video { width: 100%; aspect-ratio: auto; }
.card:not(.card--wide):not(.card--portal) { height: 100%; }
.card .shot { margin: 0; }
.card .shot::before { display: none; }
.card-body .brand { margin-bottom: 22px; min-height: 27px; }
.brand--ttd .brand-svg { width: 196px; height: 27px; max-width: 100%; }
.card-body .brand-img { height: auto; width: auto; max-height: 31px; max-width: 232px; object-fit: contain; object-position: left center; }
.brand--aer .brand-img { width: 186px; max-height: 26px; }
.brand--hog .brand-img { width: 42px; height: 44px; max-height: 44px; }
.card-body .card-kicker { font-size: 13px; margin: 12px 0 20px; }
.card-body h3 { font-size: 28px; line-height: 1.16; }
.card-body p { font-size: 16px; line-height: 1.6; }
.card h4 { font-size: 16px; line-height: 1.4; font-weight: 500; margin: 22px 0 9px; color: var(--ink); }
.card .project-detail-body p { font-size: 14px; }
.card .project-detail-body p:last-child { margin-bottom: 20px; }
.card--ttd { --accent-ink: #0367cb; }
:root[data-theme="dark"] .card--ttd { --accent-ink: #71b9ff; }
.shot--academy, .shot--endpoint { min-height: 340px; height: 340px; aspect-ratio: auto; display: grid; align-items: center; padding: 32px; }
.academy-preview { width: 100%; }
.academy-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); font-size: 15px; font-weight: 500; }
.academy-top .academy-label { color: var(--ink-3); font-size: 10px; font-weight: 400; }
.academy-title { font-size: 28px; line-height: 1.15; font-weight: 400; color: var(--ink); margin: 24px 0 20px; letter-spacing: -.02em; }
.academy-lessons { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--ink); }
.academy-lessons li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-strong); }
.academy-lessons span { font-size: 11px; color: var(--ink-2); }
.endpoint-art { width: 100%; }
.endpoint-art > p:first-child { font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.setup-time { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.setup-time s { font-size: 23px; color: var(--ink-3); text-decoration-thickness: 1px; }
.setup-time strong { font-size: clamp(26px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.endpoint-platforms { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0 20px; color: var(--ink); font-size: 12px; }
.endpoint-art .endpoint-caption { font-size: 13px; color: var(--ink-2); max-width: 38ch; margin: 0; }
.card--portal { grid-column: 1 / -1; display: block; }
.portal-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 56px; align-items: start; padding: 36px 38px 32px; }
.portal-intro .brand { grid-column: 1 / -1; }
.portal-intro h3 { grid-column: 1; font-size: 33px; max-width: 21ch; }
.portal-intro > p { grid-column: 2; grid-row: 2 / 4; margin: 0; }
.portal-intro > a { grid-column: 1; justify-self: start; margin-top: 12px; }
.portal-shot { margin: 0; padding-inline: 30px; background: var(--surface); }
.portal-image-link { display: block; background: #080808; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.portal-image-link img { display: block; width: 100%; height: auto; }
.portal-shot figcaption { color: var(--ink-3); font-size: 12px; line-height: 1.5; padding-top: 12px; }
.portal-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; padding: 8px 38px 28px; }
.portal-features h4 { font-size: 19px; margin-bottom: 10px; }
.portal-features p, .portal-foot p { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.portal-foot { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding: 30px 38px 36px; border-top: 1px solid var(--line); }
.portal-foot h4 { margin: 0 0 12px; font-size: 21px; }
.portal-foot p + p { margin-top: 12px; }
.portal-foot .project-details { margin: 0; }
.portal-foot .project-related { font-size: 14px; margin-top: 24px; }
.project-related a { text-underline-offset: 4px; color: var(--ink); }
.card--aer .shot--globe { min-height: 460px; display: flex; flex-direction: column; justify-content: center; background: #101214; }
.globe-art { width: 100%; aspect-ratio: 1.2; position: relative; }
.globe-art canvas { width: 100%; height: 100%; display: block; }
.globe-art button { position: absolute; top: 20px; right: 20px; min-height: 44px; padding: 8px 13px; border: 1px solid #58616a; border-radius: 6px; color: #d7dce1; background: #181b1e; font-size: 12px; cursor: pointer; }
.globe-art button:focus-visible { outline-color: #ffae3b; }
.shot--globe figcaption { font-size: 11px; color: #b0bac4; padding: 0 26px 22px; margin-top: -10px; }
.globe-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.globe-art[data-ready] .globe-fallback { display: none; }
.card--wide .shot--video { min-height: 450px; }
.phone-frame { height: 390px; max-height: none; position: relative; }
.phone-frame video { position: absolute; inset: 0; opacity: 0; }
.phone-frame .video-still { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-frame[data-playing] video { opacity: 1; }
.phone-frame[data-playing] .video-still { visibility: hidden; }
.card:hover .shot svg { transform: none; }
.card:hover { box-shadow: none; }
.portrait::before { display: none; }
.portrait img { border-radius: 12px; box-shadow: none; }
.learn-p { font-size: 20px; }
.foot-links a { min-height: 44px; }
.contact-phone { display: block; width: fit-content; min-height: 44px; font-size: 15px; padding-top: 8px; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.job-role span { color: var(--ink-3); font-size: 13px; }
.jobs .previous-role { padding-top: 14px; font-weight: 500; }
.eligibility { font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.toolkit { margin-top: 32px; }
.toolkit summary { display: flex; gap: 20px; align-items: center; min-height: 52px; width: fit-content; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; }
.toolkit summary::-webkit-details-marker { display: none; }
.toolkit summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.toolkit[open] summary svg { transform: rotate(45deg); }
.toolkit dl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 54px; margin: 24px 0 0; }
.toolkit dt { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 9px; }
.toolkit dd { margin: 0; font-size: 14px; line-height: 1.7; }
@media (max-width: 1100px) {
 .hero { min-height: 760px; padding-top: 125px; }
 .hero-grid { gap: 34px; }
 .hero h1 { font-size: 46px; }
 .hero-intro br { display: none; }
 .setup-explanation { min-height: 145px; }
 .shot--academy, .shot--endpoint { padding: 26px; }
 .card--wide .shot--globe { min-height: 400px; }
 .portal-intro { gap: 0 30px; }
}
@media (max-width: 850px) {
 .hero { min-height: auto; }
 .hero-grid { grid-template-columns: 1fr; gap: 50px; }
 .hero-copy { max-width: 640px; }
 .hero h1 { font-size: clamp(42px, 7.8vw, 64px); }
 .hero .lede { max-width: 55ch; }
 .fleet-demo { max-width: 620px; }
 .setup-explanation { min-height: 115px; }
 .portal-intro { padding: 30px; }
 .portal-intro h3 { font-size: 29px; }
 .portal-features { gap: 20px; padding-inline: 30px; }
 .portal-foot { padding-inline: 30px; gap: 30px; }
}
@media (max-width: 700px) {
 .hero { padding-block: 118px 60px; }
 .hero h1 { font-size: clamp(39px, 9vw, 56px); }
 .hero-intro { font-size: 18px; }
 .hero .lede { font-size: 16px; }
 .hero .actions { gap: 16px; }
 .btn { height: 54px; padding-left: 23px; }
 .btn-text { font-size: 13px; }
 .theme-switch { padding: 2px; }
 .header-controls { gap: 8px; }
 .theme-switch button { width: 44px; height: 44px; }
 .demo-title { font-size: 16px; }
 .demo-controls button { font-size: 11px; }
 .device-choices { justify-content: space-between; gap: 0; }
 .device-choices button { padding-inline: 12px; }
 .setup-steps button { gap: 4px; font-size: 11px; }
 .setup-explanation { min-height: 144px; }
 .setup-bottom p { font-size: 10px; max-width: 19ch; }
 .card-body { padding: 27px; }
 .card-body h3 { font-size: 27px; }
 .shot--academy, .shot--endpoint { min-height: 300px; height: 300px; }
 .academy-lessons li { align-items: start; gap: 5px; }
 .academy-lessons span { font-size: 10px; text-align: right; }
 .academy-title { font-size: 27px; }
 .portal-intro { display: block; padding: 27px; }
 .portal-intro h3 { max-width: none; margin-bottom: 18px; }
 .portal-intro > a { margin-top: 14px; }
 .portal-shot { padding-inline: 14px; }
 .portal-shot figcaption { padding-inline: 13px; font-size: 11px; }
 .portal-features { grid-template-columns: 1fr; gap: 0; padding: 4px 27px 27px; }
 .portal-features h4 { margin-top: 23px; }
 .portal-foot { grid-template-columns: 1fr; padding: 27px; gap: 28px; }
 .card--wide .shot--globe { min-height: 320px; }
 .globe-art { aspect-ratio: 1.1; }
 .globe-art button { top: 14px; right: 14px; font-size: 11px; }
 .shot--globe figcaption { padding-inline: 20px; }
 .learn-p { font-size: 17px; }
 .toolkit dl { grid-template-columns: 1fr; gap: 22px; }
 .stats { gap: 18px; }
 .stats dd { font-size: 26px; }
 .stats dt { font-size: 11px; max-width: 14ch; }
 .card--wide .shot--video { min-height: 370px; }
 .phone-frame { height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
}
@media print {
 .portal-shot, .portal-features, .shot, .fleet-demo { display: none !important; }
 .portal-intro, .portal-foot { display: block; padding: 14px 0; }
 .hero { padding: 0; min-height: 0; }
 .toolkit:not([open]) { display: none; }
}

/* Crop only the padded presentation box; retain the original logo bitmap. */
.card-body .brand--cc { position: relative; width: min(100%, 430px); height: auto; aspect-ratio: 430 / 56; min-height: 0; overflow: hidden; margin-bottom: 26px; }
.card-body .brand--cc .brand-img { position: absolute; width: 116.15%; max-width: none; height: auto; max-height: none; left: -8%; top: 50%; transform: translateY(-50%); }
@media (prefers-color-scheme: dark) {
 :root:not([data-theme]) .brand-img--light { display: none; }
 :root:not([data-theme]) .brand-img--dark { display: block; }
 :root:not([data-theme]) .card--ttd { --accent-ink: #71b9ff; }
 :root:not([data-theme]) .card--cc { --accent-ink: #f2b21b; }
 :root:not([data-theme]) .card--aer { --accent-ink: #e06a28; }
}
