:root {
  color-scheme: light;
  --bg: #fbfbf8;
  --ink: #151512;
  --muted: #676963;
  --line: #d9ded6;
  --accent: #0f766e;
  --warm: #a75b12;
  --soft: #edf2ee;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

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

.home-page {
  min-height: 100svh;
}

.home-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.visual-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.visual-field::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background-image:
    linear-gradient(to right, rgba(21, 21, 18, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 21, 18, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.visual-field::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 34rem;
  max-width: 62vw;
  aspect-ratio: 1;
  border: 1px solid rgba(15, 118, 110, 0.28);
  transform: rotate(8deg);
}

.trace {
  position: absolute;
  display: block;
  height: 2px;
  transform: rotate(-18deg);
  opacity: 0.62;
}

.trace::before,
.trace::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.72rem;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  background: var(--bg);
  transform: translateY(-50%);
}

.trace::before {
  left: 0;
}

.trace::after {
  right: 0;
}

.trace-one {
  right: 9%;
  top: 24%;
  width: 21rem;
  color: var(--accent);
  background: currentColor;
}

.trace-two {
  right: 21%;
  top: 52%;
  width: 16rem;
  color: var(--warm);
  background: currentColor;
}

.trace-three {
  right: -2%;
  top: 68%;
  width: 26rem;
  color: var(--ink);
  background: currentColor;
  opacity: 0.28;
}

.home-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-weight: 680;
  letter-spacing: 0;
}

.home-content h1 {
  max-width: 10ch;
  font-size: 4rem;
  line-height: 0.94;
}

.lede {
  max-width: 760px;
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  line-height: 1.18;
  font-weight: 520;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  max-width: 760px;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.meta p {
  margin: 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 4.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.document-page {
  min-height: 100svh;
  border-top: 6px solid var(--accent);
}

.document-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.document-shell h1 {
  margin: 1.5rem 0 2rem;
  font-size: 3rem;
  line-height: 1;
}

.document-shell p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.document-shell p:first-of-type {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.45;
}

.back-link {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (min-width: 760px) {
  .home-content {
    padding: 5rem 3rem 3rem;
  }

  .home-content h1 {
    font-size: 7rem;
  }

  .lede {
    font-size: 2.125rem;
  }

  .document-shell {
    padding: 6.5rem 2rem;
  }
}

@media (min-width: 1180px) {
  .home-content h1 {
    font-size: 8.5rem;
  }

  .lede {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .visual-field::after,
  .trace {
    display: none;
  }

  .visual-field::before {
    background-size: 48px 48px;
  }

  .legal-nav {
    margin-top: 3rem;
  }
}