@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Questrial";
  src: url("/assets/questrial-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #24382c;
  --green: #587b61;
  --cream: #f7f3e9;
  --line: rgba(36, 56, 44, 0.15);
  --farmstream-blue: #29a8d3;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Questrial", Arial, sans-serif;
}

.customer-header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.customer-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.customer-brand span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50% 50% 50% 10px;
  color: #fff;
  background: var(--green);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.customer-brand strong {
  font-family: "Archivo", Arial, sans-serif;
  font-size: 15px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: rgba(36, 56, 44, 0.68);
  font-size: 12px;
  text-decoration: none;
}

main {
  padding: 80px 0 72px;
}

.customer-intro {
  max-width: 760px;
  margin-bottom: 58px;
}

.customer-eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.customer-intro > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(36, 56, 44, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.customer-live {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(36, 56, 44, 0.1);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 4vw, 39px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-heading > span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #147da3;
  background: #e8f7fc;
  font-size: 10px;
}

.iframe-wrap {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(14, 27, 77, 0.14);
  border-radius: 20px;
  background: #0e1b4d;
  box-shadow: 0 18px 45px rgba(14, 27, 77, 0.16);
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.customer-caption {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(36, 56, 44, 0.58);
  font-size: 11px;
  line-height: 1.55;
}

.how-it-fits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.how-it-fits article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.how-it-fits article > b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 10px;
}

.how-it-fits h3 {
  margin-bottom: 6px;
  font-size: 13px;
}

.how-it-fits p {
  margin: 0;
  color: rgba(36, 56, 44, 0.62);
  font-size: 11px;
  line-height: 1.5;
}

footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: rgba(36, 56, 44, 0.52);
  font-size: 11px;
  text-align: center;
}

footer span {
  padding-inline: 7px;
  color: var(--farmstream-blue);
}

@media (max-width: 720px) {
  .customer-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  nav {
    display: none;
  }

  main {
    padding-top: 54px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading > span {
    display: none;
  }

  .customer-live {
    padding: 12px;
    border-radius: 20px;
  }

  .iframe-wrap {
    border-radius: 14px;
  }

  .how-it-fits {
    grid-template-columns: 1fr;
  }
}
