:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5b6672;
  --line: #d9e0e6;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --green: #1f7a5a;
  --blue: #245f91;
  --gold: #b46c21;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, .94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: .95rem;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(31, 122, 90, .12), transparent 36%),
    linear-gradient(300deg, rgba(180, 108, 33, .12), transparent 38%),
    #f4f1e9;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5.6rem);
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.16rem;
  color: var(--muted);
}

.button, .read-more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(23, 33, 43, .14);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(23, 33, 43, .08);
}

.hero-panel span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
}

.hero-panel strong {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.22;
}

.topics, .article-section, .about {
  padding: clamp(42px, 7vw, 78px) clamp(20px, 4vw, 56px);
}

.topics h2, .section-heading h2, .about h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 20px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.topic-grid div {
  min-height: 140px;
  padding: 20px;
  background: var(--panel);
}

.topic-grid strong, .topic-grid span {
  display: block;
}

.topic-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 420px;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ad-slot {
  width: 100%;
  min-height: 96px;
  margin: 22px 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
}

.article-section .ad-slot {
  margin-bottom: 24px;
}

.in-article {
  margin: 28px 0;
}

.article-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: #f4f1e9;
}

.article-card time, .article-body time {
  color: var(--gold);
  font-size: .88rem;
  font-weight: 800;
}

.article-card h3 {
  margin: 12px 0 10px;
  font-size: 1.28rem;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.article-card .read-more {
  margin-top: auto;
  width: fit-content;
  background: var(--blue);
}

.about {
  background: #eef4f1;
}

.about p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-layout {
  padding: clamp(36px, 6vw, 72px) 20px;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-body h1 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 26px 0 30px;
  background: #f4f1e9;
}

.dek {
  font-size: 1.18rem;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.note {
  margin-top: 28px;
  padding: 16px;
  border-left: 4px solid var(--green);
  background: #eef4f1;
  color: var(--muted);
}

.legal-layout {
  padding: clamp(36px, 6vw, 72px) 20px;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.legal-body h1 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.legal-body h2 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
}

.legal-body p {
  color: var(--muted);
}

.legal-body a {
  color: var(--blue);
  font-weight: 800;
}

.contact-box {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef4f1;
}

footer {
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero, .topic-grid, .article-grid {
    grid-template-columns: 1fr;
  }

  .section-heading, .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
