:root {
  --background: #f6f7f8;
  --text: #555555;
  --heading: #3b3b3b;
  --link: #2c5f8a;
  --font-body: "Lora", Georgia, serif;
  --font-heading: "EB Garamond", Georgia, serif;
}

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

html {
  margin: 0;
  padding: 0;
  height: auto;
  overflow-y: scroll;
}

body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 0;
  overflow: visible;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.page {
  width: 100%;
  margin: 0 auto;
  padding: 48px 80px 96px;
  overflow: visible;
}

.hero {
  text-align: center;
  margin-bottom: 44px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 18px;
}

.hero p {
  font-size: 16px;
  margin: 0 0 14px;
}

.hero-links {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  position: relative;
}

.hero-links a {
  color: var(--link);
  text-decoration: none;
}

.hero-links a:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  align-items: start;
  width: 100%;
  overflow: visible;
}

.column {
  text-align: left;
  min-width: 0;
  overflow: visible;
}

.column h2 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 14px;
}

.column p {
  margin: 0 0 11px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.column strong {
  font-weight: 600;
  color: var(--heading);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.email-reveal {
  margin: 0 0 11px;
}

.hero-links .email-reveal {
  margin: 0;
  position: static;
}

.hero-links .email-address {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  width: max-content;
  max-width: min(100%, calc(100vw - 48px));
  white-space: normal;
  text-align: center;
  z-index: 1;
}

.email-label {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--link);
  cursor: pointer;
}

.email-label:hover,
.email-label:focus {
  text-decoration: underline;
  outline: none;
}

.email-address {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 13px;
}

.email-address[hidden] {
  display: none !important;
}

.page-end {
  height: 48px;
}

@media (max-width: 900px) {
  .page {
    padding: 28px 24px 120px;
  }

  .hero {
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-links {
    display: flex;
  }

  .grid {
    display: block;
    width: 100%;
  }

  .column {
    display: block;
    width: 100%;
    margin-bottom: 28px;
  }

  .column.column-links {
    display: none;
  }

  .column h2 {
    font-size: 22px;
  }
}
