@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ================================
   GLOBAL
   ================================ */

html {
    font-size: 18px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: #1a1a1a;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* ================================
   LAYOUT
   ================================ */

.main-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

/* ================================
   HEADINGS
   ================================ */

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

/* ================================
   TEXT
   ================================ */

p {
    margin-bottom: 1.4rem;
}

strong {
    font-weight: 600;
}

/* ================================
   LINKS
   ================================ */

a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration: none;
}

@media print {
  body {
    font-size: 12pt;
    line-height: 1.6;
    color: black;
    background: white;
  }

  nav, footer {
    display: none;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ================================
   NAVIGATION
   ================================ */

nav {
    border-bottom: 1px solid #e0e0e0;
}

nav ul {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 24px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    text-decoration: none;
    font-weight: 500;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --accent: #1a4fd8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --text: #eaeaea;
    --muted: #aaaaaa;
    --accent: #6ea0ff;
  }
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.6em;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2em;
}

p {
  max-width: 70ch;
}

section {
  margin-bottom: 3rem;
}

/* ================================
   SUMMARY BOX
   ================================ */

.summary-box {
    background-color: #f5f5f5;
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-left: 3px solid #000;
}

/* ================================
   FOOTER
   ================================ */

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 6rem;
    padding-bottom: 3rem;
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 768px) {
    html {
        font-size: 17px;
    }

    .main-content {
        padding: 48px 20px 72px;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    p {
        margin-bottom: 1.5rem;
    }
}
