*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--bg);
}

html.i18n-pending body {
  visibility: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  z-index: 40;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

p {
  margin: 0;
  color: var(--text-muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
}

h1,
h2 {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 0.08em;
  background: var(--grad-heading);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
}

h3 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}

::selection {
  background: rgba(94, 234, 212, 0.25);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 900px;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 880px;
}

.section-heading > p:last-child {
  max-width: 700px;
  margin-top: 24px;
  font-size: clamp(17px, 1.5vw, 18px);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--warning {
  color: #ff8a75;
}

.lead {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

.text-strong {
  color: var(--text);
  font-weight: 500;
}

.footnote {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

.legal-copy {
  display: grid;
  max-width: 760px;
  margin-top: 40px;
  gap: 16px;
}

.legal-copy h2 {
  margin-top: 24px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-copy strong {
  color: var(--text);
}
