/* Shared HumanDesign.ai identity: warm, readable, human. */
:root,:root[data-theme=dark]{color-scheme:dark;--bg:#191511;--section:#211c17;--surface:#29221c;--raised:#332a22;--selected:#483122;--ink:#fff8f0;--text:#fff8f0;--muted:#c8bcb0;--subtle:#a89b8f;--accent:#f3a374;--button-ink:#24170e;--button-text:#24170e;--line:#ffffff10;--border:#ffffff12;--hover:#ffb58b;--focus:#f3a374}
:root[data-theme=light]{color-scheme:light;--bg:#f7f1e7;--section:#f0e8dd;--surface:#fffaf3;--raised:#ebe2d5;--selected:#f4dec9;--ink:#211b16;--text:#211b16;--muted:#6c6258;--subtle:#786d62;--accent:#bc4f1c;--button-ink:#fffaf3;--button-text:#fffaf3;--line:#241a1010;--border:#241a1014;--hover:#9b3e12;--focus:#bc4f1c}
html body{background:var(--bg);color:var(--ink)}header.header,header.studio-header{background:var(--bg)!important;border-bottom:0!important}.studio-brand strong span{color:var(--accent)}.human-nav{position:relative}.human-nav>summary{cursor:pointer;list-style:none}.human-nav>summary:after{content:'⌄';margin-inline-start:7px}.human-nav>div{position:absolute;inset-inline-end:0;top:30px;min-width:210px;padding:20px;display:grid;gap:12px;background:var(--surface);border-radius:10px;box-shadow:0 12px 30px #0002;z-index:50}.human-nav>div a{white-space:nowrap}.human-nav>summary::-webkit-details-marker{display:none}.human-photo-story{display:grid;grid-template-columns:1.12fr 1fr;gap:clamp(24px,5vw,72px);align-items:center;padding-block:32px 64px}.human-photo-story figure{margin:0}.human-photo-story img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:12px}.human-photo-story h2{font-size:clamp(28px,3.2vw,43px);font-weight:600;max-width:540px}.human-photo-story p{color:var(--muted);margin:20px 0;max-width:510px}.human-photo-story a{font-weight:600;color:var(--accent)}.partner-invitation{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-block:28px 60px;padding:30px 34px;background:var(--surface);border-radius:12px}.partner-invitation h2{font-size:25px}.partner-invitation p{color:var(--muted);margin:8px 0 0;max-width:620px}.partner-invitation a{flex-shrink:0;max-width:260px}.human-footer{background:#191511;color:#fff8f0;margin:36px 0 0!important;padding:64px max(24px,calc((100vw - 1160px)/2)) 28px!important;display:block!important;max-width:none!important;border:0!important}.human-footer .footer-top{display:grid;grid-template-columns:1.1fr 1fr;gap:64px}.human-footer .footer-identity{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700}.human-footer .footer-identity img{width:36px;height:36px}.human-footer .footer-purpose h2{font-size:clamp(30px,3.3vw,47px);font-weight:500;line-height:1.12;letter-spacing:-.04em;margin:30px 0 20px;max-width:580px}.human-footer .footer-purpose p{color:#c8bcb0;font-size:15px;line-height:1.75;max-width:500px}.human-footer .footer-stores{display:flex;gap:15px;align-items:center;margin-top:26px}.human-footer .footer-stores img{height:38px;width:auto;max-width:146px;object-fit:contain}.human-footer nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0!important;align-content:start}.human-footer nav h3{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#f3a374;margin:0 0 22px}.human-footer nav ul{list-style:none;display:grid;gap:13px;padding:0;margin:0}.human-footer nav li{font-size:14px;line-height:1.6}.human-footer a{color:#c8bcb0}.human-footer a:hover{color:#fff8f0}.human-footer .footer-identity{color:#fff8f0}.human-footer .footer-partner-link{color:#f3a374;font-weight:650}.human-footer .footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:48px;padding-top:24px;border-top:1px solid #ffffff13}.human-footer .footer-legal{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:12px}.human-footer .footer-language{margin:0}.human-footer .footer-language select{background:#29221c;color:#fff8f0}.human-footer small{display:block;margin-top:18px;font-size:11px;color:#a89b8f}.partner-hero{padding-block:48px;display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center}.partner-hero h1{font-size:clamp(36px,4.1vw,56px)}.partner-hero p:not(.eyebrow){color:var(--muted);margin:22px 0}.partner-hero img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}.partner-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.partner-facts{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:35px;padding-block:20px 48px}.partner-facts strong{display:block;font-size:35px;line-height:1.25}.partner-facts h2{font-size:18px;margin:12px 0}.partner-facts p{font-size:14px;color:var(--muted)}.partner-steps{padding-block:18px 48px}.partner-steps h2{font-size:30px;margin-bottom:26px}.partner-steps ol{display:grid;grid-template-columns:1fr 1fr;gap:32px;list-style:none;padding:0;counter-reset:steps}.partner-steps li{counter-increment:steps}.partner-steps li:before{content:'0' counter(steps);font-size:14px;color:var(--accent)}.partner-steps h3{font-size:21px;margin:12px 0}.partner-steps p{color:var(--muted);font-size:15px}.partner-note{color:var(--muted);font-size:12px;padding-bottom:24px}
@media(max-width:1000px){.human-footer .footer-top{grid-template-columns:1fr;gap:40px}.human-footer .footer-purpose h2{max-width:650px}.human-footer nav{max-width:700px}.header .desktop-nav,.studio-header>nav{gap:18px}}
@media(max-width:700px){.human-photo-story,.partner-hero{grid-template-columns:1fr;gap:24px;padding-block:20px 36px}.human-photo-story h2{font-size:30px}.human-photo-story p{margin:15px 0}.partner-invitation{display:block;padding:24px;margin-block:16px 32px}.partner-invitation a{margin-top:18px}.human-footer{padding:38px 20px 24px!important}.human-footer .footer-top{gap:32px}.human-footer .footer-purpose h2{font-size:34px;margin-top:24px}.human-footer nav{grid-template-columns:1fr 1fr;gap:28px 20px}.human-footer .footer-bottom{margin-top:32px}.human-footer .footer-legal{gap:12px 18px}.partner-hero img{aspect-ratio:1.5}.partner-facts{grid-template-columns:1fr 1fr;gap:25px}.partner-facts>div:last-child{grid-column:1/-1}.partner-steps ol{grid-template-columns:1fr;gap:24px}.human-nav>div{position:static;box-shadow:none;padding:12px 0}.human-photo-story img{border-radius:8px}}

.human-partners .button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--button-ink);padding:14px 20px;border-radius:8px;font-weight:650}.human-partners .partner-hero{min-height:0}.human-journal .journal-article-heading{position:static}

.source-content pre,.sf-player{background:var(--surface)!important}.source-content pre{scrollbar-color:var(--raised) var(--surface)}

/* Both themes use the same semantic component colours, including nested link copy. */
.source-content a.sales-nav-panel-item{background:var(--surface);color:var(--text)}
.source-content a.sales-nav-panel-item:hover{background:var(--raised);color:var(--text)}
.source-content .sales-nav-panel-item :is(.sales-muted,p),.source-content [class*="text-[color:var(--portal-text-muted)]"]{color:var(--muted)!important}
.source-content .sales-nav-panel-item svg{color:var(--accent)}
.source-content :is(.endpoint-list-item,.allowance,.quota,.response-provenance){color:var(--muted)}
.source-content .endpoint-list-item :is(h2,h3,strong){color:var(--text)}
:root[data-theme=light] .source-content .bella-press-link img{filter:brightness(0)!important}
