:root {
  --green: #006747;
  --green-dark: #00523a;
  --yellow: #ffcc00;
  --text: #0e1726;
  --muted: #5d6877;
  --bg: #f2f3f7;
  --card: #ffffff;
  --hair: rgb(14 23 38 / 0.1);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
a {
  color: var(--green);
}

/* ---------------------------------------------------------------- hero */
.hero {
  color: #fff;
  background: var(--green);
  padding: 56px 20px 64px;
}
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.5);
}
.brand b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.lead {
  margin: 0 0 22px;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.88);
}
.rate {
  display: inline-block;
  margin: 0 0 30px;
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 17px;
  background: rgb(255 255 255 / 0.16);
}
.rate b {
  font-weight: 800;
}
.steps {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: center;
}
.steps .n {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgb(255 255 255 / 0.16);
}
.steps b {
  display: block;
  font-size: 17px;
}
.steps span {
  font-size: 15px;
  color: rgb(255 255 255 / 0.75);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
/* not live yet: muted until the store listings exist */
.badge {
  display: inline-flex;
  filter: grayscale(1);
  opacity: 0.45;
}
/* Apple's badge: 120x40 artboard. Google's PNG has a transparent margin (41px of
   250px on each side), so it's drawn larger and pulled in to match Apple's height. */
.badge-apple {
  height: 52px;
  width: auto;
}
.badge-google {
  height: 77px;
  width: auto;
  margin: -12.8px;
}
.early {
  margin-top: 22px;
  padding: 16px 18px;
  max-width: 460px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.12);
}
.early p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.9);
}
.early b {
  color: #fff;
}
.early-go {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  color: #0b2a1d;
  background: var(--yellow);
}
.early-go:hover {
  filter: brightness(1.05);
}

/* ---------------------------------------------------------------- sample app screen */
.phone {
  justify-self: center;
  width: 300px;
  height: 612px;
  padding: 12px;
  border-radius: 46px;
  background: #0b0d11;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55);
}
.screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
}
.s-bar {
  padding: 34px 16px 12px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.s-bar i {
  width: 16px;
  height: 11px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: relative;
}
.s-bar i::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 2.5px;
  border-top: 2px solid #fff;
}
.s-body {
  padding: 12px;
}
.s-hero {
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: var(--green);
}
.s-hero small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.8;
}
.s-hero .amt {
  display: block;
  margin: 2px 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.s-hero p {
  margin: 0 0 10px;
  font-size: 11px;
  opacity: 0.9;
}
.s-go {
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: 750;
  color: #0b2a1d;
  background: var(--yellow);
}
.s-title {
  margin: 14px 4px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.s-list {
  border-radius: 14px;
  background: var(--card);
}
.s-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
}
.s-row + .s-row {
  border-top: 1px solid var(--hair);
}
.s-row .thumb {
  width: 26px;
  height: 34px;
  border-radius: 4px;
  background: repeating-linear-gradient(#fff 0 3px, #d9dde3 3px 4px);
  box-shadow: 0 0 0 1px var(--hair);
}
.s-row div {
  flex: 1;
}
.s-row b {
  display: block;
  font-size: 12px;
}
.s-row span {
  font-size: 11px;
  color: var(--muted);
}
.s-row em {
  font-style: normal;
  font-weight: 700;
}
.s-claimed {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  background: var(--card);
}
.s-claimed span {
  font-size: 11px;
  color: #138a52;
  font-weight: 600;
}
.s-claimed em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

/* ---------------------------------------------------------------- footer + text pages */
footer {
  padding: 28px 20px 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 10px;
}
footer a {
  text-decoration: none;
  font-weight: 600;
}
.doc-head {
  color: #fff;
  background: var(--green);
  padding: 22px 20px;
}
.doc-head a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.doc-head img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.doc {
  max-width: 720px;
  margin: 28px auto;
  padding: 28px 28px 12px;
  border-radius: 18px;
  background: var(--card);
  line-height: 1.6;
}
.doc h1 {
  font-size: 32px;
  letter-spacing: -0.6px;
}
.doc h2 {
  margin: 26px 0 8px;
  font-size: 19px;
}
.doc p,
.doc li {
  font-size: 16px;
}
.doc .date {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    padding: 36px 18px 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  h1 {
    font-size: 36px;
  }
  /* one centered column, so the text lines up with the phone below it */
  .pitch {
    text-align: center;
  }
  .brand,
  .stores {
    justify-content: center;
  }
  .lead,
  .early {
    margin-left: auto;
    margin-right: auto;
  }
  .steps {
    width: fit-content;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .doc {
    margin: 0;
    border-radius: 0;
    padding: 24px 18px 8px;
  }
}
