:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --ink: #171816;
  --muted: #66685f;
  --line: rgba(23, 24, 22, 0.14);
  --signal: #4f5d2f;
  --signal-dark: #35401d;
  --white: #fffef9;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 19%, rgba(115, 132, 71, 0.12), transparent 28rem),
    linear-gradient(rgba(23, 24, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 22, 0.035) 1px, transparent 1px), var(--paper);
  background-size:
    auto,
    48px 48px,
    48px 48px,
    auto;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
}

.hero {
  max-width: 940px;
  padding-block: clamp(96px, 15vw, 190px) clamp(96px, 12vw, 150px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--signal-dark);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(79, 93, 47, 0.12);
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7.3vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.lede {
  max-width: 720px;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 54px;
}

.action {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 254, 249, 0.58);
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.action span:last-child {
  color: var(--muted);
  font-size: 1rem;
}

.action:hover,
.action:focus-visible {
  border-color: rgba(23, 24, 22, 0.35);
  background: var(--white);
  transform: translateY(-2px);
}

.action-primary {
  border-color: var(--signal);
  color: var(--white);
  background: var(--signal);
}

.action-primary span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.action-primary:hover,
.action-primary:focus-visible {
  border-color: var(--signal-dark);
  background: var(--signal-dark);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.principles article {
  min-height: 230px;
  padding: 34px 32px 38px 0;
}

.principles article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.number {
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

h2 {
  margin: 40px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.principles p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 46px;
  color: var(--muted);
  font-size: 0.75rem;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  nav {
    padding-block: 20px;
  }

  .hero {
    padding-block: 82px 90px;
  }

  h1 {
    font-size: clamp(3.15rem, 15.5vw, 5rem);
  }

  .lede {
    margin-top: 30px;
    font-size: 1.08rem;
  }

  .actions {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

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

  .principles article {
    min-height: 0;
    padding: 30px 0;
  }

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

  h2 {
    margin-top: 26px;
  }

  footer {
    flex-direction: column;
  }
}

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