@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-700Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-800ExtraBold.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-400Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-500Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-700Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-ground: #fbfbf9;
  --color-mist: #eef0ec;
  --color-line: #e4e7e3;
  --color-ink: #1b2421;
  --color-slate: #5c6661;
  --color-herb: #1f6b4f;
  --color-herb-deep: #16503b;
  --color-mint: #cfe3d8;
  --color-on-herb: #ffffff;
  --color-focus: #2f5bb7;

  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-64: 4rem;
  --space-96: 6rem;

  --radius-thumb: 0.75rem;
  --radius-card: 1.125rem;
  --radius-phone: 2.75rem;
  --radius-screen: 2.125rem;

  --font-display: "Bricolage Grotesque", "Avenir Next", Futura, sans-serif;
  --font-text: "DM Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --text-hero-size: 3rem;
  --text-hero-line: 3.125rem;
  --text-hero-tracking: -0.0625rem;
  --text-lede-size: 1.125rem;
  --text-lede-line: 1.625rem;
  --text-title-size: 2rem;
  --text-title-line: 2.25rem;
  --text-section-size: 1.25rem;
  --text-section-line: 1.5rem;
  --text-brand-size: 1.25rem;
  --text-body-size: 1.0625rem;
  --text-body-line: 1.75rem;
  --text-small-size: 0.875rem;
  --text-small-line: 1.25rem;
  --text-meta-size: 0.8125rem;
  --text-meta-line: 1.125rem;
  --text-caption-size: 0.75rem;
  --text-caption-line: 1rem;
  --text-row-size: 0.875rem;

  --page-gutter: var(--space-24);
  --page-max: 80rem;
  --page-inline: max(var(--page-gutter), calc((100% - var(--page-max)) / 2 + var(--page-gutter)));
  --nav-height: 4.5rem;
  --badge-height: 3rem;
  --badge-clear: calc(var(--badge-height) / 4);
  --padded-badge-height: calc(var(--badge-height) * 250 / 166);
  --article-width: 45rem;
  --copy-width: 40rem;
  --phone-width: 21.25rem;
  --phone-height: 37.5rem;
  --phone-bezel: var(--space-12);
  --thumb-size: 4rem;
}

@media (min-width: 48rem) {
  :root {
    --text-hero-size: 5.5rem;
    --text-hero-line: 5.5rem;
    --text-hero-tracking: -0.125rem;
    --text-lede-size: 1.375rem;
    --text-lede-line: 1.875rem;
    --text-title-size: 3rem;
    --text-title-line: 3.25rem;
    --text-brand-size: 1.375rem;
    --page-gutter: var(--space-96);
    --nav-height: 5.5rem;
    --badge-height: 3.375rem;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-text);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

a {
  color: var(--color-herb);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-brand-size);
  color: var(--color-on-herb);
  text-decoration: none;
}

.site-nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--color-herb);
  padding: 0 var(--page-inline);
}

h1,
h2 {
  font-family: var(--font-display);
  margin: 0;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-herb);
  color: var(--color-on-herb);
  overflow: hidden;
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-96);
  padding: var(--space-48) var(--page-inline);
}

.hero-copy {
  flex: 1;
  max-width: var(--copy-width);
}

.hero h1 {
  font-weight: 800;
  font-size: var(--text-hero-size);
  line-height: var(--text-hero-line);
  letter-spacing: var(--text-hero-tracking);
}

.lede {
  margin: var(--space-16) 0 0;
  max-width: 32.5rem;
  font-size: var(--text-lede-size);
  line-height: var(--text-lede-line);
  color: var(--color-mint);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--space-16);
}

.stores a {
  display: block;
  margin: var(--badge-clear) var(--badge-clear) var(--badge-clear) 0;
  line-height: 0;
}

.stores img {
  display: block;
  height: var(--badge-height);
  width: auto;
}

.stores .padded-badge {
  margin: 0;
}

.stores a:has(+ .padded-badge) {
  margin-right: 0;
}

.stores .padded-badge:first-child {
  margin-left: calc(var(--badge-clear) * -1);
}

.stores .padded-badge img {
  height: var(--padded-badge-height);
}

.phone {
  width: var(--phone-width);
  height: var(--phone-height);
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: calc(var(--space-48) * -3);
  padding: var(--phone-bezel);
  border-radius: var(--radius-phone);
  background: var(--color-ink);
}

@media (max-width: 63.99rem) {
  .hero-body {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-48);
    padding-bottom: 0;
  }

  .phone {
    align-self: center;
    max-width: 100%;
  }
}

.phone-screen {
  height: 100%;
  padding: calc(var(--space-48) + var(--space-8)) var(--space-24) 0;
  border-radius: var(--radius-screen);
  background: var(--color-ground);
  color: var(--color-ink);
  overflow: hidden;
}

.phone-screen h2 {
  font-weight: 800;
  font-size: var(--text-title-size);
  line-height: var(--text-title-line);
}

.phone-count {
  margin: var(--space-4) 0 0;
  font-size: var(--text-meta-size);
  line-height: var(--text-meta-line);
  color: var(--color-slate);
}

.phone-rows {
  margin: var(--space-24) 0 0;
  padding: 0;
  list-style: none;
}

.phone-rows li {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-line);
}

.thumb {
  width: var(--thumb-size);
  height: var(--thumb-size);
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-thumb);
  background: var(--color-mist);
}

.row-title {
  margin: 0;
  font-size: var(--text-row-size);
  line-height: var(--text-meta-line);
  font-weight: 700;
}

.row-meta {
  margin: var(--space-4) 0 0;
  font-size: var(--text-meta-size);
  line-height: var(--text-meta-line);
  color: var(--color-slate);
}

.legal {
  flex: 1;
  width: 100%;
  max-width: var(--article-width);
  margin: 0 auto;
  padding: var(--space-48) var(--space-24) var(--space-64);
}

.legal h1 {
  font-weight: 800;
  font-size: var(--text-title-size);
  line-height: var(--text-title-line);
  letter-spacing: var(--text-hero-tracking);
}

.legal h2 {
  margin: var(--space-40) 0 var(--space-12);
  font-weight: 700;
  font-size: var(--text-section-size);
  line-height: var(--text-section-line);
}

.legal p,
.legal li {
  margin: 0 0 var(--space-16);
}

.legal ul {
  margin: 0 0 var(--space-16);
  padding-left: var(--space-24);
}

.legal a {
  font-weight: 700;
}

.meta {
  margin: var(--space-8) 0 var(--space-24);
  font-size: var(--text-meta-size);
  line-height: var(--text-meta-line);
  color: var(--color-slate);
}

.site-footer {
  padding: var(--space-24) var(--page-inline) var(--space-32);
  border-top: 1px solid var(--color-line);
  background: var(--color-ground);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line);
  color: var(--color-slate);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-12) var(--space-24);
}

.footer-row a {
  color: inherit;
}

.footer-links {
  display: flex;
  gap: var(--space-24);
}

.footer-links a {
  color: var(--color-herb);
  font-weight: 700;
  text-decoration: none;
}

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

.trademarks {
  margin: var(--space-12) 0 0;
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line);
}

@media (max-width: 47.99rem) {
  .footer-links {
    order: -1;
    width: 100%;
  }
}
