@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cream: #fff7e6;
  --paper: #fffdf7;
  --sand: #f3e9d2;
  --navy: #0d223f;
  --navy-2: #17305a;
  --ink-soft: #3b4a63;
  --yellow: #ffc629;
  --orange: #ffa94d;
  --attention: #d9541e;
  --ochre: #d79a18;
  --line: rgb(13 34 63 / 14%);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 4.75rem;
  color-scheme: light;
  font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--navy) var(--cream); }
body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  overflow-x: clip;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--attention); outline-offset: 4px; border-radius: .4rem; }
h1, h2, p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1em; height: 1em; }

.skip-link {
  position: fixed; z-index: 50; top: 1rem; left: 1rem;
  padding: .75rem 1rem; border-radius: 999px;
  background: var(--navy); color: var(--paper); font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Wordmark */
.wordmark { display: inline-grid; justify-items: start; gap: .1rem; color: inherit; text-decoration: none; }
.wm-word {
  position: relative; display: inline-block;
  font-size: 2rem; font-weight: 800; line-height: .9; letter-spacing: -.045em;
}
.wm-sap { color: var(--navy); }
.wm-ea { color: #fbb316; }
.wm-sparks {
  position: absolute; top: -.36em; right: -.3em;
  width: .5em; height: .5em;
  fill: none; stroke: var(--yellow); stroke-width: 3.4; stroke-linecap: round;
}
.wm-tagline { font-size: .72rem; font-weight: 700; letter-spacing: .01em; color: var(--ink-soft); }

/* Header */
.site-header {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gutter);
  max-width: 88rem; margin-inline: auto;
}
.header-date {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .95rem; border-radius: 999px;
  background: var(--navy); color: var(--paper);
  font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.header-dot {
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--yellow);
}

/* Tour layout */
.tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  max-width: 88rem; margin-inline: auto;
  padding-inline: var(--gutter);
}
.step { grid-column: 1; min-height: 88svh; display: flex; align-items: center; padding-block: 4rem; }
.step-body { max-width: 34rem; }
.intro { min-height: calc(100svh - var(--header-h)); padding-block: 2rem 5rem; }
.intro .step-body { max-width: 40rem; }

h1 {
  font-size: clamp(3rem, 6.4vw, 6rem);
  font-weight: 800; line-height: .96; letter-spacing: -.04em;
  text-wrap: balance;
}
h1 mark {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 90%, transparent 90%);
  padding-inline: .04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.intro-line {
  margin-top: 1.6rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
  text-wrap: balance;
}
.intro-lead { margin-top: 1rem; max-width: 33rem; font-size: 1.125rem; color: var(--ink-soft); text-wrap: pretty; }
.intro-hint {
  margin-top: 2.75rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 700; color: var(--ink-soft);
}
.intro-hint .icon { transform: rotate(90deg); animation: nudge 2.2s var(--ease-out) 1s 3; }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 .3rem; } }

/* Store pills: deliberately not links until the store URLs exist */
.stores { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.store {
  display: grid; gap: 0; min-width: 10.5rem;
  padding: .65rem 1.6rem .7rem; border-radius: 999px;
  background: rgb(13 34 63 / 7%);
  color: var(--navy);
  line-height: 1.25;
}
.store-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.store-state { font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.stores-dark .store { background: rgb(13 34 63 / 11%); }

.step h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 800; line-height: 1; letter-spacing: -.035em;
  text-wrap: balance;
}
.step h2 + p { margin-top: 1.25rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 30rem; text-wrap: pretty; }

/* Stage: sticky navy panel holding the phone */
.stage {
  grid-column: 2; grid-row: 1 / span 6;
  align-self: start;
  position: sticky; top: 1rem;
  height: calc(100svh - 2rem);
  padding-block: .5rem;
}
.stage-inner {
  position: relative; height: 100%;
  border-radius: 2.5rem;
  background: var(--navy);
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.stage-inner::before {
  content: ''; position: absolute; inset: auto -10% -35% -10%; height: 70%;
  border-radius: 50%;
  background: var(--navy-2);
  z-index: -1;
}
.tour-index {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 3;
  list-style: none; padding: 0;
  display: grid; gap: .4rem;
  counter-reset: step;
}
.tour-index li {
  counter-increment: step;
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 700; color: rgb(255 253 247 / 55%);
  transition: color .4s var(--ease-out);
}
.tour-index li::before {
  content: counter(step);
  width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgb(255 253 247 / 30%);
  font-size: .75rem;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), color .4s var(--ease-out);
}
.tour-index li.is-on { color: var(--paper); }
.tour-index li.is-on::before { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.tour-index li.is-done::before { border-color: rgb(255 198 41 / 70%); color: var(--yellow); }
.stage-note {
  position: absolute; bottom: 1.1rem; left: 0; right: 0; z-index: 3;
  text-align: center; font-size: .75rem; font-weight: 600; color: rgb(255 253 247 / 62%);
}

.phone-wrap {
  position: relative;
  height: min(42rem, calc(100% - 6rem));
  aspect-ratio: 9 / 18;
}
.frog {
  position: absolute; z-index: 0;
  width: min(36%, 15rem); right: 3%; bottom: 0;
  transform-origin: 50% 100%;
  transition: translate .6s var(--ease-out), rotate .6s var(--ease-out);
}
.phone {
  position: relative; z-index: 1;
  height: 100%;
  border-radius: 13% / 6.3%;
  padding: 3.2%;
  background: #050c18;
  box-shadow:
    inset 0 0 0 2px #2a3b57,
    0 2.5rem 4rem -1rem rgb(0 0 0 / 45%),
    0 .5rem 1rem rgb(0 0 0 / 25%);
}
.phone-notch {
  position: absolute; z-index: 5; top: 3.2%; left: 50%;
  width: 30%; height: 3.4%; translate: -50% 0;
  border-radius: 0 0 1rem 1rem; background: #050c18;
}
.screens {
  position: relative; height: 100%;
  border-radius: 10.5% / 5%;
  overflow: hidden;
  background: var(--paper);
  container-type: inline-size;
}

/* ===== In-phone UI (scaled from the phone's width) ===== */
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 0 1.15em 0;
  font-size: calc(100cqw / 22);
  line-height: 1.3;
  color: var(--navy);
  background: var(--paper);
  opacity: 0; visibility: hidden;
  translate: 0 4%;
  transition: opacity .45s var(--ease-out), translate .6s var(--ease-out), visibility 0s linear .6s;
}
.screen.is-active { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .45s var(--ease-out), translate .6s var(--ease-out), visibility 0s; }
.screen.is-leaving { translate: 0 -3%; }

.status { display: flex; justify-content: space-between; align-items: center; padding: 1em .4em .6em; font-size: .78em; font-weight: 800; }
.status-icons { display: flex; gap: .3em; }
.status-icons i { width: 1.1em; height: .6em; border-radius: .15em; background: currentColor; }
.status-icons i:first-child { width: .9em; }
.status-icons i:last-child { width: 1.6em; border-radius: .25em; }

.app-bar { display: flex; align-items: center; gap: .6em; padding-block: .5em .8em; }
.app-bar > :last-child { margin-left: auto; }
.mini-wordmark { font-size: 1.7em; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.mini-wordmark b { color: #fbb316; font-weight: 800; }
.round-btn { position: relative; width: 2.5em; height: 2.5em; display: grid; place-items: center; border-radius: 50%; background: var(--cream); }
.badge-dot { position: absolute; top: .45em; right: .5em; width: .55em; height: .55em; border-radius: 50%; background: var(--attention); }
.bar-title { font-size: 1.05em; font-weight: 800; }
.bar-title-lg { font-size: 1.6em; letter-spacing: -.03em; }
.sample {
  padding: .25em .6em; border-radius: 999px;
  background: var(--sand); color: var(--ink-soft);
  font-size: .68em; font-weight: 800; letter-spacing: .02em;
}

.hello { font-size: .9em; color: var(--ink-soft); font-weight: 600; }
.place { display: flex; align-items: center; gap: .3em; margin-top: .1em; font-size: 1.25em; font-weight: 800; letter-spacing: -.02em; }
.place .icon:first-child { color: var(--attention); }

.cta-report {
  display: flex; align-items: center; gap: .7em;
  margin-top: 1em; padding: .7em .9em .7em .7em;
  border-radius: 1.2em; background: var(--yellow);
  font-weight: 800; font-size: 1em;
}
.cta-report > .icon { margin-left: auto; }
.cta-plus { width: 2.2em; height: 2.2em; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; margin-top: .8em; }
.tile {
  display: grid; justify-items: center; gap: .35em;
  padding: .8em .2em .7em; border-radius: 1em;
  background: var(--cream);
  font-size: .72em; font-weight: 800;
}
.tile .icon { width: 1.9em; height: 1.9em; }
.icon-live { color: var(--attention); }
.topo-mini { width: auto; height: 1.9em; }
.topo-avatar { display: grid; place-items: center; border-radius: 50%; background: #fff3d6; border: 1px solid rgb(215 154 24 / 35%); }
.topo-avatar img { height: 62%; width: auto; translate: 4% 0; }

.list-head { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2em; margin-bottom: .3em; font-weight: 800; font-size: .95em; }
.row, .alert { display: flex; align-items: center; gap: .7em; padding: .6em 0; border-top: 1px solid var(--line); }
.row-icon { width: 2.4em; height: 2.4em; flex: none; display: grid; place-items: center; border-radius: .8em; }
.ri-yellow { background: var(--yellow); }
.ri-navy { background: var(--navy); color: var(--paper); }
.ri-orange { background: var(--attention); color: var(--paper); }
.ri-cream { background: var(--sand); }
.row-text { display: grid; min-width: 0; }
.row-text b { font-size: .92em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-text small { font-size: .76em; color: var(--ink-soft); font-weight: 600; }

.tabbar {
  margin-top: auto; margin-inline: -1.15em;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: .5em .4em 1.3em;
  background: var(--paper);
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
.tab { display: grid; justify-items: center; gap: .2em; font-size: .64em; font-weight: 700; color: var(--ink-soft); }
.tab .icon { width: 1.9em; height: 1.9em; }
.tab.is-on { color: var(--navy); }
.tab.is-on .icon { color: #e0a100; }
.tab-plus > span { width: 3.4em; height: 3.4em; margin-top: -1.6em; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); box-shadow: 0 .3em .8em rgb(13 34 63 / 22%); }
.tab-plus .icon { width: 1.8em; height: 1.8em; }

/* Reportar */
.media { position: relative; border-radius: 1.1em; overflow: hidden; aspect-ratio: 300 / 170; flex: none; }
.scene { width: 100%; height: 100%; display: block; }
.media-badge { position: absolute; left: .6em; bottom: .6em; display: inline-flex; align-items: center; gap: .3em; padding: .25em .55em; border-radius: 999px; background: rgb(13 34 63 / 80%); color: var(--paper); font-size: .72em; font-weight: 800; }
.media-add { position: absolute; right: .6em; bottom: .6em; width: 2.3em; height: 2.3em; display: grid; place-items: center; border-radius: 50%; background: var(--paper); }
.thumbs { display: flex; gap: .45em; margin-top: .55em; }
.thumb { width: 3.4em; height: 3.4em; border-radius: .8em; flex: none; display: block; overflow: hidden; }
.t1 { outline: .2em solid var(--yellow); outline-offset: -.2em; }
.t-add { display: grid; place-items: center; border: 1.5px dashed rgb(13 34 63 / 30%); color: var(--ink-soft); }
.field-label { margin-top: .9em; margin-bottom: .35em; font-size: .78em; font-weight: 800; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: .4em; }
.chip { padding: .4em .8em; border-radius: 999px; border: 1px solid var(--line); font-size: .8em; font-weight: 700; }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.field { display: flex; align-items: center; gap: .5em; padding: .7em .8em; border-radius: .9em; background: var(--cream); font-size: .85em; font-weight: 700; }
.field .icon { color: var(--attention); }
.field-text { align-items: flex-start; font-weight: 600; min-height: 4.2em; }
.btn-primary { margin-top: auto; margin-bottom: 1.6em; padding: .9em; border-radius: 999px; background: var(--yellow); text-align: center; font-weight: 800; }

/* Mapa */
.screen-map { padding: 0; background: #f4ecd9; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map text { font-family: inherit; }
.status-over { position: relative; z-index: 2; padding-inline: 1.55em; }
.map-search {
  position: relative; z-index: 2;
  margin: .3em 1.15em 0; padding: .4em .4em .4em .9em;
  display: flex; align-items: center; gap: .55em;
  border-radius: 999px; background: var(--paper);
  font-size: .85em; font-weight: 700; color: var(--ink-soft);
  box-shadow: 0 .4em 1.2em rgb(13 34 63 / 14%);
}
.map-layers { margin-left: auto; width: 2.3em; height: 2.3em; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--navy); }
.pin {
  position: absolute; z-index: 1;
  width: 2.6em; height: 2.6em; display: grid; place-items: center;
  border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 .3em .7em rgb(13 34 63 / 25%);
}
.pin .icon { rotate: 45deg; width: 1.25em; height: 1.25em; }
.pin-a { top: 36%; left: 52%; outline: .25em solid rgb(255 198 41 / 35%); }
.pin-b { top: 24%; left: 70%; background: var(--navy); color: var(--paper); }
.pin-live { top: 49%; left: 30%; background: var(--attention); color: var(--paper); }
.screen.is-active .pin-live { animation: livepulse 1.8s var(--ease-out) infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgb(217 84 30 / 55%); } 80%, 100% { box-shadow: 0 0 0 1.1em rgb(217 84 30 / 0%); } }
.me-dot { position: absolute; top: 44%; left: 62%; width: 1em; height: 1em; border-radius: 50%; background: #2f6fd6; border: .2em solid var(--paper); box-shadow: 0 0 0 .6em rgb(47 111 214 / 18%); }
.sheet {
  position: absolute; left: .7em; right: .7em; bottom: 5.4em; z-index: 2;
  padding: .5em 1em 1em;
  border-radius: 1.3em; background: var(--paper);
  box-shadow: 0 -.2em 1.6em rgb(13 34 63 / 16%);
  display: grid; gap: .3em;
}
.sheet-handle { justify-self: center; width: 2.6em; height: .3em; border-radius: 999px; background: var(--line); margin-bottom: .3em; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.05em; }
.sheet small { font-size: .78em; font-weight: 600; color: var(--ink-soft); }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin-top: .4em; }
.btn-navy, .btn-ghost { padding: .65em; border-radius: 999px; text-align: center; font-size: .82em; font-weight: 800; }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-ghost { border: 1.5px solid var(--navy); }
.sheet-contrib { display: flex; align-items: center; gap: .4em; font-size: .78em; font-weight: 800; color: var(--navy); }
.sheet-contrib .icon { color: var(--attention); }
.screen-map .tabbar { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }

/* Alertas */
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); padding: .25em; border-radius: 999px; background: var(--cream); font-size: .8em; font-weight: 800; text-align: center; }
.segmented span { padding: .5em 0; border-radius: 999px; color: var(--ink-soft); }
.segmented .is-on { background: var(--navy); color: var(--paper); }
.group-label { margin-top: 1em; margin-bottom: .2em; font-size: .78em; font-weight: 800; color: var(--ink-soft); }
.alert time { margin-left: auto; align-self: flex-start; padding-top: .35em; font-size: .7em; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.alert.is-new .row-text b::after { content: ''; display: inline-block; width: .45em; height: .45em; margin-left: .35em; border-radius: 50%; background: var(--attention); vertical-align: middle; }
.screen.is-active .alert { animation: rise .6s var(--ease-out) both; }
.screen.is-active .alert:nth-of-type(2) { animation-delay: .08s; }
.screen.is-active .alert:nth-of-type(3) { animation-delay: .16s; }
.screen.is-active .alert:nth-of-type(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; translate: 0 .8em; } to { opacity: 1; translate: 0 0; } }

/* Colabora */
.detail-head { display: flex; align-items: center; gap: .7em; }
.detail-head .row-text b { font-size: 1.1em; white-space: normal; }
.detail-meta { display: flex; align-items: center; gap: .6em; margin-top: .7em; }
.detail-follow { display: inline-flex; align-items: center; gap: .35em; font-size: .74em; font-weight: 700; color: var(--ink-soft); }
.count { min-width: 1.7em; padding: .1em .5em; border-radius: 999px; background: var(--yellow); text-align: center; font-size: .8em; }
.contribs { list-style: none; padding: 0; margin: .2em 0 0; display: grid; gap: .55em; }
.contrib { display: flex; gap: .6em; align-items: flex-start; }
.avatar { width: 2.2em; height: 2.2em; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .85em; font-weight: 800; }
.av-a { background: var(--yellow); color: var(--navy); }
.av-b { background: var(--navy); color: var(--paper); }
.av-c { background: var(--sand); color: var(--navy); }
.contrib-body { display: grid; gap: .2em; padding: .55em .75em; border-radius: .3em 1em 1em 1em; background: var(--cream); font-size: .82em; font-weight: 600; line-height: 1.35; }
.contrib-body b { font-weight: 800; }
.contrib-body small { font-weight: 600; color: var(--ink-soft); margin-left: .25em; }
.contrib-photo { width: 7em; height: 3.6em; border-radius: .6em; margin-top: .25em; display: block; }
.screen.is-active .contrib { animation: rise .6s var(--ease-out) both; }
.screen.is-active .contrib:nth-child(2) { animation-delay: .35s; }
.screen.is-active .contrib:nth-child(3) { animation-delay: .7s; }

/* El topo */
.screen-topo { background: #fbf4e4; }
.app-bar-chat { gap: .55em; }
.topo-avatar { width: 2.6em; height: 2.6em; }
.chat-who { display: grid; line-height: 1.15; }
.chat-who b { font-size: .98em; font-weight: 800; }
.chat-who small { font-size: .72em; font-weight: 600; color: var(--ink-soft); }
.chat { display: grid; gap: .55em; padding-top: .6em; align-content: start; }
.bubble { max-width: 84%; padding: .7em .9em; border-radius: 1.1em; font-size: .86em; font-weight: 600; line-height: 1.4; }
.bubble-me { justify-self: end; background: var(--navy); color: var(--paper); border-bottom-right-radius: .3em; }
.bubble-topo { justify-self: start; background: var(--paper); border-bottom-left-radius: .3em; box-shadow: 0 .15em .5em rgb(13 34 63 / 8%); }
.screen.is-active .bubble, .screen.is-active .quick { animation: rise .6s var(--ease-out) both; }
.screen.is-active .bubble:nth-child(2) { animation-delay: .5s; }
.screen.is-active .bubble:nth-child(3) { animation-delay: 1s; }
.screen.is-active .quick { animation-delay: 1.7s; }
.steps-card { padding: .8em .9em; border-radius: 1em; background: var(--paper); border: 1.5px solid rgb(215 154 24 / 40%); font-size: .84em; }
.steps-card b { font-weight: 800; }
.steps-card ol { margin: .4em 0 0; padding-left: 1.2em; display: grid; gap: .25em; font-weight: 600; color: var(--ink-soft); }
.screen.is-active .steps-card { animation: rise .6s var(--ease-out) 1.3s both; }
.quick { display: flex; flex-wrap: wrap; gap: .4em; }
.quick span { padding: .45em .8em; border-radius: 999px; border: 1.5px solid var(--ochre); color: #7a5300; font-size: .78em; font-weight: 800; }
.composer {
  margin-top: auto; margin-bottom: 1.6em;
  display: flex; align-items: center; gap: .6em;
  padding: .4em .4em .4em 1em; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .85em; font-weight: 600; color: var(--ink-soft);
}
.composer > .icon { margin-left: auto; }
.send { width: 2.3em; height: 2.3em; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); }

/* Frog peeks a little higher on every screen change */
.stage-inner.is-peeking .frog { translate: 0 -7%; rotate: -3deg; }

/* ===== Launch close ===== */
.launch {
  position: relative;
  margin-top: 4rem;
  background: var(--yellow);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  column-gap: 2rem;
  padding: clamp(4rem, 9vw, 7.5rem) max(var(--gutter), calc((100% - 88rem) / 2 + var(--gutter))) 0;
}
.launch-copy { max-width: 40rem; width: 100%; padding-bottom: clamp(4rem, 8vw, 7rem); }
.launch h2 {
  font-size: clamp(3.4rem, 9vw, 6rem);
  font-weight: 800; line-height: .9; letter-spacing: -.045em;
}
.launch h2 span { display: block; }
.launch p { margin-top: 1.5rem; max-width: 30rem; font-size: 1.2rem; font-weight: 600; line-height: 1.5; }
.launch strong { font-weight: 800; text-decoration: underline; text-decoration-thickness: .14em; text-underline-offset: .2em; }
.launch .store-state { color: var(--navy); }
.launch-frog { width: min(100%, 26rem); justify-self: start; margin-bottom: -1px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy); color: var(--paper);
  padding: 2.5rem var(--gutter) 3rem;
  display: grid; justify-items: center; gap: .6rem; text-align: center;
}
.wm-inverse .wm-sap { color: var(--paper); }
.site-footer p { font-size: .95rem; font-weight: 700; }
.site-footer .footer-fine { font-size: .8rem; font-weight: 500; color: rgb(255 253 247 / 70%); }

/* ===== Mobile: stage sticks to the top, steps scroll beneath ===== */
@media (max-width: 899px) {
  :root { --header-h: 4rem; }
  .wm-word { font-size: 1.65rem; }
  .wm-tagline { display: none; }
  .header-date { font-size: .78rem; padding: .45rem .8rem; }

  .tour { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .intro, .step { grid-column: 1; padding-inline: var(--gutter); }
  .intro { min-height: auto; padding-block: 1.5rem 3rem; }
  .stage {
    grid-column: 1; grid-row: auto;
    top: 0; z-index: 4;
    height: 62svh; padding: 0;
  }
  .stage-inner { border-radius: 0 0 2rem 2rem; }
  .stage-inner { padding-block: 2rem 3rem; }
  .phone-wrap { height: 100%; }
  .frog { width: 34%; right: -2%; }
  .tour-index { top: auto; bottom: 1rem; left: 50%; translate: -50% 0; grid-auto-flow: column; gap: .5rem; }
  .tour-index li { gap: 0; }
  .tour-index li span { display: none; }
  .tour-index li::before { width: 1.5rem; height: 1.5rem; font-size: .72rem; }
  .stage-note { bottom: auto; top: .6rem; font-size: .68rem; }
  .step { min-height: 60svh; align-items: flex-start; padding-block: 2.25rem 3rem; }
  .step h2 { font-size: 2.25rem; }
  .step h2 + p { font-size: 1.05rem; }

  .launch { grid-template-columns: minmax(0, 1fr); padding-top: 4rem; margin-top: 0; }
  .launch-copy { padding-bottom: 2rem; }
  .launch-frog { width: min(75%, 18rem); justify-self: end; }
}

@media (max-width: 380px) {
  .hd-lead { display: none; }
  .store { min-width: 0; flex: 1 1 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .screen { translate: none; }
  .stage-inner.is-peeking .frog { translate: none; rotate: none; }
}
