:root {
  color-scheme: dark;
  --page-background: #303030;
  --surface: #424242;
  --surface-raised: #4a4a4a;
  --outline: rgba(255, 255, 255, 0.18);
  --text: rgba(255, 255, 255, 0.92);
  --muted-text: rgba(255, 255, 255, 0.7);
  --primary: #ff4081;
  --primary-hover: #ff6b9d;
  --accent: #90a4ae;
  --content-width: 1120px;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-background);
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--primary);
}

.page-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0 24px 40px;
}

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--outline);
}

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

.wordmark-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 700;
}

.header-link,
.text-button {
  padding: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.header-link:hover,
.text-button:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.language-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--outline);
  font-size: 13px;
}

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

.language-navigation a:hover,
.language-navigation a[aria-current="page"] {
  color: var(--primary);
  text-decoration: underline;
}

.intro {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--outline);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

h3 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 500;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted-text);
  font-size: 20px;
}

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

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.button-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex: none;
}

svg.button-icon {
  fill: currentColor;
}

.button:hover {
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.34);
}

.button-primary {
  background: var(--primary);
  color: #1f1f1f;
}

.button-primary:hover {
  background: var(--primary-hover);
}

.button-secondary {
  border-color: var(--accent);
  background: transparent;
  color: #d4e1e7;
}

.button-secondary:hover {
  background: rgba(144, 164, 174, 0.16);
}

.content-section {
  max-width: 860px;
  padding: 48px 0;
  border-bottom: 1px solid var(--outline);
}

.content-section p,
.content-section li,
dd {
  color: var(--muted-text);
}

.content-section ul {
  padding-left: 24px;
}

.content-section li + li {
  margin-top: 8px;
}

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.glossary div,
.spotlight-card,
.breakdown {
  border: 1px solid var(--outline);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.glossary div {
  padding: 16px;
}

dt {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 500;
}

dd {
  margin: 0;
  font-size: 14px;
}

.spotlight-section {
  max-width: none;
}

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

.spotlight-card {
  min-height: 114px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.spotlight-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 64, 129, 0.16);
  color: var(--primary);
  font-size: 23px;
}

.spotlight-card small,
.spotlight-card strong {
  display: block;
}

.spotlight-card small {
  color: var(--muted-text);
}

.spotlight-card strong {
  color: #fff;
  font-size: 27px;
  font-weight: 400;
}

.breakdown {
  max-width: 640px;
  padding: 22px;
}

.breakdown-item {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  gap: 4px 16px;
  align-items: center;
}

.breakdown-item + .breakdown-item {
  margin-top: 18px;
}

.breakdown-item span {
  color: var(--muted-text);
  font-size: 14px;
}

.breakdown-item strong {
  font-weight: 500;
}

.bar {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--primary);
}

.bar .wcs { width: 58%; }
.bar .lindy { width: 51%; }
.bar .standard-latin { width: 100%; }

.two-column {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.contact-section {
  max-width: none;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-text);
  font-size: 14px;
}

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

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

.site-footer a:hover {
  color: var(--primary);
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0 16px 24px;
  }

  .intro {
    padding: 56px 0 48px;
  }

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

  .lead {
    font-size: 18px;
  }

  .content-section {
    padding: 36px 0;
  }

  .glossary,
  .spotlight-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .two-column {
    gap: 32px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}

@media (max-width: 420px) {
  .site-header {
    min-height: 58px;
  }

  .wordmark {
    font-size: 17px;
  }

  .header-link {
    padding-right: 0;
  }

  h1 {
    font-size: 40px;
  }

  .actions,
  .button {
    width: 100%;
  }
}