:root {
  color-scheme: light;
  --ink: #102125;
  --muted: #5c7174;
  --line: #d8e8e4;
  --soft: #edf8f4;
  --accent: #0b7f78;
  --accent-strong: #055c58;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4fbf8 0%, #ffffff 46%, #eef7f4 100%);
  line-height: 1.6;
}

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

.site-header,
.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header { padding: 22px 0; }
.site-footer { padding: 38px 0 52px; color: var(--muted); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: #0d1e23;
  color: #79e2d2;
  font-size: 12px;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}

.hero {
  width: min(1080px, calc(100% - 40px));
  margin: 18px auto 26px;
  padding: 64px 0 42px;
}

.eyebrow {
  color: var(--accent-strong);
  font-weight: 700;
  margin: 0 0 12px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 780px;
  font-size: 20px;
  color: var(--muted);
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.language-switcher a,
.card-links a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.language-switcher a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.content,
.grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.section,
.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 20px 50px rgba(16, 68, 65, 0.07);
}

.section h2,
.card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: 0;
}

.section p,
.card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 38px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

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

  .hero {
    padding-top: 38px;
  }
}
