:root {
  color-scheme: dark;
  --ink: #0b0c0b;
  --panel: #111310;
  --ivory: #f3f0e8;
  --muted: #a7a69f;
  --line: rgba(243, 240, 232, 0.14);
  --lime: #d8ff45;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", Arial, sans-serif;
  line-height: 1.8;
}

a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

.wrap {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 42px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav a:hover {
  color: var(--ivory);
}

main {
  padding-top: 42px;
}

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

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  letter-spacing: -0.025em;
}

h2 {
  margin: 2.5em 0 0.7em;
  font-size: 1.12rem;
  letter-spacing: 0.025em;
}

h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1rem;
}

p,
li,
dd {
  color: #d7d4cc;
}

ul,
ol {
  padding-left: 1.35em;
}

.eyebrow,
.meta,
.language-label,
.status {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--lime);
  margin-bottom: 12px;
}

.lede {
  max-width: 620px;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.7;
}

.status {
  display: inline-block;
  margin-top: 26px;
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  min-height: 150px;
  padding: 24px;
  background: var(--panel);
}

.feature h2 {
  margin-top: 0;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.links {
  display: grid;
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--panel);
  color: var(--ivory);
  text-decoration: none;
}

.links a::after {
  content: "↗";
  color: var(--lime);
}

.language-switch {
  display: flex;
  gap: 14px;
  margin: 0 0 34px;
  font-size: 0.78rem;
}

.language-switch a {
  color: var(--muted);
}

.language-section {
  scroll-margin-top: 24px;
}

.language-section + .language-section {
  margin-top: 64px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.policy h1,
.support h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.faq dt {
  margin-top: 1.5em;
  color: var(--ivory);
  font-weight: 700;
}

.faq dd {
  margin: 0.35em 0 0;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 32px, 760px);
    padding-top: 28px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

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

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

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