/* ── weer.co shared stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1D9E75;
  --green-light: #E1F5EE;
  --green-dark: #085041;
  --amber: #BA7517;
  --amber-light: #FAEEDA;
  --amber-dark: #412402;
  --red: #E24B4A;
  --red-light: #FCEBEB;
  --red-dark: #501313;
  --gray-100: #f7f6f3;
  --gray-200: #eceae4;
  --gray-400: #b4b2a9;
  --gray-600: #5f5e5a;
  --gray-800: #2c2c2a;
  --text: #1a1a18;
  --text-muted: #5f5e5a;
  --text-hint: #9b9990;
  --bg: #faf9f6;
  --bg-card: #ffffff;
  --border: rgba(44,44,42,0.12);
  --border-hover: rgba(44,44,42,0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --gray-100: #1e1e1c;
    --gray-200: #2a2a27;
    --gray-400: #5f5e5a;
    --gray-600: #9b9990;
    --gray-800: #d3d1c7;
    --text: #f0ede6;
    --text-muted: #9b9990;
    --text-hint: #5f5e5a;
    --bg: #141412;
    --bg-card: #1e1e1c;
    --border: rgba(255,255,255,0.09);
    --border-hover: rgba(255,255,255,0.16);
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    --green-light: #04342c;
    --amber-light: #412402;
    --red-light: #2d1212;
  }
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── Layout ── */
.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ── Header / Logo ── */
.header { margin-bottom: 2rem; }

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}

.logo em {
  font-style: italic;
  color: var(--green);
}

.tagline {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 4px;
}

/* ── Article / Content pages ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1.5rem;
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s;
}

.back-link:hover { opacity: 0.75; }

article h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text);
}

article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

article p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

article strong { color: var(--text); font-weight: 500; }

article a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
article a:hover { opacity: 0.8; }

article ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

article ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

/* ── Content cards (tip, highlight) ── */
.tip-card, .highlight-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.tip-card {
  background: var(--gray-100);
  border: 1px solid var(--border);
}

.tip-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.tip-card p { margin-bottom: 0; }

.highlight-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
}

.highlight-box strong { color: var(--green-dark); }

/* ── Footer ── */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-hint);
}

footer a {
  color: var(--text-hint);
  text-decoration: none;
}

footer a:hover { color: var(--text-muted); }

/* ── SEO content section (index page) ── */
.seo-content {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

.seo-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 1rem;
  color: var(--text);
}

.seo-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.seo-content p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.seo-content ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.seo-content li {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.seo-content a { color: var(--green); }

.faq-section {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  border: 1px solid var(--border);
}
