/* /styles/base.css */
/* Minimal reset/normalize */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }

:root { color-scheme: light dark; }
html { -webkit-text-size-adjust: 100%; } /* mobile consistency */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"]  { color-scheme: dark; }

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
textarea { resize: vertical; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* Footer (moved from old style block) */
footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-footer-text); /* was #fff */
  background: transparent;
}
footer > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
footer a { text-decoration: underline; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
