:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --text: #1d2329;
  --muted: #626b75;
  --line: #d9dde2;
  --panel: #ffffff;
  --accent: #0d6b68;
  --accent-strong: #084947;
  --accent-soft: #dff0ed;
  --focus: #c44f27;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--accent-strong);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-weight: 750;
  text-decoration: none;
}

.primary-nav,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
}

.primary-nav a,
.language-switcher a,
.language-switcher span,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.primary-nav a:hover,
.language-switcher a:hover,
.site-footer a:hover {
  color: var(--accent-strong);
}

.language-switcher span {
  color: var(--text);
  font-weight: 700;
}

.hero {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 10vw, 112px) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 32px;
}

.hero h1,
.page-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.02;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
}

.hero-image,
.featured-image {
  margin: 0;
}

.hero-image img,
.featured-image img,
.content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-image img,
.featured-image img {
  border: 1px solid var(--line);
  background: var(--panel);
}

.featured-image {
  max-width: 760px;
  margin: 0 0 28px;
}

.section,
.page {
  padding: 56px 0;
}

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

.feature,
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.feature h2,
.post-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

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

.page-header {
  padding-top: 56px;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.content {
  max-width: 760px;
  font-size: 1.08rem;
}

.content h2 {
  margin-top: 36px;
}

.content p {
  color: var(--text);
}

.listing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}

.post-card a {
  text-decoration: none;
}

.post-card a:hover {
  color: var(--accent-strong);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-strong);
  font-weight: 750;
}

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

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-nav,
  .language-switcher {
    flex-wrap: wrap;
  }

  .hero-inner,
  .feature-grid,
  .listing {
    grid-template-columns: 1fr;
  }
}
