:root {
  color-scheme: light;
  --ink: #2f3a24;
  --leaf: #53633a;
  --olive: #6f7d4b;
  --sage: #a8ae87;
  --paper: #f4f1e6;
  --muted: rgba(47, 58, 36, 0.72);
  --line: rgba(47, 58, 36, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Helvetica Neue", Arial, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--leaf);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--olive);
  outline-offset: 5px;
}

::selection {
  background: var(--leaf);
  color: #ffffff;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding: 28px;
}

.brand {
  align-self: start;
}

.page-bottom {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 820px) auto;
  align-items: end;
  gap: 42px;
  padding-block: 96px 34px;
  border-top: 1px solid var(--line);
}

.logo-heading {
  margin: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: min(100%, 250px);
  height: auto;
  letter-spacing: 0;
}

.statement p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
}

.statement a,
.city {
  color: rgba(47, 58, 36, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.statement a {
  display: inline-block;
  margin-top: 20px;
}

.city {
  justify-self: end;
  margin: 0;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .page {
    padding: 44px;
  }

  .brand-logo {
    width: min(100%, 300px);
  }

  .statement p {
    font-size: 2.05rem;
  }
}

@media (min-width: 1120px) {
  .page {
    padding: 56px;
  }

  .brand-logo {
    width: min(100%, 340px);
  }
}

@media (max-width: 560px) {
  .page {
    padding: 22px;
  }

  .page-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 84px 50px;
  }

  .brand-logo {
    width: min(100%, 190px);
  }

  .statement p {
    max-width: 20.5rem;
    font-size: 1.26rem;
    line-height: 1.22;
  }

  .city {
    justify-self: end;
  }
}
