@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/NunitoSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/NunitoSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f5f1;
  color: #111111;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.contact {
  font-size: 14px;
  font-weight: 700;
}

main {
  padding-block: 72px 96px;
}

.intro {
  max-width: 720px;
  margin-bottom: 38px;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h1 { font-size: clamp(44px, 10vw, 74px); }

h2 {
  margin-bottom: 16px;
  font-size: clamp(23px, 4.5vw, 30px);
}

.lead {
  max-width: 610px;
  margin: 22px 0 0;
  color: #57544f;
  font-size: clamp(18px, 3vw, 21px);
}

.meta {
  margin: 18px 0 0;
  color: #77736c;
  font-size: 14px;
}

.beta-note {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid #dedbd5;
  border-radius: 20px;
  background: #eeebe5;
  color: #4d4a45;
  font-size: 15px;
}

section {
  padding: 34px 0;
  border-top: 1px solid #ddd9d2;
}

section p,
section ul {
  margin: 0;
  color: #45423e;
}

section p + p,
section p + ul,
section ul + p { margin-top: 14px; }

ul {
  padding-left: 22px;
}

li + li { margin-top: 8px; }

footer {
  min-height: 100px;
  padding-block: 30px;
  border-top: 1px solid #ddd9d2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #68645e;
  font-size: 14px;
}

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

  main { padding-block: 46px 70px; }

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

@media (prefers-reduced-motion: no-preference) {
  .intro,
  .beta-note { animation: appear 260ms ease-out both; }
  .beta-note { animation-delay: 60ms; }

  @keyframes appear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
