:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbf7ef;
  color: #241811;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 132, 71, 0.18), transparent 32rem),
    linear-gradient(180deg, #fffaf2 0%, #fbf7ef 100%);
}

.page {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
  line-height: 1.65;
}

.language-switch {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.language-switch a {
  border: 1px solid rgba(36, 24, 17, 0.16);
  border-radius: 999px;
  color: inherit;
  font-size: 0.9rem;
  padding: 6px 12px;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  background: #241811;
  border-color: #241811;
  color: #fffaf2;
}

.brand-mark {
  display: block;
  height: 72px;
  margin: 0 0 18px;
  width: 72px;
}

.eyebrow {
  color: #a04d22;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 24px;
  letter-spacing: -0.06em;
}

h2 {
  border-top: 1px solid rgba(36, 24, 17, 0.12);
  margin-top: 36px;
  padding-top: 24px;
}

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

ul {
  padding-left: 1.25rem;
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 32px;
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 24, 17, 0.12);
  border-radius: 20px;
  color: inherit;
  display: block;
  padding: 20px;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease;
}

.card:hover {
  border-color: rgba(184, 78, 29, 0.45);
  transform: translateY(-2px);
}

.card span {
  display: block;
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 8px;
}

.card small {
  color: rgba(36, 24, 17, 0.7);
  display: block;
  font-size: 0.95rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #160f0a;
    color: #f6eadc;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(255, 132, 71, 0.16), transparent 32rem),
      linear-gradient(180deg, #1d130d 0%, #160f0a 100%);
  }

  .eyebrow, a {
    color: #ff9b61;
  }

  h2, .card, .language-switch a {
    border-color: rgba(246, 234, 220, 0.14);
  }

  .language-switch a[aria-current="page"] {
    background: #f6eadc;
    border-color: #f6eadc;
    color: #160f0a;
  }

  .card {
    background: rgba(255, 255, 255, 0.06);
  }

  .card small {
    color: rgba(246, 234, 220, 0.74);
  }
}
