:root {
  color-scheme: light;
  --bg: #f4f6f5;
  --text: #16231f;
  --ink: #16231f;
  --muted: #2a403a;
  --mat: #1e4d40;
  --yellow: #f2c14e;
  --card: #ffffff;
  --line: #d3ddd8;
  --link: #1e4d40;
  --header: #f4f6f5;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1e4d40;
    --text: #f4f6f5;
    --muted: #d5e0db;
    --card: #16382f;
    --line: #3e6e5e;
    --link: #f2c14e;
    --header: #1e4d40;
  }
}

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

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(1.8rem, 4.6vw, 2.8rem);
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 16ch;
}

h2 {
  font-size: 1.55rem;
}

h3 {
  font-size: 1.2rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

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

a:visited {
  color: var(--link);
}

a:focus-visible,
button:focus-visible,
.skip:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-200%);
  background: var(--yellow);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  z-index: 2;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap,
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-header .wrap {
  padding-block: 0.85rem;
}

.logo {
  display: block;
  line-height: 0;
  min-width: 0;
  max-width: 100%;
}

.logo picture {
  display: block;
  max-width: 100%;
}

.logo img {
  display: block;
  height: 72px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--yellow);
}

main {
  padding-block: 1.75rem 3rem;
}

.hero h1::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: 0.75rem;
  background: var(--yellow);
  border-radius: 999px;
}

.lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--text);
}

.store-link {
  display: inline-block;
  margin-top: 0.25rem;
  line-height: 0;
  border-radius: 10px;
}

.store-badge {
  display: block;
  width: 174px;
  height: 50px;
}

.badge-bg {
  fill: #000;
}

.badge-fg {
  fill: #fff;
}

@media (prefers-color-scheme: dark) {
  .badge-bg {
    fill: #fff;
  }

  .badge-fg {
    fill: #000;
  }
}

.reassure {
  color: var(--muted);
  max-width: 38rem;
}

.shots {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.shots figure {
  margin: 0;
}

.shots img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin-inline: auto;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: var(--card);
}

.shots figcaption {
  margin-top: 0.65rem;
  text-align: center;
  color: var(--muted);
}

.block {
  margin-top: 3rem;
}

.benefits,
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li,
.steps li,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.benefits p,
.steps p,
.card p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose a {
  text-underline-offset: 0.2rem;
  overflow-wrap: anywhere;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.dated {
  color: var(--muted);
}

.email-link {
  display: inline-block;
  margin: 0.35rem 0 1rem;
  padding: 0.75rem 1.1rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email-link:visited {
  color: var(--ink);
}

.faq h3 {
  margin-top: 1.6rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem 1.75rem;
}

.footer-row p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.dot {
  color: var(--muted);
  padding-inline: 0.35rem;
}

@media (min-width: 800px) {
  .benefits,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .shots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shots img {
    width: 100%;
  }
}
