:root {
  color-scheme: dark;
  --background: #070907;
  --surface: #11140f;
  --surface-raised: #171b15;
  --foreground: #f4f2ea;
  --muted: #a8afa2;
  --subtle: #767e72;
  --divider: #2d3329;
  --accent: #f5b94d;
  --accent-soft: rgb(245 185 77 / 12%);
  --focus: #79b8ff;
  --radius: 18px;
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgb(245 185 77 / 9%), transparent 38rem),
    var(--background);
  color: var(--foreground);
  font: 16px/1.72 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--foreground);
  color: var(--background);
  transform: translateY(-160%);
}

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

.site-header,
main,
.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--divider);
}

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

.brand-mark {
  display: grid;
  width: 24px;
  height: 24px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border-radius: 6px;
  background: var(--accent-soft);
}

.brand-mark i {
  display: block;
  border-radius: 1px;
  background: var(--accent);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(4) {
  opacity: 0.35;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--foreground);
}

main {
  padding: 64px 0 80px;
}

.hero {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--divider);
}

.eyebrow,
.updated {
  margin: 0;
  color: var(--subtle);
  font-size: 0.88rem;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  margin: 8px 0 10px;
  font-size: clamp(2.25rem, 8vw, 3.7rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--surface);
  color: var(--foreground);
  font-size: 0.9rem;
  text-decoration: none;
}

.pill[aria-current="true"] {
  border-color: rgb(245 185 77 / 45%);
  background: var(--accent-soft);
  color: var(--accent);
}

.document {
  padding-top: 12px;
}

.document h2 {
  margin: 36px 0 8px;
  font-size: 1.16rem;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.document p,
.document li {
  color: var(--muted);
}

.document ul {
  padding-left: 1.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.card {
  padding: 22px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

a.card {
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

a.card p {
  color: var(--muted);
}

a.card:hover {
  border-color: rgb(245 185 77 / 45%);
  transform: translateY(-2px);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  color: var(--foreground);
  font-size: 1.05rem;
}

.card p {
  margin: 0;
}

.contact-card {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid rgb(245 185 77 / 35%);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.contact-card h2 {
  margin: 0 0 8px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--divider);
  color: var(--subtle);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

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

  main {
    padding-top: 46px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a.card {
    transition: none;
  }
}
