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

/* ─────────────────────────────
   Design tokens
───────────────────────────── */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #111111;
  --muted: #374151;
  --line: #d5dee9;
  --accent: #1d4ed8;

  --panel-a: #f8faff;
  --panel-b: #f7fcf8;

  /* Layout */
  --max-width: 1100px;
  --content-width: 82ch;

  /* Typography DO NOT CHANGE*/ 
  --fs-body: clamp(1.6rem, 0.98rem + 0.35vw, 1.16rem);
  --fs-h1: clamp(3.4rem, 2rem + 3vw, 3.6rem);
  --fs-h2: clamp(2.45rem, 1.1rem + 1vw, 1.9rem);
  --fs-h3: clamp(2.14rem, 1rem + 0.55vw, 1.35rem);
}

/* ─────────────────────────────
   Base
───────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ─────────────────────────────
   Layout
───────────────────────────── */
.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.4rem, 4vw, 2.6rem);
}

.article-card {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 14px 44px rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

/* ─────────────────────────────
   Hero
───────────────────────────── */
article > header {
  padding: clamp(2.2rem, 4vw, 3.2rem);
  background: #292828;
  color: #ffffff;
}

article > header h1 {
  margin: 0 0 1.4rem;
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: 600;
  color: #f1f3f5; /* soft off-white */
}

.hero-media {
  margin-top: 1.2rem;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  border-radius: 12px;
}
.hero-subtitle {
  
  font-size: clamp(1.5rem, 1rem + 0.6vw, 1.35rem);
  line-height: 1.55;
  color: #e6ecff;

}

/* ─────────────────────────────
   Sections
───────────────────────────── */
.content-section {
  margin: 2rem;
  padding: 2rem 2.2rem;
  border-radius: 16px;
  background: var(--panel-a);
}

.content-section.alt {
  background: var(--panel-b);
}



/* ─────────────────────────────
   Typography
───────────────────────────── */
.section-title {
  margin-bottom: 1.15rem;
  font-size: var(--fs-h2);
  line-height: 1.22;
  font-weight: 700;
}

h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: var(--fs-h3);
  line-height: 1.4;
  font-weight: 600;
}

p,
li {
  font-size: var(--fs-body);
  line-height: 1.85;
  letter-spacing: 0.003em;
  margin-bottom: 1.05rem;
  color: var(--muted);
  max-width: var(--content-width);
}

ul {
  margin-left: 1.55rem;
  margin-bottom: 1rem;
}

/* ─────────────────────────────
   Links
───────────────────────────── */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* ─────────────────────────────
   Mobile
───────────────────────────── */
@media (max-width: 768px) {
  .page-wrap {
    padding: 1.6rem 1rem;
  }

  article > header {
    padding: 1.8rem 1.2rem;
  }

  .content-section {
    margin: 1.05rem 0.8rem;
    padding: 1.3rem 1.05rem;
  }

  .section-title {
    margin-bottom: 0.95rem;
  }

  p,
  li {
    line-height: 1.78;
    max-width: none;
  }
}
