/* Shared accessibility and reading layer for scanner, account and guides. */
:root { color-scheme: dark; }
.product-brand { display: inline-flex; align-items: center; gap: 10px; color: #f4f2ff; text-decoration: none; white-space: nowrap; }
.product-brand img { display: block; flex: 0 0 auto; width: 32px; height: 32px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #b9afff !important;
  outline-offset: 4px;
}
:where(button, a, input, select, textarea) { touch-action: manipulation; }
:where(button, input, select, textarea):disabled { cursor: not-allowed; opacity: .6; }
input, textarea { caret-color: #c9c1ff; }
input[type="email"], input[type="url"], input[type="password"] { font-size: max(16px, 1em); }
.home-tools-chip, .lang-trigger, .lang-option, .account-trigger, .header-auth-link,
.nav a, .links a, .drawer-close, .hamburger-btn { min-height: 44px; }
.lang-option { align-items: center; }
.lang-option:focus-visible { background: #302952; }
.table-wrap:focus-visible { outline-offset: -3px; }
.table-wrap { scrollbar-color: #8c80d9 #1a1d27; scrollbar-width: thin; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 20000; padding: 12px 18px; background: #5849c4; color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.audit-guide { max-width: 1100px; margin: 40px auto; padding: clamp(20px, 4vw, 36px); border: 1px solid #38344f; border-radius: 20px; background: #171b25; color: #e4e6ed; text-align: left; }
.audit-guide h2 { margin: 0 0 24px; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.3; }
.audit-guide h3 { font-size: 1.05rem; margin: 0 0 12px; }
.audit-guide p { color: #b6bdce; line-height: 1.75; margin: 0 0 20px; max-width: 75ch; }
.audit-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: guide-step; }
.audit-guide-grid h3 { display: flex; align-items: center; gap: 10px; }
.audit-guide-grid h3::before {
  counter-increment: guide-step; content: counter(guide-step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
  background: #38306b; color: #d6ccff; font-size: 15px; font-weight: 700;
}
.audit-guide-grid li > p { margin-bottom: 0; }
.audit-guide-note { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid #38344f; }
.audit-guide-note-text { min-width: min(100%, 320px); flex: 1 1 420px; }
.audit-guide-note-text h3 { margin: 0 0 8px; font-size: 1.02rem; }
.audit-guide-note-text p { margin: 0; }
.audit-guide-links { display: flex; gap: 12px; flex-wrap: wrap; }
.audit-guide-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid #565073; border-radius: 10px; font-weight: 600; text-decoration: none; transition: border-color .15s ease; }
.audit-guide-links a:hover { border-color: #8d80e8; }
.audit-guide nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.audit-guide a, .section a { color: #b9afff; text-decoration: underline; text-underline-offset: 3px; }
.hub-body-copy p, .hub-body-copy li { line-height: 1.75; }
.faq-item[open] .faq-answer { max-height: none; padding: 0 20px 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
@media (max-width: 700px) {
  .audit-guide-grid { grid-template-columns: 1fr; gap: 20px; }
  .audit-guide { margin: 24px 12px; }
  .card-wrap .card { padding: 24px 20px; }
  .main { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
