:root {
  color: #14231f;
  background: #f8fbf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #14231f;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbf8 44%, #edf6f1 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a,
.site-footer a {
  color: #4d5f58;
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover,
.site-footer a:hover {
  color: #14231f;
}

.hero-section {
  width: min(1120px, calc(100% - 40px));
  min-height: min(760px, calc(100vh - 88px));
  margin: 0 auto;
  padding: 42px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 14px;
  color: #1d8f68;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: #10221d;
  font-size: clamp(3.3rem, 7.6vw, 7.1rem);
  line-height: 0.94;
  max-width: 720px;
}

.hero-text {
  margin: 30px 0 0;
  max-width: 610px;
  color: #53635e;
  font-size: 1.25rem;
  line-height: 1.65;
}

.app-store-badge {
  display: inline-flex;
  width: 196px;
  margin-top: 34px;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(24, 36, 31, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(24, 36, 31, 0.16);
}

.app-store-badge:focus-visible {
  outline: 3px solid #5fd0a5;
  outline-offset: 5px;
}

.app-store-badge img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-art {
  width: min(100%, 370px);
  justify-self: end;
  padding: 14px;
  border: 1px solid #dfe9e3;
  border-radius: 34px;
  background: #18241f;
  box-shadow: 0 32px 80px rgba(24, 36, 31, 0.18);
}

.phone-top {
  width: 96px;
  height: 6px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: #50625b;
}

.phone-screen {
  aspect-ratio: 1290 / 2376;
  min-height: 0;
  padding: 0;
  border-radius: 24px;
  background: #fbfdfb;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.feature-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-band article {
  padding: 28px;
  border: 1px solid #dfe9e3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-band h2,
.closing-section h2,
.simple-page h1 {
  margin: 0;
  color: #10221d;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.feature-band p,
.closing-section p,
.simple-page p,
.simple-page li {
  color: #53635e;
  font-size: 1.05rem;
  line-height: 1.7;
}

.closing-section,
.simple-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 112px;
}

.closing-section {
  text-align: center;
}

.closing-section p:last-child {
  max-width: 560px;
  margin: 24px auto 0;
}

.simple-page {
  min-height: calc(100vh - 170px);
}

.simple-page section {
  margin-top: 44px;
}

.simple-page h2 {
  margin: 0 0 10px;
  color: #10221d;
  font-size: 1.6rem;
}

.simple-page ul {
  padding-left: 22px;
}

.updated {
  margin-top: 18px;
  font-weight: 800;
}

.text-link {
  color: #1d8f68;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 28px 0 38px;
  color: #62726c;
  border-top: 1px solid #dfe9e3;
}

@media (max-width: 880px) {
  .hero-section {
    min-height: auto;
    padding-top: 44px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .phone-art {
    justify-self: center;
  }

  .phone-screen {
    aspect-ratio: 1290 / 2376;
  }

  .feature-band {
    grid-template-columns: 1fr;
    padding-bottom: 76px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav,
  .site-footer div {
    width: 100%;
    justify-content: space-between;
  }

  .hero-section,
  .feature-band,
  .closing-section,
  .simple-page {
    width: min(100% - 28px, 1120px);
  }

  .hero-section {
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.3rem);
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .phone-art {
    border-radius: 26px;
  }

  .phone-screen {
    border-radius: 18px;
  }
}
