:root {
  --ink: #17211f;
  --muted: #5c6965;
  --paper: #fbfaf4;
  --mist: #edf4ef;
  --moss: #386641;
  --leaf: #7aa95c;
  --gold: #f4c95d;
  --coral: #e86f4f;
  --sky: #72b7c8;
  --line: #d8e2d8;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: #245d64;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 244, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  gap: 20px;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold), var(--sky));
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.35);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.language-switcher a {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.language-switcher a[aria-current="true"],
.language-switcher a:hover {
  border-color: var(--moss);
  color: var(--ink);
  background: var(--mist);
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--mist);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 22px 42px;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--moss);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: #3c4d48;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

.hero-art {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(114,183,200,0.38), rgba(237,244,239,0.4) 42%, rgba(122,169,92,0.28)),
    radial-gradient(circle at 78% 18%, rgba(244,201,93,0.85), transparent 22%),
    linear-gradient(140deg, #d6ecdf, #f7efe1);
  box-shadow: var(--shadow);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
}

.hero-art::before {
  height: 46%;
  background:
    linear-gradient(150deg, transparent 0 18%, rgba(56,102,65,0.78) 18% 46%, transparent 46%),
    linear-gradient(25deg, transparent 0 36%, rgba(36,93,100,0.74) 36% 63%, transparent 63%),
    linear-gradient(180deg, rgba(122,169,92,0.88), rgba(56,102,65,0.96));
  clip-path: polygon(0 45%, 12% 25%, 22% 42%, 35% 18%, 48% 39%, 60% 16%, 76% 45%, 90% 22%, 100% 39%, 100% 100%, 0 100%);
}

.hero-art::after {
  height: 34%;
  background: linear-gradient(180deg, rgba(23,33,31,0.04), rgba(23,33,31,0.1));
}

.crystal {
  position: absolute;
  bottom: 82px;
  width: 54px;
  height: 118px;
  background: linear-gradient(155deg, #f8f0a6, var(--gold) 48%, #71b8c8);
  clip-path: polygon(50% 0, 85% 35%, 68% 100%, 28% 100%, 12% 35%);
  filter: drop-shadow(0 16px 25px rgba(36,93,100,0.28));
}

.crystal.one { left: 16%; transform: rotate(-8deg); }
.crystal.two { right: 19%; bottom: 116px; transform: scale(0.8) rotate(9deg); }
.crystal.three { left: 46%; bottom: 132px; transform: scale(0.55) rotate(4deg); }

.creature-dot {
  position: absolute;
  width: 22px;
  height: 18px;
  border-radius: 50% 50% 45% 45%;
  background: var(--coral);
  box-shadow: 6px -5px 0 -3px var(--ink), 13px -4px 0 -3px var(--ink);
}

.creature-dot.a { left: 24%; bottom: 78px; }
.creature-dot.b { right: 30%; bottom: 96px; transform: scale(0.78); background: var(--gold); }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 22px;
}

.band {
  background: #f0f5ed;
  border-block: 1px solid var(--line);
}

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

.card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgba(23, 33, 31, 0.06);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: #34443f;
  font-size: 0.84rem;
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  align-items: start;
}

.content {
  max-width: 820px;
}

.content p,
.content li {
  color: #34443f;
}

.content article {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.sidebox {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.fact-list div {
  display: grid;
  gap: 2px;
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  font-weight: 750;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--coral);
  background: #fff5ef;
  color: #4b342f;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--mist);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer {
  padding: 34px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fffdf8;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .hero,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-art {
    min-height: 300px;
  }

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

  .sidebox {
    position: static;
  }
}

@media (max-width: 580px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .language-switcher {
    justify-content: flex-start;
  }

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

  .hero-art {
    min-height: 245px;
  }
}
