/* Site-wide additions on top of the inline-styled design markup */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #F4F7F8; overflow-x: hidden; }
img, svg { max-width: 100%; }
dc-i { display: contents; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3DD6C0; outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 16px; }
.os-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #3DD6C0; color: #0B1B2B !important; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.os-skip:focus { top: 8px; }

/* Responsive header: desktop nav ↔ mobile menu (from Mobile-Menu design) */
.os-burger { display: none !important; }
@media (max-width: 1060px) {
  .os-desknav { display: none !important; }
  .os-burger { display: flex !important; }
}
@media (min-width: 1061px) {
  #os-mobile-menu { display: none !important; }
}
.os-burger .os-ico-close { display: none; }
.os-burger[aria-expanded="true"] .os-ico-open { display: none; }
.os-burger[aria-expanded="true"] .os-ico-close { display: block; }

/* Small-screen spacing tweaks (inline paddings are tuned for desktop) */
@media (max-width: 640px) {
  section > div[style*="padding: 9"], section > div[style*="padding: 10"], section > div[style*="padding: 8"],
  section[style*="padding: 9"], section[style*="padding: 10"], section[style*="padding: 8"] {
    padding-top: 56px !important; padding-bottom: 56px !important;
  }
  form[style*="padding: 32px"] { padding: 22px !important; }
  h2[style*="font-size: 42px"] { font-size: 30px !important; }
}

/* ---------- Browser surfaces themed from the palette ---------- */
::selection { background: #3DD6C0; color: #0B1B2B; }
input, textarea { caret-color: #0B8579; }
html { scrollbar-color: #A3B1BA #F4F7F8; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
[style*="font-variant-numeric"], td, dd { font-variant-numeric: tabular-nums; }

/* ---------- Interaction feedback ---------- */
a, button, input, select, textarea, summary {
  transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out,
              box-shadow 200ms ease-out, transform 120ms ease-out, opacity 160ms ease-out;
}
button:not(:disabled), a[href] { -webkit-tap-highlight-color: transparent; }
/* primary (turquoise) */
a[style*="background: #3DD6C0"]:hover, button[style*="background: #3DD6C0"]:hover { background: #6BE3D1 !important; }
/* primary on light (deep teal) */
a[style*="background: #0B8579"]:hover, button[style*="background: #0B8579"]:not(:disabled):hover { background: #08665D !important; color: #FFFFFF !important; }
/* outlined on dark */
a[style*="border: 1px solid #36536E"]:hover, button[style*="border: 1px solid #36536E"]:hover { border-color: #5E7F9C !important; background-color: rgba(61, 214, 192, 0.08) !important; }
/* outlined on light */
a[style*="border: 1px solid #A3B1BA"]:hover, button[aria-pressed="false"]:hover { border-color: #0B1B2B !important; }
/* nav links on dark */
.os-desknav > a[style*="color: #C5D0D8"]:hover, footer a[style*="color: #C5D0D8"]:hover, #os-mobile-menu nav a:hover { color: #FFFFFF !important; }
/* press */
a[style*="padding"][style*="border-radius"]:active, button:not(:disabled):active { transform: translateY(1px) scale(0.985); }
button:disabled { opacity: 0.6; cursor: progress !important; }

/* ---------- Form fields ---------- */
input:not([type="checkbox"]):not([type="radio"]):hover, select:hover, textarea:hover { border-color: #5E7487 !important; }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  outline: none; border-color: #0B8579 !important; box-shadow: 0 0 0 3px rgba(11, 133, 121, 0.22);
}
input[type="checkbox"], input[type="radio"] { accent-color: #0B8579; }
[aria-invalid="true"]:not([type="checkbox"]) { border-color: #B42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14); }
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
::placeholder { color: #5E6D79; opacity: 1; }
.os-form-status[data-kind="error"] { background: #FDECEA; color: #8A1C12; }
.os-form-status[data-kind="success"] { background: #E3F4EE; color: #08665D; }
.os-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Sample scan card: bar fills, live row pulses ---------- */
[role="progressbar"] > div { transition: width 480ms cubic-bezier(0.16, 1, 0.3, 1), background-color 200ms; }
span[style*="background: #3DD6C0"][style*="padding: 4px 9px"] { animation: os-live 1.1s ease-in-out infinite; }
@keyframes os-live { 50% { box-shadow: 0 0 0 4px rgba(61, 214, 192, 0.18); } }

/* ---------- Mobile menu entrance ---------- */
#os-mobile-menu:not([hidden]) { animation: os-drop 260ms cubic-bezier(0.16, 1, 0.3, 1); transform-origin: top; }
@keyframes os-drop { from { opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.os-header { position: relative; z-index: 20; }

@media (prefers-reduced-motion: reduce) {
  #os-mobile-menu:not([hidden]) { animation: os-fade 140ms ease-out; }
  @keyframes os-fade { from { opacity: 0; } }
  span[style*="background: #3DD6C0"][style*="padding: 4px 9px"] { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, button { transform: none !important; }
}

/* ---------- Typography (IBM Plex) ---------- */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
[style*="IBM Plex Mono"] { font-feature-settings: "zero" 0; }

/* ---------- Site footer ---------- */
.os-footer { background: #071422; color: #A9B8C3; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
.os-f-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.os-f-eyebrow, .os-f-h, .os-f-chips li, .os-f-col dt { font-family: 'IBM Plex Mono', ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.08em; }

.os-f-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; padding: 64px 0 56px; border-bottom: 1px solid #1A3147; }
.os-f-cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.os-f-eyebrow { font-size: 12px; color: #3DD6C0; }
.os-f-cta-title { margin: 0; color: #F2F5F3; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.os-f-cta-text { margin: 0; font-size: 17px; color: #A9B8C3; max-width: 56ch; }
.os-f-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.os-f-grid { display: grid; grid-template-columns: minmax(260px, 1.3fr) 2fr; gap: 48px 64px; padding: 56px 0 48px; }
.os-f-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.os-f-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; align-self: flex-start; min-height: 44px; }
.os-f-mission { margin: 0; color: #F2F5F3; font-size: 17px; font-weight: 500; line-height: 1.45; }
.os-f-about { margin: 0; color: #A9B8C3; }
.os-f-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.os-f-chips li { font-size: 11px; color: #C5D0D8; border: 1px solid #24405A; border-radius: 4px; padding: 5px 8px; line-height: 1.2; }

.os-f-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.os-f-h { margin: 0 0 10px; font-size: 12px; color: #8FA3B3; }
.os-f-col ul { list-style: none; margin: 0; padding: 0; }
.os-f-col li a { display: inline-block; padding: 10px 0; color: #C5D0D8; text-decoration: none; line-height: 1.5; }
.os-f-col li a:hover, .os-f-bar a:hover { color: #FFFFFF; }
.os-f-col li a[aria-current="page"] { color: #FFFFFF; }
.os-f-col dl { margin: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.os-f-col dt { font-size: 11px; color: #8FA3B3; }
.os-f-col dd { margin: 2px 0 0; color: #C5D0D8; overflow-wrap: anywhere; }
.os-f-col dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; color: #C5D0D8; text-decoration: underline; text-decoration-color: #36536E; }
.os-f-col dd a:hover { color: #FFFFFF; text-decoration-color: currentColor; }

.os-f-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 20px 0 28px; border-top: 1px solid #1A3147; font-size: 14px; }
.os-f-bar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.os-f-bar a { color: #C5D0D8; text-decoration: none; }
.os-f-bar-links > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: #36536E; }
.os-f-lang { display: inline-flex; border: 1px solid #24405A; border-radius: 8px; padding: 3px; gap: 2px; }
.os-f-lang a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; font-size: 13px; }
.os-f-lang a[aria-current="true"] { background: #1A3147; color: #FFFFFF; font-weight: 500; }

@media (max-width: 900px) {
  .os-f-grid { grid-template-columns: 1fr; }
  .os-f-brand { max-width: 520px; }
}
@media (max-width: 560px) {
  .os-f-cta { padding: 48px 0 40px; }
  .os-f-cta-actions, .os-f-cta-actions a { width: 100%; text-align: center; }
  .os-f-links { grid-template-columns: 1fr 1fr; }
  .os-f-links > .os-f-col:last-child { grid-column: 1 / -1; }
  .os-f-bar { flex-direction: column; align-items: flex-start; }
}
