/* Home: the company look (docs/design/Benchmark.dc.html). Sky, slate, the bronze benchmark and Archivo headings. */

.home-hero { position: relative; }
.home-hero-text { padding-top: 56px; }

.home-title {
  margin: 0;
  max-width: 11.5em;
  font-family: var(--archivo);
  font-stretch: 72%;
  font-weight: 800;
  font-size: clamp(52px, 8.6vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.home-lede { margin: 28px 0 0; max-width: 36em; font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.home-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.home-contact-link { font-weight: 700; font-size: 17px; }

.home-ridge { position: relative; height: 300px; margin-top: 24px; }
.home-ridge svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }

.seal-text {
  font-family: Archivo, sans-serif;
  font-stretch: 80%;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.4px;
}

/* The app, on slate */
.home-pm { background: #263236; color: #F5F7F6; padding: 24px 0 96px; }

.home-pm-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding: clamp(28px, 5vw, 56px);
  box-sizing: border-box;
  border-radius: 20px;
  background: linear-gradient(180deg, #137079 0%, #0F5C63 52%, #0B4E54 100%);
  color: #F5F7F6;
}

.home-pm-main { flex: 999 1 420px; min-width: 0; }
.home-pm-head { display: flex; align-items: center; gap: 14px; }
.home-pm-head svg { display: block; flex: none; }

.home-pm-title {
  margin: 0;
  font-family: var(--bricolage);
  font-weight: 800;
  /* The app's name is one word, so it can't wrap onto two lines. Below about 343px wide it shrinks
     with the screen to stay inside the card: 174px is the page and card padding, the icon and the gap,
     and the name is about 3.75em wide in this font, so 3.85em leaves 4px to spare. */
  font-size: min(clamp(44px, 6vw, 72px), calc((100vw - 174px) / 3.85));
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.home-pm-text { margin: 20px 0 0; max-width: 30em; font-size: 19px; line-height: 1.55; text-wrap: pretty; }

.home-pm-side {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.btn-roller {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #F6C744;
  text-decoration: none;
  font-family: var(--bricolage);
  font-weight: 700;
  font-size: 18px;
}

.on-dark .btn-roller, .on-dark .btn-roller:hover { color: #22272B; }
.home-pm-link { font-weight: 700; font-size: 17px; }
.on-dark .home-pm-link, .on-dark .home-pm-link:hover { color: #F5F7F6; }
.home-pm-note { margin: 0; font-size: 15px; color: #DCE6E4; }

/* How we build */
/* Made by Mule Mountain Labs, moved here from the app's page; How we build follows on the same sky. */
.home-made { padding: 96px 0 0; background: #E8ECEC; }
.home-made-text { margin: 16px 0 0; max-width: 36em; font-size: 18px; line-height: 1.6; text-wrap: pretty; }

.home-how { padding: 96px 0; background: #E8ECEC; }

.home-h2 {
  margin: 0;
  font-family: var(--archivo);
  font-stretch: 80%;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1;
}

.home-how-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px;
}

.home-how-item { border-top: 3px solid #263236; padding-top: 20px; }

.home-how-item h3 {
  margin: 0;
  font-family: var(--archivo);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
}

.home-how-item p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; }

/* Contact */
.home-contact { padding: 80px 0; background: #DDE3E3; }
.home-contact-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.home-contact-main { flex: 1 1 420px; min-width: 0; }
.home-contact-text { margin: 14px 0 0; max-width: 34em; font-size: 18px; text-wrap: pretty; }

.home-contact-list {
  flex: 1 1 360px;
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  font-size: 17px;
}

.home-contact-list dt { font-weight: 700; }
.home-contact-list dd { margin: 0; }
.home-contact-email { min-width: 0; overflow-wrap: anywhere; }
.home-contact-policies { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Not found: a short page in the company look */
.lost { padding: 72px 0 120px; }

.lost-title {
  margin: 0;
  font-family: var(--archivo);
  font-stretch: 72%;
  font-weight: 800;
  font-size: clamp(52px, 8.6vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.lost-text { margin: 24px 0 0; max-width: 36em; font-size: 20px; line-height: 1.55; }
.lost-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
