/* ─────────────────────────────────────────────────────────────
   Jarvis — landing page
   Tokens are lifted straight from src/theme/tokens.ts in the app,
   so the site and the product cannot drift apart.
   The load-bearing rule carries over: the accent is a HIGHLIGHT,
   never an action. Ink carries the taps.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink:        #16171A;
  --paper:      #FFFFFF;
  --mist:       #F1F3F6;
  --sky:        #93DBFF;   /* Sky 300 — fills only */
  --sky-soft:   #D8F0FF;
  --primary:    #0E6FA0;   /* the only blue allowed to be text */
  --secondary:  #29A9E0;
  --muted:      #5E6672;
  --border:     #E4E7EC;
  --ground:     #CFE2EE;   /* the page behind the boards */

  --r-board: 40px;
  --r-card:  24px;
  --r-tile:  32px;

  --shadow-card:  0 2px 10px rgba(16,17,20,.05);
  --shadow-float: 0 10px 26px rgba(16,17,20,.07);
  --shadow-lift:  0 22px 60px rgba(16,17,20,.12);

  --pad: clamp(20px, 4vw, 64px);
  --gap: clamp(14px, 1.6vw, 24px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body {
  margin: 0;
  padding: var(--gap);
  background: var(--ground);
  color: var(--ink);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }

/* ── typography scale ─────────────────────────────────────── */
h1 {
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(28px, 3.7vw, 50px);
  line-height: 1.08;
  letter-spacing: -.032em;
}
h3 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
h4 {
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.lede   { font-size: clamp(15px, 1.15vw, 18px); color: var(--muted); max-width: 34ch; line-height: 1.55; }
.sub    { font-size: clamp(14px, 1vw, 16px); color: var(--muted); line-height: 1.6; }
.muted  { color: var(--muted); }
.micro  { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; line-height: 1.5; margin: 0; }

/* ── shared shapes ────────────────────────────────────────── */
.board {
  background: var(--paper);
  border-radius: var(--r-board);
  padding: clamp(36px, 5vw, 88px) var(--pad);
  margin: 0 auto var(--gap);
  max-width: 1360px;
  position: relative;
  overflow: hidden;
}
.board-tight { padding: var(--gap); }

.pill {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  background: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.02em;
  padding: 13px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink  { background: var(--ink); color: var(--paper); }
.btn-ink:hover { box-shadow: 0 10px 22px rgba(16,17,20,.24); }
.btn-sky  { background: var(--sky); color: var(--ink); }
.btn-sky:hover { box-shadow: 0 10px 24px rgba(41,169,224,.38); }
.btn-lg   { padding: 16px 30px; font-size: 16px; }
.arrow    { font-size: .95em; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease;
}
.chip-ink { background: var(--ink); color: var(--paper); }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* ── header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--gap);
  z-index: 50;
  max-width: 1360px;
  margin: 0 auto var(--gap);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 12px 12px 12px 22px;
  box-shadow: var(--shadow-float);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-bot { width: 38px; height: 38px; flex: none; }
.brand-word { font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.dot { color: var(--secondary); }

.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -.01em;
  position: relative;
  transition: color .18s ease;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--sky);
  transition: width .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: auto; }
.nav + .header-cta { margin-left: 0; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  background: var(--mist);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 18px;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow-float);
}
.mobile-nav a { padding: 12px 8px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border: 0; justify-content: center; margin-top: 8px; }

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: var(--gap);
  align-items: stretch;
  background: var(--mist);
  padding: var(--gap);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  background: var(--paper);
  border-radius: var(--r-tile);
  padding: clamp(30px, 4vw, 62px) clamp(26px, 3.4vw, 54px);
}
.hero-copy h1 { margin-bottom: 2px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.hero-copy .stores { width: 100%; border-top: 1.5px solid var(--border); }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  transition: border-color .18s ease, transform .18s ease;
}
.store:hover { border-color: var(--ink); transform: translateY(-2px); }
.store svg { width: 21px; height: 21px; flex: none; }
.store svg:not(.play) path { fill: var(--ink); }
.store span { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.store small { font-size: 10px; font-weight: 400; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.hero-stage { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-panel {
  position: relative;
  flex: 1;
  border-radius: var(--r-tile);
  background: linear-gradient(165deg, var(--sky) 0%, #7CCFF8 100%);
  overflow: hidden;
  min-height: clamp(360px, 46vw, 600px);
  isolation: isolate;
}
.hero-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 85% at 18% 8%, rgba(255,255,255,.5), transparent 62%);
  pointer-events: none;
}
/* Sized by HEIGHT, not width: the panel is the fixed thing here, so a width-based
   phone gets its status bar sliced off the moment the viewport narrows. */
.hero-phone {
  position: absolute;
  right: 6%;
  bottom: -6%;
  height: 104%;
  width: auto;
  filter: drop-shadow(0 26px 48px rgba(9,44,64,.32));
  z-index: 2;
}
.float-card {
  position: absolute;
  left: 13%;
  top: 10%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lift);
  font-size: 12px;
}
.float-card strong { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.035em; line-height: 1.1; }
.float-bubble {
  position: absolute;
  left: 7%;
  bottom: 27%;
  z-index: 4;
  padding: 10px 18px;
  border-radius: 999px 999px 999px 6px;
  background: var(--paper);
  box-shadow: var(--shadow-float);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  animation: bob 4.5s ease-in-out infinite;
}
.float-bot {
  position: absolute;
  left: 5%;
  bottom: 6%;
  z-index: 4;
  width: clamp(74px, 11vw, 118px);
  filter: drop-shadow(0 12px 22px rgba(9,44,64,.24));
  animation: bob 4.5s ease-in-out .4s infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }

.hero-underline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 14px 6px; }
.spin-badge {
  position: relative;
  width: 108px; height: 108px;
  flex: none;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { font-size: 9.4px; font-weight: 500; letter-spacing: .1em; fill: var(--muted); text-transform: uppercase; }
.spin-arrow {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 24px;
}
@keyframes spin { to { transform: rotate(360deg) } }
.hero-underline .micro { text-align: right; }

/* ── section heads ────────────────────────────────────────── */
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: clamp(34px, 4vw, 62px); }
.section-head h2 { max-width: 100%; }
.section-head .sub { max-width: 56ch; }
.sub-left { text-align: left; }

/* ── split blocks ─────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 54px);
  align-items: center;
}
.split-reverse .tile { order: 2; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; padding: clamp(0px, 2vw, 28px) 0; }
.split-copy p { color: var(--muted); max-width: 46ch; line-height: 1.62; }

.tile {
  position: relative;
  border-radius: var(--r-tile);
  overflow: hidden;
  display: grid;
  place-items: end center;
  min-height: clamp(320px, 40vw, 500px);
  padding-top: 44px;
}
.tile-mist { background: var(--mist); }
.tile-sky  { background: linear-gradient(165deg, var(--sky) 0%, #7CCFF8 100%); }
.tile .phone { width: min(66%, 320px); filter: drop-shadow(0 22px 40px rgba(16,17,20,.16)); }
.tile-sky .phone { filter: drop-shadow(0 22px 44px rgba(9,44,64,.3)); }
.phone-lock { width: min(58%, 286px); }
.tile-tag {
  position: absolute;
  top: 22px; left: 24px;
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 500;
  color: rgba(16,17,20,.62);
}

.tile-bot {
  position: absolute;
  left: clamp(14px, 4%, 40px);
  bottom: clamp(14px, 5%, 44px);
  width: clamp(58px, 9vw, 96px);
  filter: drop-shadow(0 12px 22px rgba(9,44,64,.26));
  animation: bob 5.2s ease-in-out .8s infinite;
}
.faq-bot {
  position: absolute;
  top: clamp(20px, 4vw, 64px);
  right: clamp(16px, 5vw, 96px);
  width: clamp(64px, 9vw, 116px);
  transform: rotate(8deg);
  animation: bob 6s ease-in-out infinite;
}

.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--muted); }
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.inline-bot {
  position: absolute;
  right: 0; bottom: -14px;
  width: clamp(64px, 8vw, 92px);
  opacity: .95;
  animation: bob 5s ease-in-out infinite;
}

.la-stack { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 430px; margin-top: 8px; }
.la-stack img { border-radius: 20px; filter: drop-shadow(0 14px 28px rgba(16,17,20,.14)); }

/* ── feature cards ────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1.5px solid var(--border);
  min-height: 320px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
.card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card-sky { background: var(--sky); border-color: transparent; }
.card-sky p { color: rgba(16,17,20,.72); }
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--mist);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.card-sky .icon-tile { background: rgba(255,255,255,.92); }
.icon-tile svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile svg circle[cx] { fill: var(--ink); stroke: none; }

/* ── how it works ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.step { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.step img {
  border-radius: 26px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease;
}
.step:hover img { transform: translateY(-6px); }
.step figcaption { font-size: 14px; color: var(--muted); line-height: 1.5; }
.num {
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  background: var(--sky);
  border-radius: 8px;
  padding: 3px 7px;
  letter-spacing: 0;
}

.screens-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 30px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 78px);
  padding: clamp(30px, 4vw, 56px) clamp(20px, 3vw, 46px) 0;
  background: var(--mist);
  border-radius: var(--r-tile);
}
.screens-strip img {
  filter: drop-shadow(0 18px 36px rgba(16,17,20,.15));
  transition: transform .3s ease;
}
.screens-strip img:nth-child(odd)  { transform: translateY(14px); }
.screens-strip img:hover { transform: translateY(-6px); }

/* ── faq ──────────────────────────────────────────────────── */
.faq { max-width: 980px; margin: 0 auto; }
.faq-item { border-top: 1.5px solid var(--border); }
.faq-item:last-child { border-bottom: 1.5px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .num {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  padding: 0;
  margin: 0;
  width: 26px;
  flex: none;
  transition: background .2s ease, color .2s ease;
}
.faq-item .q { font-weight: 700; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.02em; }
.faq-item .plus {
  margin-left: auto;
  position: relative;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--sky);
  flex: none;
  transition: background .2s ease;
}
.faq-item .plus::before,
.faq-item .plus::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .22s ease, opacity .22s ease;
}
.faq-item .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] .num {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 4px 6px;
  width: auto;
  font-weight: 700;
}
.faq-item .a { padding: 0 60px 26px 44px; }
.faq-item .a p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 74ch; }
.faq-item[open] { background: var(--paper); }
.faq-item[open] summary { padding-bottom: 12px; }

/* ── cta ──────────────────────────────────────────────────── */
.cta {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: var(--gap);
  align-items: stretch;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(30px, 4vw, 66px) clamp(16px, 2.5vw, 44px);
}
.cta-copy h2 { margin-top: 4px; }
.cta-copy .btn { margin-top: auto; }
.cta-panel {
  position: relative;
  border-radius: var(--r-tile);
  background: linear-gradient(150deg, var(--sky) 0%, #79CDF7 100%);
  padding: clamp(28px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  overflow: hidden;
  min-height: 340px;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
}
.cta-bot {
  position: absolute;
  top: clamp(-6px, 1vw, 18px);
  right: clamp(12px, 3vw, 44px);
  width: clamp(96px, 14vw, 168px);
  filter: drop-shadow(0 16px 30px rgba(9,44,64,.26));
  animation: bob 5.5s ease-in-out infinite;
}
.cta-line { position: relative; font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.025em; max-width: 20ch; line-height: 1.3; }
.avatars { position: relative; display: flex; align-items: center; }
.avatars span {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 2.5px solid var(--paper);
  margin-left: -12px;
  background: hsl(calc(206 - var(--i) * 3) calc(56% - var(--i) * 2%) calc(70% - var(--i) * 5%));
  box-shadow: 0 3px 8px rgba(9,44,64,.16);
}
.avatars span:first-child { margin-left: 0; }
.avatars em {
  margin-left: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 9px 14px;
}
.stores-panel { position: relative; margin: 0; padding: 0; }
.stores-panel .store { background: var(--paper); border-color: transparent; box-shadow: var(--shadow-card); }

/* ── footer ───────────────────────────────────────────────── */
.board-footer { padding: clamp(30px, 3.5vw, 54px) var(--pad); margin-bottom: 0; }
.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1.5px solid var(--border);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; margin-left: auto; }
.footer-nav a { font-size: 15px; color: var(--muted); transition: color .18s ease; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13px; color: var(--muted); }

/* ── reveal on scroll ─────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── responsive ───────────────────────────────────────────── */
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 1080px) {
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .screens-strip img:nth-child(odd) { transform: none; }
}

@media (max-width: 900px) {
  :root { --r-board: 30px; --r-tile: 26px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { min-height: clamp(400px, 62vw, 520px); }
  .stores { margin-top: 8px; }
  .split, .cta { grid-template-columns: 1fr; }
  .split-reverse .tile { order: 0; }
  .hero-underline { display: none; }
  .inline-bot { position: static; margin-top: 6px; }
  .faq-item .a { padding: 0 8px 24px 44px; }
  .cta-copy { padding: 26px 8px 8px; }

  /* Every two-column block has collapsed into one column by now, so the whole
     page is a single centred stack — left-aligned copy left over from the desktop
     grid is what reads as "off centre". Headings drop their hand-placed <br>
     and re-balance instead, because a break authored for a 50ch column lands in
     the wrong place at 24ch. */
  h1 br, h2 br, h3 br, h4 br { display: none; }
  h1, h2, h3, h4 { text-wrap: balance; }

  .hero-copy, .split-copy, .cta-copy, .card { align-items: center; text-align: center; }
  .lede, .split-copy p, .card p, .sub-left { margin-inline: auto; text-align: center; }
  .stores, .avatars { justify-content: center; }
  .chip { align-self: center; }
  .ticks { text-align: left; margin-inline: auto; }
  .la-stack { margin-inline: auto; }

  .cta-panel { align-items: center; }
  .cta-line { text-align: center; margin-inline: auto; }
  .cta-bot { position: static; align-self: center; margin-bottom: 4px; }

  .step img, .screens-strip img { margin-inline: auto; }
  .step figcaption { text-align: center; }
  .tile-tag { left: 50%; transform: translateX(-50%); }

  .footer-top { justify-content: center; text-align: center; }
  .footer-nav { margin-left: 0; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 620px) {
  body { padding: 8px; }
  :root { --gap: 10px; }
  .cards, .steps, .screens-strip { grid-template-columns: 1fr; }
  /* min() matters: a bare max-width beats the global img{max-width:100%}, so the
     phone stops shrinking and pushes out past its column instead of centring. */
  .step img { max-width: min(340px, 100%); }
  .screens-strip img { max-width: min(320px, 100%); margin: 0 auto; }
  .header-bar { padding: 10px 10px 10px 16px; }
  .brand-bot { width: 34px; height: 34px; }
  /* let the phone bleed off the right edge so the card, bubble and robot get a
     column of their own instead of sitting on top of the chat */
  .hero-phone { right: -9%; }
  .float-card { padding: 12px 16px; left: 5%; }
  .float-bot { width: 68px; }
  .faq-item summary { gap: 12px; }
  .faq-item .a { padding: 0 4px 22px 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
