/* MAN-001 v1.2: issued mark, endorsed product branding, Plex Sans UI/body.
   Corporate base colours are from section 3. Utility contrast shades below
   are screen colours, not a claimed implementation of the missing MAN-002 ramps. */
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/ibm-plex-sans-400.ttf') format('truetype'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/ibm-plex-sans-500.ttf') format('truetype'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/ibm-plex-sans-600.ttf') format('truetype'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/ibm-plex-sans-700.ttf') format('truetype'); }
/* JetBrains Mono (SIL OFL 1.1, fonts/OFL-JetBrains-Mono.txt), bundled so it works offline and on restricted networks. */
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/jetbrains-mono-500.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/jetbrains-mono-600.woff2') format('woff2'); }
/* Fraunces (SIL OFL 1.1, fonts/OFL-Fraunces.txt; Fontsource 5.3.0 latin), bundled so no font request leaves the device. */
@font-face { font-family:'Fraunces'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/fraunces-500.woff2') format('woff2'); }
@font-face { font-family:'Fraunces'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/fraunces-600.woff2') format('woff2'); }
@font-face { font-family:'Fraunces'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/fraunces-700.woff2') format('woff2'); }
:root {
  --atm-turquoise:#208EA4;
  --atm-purple:#56377B;
  --atm-pink:#E0629A;
  --atm-black:#000000;
}
:root, html[data-theme="dark"] {
  --ink:#EAFBF7;
  --ink-soft:#BBCFCC;
  --ink-faint:#9CB4B0;
  --brand:#70CDD6;
  --brand-deep:#319DB1;
  --brand-tint:#12343D;
  --pos:#70CDD6;
  --pos-bg:#12343D;
  --pos-line:#208EA4;
  --var:#D0B5EF;
  --badge-text:#D3F0F5;
  --badge-bg:#12343D;
  --badge-border:#208EA4;
  --product-header-bg:#0B0E0F;
  --product-header-ink:#FFFFFF;
}
html[data-theme="light"] {
  --ink:#101516;
  --ink-soft:#435752;
  --ink-faint:#536B65;
  --brand:#176E80;
  --brand-deep:#135B69;
  --brand-tint:#E1F3F6;
  --pos:#176E80;
  --pos-bg:#E1F3F6;
  --pos-line:#A0CBD4;
  --var:#56377B;
  --badge-text:#FFFFFF;
  --badge-bg:#15343C;
  --badge-border:#487E8C;
  --product-header-bg:#EAF9F7;
  --product-header-ink:#101516;
}
body { font-family:'IBM Plex Sans',Arial,sans-serif; }
button, input, select { font-family:'IBM Plex Sans',Arial,sans-serif; }
button.primary, .nav-fab { background:var(--atm-turquoise); color:var(--atm-black); font-family:'IBM Plex Sans',Arial,sans-serif; }
button.primary:hover, .nav-fab:hover { background:#319DB1; color:#000000; }
header.top, html[data-theme="light"] header.top { background:var(--product-header-bg); color:var(--product-header-ink); }
header.top::after { opacity:.25; }
.product-lockup { display:inline-flex; flex-direction:column; align-items:flex-start; gap:14px; }
.product-mark-row { display:flex; align-items:center; gap:18px; }
.product-lockup .plate-mark { width:76px; height:76px; background:transparent; flex-shrink:0; }
.product-lockup .plate-mark img { width:100%; height:100%; object-fit:contain; filter:none; transform:none; }
.product-lockup .product-name, header.top .product-name { font-family:'Fraunces',Georgia,serif; font-size:34px; font-weight:600; line-height:1; color:var(--product-header-ink); margin:0; }
.brand-endorsement { font:400 13px/1.5 'IBM Plex Sans',Arial,sans-serif; color:var(--product-header-ink); }
.footer-endorsement { font-family:'IBM Plex Sans',Arial,sans-serif; color:var(--atm-black); }
html[data-theme="dark"] .footer-endorsement { color:#FFFFFF; }
.side { background:#0B0E0F; color:#EAFBF7; }
.side-top { display:block; }
html[data-theme="light"] .side .product-lockup { background:var(--product-header-bg); border-radius:16px; padding:20px; }
.side .product-lockup .plate-mark { width:100px; height:100px; }
.side .side-mid h1, html[data-theme="light"] .side .side-mid h1 { color:inherit; }
.side-mid .eyebrow { color:#70CDD6; }
.side .plate-cell .k, .side-bottom { color:#A5C0BB; }
.side .side-mid p { color:#BBCFCC; }
.auth-mobile-brand { display:none; }
.auth-mobile-brand .product-lockup { background:var(--product-header-bg); border-radius:16px; padding:20px; width:100%; }
.auth-mobile-brand .product-name { font-size:30px; }
.auth-mobile-brand .plate-mark { width:60px; height:60px; }
.auth-mobile-brand .brand-endorsement { font-size:12px; }
.brand-endorsement, .product-name { overflow-wrap:normal; }
@media (max-width:900px) {
  .auth-mobile-brand { display:block; margin-bottom:24px; }
}
@media (max-width:600px) {
  .top-inner { gap:18px; }
  .product-lockup { gap:12px; }
  .product-mark-row { gap:14px; }
  .product-lockup .plate-mark { width:60px; height:60px; }
  .product-lockup .product-name, header.top .product-name { font-size:30px; }
  .brand-endorsement { font-size:12px; }
  header.top .badge { white-space:normal; max-width:100%; line-height:1.6; }
  .auth-mobile-brand .product-lockup { padding:16px; }
}
