:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-alt: #eef4f1;
  --ink: #13211a;
  --text: #30443b;
  --muted: #62746c;
  --line: rgba(19, 33, 26, 0.12);
  --green: #198754;
  --teal: #0f766e;
  --coral: #e85d3f;
  --cream: #fff4eb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-row,
.footer-row,
.cta-band,
.section-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-row {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a.active {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #09110d;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 17, 13, 0.12), rgba(9, 17, 13, 0.86)),
    linear-gradient(120deg, rgba(15, 118, 110, 0.25), rgba(232, 93, 63, 0.15));
}

.hero-copy {
  position: relative;
  padding: 84px 0 56px;
  color: #ffffff;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #ffe1d8;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

.hero h1 {
  max-width: 10ch;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 68px);
}

.hero-text,
.lead {
  font-size: 18px;
}

.hero-text {
  max-width: 64ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.button.tertiary {
  background: var(--cream);
  color: var(--ink);
  border-color: rgba(232, 93, 63, 0.2);
}

.section {
  padding: 72px 0;
}

.section.alt,
.page-hero,
.article-header {
  background: var(--surface-alt);
}

.page-hero,
.article-header {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--line);
}

.lead {
  margin: 18px 0 0;
  color: var(--text);
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.article-copy p,
.site-footer p,
.not-found p {
  margin: 0;
}

.section-heading {
  margin-bottom: 24px;
}

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

.topic-card,
.feature-card {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.topic-card img,
.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-copy,
.feature-card > div {
  padding: 0 18px 18px;
}

.topic-copy h3,
.feature-card h3 {
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
}

.feature-card.single {
  grid-template-columns: minmax(260px, 340px) 1fr;
  align-items: stretch;
}

.feature-card.single img {
  height: 100%;
  aspect-ratio: auto;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 32px;
  align-items: start;
}

.article-visual img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.article-copy {
  display: grid;
  gap: 18px;
}

.cta-band {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-row {
  align-items: flex-start;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
}

.not-found img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .section-grid,
  .cta-band,
  .footer-row,
  .article-layout,
  .feature-card.single {
    display: grid;
  }

  .hero {
    min-height: 64vh;
  }

  .hero-copy {
    padding-top: 96px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 20px, 1120px);
  }

  .site-nav {
    gap: 12px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(32px, 8vw, 44px);
  }

  .hero-text,
  .lead {
    font-size: 16px;
  }

  .section,
  .page-hero,
  .article-header {
    padding-top: 56px;
    padding-bottom: 32px;
  }
}
.adsterra-link-wrap {
  padding: 0 0 1.25rem;
  text-align: center;
}

.adsterra-link {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}