/* Motion Track — motiontrackapp.com
   Plain CSS, no build step. Edit and redeploy. */

:root {
  --bg:        #0b0c0f;
  --bg-raise:  #15171c;
  --line:      #24262d;
  --ink:       #ffffff;
  --ink-dim:   #a6abb5;
  --ink-faint: #6e747f;
  --accent:    #0088ff;   /* the Track button blue, sampled from the app */
  --radius:    16px;
  --page:      1080px;
  --gutter:    clamp(20px, 5vw, 40px);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section { padding-inline: var(--gutter); }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

a { color: inherit; }

/* ── Top bar ───────────────────────────────────────────── */

.topbar {
  padding: 20px var(--gutter);
  max-width: var(--page);
  margin-inline: auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wordmark img { border-radius: 8px; }

/* ── Hero ──────────────────────────────────────────────── */

.hero {
  max-width: var(--page);
  margin-inline: auto;
  padding-top: clamp(24px, 6vw, 64px);
  padding-bottom: clamp(48px, 9vw, 96px);
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
  position: relative;
}

/* the blue wash behind the phone */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% 0 auto auto;
  width: min(720px, 100%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,136,255,.28), transparent 62%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(36px, 9.5vw, 58px);
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.lede {
  color: var(--ink-dim);
  font-size: clamp(17px, 4.2vw, 20px);
  max-width: 34em;
  margin: 20px 0 32px;
  text-wrap: pretty;
}

.rating {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 15px;
}
.rating strong { color: var(--ink-dim); }
.stars { color: #ffb400; letter-spacing: 1px; margin-right: 6px; }

/* ── Store badges ──────────────────────────────────────── */

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 16px;
}

.slot { display: flex; flex-direction: column; gap: 8px; }

.badge {
  display: block;
  line-height: 0;             /* kill the inline-image gap */
  border-radius: 10px;
  transition: transform .15s ease;
}
.badge img { height: 54px; width: auto; display: block; }
.badge:hover { transform: translateY(-2px); }
.badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Android before launch: same footprint, visibly not yet tappable */
.badge--soon { cursor: default; }
.badge--soon img { opacity: .42; filter: grayscale(1); }
.badge--soon:hover { transform: none; }

.soon-tag {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-faint);
  text-align: center;
  letter-spacing: .01em;
}
a.badge--soon + .soon-tag,
.slot a .soon-tag { color: var(--accent); }

/* ── Phone frame ───────────────────────────────────────── */

.hero__shot { display: flex; justify-content: center; }

.phone {
  width: min(300px, 74vw);
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(160deg, #3a3d45, #1a1c21 40%);
  box-shadow: 0 32px 80px rgba(0,0,0,.65),
              0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

/* ── Features ──────────────────────────────────────────── */

.features {
  max-width: var(--page);
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 88px);
  border-top: 1px solid var(--line);
}
.features h2,
.faq h2 {
  font-size: clamp(27px, 6vw, 38px);
  font-weight: 700;
  margin-bottom: 36px;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}
.card__step {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,136,255,.16);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.card h3 { font-size: 20px; font-weight: 650; margin-bottom: 10px; }
.card p  { margin: 0; color: var(--ink-dim); font-size: 16px; }

.also {
  margin: 28px 0 0;
  color: var(--ink-faint);
  font-size: 16px;
  max-width: 46em;
}
.also strong { color: var(--ink-dim); font-weight: 600; }

.subhead {
  margin: 48px 0 16px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.more { margin: 16px 0 0; font-size: 16px; }
.more a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.more a:hover { text-decoration: underline; }

/* ── Trust strip ───────────────────────────────────────── */

.trust {
  padding-block: clamp(36px, 6vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e1015;
}
.trust p {
  max-width: var(--page);
  margin-inline: auto;
  font-size: clamp(17px, 4vw, 21px);
  color: var(--ink-dim);
  text-wrap: pretty;
}
.trust strong { color: var(--ink); font-weight: 650; }

/* ── FAQ ───────────────────────────────────────────────── */

.faq {
  max-width: var(--page);
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 88px);
}
.faq dl { margin: 0; }
.faq dt { font-weight: 650; font-size: 17px; margin-top: 28px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: var(--ink-dim); font-size: 16px; max-width: 44em; }

/* ── Closing CTA ───────────────────────────────────────── */

.closing {
  text-align: center;
  padding-block: clamp(56px, 9vw, 104px);
  border-top: 1px solid var(--line);
}
.closing__icon { border-radius: 17px; margin-bottom: 20px; }
.closing h2 {
  font-size: clamp(27px, 6vw, 38px);
  font-weight: 700;
  margin-bottom: 30px;
}
.closing .stores { justify-content: center; }

/* ── Article pages (/guides/*) ─────────────────────────── */

.crumb {
  max-width: 800px;
  margin: 0 auto;
  padding: 4px var(--gutter) 0;
  font-size: 14px;
  color: var(--ink-faint);
}
.crumb a { color: var(--ink-dim); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }

.prose {
  max-width: 800px;          /* includes the gutter — ~720px of text */
  margin-inline: auto;
  padding: clamp(24px, 5vw, 44px) var(--gutter) clamp(40px, 7vw, 72px);
}
.prose h1 {
  font-size: clamp(30px, 7vw, 46px);
  font-weight: 700;
  margin-bottom: 18px;
}
.prose .standfirst {
  color: var(--ink-dim);
  font-size: clamp(17px, 4vw, 20px);
  margin: 0 0 8px;
  text-wrap: pretty;
}
.prose .meta { color: var(--ink-faint); font-size: 14px; margin: 0 0 8px; }
.prose h2 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 650;
  margin: 44px 0 14px;
}
.prose h3 { font-size: 19px; font-weight: 650; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-dim); font-size: 17px; }
.prose p { margin: 0 0 16px; text-wrap: pretty; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

.note {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0 0 22px;
}
.note p:last-child { margin-bottom: 0; }

/* Download block dropped inside an article */
.cta-inline {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 36px 0;
  text-align: center;
}
.cta-inline h2 { margin: 0 0 6px; font-size: 21px; font-weight: 650; }
.cta-inline p { margin: 0 0 20px; font-size: 16px; }
.cta-inline .stores { justify-content: center; }

/* Guides hub */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide-list a {
  display: block;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  transition: border-color .15s ease;
}
.guide-list a:hover { border-color: #3a3d46; }
.guide-list h2 { font-size: 19px; font-weight: 650; margin: 0 0 6px; color: var(--ink); }
.guide-list p { margin: 0; color: var(--ink-dim); font-size: 16px; }

/* ── Footer ────────────────────────────────────────────── */

footer {
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
footer a { color: var(--ink-dim); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer p { margin: 0; }

/* ── Desktop ───────────────────────────────────────────── */

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-block: 56px 96px;
  }
  .phone { width: 286px; }
}

@media (prefers-reduced-motion: reduce) {
  .badge { transition: none; }
  .badge:hover { transform: none; }
}
