:root {
  --paper: #f4efe5;
  --ink: #17211b;
  --muted: #667067;
  --line: rgba(23, 33, 27, 0.17);
  --accent: #d65f3c;
  --green: #254f3b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans SC", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 84% 10%, rgba(214, 95, 60, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 72%, rgba(37, 79, 59, 0.11), transparent 30rem);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

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

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

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 50% 12%;
  background: var(--accent);
  transform: rotate(-25deg);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f9a69;
  box-shadow: 0 0 0 5px rgba(79, 154, 105, 0.12);
}

.hero {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(3.5rem, 7.8vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 em {
  color: var(--green);
  font-weight: 400;
}

.intro {
  max-width: 600px;
  margin: 42px 0 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.privacy-link {
  width: fit-content;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 60px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  color: inherit;
  font-size: 0.86rem;
  text-decoration: none;
}

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

.manifesto article {
  min-height: 310px;
  padding: 46px 38px;
  border-right: 1px solid var(--line);
}

.manifesto article:first-child {
  padding-left: 0;
}

.manifesto article:last-child {
  padding-right: 0;
  border-right: 0;
}

.number {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.manifesto h2 {
  margin: 62px 0 16px;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.manifesto p,
.privacy-copy {
  color: var(--muted);
}

.manifesto p {
  max-width: 280px;
  margin: 0;
  font-size: 0.92rem;
}

.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-block: 150px;
}

.privacy h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(2.5rem, 4.7vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.privacy-copy {
  padding-top: 42px;
  font-size: 0.96rem;
}

.privacy-copy p {
  margin: 0 0 22px;
}

.privacy-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-copy li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  padding-block: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

footer p {
  margin: 0;
}

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

  .site-header {
    height: 76px;
  }

  .hero {
    min-height: 610px;
    padding-block: 70px;
  }

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

  .intro {
    margin: 34px 0 0;
  }

  .manifesto,
  .privacy {
    grid-template-columns: 1fr;
  }

  .manifesto article,
  .manifesto article:first-child,
  .manifesto article:last-child {
    min-height: auto;
    padding: 38px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manifesto article:last-child {
    border-bottom: 0;
  }

  .manifesto h2 {
    margin-top: 28px;
  }

  .privacy {
    gap: 30px;
    padding-block: 100px;
  }

  .privacy-copy {
    padding-top: 0;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 700ms both;
  }

  .hero > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero > :nth-child(3) {
    animation-delay: 160ms;
  }

  .hero > :nth-child(4) {
    animation-delay: 240ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151a17;
    --ink: #edf0e8;
    --muted: #a6aea6;
    --line: rgba(237, 240, 232, 0.15);
    --accent: #ef7956;
    --green: #9abca3;
  }

  body::before {
    background:
      radial-gradient(circle at 84% 10%, rgba(239, 121, 86, 0.1), transparent 28rem),
      radial-gradient(circle at 12% 72%, rgba(98, 151, 113, 0.09), transparent 30rem);
  }
}
