@font-face {
  font-family: "TheFuture";
  src: url("/public/fonts/the-future-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheFuture";
  src: url("/public/fonts/the-future-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheFuture";
  src: url("/public/fonts/the-future-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheFuture";
  src: url("/public/fonts/the-future-medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheFuture";
  src: url("/public/fonts/the-future-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheFuture";
  src: url("/public/fonts/the-future-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-brand-50: #fdfdc1;
  --color-brand-600: #359b00;
  --color-brand-800: hsl(89, 100%, 9%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "calt" 1;
  background-color: var(--color-brand-50);
  color: var(--color-brand-800);
  font-family: "TheFuture", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* The site's header: the logo over a rule, 16px in on a phone. */
.header {
  border-bottom: 1px solid var(--color-brand-800);
  padding: 32px 16px 31px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* The height of the row the site's menu button sets. */
  min-height: 40px;
}

.logo {
  display: block;
  width: 96px;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

/* A card as the homepage's audience cards are drawn: dark green, rounded,
   with a small label underlined in green above its heading. */
.card {
  width: 100%;
  max-width: 44rem;
  background: var(--color-brand-800);
  color: var(--color-brand-50);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.label {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--color-brand-600);
}

h1 {
  font-feature-settings: "ss10";
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin: 0;
}

.body {
  font-size: 1.125rem;
  margin: 0;
}

.contact {
  font-size: 1rem;
  margin: 0;
}

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

@media (min-width: 1024px) {
  /* As the site's bar: 76px tall, the logo 32px inside a 1280px column. */
  .header {
    padding: 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 32px;
  }

  .card {
    border-radius: 36px;
    padding: 56px 64px;
    gap: 24px;
  }

  h1 {
    font-size: 3.75rem;
    letter-spacing: -1.76px;
  }

  .body {
    font-size: 1.25rem;
  }
}
