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

@font-face {
  font-family: "Manrope";
  src: url("assets/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f7f3;
  --ink: #171c18;
  --green: #083808;
  --gutter: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: white; }

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: 44px var(--gutter) 36px;
  max-width: 1720px;
  margin-inline: auto;
}

.brand-logo {
  display: block;
  width: clamp(260px, 30vw, 410px);
  max-width: 100%;
  height: auto;
}

.message {
  align-self: center;
  padding-block: 68px 80px;
}

h1 {
  color: var(--green);
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(48px, 10.5vw, 156px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 0;
  animation: arrive 800ms ease-out both;
}

.message p {
  margin: 36px 0 0;
  max-width: 47ch;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.55;
  animation: arrive 900ms 100ms ease-out both;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  font-size: 16px;
  line-height: 1.6;
}

.footer p { margin: 0; }

.footer a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  transition: opacity 160ms ease;
}

.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }

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

@media (max-width: 600px) {
  .page { padding-block: 28px 24px; }
  .brand-logo { width: 280px; margin-inline: auto; }
  .message { padding-block: 64px; text-align: center; }
  h1 { font-size: clamp(43px, 13vw, 66px); letter-spacing: -0.045em; }
  .message p { margin: 28px auto 0; font-size: 18px; max-width: 29ch; }
  .desktop-break { display: none; }
  .footer { display: grid; gap: 8px; font-size: 15px; text-align: center; }
  .footer a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
