:root {
  --background: #ffffff;
  --surface: #f6f7f8;
  --text: #111113;
  --muted: #62646a;
  --line: #dedfe3;
  --accent: #006fe6;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  line-height: 1.58;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

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

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

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.lang-button {
  min-width: 38px;
  min-height: 30px;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.lang-button.is-active {
  background: var(--text);
  color: var(--background);
}

.lang-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}

[data-language-content][hidden] {
  display: none;
}

.page {
  padding: 64px 0 80px;
}

.page-heading {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.document-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(36px, 7vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lede {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.document,
.support-section {
  padding-top: 34px;
}

.document h2,
.support-section h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.document h2:first-child,
.support-section h2:first-child {
  margin-top: 0;
}

.document p,
.support-section p,
.support-section li {
  font-size: 17px;
}

.document p,
.support-section p {
  margin: 0 0 18px;
}

.support-section ol,
.support-section ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.language-divider {
  margin: 48px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.notice p {
  margin: 0;
}

.translation-status {
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.translation-status strong {
  color: var(--text);
}

.legal-completion-warning {
  border-color: #d59b00;
  background: #fff8df;
  color: #5c4600;
}

.legal-placeholder {
  color: #8a5600;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 680px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .site-header__actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .page {
    padding: 42px 0 60px;
  }
}
