/* ABOUTME: Styles the responsive site with system fonts and the app's green accent. */
/* ABOUTME: Keeps navigation, policy text, and unretouched screenshots accessible. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #191b1e;
  background: #fff;
  font-size: 18px;
  line-height: 1.6;
  --link: #005bbf;
  --green: #63e365;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--link);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 0.14em;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 5px;
  border-radius: 2px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin: 0.3em 0 0.5em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1em;
}
p {
  margin: 0 0 1.2em;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 26px;
  border-bottom: 1px solid #e5e5ea;
}
.brand {
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
nav [aria-current] {
  font-weight: 700;
}
.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 1;
}
.skip-link:focus {
  top: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 80px;
  padding-block: 64px 80px;
}
.app-icon {
  border-radius: 24px;
  margin-bottom: 24px;
}
.eyebrow {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.lead {
  font-size: 1.4rem;
  line-height: 1.35;
}
.availability {
  display: inline-block;
  border-left: 5px solid var(--green);
  padding-left: 18px;
  margin-top: 12px;
}
.platforms,
.footnote {
  color: #50545c;
  font-size: 0.9rem;
}
.hero-screen {
  background: #f4f4f7;
  border-radius: 32px;
  padding: 20px;
}
.hero-screen img {
  width: 100%;
  border-radius: 18px;
}
.features {
  background: #f4f4f7;
  padding: 40px;
  border-radius: 24px;
}
.features ul {
  padding-left: 1.3em;
  columns: 2;
  column-gap: 50px;
  margin-bottom: 32px;
}
.features li {
  margin-bottom: 16px;
  break-inside: avoid;
}
.footnote {
  margin-bottom: 0;
  max-width: 70ch;
}
.screenshots {
  margin-block: 72px;
}
.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.tablet-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
figure {
  margin: 0;
  min-width: 0;
}
figure img {
  width: 100%;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
}
figcaption {
  margin-top: 14px;
  font-weight: 600;
}
.prose {
  max-width: 76ch;
  padding-block: 56px;
  overflow-wrap: anywhere;
}
.prose h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75em;
}
.prose h2 {
  margin-top: 1.5em;
  font-size: 1.5rem;
}
.prose li {
  margin-bottom: 12px;
}
.site-footer {
  border-top: 1px solid #e5e5ea;
  padding-block: 32px 48px;
  font-size: 0.85rem;
  color: #50545c;
}
.site-footer p {
  max-width: 90ch;
}
@media (max-width: 760px) {
  .hero {
    gap: 32px;
    grid-template-columns: 1fr;
    padding-block: 40px;
  }
  .hero-screen {
    width: min(360px, 100%);
    justify-self: center;
  }
  .features {
    padding: 24px;
  }
  .features ul {
    columns: 1;
  }
  .phone-gallery {
    gap: 20px;
  }
  .tablet-gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .phone-gallery {
    grid-template-columns: 1fr;
  }
  .phone-gallery figure {
    max-width: 320px;
    margin-inline: auto;
  }
}

button {
  font: inherit;
  color: var(--link);
  background: #fff;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
}
#analytics-consent {
  border: 1px solid #717780;
  border-radius: 8px;
  padding: 24px;
  margin-block: 24px;
}
#analytics-consent button {
  margin: 4px;
}
