:root {
  --paper: oklch(95% 0.025 93);
  --paper-2: oklch(90% 0.04 145);
  --ink: oklch(21% 0.05 185);
  --muted: oklch(44% 0.035 180);
  --deep: oklch(32% 0.075 188);
  --deep-2: oklch(25% 0.055 188);
  --moss: oklch(58% 0.08 156);
  --sun: oklch(82% 0.1 72);
  --line: oklch(78% 0.032 104);
  --white: oklch(98% 0.012 95);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, oklch(70% 0.025 110 / 0.18) 1px, transparent 1px),
    linear-gradient(0deg, oklch(70% 0.025 110 / 0.18) 1px, transparent 1px),
    radial-gradient(circle at 16% 8%, oklch(86% 0.1 75 / 0.65), transparent 28rem),
    linear-gradient(135deg, var(--paper), var(--paper-2));
  background-size: 44px 44px, 44px 44px, auto, auto;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  min-height: 100dvh;
}

.hero {
  width: min(920px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 62px) 0 clamp(34px, 5vw, 66px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  max-width: 720px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin: 0 auto 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.018em;
}

.lead {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.56;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 18px 40px oklch(32% 0.075 188 / 0.24);
  font-size: 16px;
  font-weight: 820;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--deep-2);
}

.button:active {
  transform: scale(0.985);
}

.principles {
  padding: clamp(52px, 8vw, 96px) clamp(16px, 4vw, 54px);
  background: var(--white);
}

.principles > .section-kicker,
.principles__grid {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.principles article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.principles h2 {
  max-width: 10ch;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.closing {
  min-height: 360px;
  padding: clamp(54px, 8vw, 96px) 16px;
  display: grid;
  place-items: center;
  gap: 24px;
  text-align: center;
  background: var(--deep);
  color: var(--white);
}

.closing p {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.button--light {
  background: var(--white);
  color: var(--deep);
  box-shadow: none;
}

.button--light:hover,
.button--light:focus-visible {
  background: oklch(93% 0.03 92);
}

.footer {
  min-height: 74px;
  padding: 18px clamp(16px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: oklch(20% 0.045 185);
  color: oklch(84% 0.017 95);
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer__links a {
  color: oklch(92% 0.015 95);
  text-decoration-color: oklch(92% 0.015 95 / 0.42);
  text-underline-offset: 4px;
}

.doc {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 8vw, 92px) 0;
}

.doc__back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--deep);
  font-weight: 760;
  text-decoration: none;
}

.doc h1 {
  max-width: 13ch;
  font-size: clamp(42px, 7vw, 78px);
}

.doc p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.button:focus-visible,
.footer__links a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .principles__grid {
    grid-template-columns: 1fr;
  }

  .principles h2 {
    max-width: 16ch;
  }
}

@media (max-width: 560px) {
  .hero {
    width: calc(100% - 28px);
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 70px);
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .footer__links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
