:root {
  --bg: #0b0c0d;
  --bg-alt: #101113;
  --surface: #15171a;
  --line: #212428;
  --line-strong: #2e3237;
  --text: #c3c7cc;
  --heading: #f2f3f4;
  --muted: #878d94;
  --accent: #b39b74;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header: 72px;
  --radius: 3px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 32px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, text-decoration-color 0.15s ease;
}

main p a,
main dd a {
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

main p a:hover,
main dd a:hover {
  text-decoration-color: var(--heading);
}

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

::selection {
  background: var(--heading);
  color: var(--bg);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--heading);
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 14px;
  background: var(--heading);
  color: var(--bg);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 13, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  color: var(--heading);
}

.wordmark-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wordmark-sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--heading);
}

.site-nav .nav-cta {
  margin-left: 12px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--heading);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  border-color: var(--heading);
}

.nav-toggle {
  display: none;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -4px;
}

.nav-toggle-icon::after {
  top: 3px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  padding: clamp(96px, 14vw, 184px) 0 clamp(88px, 11vw, 144px);
}

.hero h1 {
  max-width: 19ch;
  font-size: clamp(2.5rem, 5.6vw, 4.375rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.page-header {
  padding: clamp(80px, 11vw, 144px) 0 clamp(56px, 7vw, 96px);
}

.page-header h1 {
  max-width: 20ch;
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.lead {
  max-width: 40rem;
  margin: 28px 0 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(72px, 9vw, 120px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 0.8125rem;
  color: var(--muted);
}

.hero-facts dd {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--heading);
  white-space: nowrap;
}

.button:hover {
  border-color: var(--heading);
}

.button-primary {
  background: var(--heading);
  border-color: var(--heading);
  color: var(--bg);
}

.button-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.text-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.text-link:hover {
  text-decoration-color: var(--heading);
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 46rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 48px;
  max-width: none;
}

.section-header-row > div {
  max-width: 46rem;
}

.section-header h2,
.split-title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 32px clamp(48px, 7vw, 112px);
  align-items: start;
}

.split-title {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}

.split-body {
  max-width: 44rem;
}

.split-body > p {
  font-size: 1.0625rem;
  color: var(--text);
}

.card-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--bg);
}

.section-alt .card {
  background: var(--bg-alt);
}

.card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.012em;
}

.card p {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.card .text-link {
  margin-top: auto;
  padding-top: 28px;
  align-self: flex-start;
}

.split-body p .contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.contact-list {
  margin: 20px 0 28px;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(32px, 4vw, 56px);
}

.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.columns > li,
.columns > div {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.columns h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.columns p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.publications {
  border-top: 1px solid var(--line-strong);
}

.publication {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) 7rem;
  gap: 8px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.publication-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.publication h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.008em;
}

.publication p {
  max-width: 46rem;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.publication-type {
  padding-top: 3px;
  font-size: 0.8125rem;
  text-align: right;
  color: var(--muted);
}

.service-detail + .service-detail {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin-top: 40px;
}

.list-title {
  margin-bottom: 14px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule-list {
  border-top: 1px solid var(--line);
}

.rule-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text);
}

.rule-list-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  border-top: 0;
}

.rule-list-2 li:nth-child(-n + 2) {
  border-top: 1px solid var(--line);
}

.policy-list {
  margin: 24px 0 32px;
  counter-reset: policy;
}

.policy-list li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-top: 1px solid var(--line);
  counter-increment: policy;
  color: var(--text);
}

.policy-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.policy-list li::before {
  content: counter(policy) ".";
  position: absolute;
  top: 16px;
  left: 0;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.note {
  max-width: 46rem;
  margin: 40px 0 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--muted);
}

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

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 0.9375rem;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--heading);
}

.cta {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px 64px;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  letter-spacing: -0.022em;
}

.cta p {
  max-width: 38rem;
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.site-footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 20px;
  color: var(--muted);
}

.footer-col h2 {
  margin-bottom: 18px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--heading);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-base ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-base a:hover {
  color: var(--heading);
}

.error-page {
  display: flex;
  align-items: center;
  min-height: 64vh;
}

@media (max-width: 1040px) {
  .columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--heading);
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    height: calc(100vh - var(--header));
    height: calc(100dvh - var(--header));
    padding: 8px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--bg);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--text);
  }

  .site-nav .nav-cta {
    margin: 32px 0 0;
    padding: 14px 0;
    border: 1px solid var(--line-strong);
    font-size: 1rem;
    text-align: center;
  }

  .publication {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 24px;
  }

  .publication-meta {
    flex-direction: row;
    gap: 16px;
  }

  .publication-body {
    grid-column: 1 / -1;
    order: 2;
    margin-top: 10px;
  }
}

@media (max-width: 800px) {
  .split,
  .card-grid-2,
  .columns,
  .list-columns {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 20px;
  }

  .columns {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .columns-4,
  .rule-list-2 {
    grid-template-columns: 1fr;
  }

  .rule-list-2 li:nth-child(2) {
    border-top: 0;
  }

  .facts div {
    grid-template-columns: 1fr;
  }

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

  .footer-base {
    flex-direction: column;
  }

  .actions .button {
    flex: 1 1 auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
