:root {
  --bg-ink: #05080b;
  --bg-surface: #0b1218;
  --bg-mist: #132333;
  --text-high: #eef5f8;
  --text-mid: #c5d6df;
  --text-low: #8da2af;
  --line: rgba(188, 214, 227, 0.22);
  --line-strong: rgba(226, 243, 255, 0.45);
  --accent: #8ddc6f;
  --accent-ink: #0e1a10;
  --max-content: 1200px;
  --header-height: 68px;
  --section-gap: clamp(4rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  --hero-shift: 0px;
  --hero-glow-shift: 0px;
  min-height: 100%;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 22%, rgba(73, 131, 186, 0.18), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(141, 220, 111, 0.12), transparent 44%),
    linear-gradient(180deg, #030507 0%, #071016 38%, #070f14 64%, #030507 100%);
  color: var(--text-high);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.8rem 1rem 0;
  pointer-events: none;
}

.header-inner {
  width: min(var(--max-content), 100%);
  margin: 0 auto;
  height: var(--header-height);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 14, 20, 0.77);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 32px -28px rgba(0, 0, 0, 0.75);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0 0.8rem 0 1rem;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
  padding: 0.2rem 0.45rem;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fbff;
}

.desktop-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text-high);
}

.header-cta {
  justify-self: end;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.52rem 0.88rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 190ms ease, filter 190ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 1.6px;
  margin: 0;
  border-radius: 999px;
  background: var(--text-high);
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-menu-toggle span:first-child {
  transform: translate(-50%, calc(-50% - 4px));
}

.mobile-menu-toggle span:last-child {
  transform: translate(-50%, calc(-50% + 4px));
}

.mobile-nav {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0.42rem auto 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 17, 23, 0.92);
  backdrop-filter: blur(8px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.mobile-nav a {
  display: block;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.site-header.menu-open .mobile-nav {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header.menu-open .mobile-menu-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.menu-open .mobile-menu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-height) + 3.2rem) 1rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: clamp(1.2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-backdrop,
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop {
  z-index: -2;
  background:
    radial-gradient(1200px 680px at 78% 40%, rgba(48, 90, 136, 0.55), transparent 70%),
    radial-gradient(900px 560px at 22% 82%, rgba(76, 128, 93, 0.42), transparent 72%),
    linear-gradient(150deg, #06131d 0%, #0a1d2a 34%, #08141d 72%, #05080b 100%);
  transform: translateY(var(--hero-glow-shift));
}

.hero-grain {
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(transparent 24px, rgba(214, 235, 245, 0.06) 25px),
    linear-gradient(90deg, transparent 24px, rgba(214, 235, 245, 0.06) 25px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, black 56%, transparent 100%);
}

.hero-content {
  width: min(620px, 100%);
  margin-inline: auto;
}

.hero h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.3rem, 5.8vw, 5.25rem);
  max-width: 11ch;
}

.hero-copy {
  margin-top: 1rem;
  color: var(--text-mid);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
}

.button {
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-solid {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-solid:hover,
.button-solid:focus-visible {
  filter: brightness(1.05);
}

.button-quiet {
  border-color: rgba(214, 230, 241, 0.28);
  color: var(--text-high);
  background: rgba(12, 24, 33, 0.35);
}

.hero-device {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 1350 / 2760;
  transform: translate3d(0, calc(var(--hero-shift) * 0.35), 0);
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.52));
  animation: heroDeviceIn 800ms cubic-bezier(0.2, 0.74, 0.2, 1) both;
}

.hero-screen {
  position: absolute;
  z-index: 1;
  top: 2.5%;
  right: 5.3333%;
  bottom: 2.5%;
  left: 5.3333%;
  border-radius: clamp(28px, 7.4%, 34px);
  overflow: hidden;
  background: #000;
}

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

.story {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--section-gap) 0;
}

.story-intro {
  width: min(760px, 100%);
  margin: 0 auto clamp(2rem, 6vw, 3.5rem);
  text-align: center;
}

.story-intro h2 {
  margin-top: 0.95rem;
  font-size: clamp(1.9rem, 5vw, 3.5rem);
}

.story-intro p {
  margin-top: 0.9rem;
  color: var(--text-mid);
  font-size: clamp(0.98rem, 2vw, 1.15rem);
}

.story-track {
  position: relative;
  min-height: 620svh;
}

.story-sticky {
  position: sticky;
  top: calc(var(--header-height) + 1.7rem);
  min-height: calc(100svh - var(--header-height) - 2rem);
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 5rem);
}

.phone-shell {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  aspect-ratio: 1350 / 2760;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.5));
}

.phone-screen-layer {
  position: absolute;
  z-index: 1;
  top: 2.5%;
  right: 5.3333%;
  bottom: 2.5%;
  left: 5.3333%;
  border-radius: clamp(28px, 7.4%, 34px);
  overflow: hidden;
  background: #000;
}

.sequence-canvas,
.sequence-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sequence-canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 260ms ease;
}

.sequence-fallback {
  z-index: 2;
  opacity: 1;
  transition: opacity 260ms ease;
}

.phone-device-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

.story-steps {
  position: relative;
  min-height: clamp(230px, 34vh, 360px);
}

.story-step {
  --step-progress: 0;
  position: absolute;
  inset: 0;
  padding: 1.3rem 0 0;
  opacity: 0;
  transform: translateY(42px);
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    opacity 360ms cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 360ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.story-step::before,
.story-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
}

.story-step::before {
  background: var(--line);
}

.story-step::after {
  background: var(--line-strong);
  transform-origin: left center;
  transform: scaleX(calc(0.05 + (var(--step-progress) * 0.95)));
}

.story-step h3 {
  font-size: clamp(1.35rem, 3.3vw, 2.6rem);
  max-width: 20ch;
}

.story-step p {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-mid);
  max-width: 48ch;
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.story-step.is-entering-up {
  opacity: 0;
  transform: translateY(48px);
}

.story-step.is-entering-down {
  opacity: 0;
  transform: translateY(-48px);
}

.story-step.is-leaving-up {
  opacity: 0;
  transform: translateY(-38px);
}

.story-step.is-leaving-down {
  opacity: 0;
  transform: translateY(38px);
}

.feature-band {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
}

.feature-band-reverse .feature-image {
  order: 2;
}

.feature-band-reverse .feature-content {
  order: 1;
}

.feature-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 15, 21, 0.03), rgba(9, 15, 21, 0.26));
}

.feature-image > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.feature-image-phone {
  display: grid;
  place-items: center;
  padding: clamp(0.9rem, 2.2vw, 1.45rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.feature-image-phone::after {
  display: none;
}

.trip-log-phone {
  width: min(100%, 320px);
  margin: 0;
}

.trip-log-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band-shared {
  grid-template-columns: minmax(320px, 1.06fr) minmax(0, 1fr);
}

.shared-map-phones {
  min-height: clamp(390px, 46vw, 600px);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.shared-map-phones::after {
  display: none;
}

.shared-map-stack {
  width: min(100%, 640px);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(0.5rem, 1.6vw, 1rem) clamp(0.45rem, 1.2vw, 0.8rem) 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.45rem, 1.8vw, 1.2rem);
}

.shared-phone {
  position: relative;
  width: clamp(172px, 22vw, 260px);
  margin: 0;
  filter: drop-shadow(0 24px 34px rgba(9, 13, 18, 0.24));
}

.shared-phone-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 1.2vw, 0.75rem);
}

.shared-map-phones .shared-user-avatar {
  width: clamp(36px, 5.4vw, 52px);
  height: clamp(36px, 5.4vw, 52px);
  min-height: 0;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(8, 12, 18, 0.34);
  transform: scale(1);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.shared-map-phones .shared-user-avatar.is-playing {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(8, 12, 18, 0.44);
}

.shared-map-phones .shared-user-avatar.is-popping {
  animation: sharedAvatarPop 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes sharedAvatarPop {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.16);
  }
  100% {
    transform: scale(1.08);
  }
}

.shared-phone .phone-screen-layer {
  top: 2.35%;
  right: 4.7%;
  bottom: 2.35%;
  left: 4.7%;
  border-radius: clamp(28px, 7.2%, 34px);
  background: #060a0f;
}

.shared-sequence-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shared-phone-back {
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 1;
}

.shared-phone-front {
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 1;
}

.feature-band-shared .feature-content {
  padding-right: clamp(0rem, 1vw, 1rem);
}

.feature-content h2 {
  margin-top: 0.95rem;
  font-size: clamp(1.8rem, 4.8vw, 3.2rem);
}

.feature-content p {
  margin-top: 0.92rem;
  color: var(--text-mid);
  max-width: 48ch;
}

.feature-content .detail-line {
  color: var(--text-high);
  font-weight: 500;
}

.feature-content .button {
  margin-top: 1.3rem;
}

.highlights {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--line);
}

.highlights-inner {
  width: min(980px, 100%);
}

.highlights h2 {
  margin-top: 0.95rem;
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
}

.highlight-row {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.highlight-row:first-of-type {
  margin-top: 1.5rem;
}

.highlight-row:last-child {
  border-bottom: 1px solid var(--line);
}

.highlight-row h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
}

.highlight-row p {
  color: var(--text-mid);
  max-width: 68ch;
}

.pricing {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--line);
}

.pricing-intro {
  width: min(900px, 100%);
}

.pricing-intro h2 {
  margin-top: 0.95rem;
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  max-width: 16ch;
}

.pricing-intro p {
  margin-top: 0.92rem;
  color: var(--text-mid);
  max-width: 68ch;
}

.pricing-donation {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  border: 1px solid rgba(141, 220, 111, 0.3);
  background: rgba(141, 220, 111, 0.1);
  color: #dff6d6;
  border-radius: 999px;
  padding: 0.46rem 0.88rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.pricing-plan-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.pricing-plan {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(211, 233, 245, 0.18);
  background:
    linear-gradient(180deg, rgba(20, 31, 44, 0.75), rgba(8, 14, 20, 0.88));
  padding: 0.9rem 0.85rem 0.95rem;
}

.pricing-plan-label {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-plan-price {
  margin: 0.42rem 0 0;
  color: var(--text-high);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.pricing-plan-detail {
  margin: 0.4rem 0 0;
  color: var(--text-low);
  font-size: 0.82rem;
}

.pricing-plan-ribbon {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  margin: 0;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.16rem 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan-best {
  border-color: rgba(141, 220, 111, 0.52);
  box-shadow: 0 10px 24px -16px rgba(141, 220, 111, 0.5);
}

.pricing-table {
  margin-top: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(151, 203, 226, 0.04), rgba(20, 32, 43, 0.18));
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(120px, 0.74fr) minmax(120px, 0.74fr);
  align-items: center;
  gap: 1rem;
  padding: 0.92rem 1.2rem;
  border-top: 1px solid var(--line);
}

.pricing-row p {
  margin: 0;
  font-size: 0.92rem;
}

.pricing-row > p:first-child {
  justify-self: start;
  text-align: left;
}

.pricing-row > p:nth-child(2),
.pricing-row > p:nth-child(3) {
  justify-self: center;
  text-align: center;
}

.pricing-row-head {
  border-top: 0;
  background: rgba(10, 18, 25, 0.7);
}

.pricing-row-head p {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.pricing-check,
.pricing-lock {
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.5rem;
}

.pricing-check {
  color: var(--accent-ink);
  background: var(--accent);
}

.pricing-lock {
  color: var(--text-low);
  background: rgba(197, 214, 223, 0.09);
}

.download {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--section-gap) 0 calc(var(--section-gap) + 1.2rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.download h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.download p:not(.eyebrow) {
  margin: 0;
  color: var(--text-mid);
  max-width: 44ch;
}

.download-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.15rem;
  margin-block: 1.15rem;
}

.download-action-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.download-actions .button {
  min-height: 48px;
  padding: 0.78rem 1.45rem;
  gap: 0.6rem;
  cursor: pointer;
}

.download-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.download-coming-soon {
  margin: 0;
  align-self: center;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-low);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.download-coming-soon.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.download-top-link {
  margin: 0;
  display: inline-flex;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.download-top-link:hover,
.download-top-link:focus-visible {
  color: var(--text-high);
  border-color: rgba(238, 245, 248, 0.35);
}

.site-footer {
  width: min(var(--max-content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0 0 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-low);
  font-size: 0.85rem;
}

.footer-copy p + p {
  margin-top: 0.22rem;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-mid);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-high);
  border-color: rgba(255, 255, 255, 0.33);
  transform: translateY(-1px);
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-copy,
.hero-content .hero-actions {
  opacity: 0;
  animation: riseIn 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-content .eyebrow {
  animation-delay: 70ms;
}

.hero-content h1 {
  animation-delay: 140ms;
}

.hero-content .hero-copy {
  animation-delay: 230ms;
}

.hero-content .hero-actions {
  animation-delay: 320ms;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDeviceIn {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, calc(var(--hero-shift) * 0.35), 0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    text-align: center;
    padding-bottom: 3rem;
  }

  .hero-content {
    width: min(740px, 100%);
  }

  .hero h1,
  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-device {
    width: min(60vw, 380px);
  }

  .story-sticky {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
    justify-items: center;
  }

  .phone-shell {
    width: min(300px, 55vw);
  }

  .story-steps {
    width: min(760px, 100%);
    text-align: center;
    min-height: 210px;
  }

  .story-step h3,
  .story-step p {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-band,
  .feature-band-reverse .feature-image,
  .feature-band-reverse .feature-content {
    grid-template-columns: minmax(0, 1fr);
    order: initial;
  }

  .feature-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-image {
    min-height: 220px;
  }

  .feature-band-shared {
    grid-template-columns: minmax(0, 1fr);
  }

  .shared-map-phones {
    min-height: clamp(360px, 80vw, 540px);
  }

  .shared-phone {
    width: clamp(160px, 34vw, 230px);
  }

  .shared-map-phones .shared-user-avatar {
    width: clamp(32px, 7vw, 44px);
    height: clamp(32px, 7vw, 44px);
  }

  .shared-phone-back {
    transform: none;
  }

  .shared-phone-front {
    transform: none;
  }

  .highlight-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .pricing-row {
    grid-template-columns: minmax(0, 1fr) 90px 90px;
    gap: 0.7rem;
    padding: 0.88rem 0.85rem;
  }

  .pricing-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-top: 0.62rem;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding-inline: 0.45rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.4rem);
  }

  .hero-device {
    width: min(72vw, 330px);
  }

  .story-track {
    min-height: 730svh;
  }

  .story-sticky {
    top: calc(var(--header-height) + 1.3rem);
    min-height: calc(100svh - var(--header-height) - 1.3rem);
  }

  .phone-shell {
    width: min(250px, 56vw);
  }

  .story-step {
    padding-top: 1rem;
  }

  .story-step h3 {
    font-size: clamp(1.25rem, 7vw, 1.95rem);
    max-width: 18ch;
  }

  .story-step p {
    font-size: 0.99rem;
    max-width: 38ch;
  }

  .shared-map-phones {
    min-height: clamp(330px, 92vw, 450px);
  }

  .shared-phone {
    width: clamp(142px, 38vw, 200px);
  }

  .shared-map-phones .shared-user-avatar {
    width: clamp(30px, 8vw, 40px);
    height: clamp(30px, 8vw, 40px);
  }

  .shared-phone-back {
    transform: none;
  }

  .shared-phone-front {
    transform: none;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 60px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: min(320px, 100%);
    margin-inline: auto;
  }

  .download-actions {
    width: min(320px, 100%);
    margin-inline: auto;
    gap: 0.9rem;
    margin-block: 0.95rem;
  }

  .download-action-item {
    width: 100%;
  }

  .download-actions .button {
    min-height: 46px;
    padding: 0.72rem 1.12rem;
    gap: 0.52rem;
  }

  .download-icon {
    width: 1rem;
    height: 1rem;
  }

  .story-track {
    min-height: 760svh;
  }

  .story-steps {
    min-height: 245px;
  }

  .shared-map-phones {
    min-height: clamp(300px, 96vw, 380px);
  }

  .shared-phone {
    width: clamp(128px, 40vw, 170px);
  }

  .shared-map-phones .shared-user-avatar {
    width: clamp(28px, 9vw, 36px);
    height: clamp(28px, 9vw, 36px);
  }

  .shared-phone-back {
    transform: none;
  }

  .shared-phone-front {
    transform: none;
  }

  .pricing-row p {
    font-size: 0.86rem;
  }

  .pricing-donation {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    font-size: 0.79rem;
    line-height: 1.35;
  }

  .pricing-plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-plan {
    padding: 0.86rem 0.8rem 0.88rem;
  }

  .pricing-plan-price {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }

  .pricing-row-head p {
    font-size: 0.74rem;
  }

  .pricing-check,
  .pricing-lock {
    font-size: 0.7rem;
    padding: 0.2rem 0.42rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-device {
    transform: none !important;
  }
}
