@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f8f5;
  --bg-soft: #eaf3ee;
  --ink: #18261f;
  --muted: #476155;
  --line: #c7d7cd;
  --primary: #0f7a4d;
  --primary-strong: #0a5f3b;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(16, 60, 40, 0.12);
  --radius: 16px;
  --text-light: #edf9f2;
  --text-muted-light: #d6efdf;
  --card-gap: 1.1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(83, 179, 132, 0.22), transparent 36%),
    radial-gradient(circle at 8% 28%, rgba(45, 122, 84, 0.18), transparent 30%),
    var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(850px, 92vw);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 248, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.85rem 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 8.2rem;
  height: 2.4rem;
  border-radius: 12px;
  background: var(--primary);
  padding: 0.3rem 0.55rem;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-list a {
  color: var(--muted);
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.lang-switch a {
  padding: 0.38rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.lang-switch a.active {
  background: var(--primary);
  color: #ffffff;
}

.hero {
  padding: 5.25rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-strong);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #edf5f0;
}

.hero-panel {
  background: linear-gradient(145deg, #f3fbf6 0%, #d9eee1 100%);
  border: 1px solid #bad7c5;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.15rem;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.1rem;
}

.cards,
.refs-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(2, minmax(230px, 1fr));
}

.refs-grid {
  grid-template-columns: repeat(3, minmax(200px, 1fr));
}

.card,
.ref-card,
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-gap);
}

.card h3,
.ref-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.ref-card h3 {
  font-size: 1.08rem;
}

.card p,
.ref-card p,
.steps p {
  color: var(--muted);
  margin: 0;
}

.ref-card .ref-author {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
}

.refs-lead {
  max-width: 70ch;
}

.refs-link-wrap {
  margin: 1.25rem 0 0;
}

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

.audience-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  font-size: 1.05rem;
}

.steps {
  list-style: none;
  counter-reset: item;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.highlight-box {
  background: #f0f8f3;
  border: 1px solid #bdd8c9;
  border-radius: var(--radius);
  padding: var(--card-gap);
}

.highlight-box p {
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px dashed #aac8b8;
  font-weight: 500;
}

.highlight-box p:last-child {
  border-bottom: none;
}

.section-cta {
  background: #173128;
  color: var(--text-light);
}

.section-cta .eyebrow {
  color: #bfe8d0;
}

.section-cta p {
  color: var(--text-muted-light);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.contact-box {
  background: rgba(237, 249, 242, 0.08);
  border: 1px solid rgba(216, 240, 226, 0.36);
  border-radius: var(--radius);
  padding: var(--card-gap);
}

.contact-box h3 {
  margin-bottom: 0.7rem;
}

.contact-box p {
  margin-bottom: 0.9rem;
}

.contact-box .button {
  width: fit-content;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f1f7f3;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .cards,
  .refs-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}
