@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #0c0c0c;
  --surface: #141414;
  --surface-hover: #191919;
  --line: #2a2a2a;
  --line-soft: #202020;
  --text: #ffffff;
  --body: #c2c2c2;
  --muted: #888888;
  --page-gutter: clamp(1.5rem, 5vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.055), transparent 26rem),
    var(--bg);
  color: var(--body);
  font: 300 1rem/1.75 "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 55%);
  mask-image: linear-gradient(to bottom, black, transparent 55%);
}

::selection {
  background: #ffffff;
  color: #0c0c0c;
}

a {
  color: var(--text);
  text-decoration-color: #666666;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
  color: #d5d5d5;
  text-decoration-color: #d5d5d5;
}

a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7.5rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 105px;
  height: 26px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.42fr);
  min-height: 27rem;
  border-bottom: 1px solid var(--line);
}

.hero__main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(4rem, 9vw, 8rem) var(--page-gutter) clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  background: #6b6b6b;
  content: "";
}

h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem var(--page-gutter) 4.6rem clamp(2rem, 4vw, 4rem);
  border-left: 1px solid var(--line);
}

.hero__aside p {
  max-width: 27rem;
  margin: 0;
  font-size: 0.95rem;
}

.meta {
  display: block;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.layout {
  display: grid;
  grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 1fr);
  max-width: 96rem;
  margin: 0 auto;
}

.toc {
  align-self: start;
  position: sticky;
  top: 0;
  padding: 5rem 2.5rem 5rem var(--page-gutter);
}

.toc__label {
  margin: 0 0 1.25rem;
  color: #666666;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin: 0.55rem 0;
}

.toc a {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  text-decoration: none;
}

.toc a::before {
  min-width: 1.6rem;
  color: #505050;
  content: counter(toc, decimal-leading-zero);
}

.toc a:hover {
  color: var(--text);
}

.content {
  max-width: 58rem;
  padding: 5rem var(--page-gutter) 7rem clamp(2rem, 6vw, 6rem);
  border-left: 1px solid var(--line);
}

.lead {
  margin: 0 0 5rem;
  color: #dedede;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.policy-section {
  scroll-margin-top: 2rem;
  margin-bottom: 4.75rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.section-number {
  color: #555555;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

h3 {
  margin: 2rem 0 0.55rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

p,
ul,
ol {
  margin: 0 0 1.15rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin: 0.7rem 0;
  padding-left: 0.35rem;
}

li::marker {
  color: #666666;
}

strong {
  color: #e7e7e7;
  font-weight: 500;
}

.callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

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

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #343434;
  background: var(--surface);
}

.contact-card p {
  margin: 0.15rem 0;
}

.contact-card__label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #0c0c0c;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: transparent;
  color: #ffffff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.support-card {
  min-height: 13rem;
  padding: 1.75rem;
  background: var(--surface);
  transition: background 180ms ease;
}

.support-card:hover {
  background: var(--surface-hover);
}

.support-card__number {
  color: #555555;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.support-card h3 {
  margin: 2rem 0 0.6rem;
  font-size: 1.1rem;
}

.support-card p {
  margin: 0;
  color: #9c9c9c;
  font-size: 0.85rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem var(--page-gutter);
  border-top: 1px solid var(--line);
  color: #666666;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: #888888;
  text-decoration: none;
}

@media (max-width: 800px) {
  .site-header {
    min-height: 5.75rem;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero__main {
    min-height: 22rem;
  }

  .hero__aside {
    padding: 2rem var(--page-gutter) 2.5rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .layout {
    display: block;
  }

  .toc {
    display: none;
  }

  .content {
    padding: 4rem var(--page-gutter) 5rem;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 1rem;
    font-size: 0.64rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

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

  .support-card {
    min-height: 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
