:root { color-scheme: light dark; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; }

/* subtle underline animation for hero keywords */
h1 .underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 92%;
  transition: background-size .25s ease;
}
h1 .underline:hover {
  background-size: 100% 36%;
}

/* small responsive tweaks */
@media (max-width: 640px) {
  header .max-w-6xl { padding-left: 1rem; padding-right: 1rem; }
  main section { padding-left: 1rem; padding-right: 1rem; }
}

/* minimal focus styles for accessibility */
:focus {
  outline: 3px solid rgba(0,0,0,0.06);
  outline-offset: 2px;
}

/* simple header/footer and content helpers */
.site-header, .site-footer {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.site-header .container, .site-footer .container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.04);
  margin-top: 2rem;
  padding: 14px 0;
  font-size: 13px;
  color: #666;
}
.container a { color: inherit; text-decoration: underline dotted; }

/* cookie settings footer link - unobtrusive */
#cookieSettingsFooter {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline dotted;
  cursor: pointer;
}

/* muted lead paragraph for legal pages */
.muted-lead {
  margin-top: .5rem;
  color: #4b5563;
  font-size: .95rem;
}

/* ensure cookie UI accessible and visible on mobile */
#cookieBanner { max-width: 980px; margin-left: auto; margin-right: auto; }
#cookieBanner[aria-hidden="true"] { display: none !important; }
#cookieModal { display: none; }
#cookieModal[aria-hidden="false"] { display: flex; }
@media (max-width:640px) {
  #cookieBanner { left: 1rem; right: 1rem; }
}