/* Legal pages stylesheet for The Pure Wellness Guide */
:root {
    --bg: #f7f8f5;
    --panel: #ffffff;
    --text: #26312b;
    --muted: #5d6a61;
    --border: #dfe6dc;
    --accent: #2f6f4e;
    --accent-soft: #e8f3ec;
    --link: #245f45;
    --shadow: 0 18px 50px rgba(38, 49, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    max-width: 100%;
    overflow-x: hidden;
}

.site-header {
    background: linear-gradient(135deg, #f4fbf6, #ffffff);
    border-bottom: 1px solid var(--border);
}

.header-inner, .legal-container, .site-footer {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo { width: 250px;}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-links a {
    color: var(--link);
    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover, .nav-links a:focus { text-decoration: underline; }

a { color: var(--link); }

.legal-hero { padding: 48px 0 24px; }

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.last-updated {
    color: var(--muted);
    font-weight: 700;
}

.legal-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 48px);
    margin-bottom: 40px;
}

.edit-note {
    background: #fff8df;
    border: 1px solid #f1dda2;
    border-radius: 14px;
    padding: 14px 16px;
    color: #6d5520;
}

h2 {
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--accent);
}

p { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }

.table-wrap {
    overflow-x: auto;
    margin: 18px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

th, td {
    text-align: left;
    padding: 12px;
    border: 1px solid var(--border);
    vertical-align: top;
}

th {
    background: var(--accent-soft);
    color: var(--accent);
}

.site-footer {
    padding: 0 0 36px;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 820px) {
  .hero,
  .hero-grid,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .quiz-card,
  .content,
  .sidebar,
  .card,
  .footer-card {
    padding: 22px;
  }
}

@media (max-width: 720px) {
    .header-inner {
      align-items: flex-start;
      flex-direction: column;
    }
    .nav-links { gap: 10px 14px; }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.08;
  }

  h2 {
    font-size: 26px;
    line-height: 1.15;
  }

  p,
  li {
    font-size: 16px;
  }
}