@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --forest: #173f35;
  --green: #2d8267;
  --mint: #e8f0ec;
  --cream: #fffdf7;
  --paper: #fff;
  --coral: #ec8f72;
  --yellow: #f1c665;
  --ink: #20372f;
  --soft: #52645d;
  --line: #d8e6e0;
  --display: "Outfit", sans-serif;
  --sans: "Plus Jakarta Sans", sans-serif;
}

body {
  font-size: 16.5px;
  line-height: 1.68;
}

h1,
h2,
h3,
.brand,
.button,
.eyebrow {
  font-family: "Outfit", sans-serif;
}

h1,
h2,
h3 {
  font-weight: 600;
}

.button {
  background: var(--yellow);
  color: var(--forest);
}

.grid-preview article {
  box-shadow: 7px 7px 0 rgba(23, 63, 53, .13);
}

.grid-preview figure {
  margin: 0;
}

.grid-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
}

.grid-preview figcaption {
  display: block;
}

.profile-photo {
  overflow: hidden;
  background-image: none;
}

.profile-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.app-proof,
.principles {
  padding: clamp(4.5rem, 9vw, 8rem) max(24px, calc((100vw - 1180px) / 2));
}

.app-proof {
  background: #f5ead2;
}

.app-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(240px, 1.2fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(23, 63, 53, .18);
  background: var(--paper);
  box-shadow: 12px 12px 0 rgba(23, 63, 53, .13);
}

.proof-card h3,
.principle-grid h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.proof-card .proof-copy > p:last-child,
.principle-grid p {
  color: var(--soft);
}

.photo-screen,
.message-screen {
  width: min(290px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border: 9px solid #101614;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(12, 36, 28, .18);
}

.photo-screen {
  position: relative;
  aspect-ratio: 4 / 5.7;
}

.photo-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
}

.photo-count {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .25rem .5rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 99px;
  background: rgba(23, 63, 53, .82);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}

.photo-caption {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  left: .65rem;
  padding: .75rem;
  background: rgba(255, 253, 247, .94);
  color: var(--forest);
}

.photo-caption strong,
.photo-caption span {
  display: block;
}

.photo-caption span {
  margin-top: .2rem;
  font-size: .72rem;
  line-height: 1.35;
}

.message-screen {
  padding: .85rem;
}

.message-head {
  display: flex;
  gap: .65rem;
  align-items: center;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}

.message-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.message-head span,
.message-head small {
  display: block;
}

.message-head small {
  color: var(--green);
  font-size: .65rem;
}

.bubble {
  width: fit-content;
  max-width: 85%;
  margin: .75rem 0;
  padding: .65rem .75rem;
  border-radius: 14px 14px 14px 4px;
  background: var(--mint);
  font-size: .76rem;
  line-height: 1.45;
}

.bubble.outgoing {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: var(--forest);
  color: #fff;
}

.message-compose {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--soft);
  font-size: .7rem;
}

.message-compose button {
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 800;
}

.principles {
  background: var(--paper);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.principle-grid article {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem 1rem;
}

footer nav a {
  white-space: nowrap;
}

.grid-preview article:nth-child(2) {
  background: var(--mint);
  box-shadow: 7px 7px 0 var(--coral);
}

.grid-preview article:nth-child(3) {
  background: #fff8e7;
  box-shadow: 7px 7px 0 var(--yellow);
}

.phone {
  box-shadow: 14px 14px 0 var(--coral), 0 30px 70px rgba(12, 36, 28, .24);
}

.site-header {
  position: relative;
  min-height: 82px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: var(--forest);
  color: #fff;
}

.site-header::after {
  content: "";
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .16);
}

.site-header .brand {
  color: #fff;
  font-size: 1.75rem;
}

.site-header .brand em {
  color: #b8e1d1;
  font-style: normal;
  font-weight: 400;
}

footer .brand em {
  color: var(--green);
  font-style: normal;
  font-weight: 400;
}

.fm-wordmark {
  --wordmark-first: currentColor;
  --wordmark-second: #b8e1d1;
  --wordmark-bridge: #b8e1d1;
  display: inline-flex;
  align-items: baseline;
  color: var(--wordmark-first);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}

.fm-wordmark-first,
.fm-wordmark-second {
  display: inline-flex;
  align-items: baseline;
}

.fm-wordmark b {
  position: relative;
  font: inherit;
}

.fm-wordmark-first b::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -.12em;
  top: .55em;
  width: .23em;
  height: .075em;
  border-radius: 99px;
  background: var(--wordmark-bridge);
  transform: rotate(-8deg);
  transform-origin: left center;
}

.fm-wordmark-second {
  margin-left: -.018em;
  color: var(--wordmark-second);
}

.fm-wordmark-fresh {
  --wordmark-first: #fff;
  --wordmark-second: #b8e1d1;
  --wordmark-bridge: #f1c665;
}

.fm-wordmark-light {
  --wordmark-first: #173f35;
  --wordmark-second: #2d8267;
  --wordmark-bridge: #79b9a1;
}

.fm-wordmark-dark {
  --wordmark-first: #f4f7f5;
  --wordmark-second: #a8cdbd;
  --wordmark-bridge: #d8b865;
}

.mini-phone > .fm-wordmark {
  margin-bottom: .65rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: -.055em;
  text-transform: none;
}

.site-header .header-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
  color: var(--yellow);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  background: #245747;
  color: #fff;
}

.hero > img {
  position: relative;
  grid-column: 2;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-position: 67% center;
}

.hero::after {
  display: none;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: 700px;
  margin: 0 0 0 max(24px, calc((100vw - 1180px) / 2));
  padding: 76px clamp(2.5rem, 6vw, 6rem) 68px 0;
}

.hero .eyebrow {
  color: #b8e1d1;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5.9vw, 5.3rem);
  line-height: 1.01;
  letter-spacing: -.055em;
}

.hero .lede {
  color: #e4efeb;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero .text-link {
  color: #fff;
}

.product,
.themes {
  max-width: none;
}

.section-head,
.phone-stage,
.theme-phones {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

@media (min-width: 1600px) {
  .hero-copy {
    margin-left: max(7vw, calc((100vw - 1440px) / 2));
  }

  .product,
  .themes {
    padding-inline: max(6rem, calc((100vw - 1500px) / 2));
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .hero-copy {
    margin-left: 3rem;
    padding-right: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 7vw, 5.4rem);
  }

  .phone-stage {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 2rem;
  }

  .product,
  .themes {
    padding-inline: 2.5rem;
  }

  .app-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero > img {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 2;
    max-width: 680px;
    margin-inline: auto;
    padding-inline: 2rem;
  }

  .grid-preview {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 70px;
    gap: .75rem;
  }

  .hero-copy {
    padding-inline: 1.15rem;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .status,
  .final-cta {
    padding-inline: 1.15rem;
  }

  .phone {
    width: min(360px, calc(100vw - 2rem));
  }

  .app-proof-grid,
  .proof-card,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    padding: 1rem;
  }

  .photo-screen,
  .message-screen {
    width: min(310px, 100%);
  }

  footer nav {
    justify-content: flex-start;
  }
}
