/* ==========================================================================
   Base styles (structure + typography)
   Keep visual theme values in theme.css.
   ========================================================================== */

/* Simple, modern reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout primitives */
header,
main,
footer {
  display: block;
}

header nav,
main,
footer {
  padding-left: 16px;
  padding-right: 16px;
}

main {
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 36px;
  padding-bottom: 64px;
}

/* Headings: refined, modern typography with better spacing */
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.875rem;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  margin-bottom: 0.625rem;
  font-weight: 650;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

blockquote {
  margin: 0;
}


