:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --panel: #ffffff;
  --ink: #172126;
  --muted: #65717a;
  --line: #d9dfdf;
  --accent: #0f7b73;
  --accent-strong: #075e58;
  --shadow: 0 18px 60px rgba(23, 33, 38, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(15, 123, 115, 0.08), transparent 34%),
    linear-gradient(310deg, rgba(169, 104, 0, 0.1), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.hero,
.resource-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.hero {
  display: grid;
  gap: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.breadcrumb-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--accent-strong);
  font-weight: 800;
}

.breadcrumb-row a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-row a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumb-row a:focus-visible,
.resource-link:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(15, 123, 115, 0.22);
  outline-offset: 4px;
}

.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
}

.breadcrumb-current {
  font-size: 18px;
}

.breadcrumb-separator {
  color: var(--muted);
  font-weight: 700;
}

.intro {
  max-width: 780px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.resource-section {
  margin-top: 18px;
  padding: 24px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.eyebrow,
.meta-row,
.badge {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--accent);
}

h2 {
  font-size: 28px;
}

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

.resource-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

h3 {
  font-size: 26px;
  line-height: 1.1;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dff3ee;
  color: var(--accent-strong);
  white-space: nowrap;
}

.resource-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.meta-row span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.resource-link {
  color: var(--accent-strong);
  font-weight: 850;
}

.site-footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
}

@media (max-width: 760px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .resource-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .hero,
  .resource-section {
    padding: 18px;
  }
}
