:root {
  --green: #12312F;
  --green-lift: #17403D;
  --cream: #F4F1EA;
  --amber: #F2C14E;
  --ink: #10201F;
  --muted: rgba(244, 241, 234, 0.68);
  --muted-dark: rgba(16, 32, 31, 0.66);
  --rule: rgba(244, 241, 234, 0.14);
  --measure: 62ch;
  --page: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

/* ---------- bar ---------- */

.bar {
  max-width: var(--page);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 500;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
}

.mark {
  width: 3.1rem;
  height: 3.1rem;
  color: var(--cream);
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--page);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}

.lede {
  margin-top: 1.5rem;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
}

.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.phone { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35)); }

/* text inside the artwork */
.art-title  { fill: var(--cream); font: 600 17px Inter, sans-serif; }
.art-label  { fill: var(--cream); font: 500 13px Inter, sans-serif; }
.art-small  { fill: rgba(244, 241, 234, 0.6); font: 400 12px Inter, sans-serif; }
.art-eyebrow{ fill: var(--cream); font: 600 20px Poppins, Inter, sans-serif; }
.art-btn    { fill: #10201F; font: 600 13px Inter, sans-serif; }
.art-btn-light { fill: var(--cream); font: 600 13px Inter, sans-serif; }

/* ---------- store badges ---------- */

.stores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

/* Google ships the badge with its own clear space baked into the file, so it is set a little
   taller than the pill beside it and pulled out at the edges to make the two line up. */
.badge-play {
  display: inline-block;
  line-height: 0;
  margin: -10px -12px;
}

.badge-play img {
  width: auto;
  height: 76px;
}

.badge-play-lg img { height: 86px; }

.badge-ios {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 9px;
  height: 56px;
  color: var(--muted);
}

.badge-ios-small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.badge-ios-big {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

/* ---------- feature strip ---------- */

.strip {
  background: var(--cream);
  color: var(--ink);
  padding: 5rem 1.5rem;
}

.strip-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.75rem 3rem;
}

.strip h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.strip h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
  margin-bottom: 0.9rem;
}

.strip p {
  color: var(--muted-dark);
  font-size: 0.98rem;
}

/* ---------- how ---------- */

.how {
  max-width: var(--page);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin-bottom: 3rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.steps li {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.step-n {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.85rem;
  color: var(--amber);
  margin-bottom: 0.9rem;
}

.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- closing ---------- */

.closing {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  text-align: center;
}

.closing h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.closing p {
  margin: 1.25rem auto 2rem;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.foot-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.foot-links a,
footer p a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.foot-links a:hover,
footer p a:hover { border-bottom-color: var(--amber); }

/* ---------- legal and support pages ---------- */

.doc {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.doc .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.doc h2 {
  font-size: 1.25rem;
  margin: 2.75rem 0 0.9rem;
}

.doc p,
.doc li {
  color: var(--muted);
  margin-bottom: 1rem;
}

.doc strong { color: var(--cream); font-weight: 600; }

.doc ul { padding-left: 1.2rem; }

.doc a { color: var(--cream); }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.doc th,
.doc td {
  text-align: left;
  padding: 0.7rem 0.9rem 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.doc th { color: var(--cream); font-weight: 600; }
.doc td { color: var(--muted); }

.doc-scroll { overflow-x: auto; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 3rem;
  }
  .hero-art { max-width: 30rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
