:root {
  --ink: #17231d;
  --paper: #f4f1e8;
  --accent: #e65f38;
  --green: #c9d9a7;
  --line: rgba(23, 35, 29, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 217, 167, 0.45), transparent 28rem),
    var(--paper);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: "Newsreader", serif;
  font-size: 21px;
}

.header-link {
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-number {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  font-size: clamp(72px, 10vw, 148px);
  line-height: 0.8;
}

.intro {
  max-width: 560px;
  margin: 42px 0 32px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding: 15px 20px;
  color: white;
  background: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-large {
  top: 30px;
  right: 0;
  width: min(36vw, 430px);
  height: min(36vw, 430px);
  background: var(--accent);
}

.orb-large::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 34%;
  background: var(--paper);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.orb-small {
  right: 68%;
  bottom: 30px;
  width: 110px;
  height: 110px;
  background: var(--green);
  border: 1px solid var(--ink);
}

.grid-card {
  position: absolute;
  right: 8%;
  bottom: 18px;
  display: grid;
  width: 220px;
  padding: 22px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--green);
  gap: 8px;
  transform: rotate(-4deg);
}

.grid-card span {
  padding: 9px 0;
  border-bottom: 1px solid rgba(244, 241, 232, 0.25);
}

.grid-card span:last-child {
  border: 0;
}

.about {
  display: grid;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.about h2 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
}

.about div p {
  max-width: 650px;
  margin: 36px 0 0;
  font-size: 19px;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.policy-page {
  padding: 88px 0 120px;
}

.policy {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
}

.policy-heading {
  position: sticky;
  top: 48px;
  align-self: start;
}

.policy-heading h1 {
  max-width: 480px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.92;
}

.policy-date {
  margin: 28px 0 0;
  color: rgba(23, 35, 29, 0.68);
  font-size: 14px;
}

.policy-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
}

.policy-content > p {
  margin: 0 0 56px;
  font-size: 21px;
  line-height: 1.65;
}

.policy-content section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 16px;
  font-family: "Newsreader", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.policy-content p {
  margin: 0;
}

.policy-content ul {
  margin: 16px 0 0;
  padding-left: 24px;
}

.policy-content li + li {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    height: 76px;
  }

  .hero {
    min-height: auto;
    padding: 80px 0 56px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h1 {
    font-size: clamp(68px, 21vw, 112px);
  }

  .hero-art {
    min-height: 390px;
  }

  .orb-large {
    width: min(80vw, 360px);
    height: min(80vw, 360px);
  }

  .about {
    padding: 80px 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .policy-page {
    padding: 64px 0 80px;
  }

  .policy {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .policy-heading {
    position: static;
  }
}

@media (max-width: 480px) {
  .hero-art {
    min-height: 330px;
  }

  .orb-small {
    right: auto;
    left: 0;
    width: 80px;
    height: 80px;
  }

  .grid-card {
    right: 4%;
    width: 180px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }
}

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

  .button {
    transition: none;
  }
}
