/* Local identity trial: keep the brand layer replaceable without touching lab tools. */
:root {
  --brand-teal: #0f9d92;
  --surface: #ffffff;
  --soft: #eaf7f6;
  --band: #f4f8f8;
  --text: #18191b;
  --muted: #5c626b;
  --line: #d7e5e3;
  --control-border: #858a91;
  --accent: #08756d;
  --lime: var(--brand-teal);
  --focus: #08756d;
  --action-bg: var(--brand-teal);
  --action-text: #18191b;
  --action-hover: #19afa3;
  color: var(--text);
  background: var(--surface);
}
html[data-theme="dark"] {
  --surface: #18191b;
  --soft: #222326;
  --band: #1e1f21;
  --text: #ffffff;
  --muted: #e8ecef;
  --line: #34363a;
  --control-border: #71757b;
  --accent: var(--brand-teal);
  --lime: var(--brand-teal);
  --focus: var(--brand-teal);
  --action-bg: var(--brand-teal);
  --action-text: #18191b;
  --action-hover: #19afa3;
}
:focus-visible { outline-color: var(--focus); }
.scope-band, .site-footer { background: var(--band); }
.scope-band { border-block-start: 1px solid var(--line); }
.faq-section { background: var(--soft); }
.faq-section + .closing-section { background: var(--surface); }
.hero {
  --hero-text: var(--text);
  --hero-muted: var(--muted);
  --hero-accent: var(--accent);
  --action-bg: var(--brand-teal);
  --action-text: #18191b;
  --action-hover: #19afa3;
}
.site-brand { width: 210px; min-height: 46px; gap: 0; }
.brand-logo { display: block; object-fit: contain; object-position: left center; }
.brand-logo-full { width: 210px; height: auto; aspect-ratio: 1340 / 288; }
.brand-logo-symbol { width: 52px; height: 42px; display: none; }
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark.brand-logo-full { display: block; }
.footer-brand { display: block; flex: 0 0 180px; min-width: 0; }
.footer-brand .brand-logo-full { width: 180px; height: auto; }
.footer-brand .brand-logo-symbol { display: none; }
.footer-contact-group { display: flex; align-items: center; gap: 8px; min-width: 0; }
.footer-inner .footer-contact-group .footer-contact { width: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-contact svg { flex: none; }
.footer-contact:hover, .footer-contact:focus-visible { color: var(--accent); }
.footer-social { display: grid; place-items: center; flex: 0 0 44px; height: 44px; color: var(--text); }
.footer-social:hover, .footer-social:focus-visible { color: var(--accent); }
.header-login, .button-primary { border: 1px solid #08756d; color: var(--action-text); }
html[data-theme="dark"] .header-login, html[data-theme="dark"] .button-primary { border-color: transparent; }
.header-login:hover, .button-primary:hover { background: var(--action-hover); }
.trial-form input, .trial-form select, .trial-form textarea { border-color: var(--control-border); }
.trial-form .button:disabled { background: var(--soft); color: var(--muted); border: 1px solid var(--control-border); opacity: 1; }
@media (max-width: 650px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 4px; }
  .site-preferences { width: auto; }
  .header-login { grid-row: 1; grid-column: 3; width: auto; min-height: 44px; padding-inline: 14px; }
  .site-nav { grid-row: 2; }
  .site-brand { width: 52px; min-height: 42px; }
  .site-brand .brand-logo-full { display: none !important; }
  .site-brand .brand-logo-light.brand-logo-symbol { display: block; }
  html[data-theme="dark"] .site-brand .brand-logo-light { display: none; }
  html[data-theme="dark"] .site-brand .brand-logo-dark.brand-logo-symbol { display: block; }
  .footer-brand { flex-basis: 100%; }
}
