/* Shared accessibility and responsive rules for the four design previews. */
:root { --text-dim: #a5b6aa; }
html.light { --text-dim: #48604f; }
html { scroll-padding-top: 145px; }
body { overflow-x: clip; }
img, video { max-width: 100%; }
section, article, form, [class*="grid"] > *, .tour-right-content { min-width: 0; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #65b985; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 12px 20px; background: #fff; color: #143a25; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.mobile-nav { display: none; position: relative; pointer-events: auto; color: var(--text-lead, var(--text, #e2ede5)); }
.mobile-nav summary { cursor: pointer; padding: 10px; font: inherit; font-size: .9rem; }
.mobile-nav nav { position: absolute; right: 0; top: 100%; width: min(280px, 80vw); max-height: 70vh; overflow-y: auto; background: #0c1c11; color: #e2ede5; border: 1px solid #57745f; border-radius: 12px; padding: 12px; box-shadow: 0 12px 32px #0006; }
.mobile-nav a { display: block; padding: 10px 14px; color: inherit; text-decoration: none; }
html.light .mobile-nav nav { background: #fff; color: #143a25; }
.form-status { margin-top: 16px; line-height: 1.6; color: var(--text-lead, var(--text, #e2ede5)); }
.form-status:empty { display: none; }
.contact-note { margin: 16px 0; font-size: .85rem; line-height: 1.6; color: var(--text-muted, #a5b6aa); }
.contact-note a { color: inherit; text-decoration: underline; }
.legal-sheet { overflow-wrap: anywhere; }
.editorial-note { margin: 24px 0; padding: 16px; border: 1px solid #688871; border-radius: 12px; font-size: .9rem; }
.source-links a { color: inherit; text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.guide-cat-btn.active, .cat-btn.active, .btn-primary { color: #052e16 !important; }
.guide-cat-btn.active span, .cat-btn.active span, .btn-primary span { color: inherit !important; }
@media (max-width: 1100px) {
  header .nav-links, header .nav-menu { display: none; }
  .mobile-nav { display: block; }
  .nav-bar, .nav-bar-pill { gap: 8px; flex-wrap: wrap; }
  .nav-actions { gap: 8px; }
}
@media (max-width: 600px) {
  .hero-telemetry-pill { display: none !important; }
  header { padding-left: 12px; padding-right: 12px; }
  .nav-bar, .nav-bar-pill { padding: 8px 12px; border-radius: 22px; }
  header .brand-logo-img { height: auto; width: 130px; max-width: 100%; }
  header .brand { min-width: 0; flex: 1 1 125px; }
  header .nav-actions { justify-content: flex-end; flex: 1 1 auto; }
  header .nav-actions a { padding: 8px 12px; font-size: .8rem; }
  .guide-grid, .feed-grid-3, .solution-tour-stage { grid-template-columns: minmax(0, 1fr) !important; }
  .tour-right-content { overflow-wrap: anywhere; }
  .obs-section-title, .macro-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .solution-tour-stage { padding: 20px; }
  .toast, .toast-pill { max-width: calc(100vw - 32px); white-space: normal; }
  .guide-cat-pill, .article-pill, .tag-item, .guide-tag { white-space: normal; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.audit-legal-page { padding: 160px 24px 80px; min-height: 70vh; }
.audit-legal-sheet { max-width: 850px; margin: 0 auto; line-height: 1.75; overflow-wrap: anywhere; }
.audit-legal-sheet h1 { font-size: clamp(2rem,5vw,3rem); margin-bottom: 28px; }
.audit-legal-sheet h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.audit-legal-sheet p, .audit-legal-sheet ul { margin-bottom: 18px; }
.audit-legal-sheet ul { padding-left: 24px; }
.audit-legal-sheet a { color: inherit; text-decoration: underline; }
#tourMetricBar { display: none; }
.contact-form label { display:block; color:var(--text-lead); font-size:.85rem; margin:8px 0; }

.guide-card, .article-bento-card { text-decoration:none; color:inherit; }

@media(max-width:600px) {
 .macro-foliage-section { height:auto !important; min-height:0 !important; padding-bottom:50px; }
 .pulse-pin-node { position:relative; top:auto; left:auto; margin:16px 20px; }
 .pin-circle { display:none; }
 .pin-popup-card, .pulse-pin-node:hover .pin-popup-card, .pulse-pin-node.active .pin-popup-card { position:relative; bottom:auto; left:auto; width:100%; opacity:1; transform:none; pointer-events:auto; }
}
