:root {
  --ink: #111111;
  --paper: #f6f6f2;
  --acid: #93fb03;
  --line: rgba(17, 17, 17, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px 4vw;
  background: rgba(246, 246, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand span { font-weight: 500; }

.site-head nav {
  display: flex;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-head nav a,
.language,
footer a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-head nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-head a:hover,
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.language {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

main { padding: 9vw 5vw 7vw; }

article { max-width: 920px; margin: 0 auto; }

.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 8vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 760px;
  margin: 46px 0 90px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

section {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.45fr);
  column-gap: 64px;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  grid-row: 1 / span 8;
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

section p {
  grid-column: 2;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.62;
}

section .refs {
  margin-top: 10px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.related {
  margin-top: 64px;
  padding: 42px;
  background: var(--acid);
}

.related h2 { margin: 0 0 22px; font-size: 28px; }
.related a { display: inline-block; margin: 0 24px 12px 0; font-weight: 800; }

body > footer {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 30px 4vw;
  border-top: 1px solid var(--line);
}

body > footer span { margin-right: auto; font-weight: 850; }

.uc-knowledge {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 38px;
  padding: 42px 5vw;
  color: #111;
  background: #f6f6f2;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.uc-knowledge p { margin: 0; }
.uc-knowledge strong { display: block; font-size: 24px; letter-spacing: -0.03em; }
.uc-knowledge span { display: block; margin-top: 8px; font-size: 14px; }
.uc-knowledge nav { display: flex; gap: 18px 24px; align-content: start; flex-wrap: wrap; }
.uc-knowledge a { color: #111; font-size: 14px; font-weight: 750; }
.uc-noscript { padding: 20px 5vw; background: #fbfb33; color: #111; }

@media (max-width: 820px) {
  .site-head { grid-template-columns: 1fr auto; }
  .site-head .brand { grid-column: 1; grid-row: 1; }
  .site-head .language { grid-column: 2; grid-row: 1; }
  .site-head nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  main { padding-top: 70px; }
  h1 { overflow-wrap: anywhere; }
  section { grid-template-columns: 1fr; gap: 24px; }
  section h2 { grid-row: auto; }
  section p { grid-column: 1; }
  .uc-knowledge { grid-template-columns: 1fr; }
  body > footer { align-items: flex-start; flex-wrap: wrap; }
  body > footer span { width: 100%; }
}

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