:root {
  --ink: #1d2430;
  --muted: #5d6878;
  --line: #dce2ea;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --accent: #1f7a68;
  --accent-strong: #15594c;
  --warm: #c46a2f;
  --blue: #315f9f;
  --radius: 8px;
  --shadow: 0 12px 30px rgba(29, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
}

.hero {
  background:
    linear-gradient(120deg, rgba(31, 122, 104, 0.12), rgba(196, 106, 47, 0.1)),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 56px 0;
}

.eyebrow {
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

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

h1 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--accent);
  font-weight: 800;
}

.button.secondary {
  color: var(--accent-strong);
  background: var(--paper);
}

.button:hover,
.button:focus {
  text-decoration: none;
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--paper);
}

.hero-board,
.media-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board {
  min-height: 300px;
}

.board-row {
  display: grid;
  grid-template-columns: 56px 1fr 84px;
  gap: 14px;
  padding: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.board-row:last-child {
  border-bottom: 0;
}

.thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(49, 95, 159, 0.2), rgba(31, 122, 104, 0.18));
}

.row-title {
  height: 12px;
  width: 80%;
  background: #d9e2ec;
  border-radius: 99px;
  margin-bottom: 10px;
}

.row-meta {
  height: 10px;
  width: 56%;
  background: #e7edf3;
  border-radius: 99px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 99px;
  background: #eef6f3;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

main {
  display: block;
}

.page-header {
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--muted);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
}

.card h3 {
  margin-bottom: 10px;
}

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

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
}

.category-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.category-card .media-placeholder {
  height: 86px;
  box-shadow: none;
  margin: -8px -8px 18px;
  background:
    linear-gradient(135deg, rgba(196, 106, 47, 0.14), rgba(49, 95, 159, 0.16)),
    #f8fafc;
}

.category-card .card-link {
  margin-top: auto;
}

.placeholder-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.placeholder-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
}

.internal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.internal-nav a {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .board-row {
    grid-template-columns: 48px 1fr;
  }

  .board-row .tag {
    grid-column: 2;
    justify-self: start;
  }
}
