/* base.css — reset + shared structure only. No color or font declarations here;
   each page's own style.css defines :root tokens and applies them. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body, system-ui, -apple-system, "Malgun Gothic", sans-serif);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
ul, ol { padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
header.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-toggle { display: none; }

@media (max-width: 640px) {
  header.site-header nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  header.site-header nav.open ul { display: flex; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

section.hero { padding: 3rem 1.25rem; }
main { display: block; }
section { padding: 3rem 1.25rem; }

figure { margin-inline: auto; max-width: 900px; margin-block: 2rem; }
figure img { display: block; width: 100%; height: auto; margin: 0 auto; }
figcaption { text-align: center; font-size: 0.9rem; margin-top: 0.5rem; }

section.cta { padding: 3rem 1.25rem; text-align: center; }

footer.site-footer { padding: 2.5rem 1.25rem; font-size: 0.9rem; }
footer.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

blockquote.review {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
