:root {
  color-scheme: light;
  --canvas: #faf8f2;
  --surface: #f5f2ed;
  --ink: #1c1f1c;
  --sage: #598073;
  --sage-soft: #bfdacc;
  --line: rgb(28 31 28 / 16%);
  --muted: rgb(28 31 28 / 68%);
  --display: Didot, "Bodoni 72", "Iowan Old Style", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(78rem, calc(100% - 3rem));
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #1c1f1c;
    --surface: #262a26;
    --ink: #faf8f2;
    --sage: #a6d1bf;
    --sage-soft: #739987;
    --line: rgb(250 248 242 / 16%);
    --muted: rgb(250 248 242 / 70%);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background:
    radial-gradient(circle at center, var(--line) 0 0.0625rem, transparent 0.075rem) 0 0 / 1rem 1rem,
    var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--sage) 68%, transparent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--sage);
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.25rem;
  outline: 0.1875rem solid var(--sage);
  outline-offset: 0.25rem;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}

h3 {
  font-family: var(--rounded);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 0.0625rem solid var(--line);
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand,
.footer-brand {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.primary-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.primary-nav a,
.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -0.125rem var(--sage);
}

.hero {
  min-height: min(52rem, calc(100dvh - 5rem));
  padding-block: clamp(5rem, 11vw, 9rem) clamp(6rem, 12vw, 10rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.hero-copy {
  max-width: 53rem;
}

.eyebrow {
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
  border-left: 0.125rem solid var(--sage);
  color: var(--ink);
  font-family: var(--rounded);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9ch;
  margin-bottom: 2rem;
}

.hero-lede {
  max-width: 40rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 0.0625rem solid var(--ink);
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--canvas);
  box-shadow: inset 0.25rem 0 var(--sage);
  font-family: var(--rounded);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-0.125rem);
}

.button:active {
  transform: translateY(0);
}

.request-path {
  position: relative;
  margin: 0;
  padding: 2rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.request-path::after {
  position: absolute;
  z-index: -1;
  right: -2rem;
  bottom: -2rem;
  width: 72%;
  height: 62%;
  border-right: 0.0625rem solid var(--sage);
  border-bottom: 0.0625rem solid var(--sage);
  border-radius: 0 0 1rem;
  content: "";
  opacity: 0.55;
}

.request-path figcaption {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.request-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-path li {
  position: relative;
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 1rem;
}

.request-path li:not(:last-child)::before {
  position: absolute;
  top: 1rem;
  bottom: -0.25rem;
  left: 0.34375rem;
  width: 0.0625rem;
  background: var(--line);
  content: "";
}

.path-node {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.375rem;
  border: 0.125rem solid var(--surface);
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0.0625rem var(--sage);
}

.request-path strong,
.request-path span {
  display: block;
}

.request-path strong {
  font-family: var(--rounded);
  font-size: 1rem;
  font-weight: 600;
}

.request-path div > span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.section {
  padding-block: clamp(6rem, 12vw, 10rem);
}

.purpose {
  border-top: 0.0625rem solid var(--line);
}

.section-heading {
  max-width: 57rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.principles {
  max-width: 62rem;
  margin-left: clamp(0rem, 12vw, 10rem);
}

.principles article {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 0.0625rem solid var(--line);
}

.principles article:nth-child(2) {
  margin-left: clamp(0rem, 5vw, 4rem);
}

.principles article:nth-child(3) {
  margin-left: clamp(0rem, 10vw, 8rem);
  border-bottom: 0.0625rem solid var(--line);
}

.principles h3 {
  margin: 0;
}

.principles article > p:last-child {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1.15fr);
  gap: clamp(4rem, 10vw, 10rem);
}

.how-intro h2 {
  max-width: 9ch;
  margin-bottom: 2rem;
}

.how-intro > p:last-child {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 0.0625rem solid var(--line);
  list-style: none;
}

.steps li {
  padding-block: 2rem;
  border-bottom: 0.0625rem solid var(--line);
}

.steps h3 {
  margin-bottom: 0.5rem;
}

.steps p {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
}

.interruption {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.interruption-rule {
  height: 100%;
  min-height: 13rem;
  border-top: 0.0625rem solid var(--sage);
  border-left: 0.0625rem solid var(--sage);
  border-radius: 1rem 0 0;
}

.interruption h2 {
  max-width: 11ch;
  margin: 0;
}

.interruption > p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

.alpha {
  width: 100%;
  background: var(--surface);
}

.alpha-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.alpha h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
}

.alpha-inner > p:last-child {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.site-footer {
  border-top: 0.0625rem solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-brand {
  margin-right: 0.5rem;
  color: var(--ink);
}

.legal {
  max-width: 58rem;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.legal h1 {
  margin-bottom: 2.5rem;
}

.legal-lede {
  max-width: 42rem;
  margin-bottom: 5rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
}

.legal section {
  padding-block: 2rem;
  border-top: 0.0625rem solid var(--line);
}

.legal section:last-of-type {
  border-bottom: 0.0625rem solid var(--line);
}

.legal h2 {
  margin-bottom: 1.25rem;
  font-family: var(--rounded);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal section p {
  max-width: 44rem;
  color: var(--muted);
}

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

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

.not-found {
  min-height: calc(100dvh - 5rem);
  padding-block: 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-code {
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 0.125rem solid var(--sage);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.not-found h1 {
  max-width: 10ch;
  margin-bottom: 2rem;
}

.not-found > p:not(.error-code) {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.125rem;
}

@media (max-width: 56rem) {
  .hero,
  .how,
  .interruption,
  .alpha-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .request-path {
    width: min(100%, 34rem);
    margin-left: auto;
  }

  .principles {
    margin-left: 0;
  }

  .interruption-rule {
    width: 7rem;
    height: 4rem;
    min-height: 0;
  }

}

@media (max-width: 42rem) {
  :root {
    --shell: min(100% - 2rem, 78rem);
  }

  .header-inner {
    min-height: 4.5rem;
    align-items: flex-start;
    padding-block: 1rem;
  }

  .brand {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 1rem;
  }

  .primary-nav a {
    font-size: 0.8125rem;
  }

  .hero {
    padding-top: 4rem;
    gap: 4rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-path {
    width: calc(100% - 1rem);
    margin-left: 0;
  }

  .principles {
    margin-left: 0;
  }

  .principles article,
  .principles article:nth-child(2),
  .principles article:nth-child(3) {
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-inner {
    padding-block: 2rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .request-path {
    animation: settle-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .request-path {
    animation-delay: 100ms;
  }

  @keyframes settle-in {
    from {
      opacity: 0;
      transform: translateY(0.75rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentColor;
    --muted: var(--ink);
  }

  .button {
    border-width: 0.125rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .request-path::after,
  .interruption-rule {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .legal {
    padding-block: 2rem;
  }
}
