/* SideQuest marketing — Ethereal Sunset */
:root {
  --rose: #e91e63;
  --sky: #29b6f6;
  --gold: #ffb300;
  --cta-start: #9f4122;
  --cta-end: #ff8a65;
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #1a1520;
  --muted: #5c5666;
  --line: rgba(26, 21, 32, 0.08);
  --measure: 65ch;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cta-start);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, 100%);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.brand-lockup img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
}

.brand-lockup span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.header-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
}

.header-links a:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(233, 30, 99, 0.38), transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(41, 182, 246, 0.4), transparent 50%),
    radial-gradient(ellipse 55% 45% at 55% 88%, rgba(255, 179, 0, 0.3), transparent 55%),
    linear-gradient(165deg, #ffd4c8 0%, #f7c4d8 28%, #cfe9f8 68%, #faf6f2 100%);
  animation: sky-drift 18s ease-in-out infinite alternate;
}

.hero-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, var(--bg) 100%);
  pointer-events: none;
}

@keyframes sky-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04) translate(-1.5%, 1%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 5.5rem clamp(1rem, 3vw, 1.5rem) 2rem;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem 2.5rem;
    min-height: calc(100svh - 0.5rem);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }
}

.hero-copy {
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.85rem, 7.5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: none;
  color: var(--rose);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy .lede {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
  margin-bottom: 1.5rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, var(--cta-start), var(--cta-end));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(159, 65, 34, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-play:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(159, 65, 34, 0.34);
}

.btn-play:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

/* Official-style store badges (black pill + brand icon) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 10.5rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 0.7rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

a.store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.store-badge-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
}

.store-badge-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.store-badge-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.store-badge.is-soon {
  cursor: default;
  opacity: 0.78;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-badge:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* Legacy CTA (tour open button) */
.btn-store,
.btn-store-play,
.btn-store-ios {
  display: none;
}

.link-quiet {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.link-quiet:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero-steps {
  list-style: none;
  margin: 3.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
  align-items: stretch;
}

@media (min-width: 560px) {
  .hero-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.hero-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  height: 100%;
  min-height: 0;
  padding: 1.05rem 1rem 1.15rem;
  border-radius: 1.15rem;
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 21, 32, 0.12);
}

.hero-step-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-steps strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.hero-steps span:not(.hero-step-icon) {
  color: inherit;
  font-size: 0.82rem;
  opacity: 0.88;
}

.hero-step-share {
  background: linear-gradient(145deg, #e91e63 0%, #ff6b8a 100%);
}

.hero-step-org {
  background: linear-gradient(145deg, #0288d1 0%, #29b6f6 100%);
}

.hero-step-remind {
  background: linear-gradient(145deg, #ef6c00 0%, #ffb300 100%);
  color: #1a1520;
}

.hero-step-remind span:not(.hero-step-icon) {
  color: rgba(26, 21, 32, 0.78);
  opacity: 1;
}

/* Share pipeline: apps cycle in their own tile, then flow SQ → bucket → remind → done */
.share-pipe {
  margin: 3.25rem 0 0;
}

.share-pipe-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
}

.share-node {
  flex: 0 0 2.85rem;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(26, 21, 32, 0.1);
}

.share-node-apps {
  position: relative;
  overflow: hidden;
  animation: node-apps 14s var(--ease) infinite;
}

.share-app {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: app-cycle 14s var(--ease) infinite;
}

.share-app img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
}

.share-app-1 { animation-name: app-1; }
.share-app-2 { animation-name: app-2; }
.share-app-3 { animation-name: app-3; }
.share-app-4 { animation-name: app-4; }
.share-app-5 { animation-name: app-5; }
.share-app-6 { animation-name: app-6; }

@keyframes app-1 {
  0%,
  6% {
    opacity: 1;
    transform: scale(1);
  }
  9%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes app-2 {
  0%,
  6% {
    opacity: 0;
    transform: scale(0.82);
  }
  9%,
  15% {
    opacity: 1;
    transform: scale(1);
  }
  18%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes app-3 {
  0%,
  15% {
    opacity: 0;
    transform: scale(0.82);
  }
  18%,
  24% {
    opacity: 1;
    transform: scale(1);
  }
  27%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes app-4 {
  0%,
  24% {
    opacity: 0;
    transform: scale(0.82);
  }
  27%,
  33% {
    opacity: 1;
    transform: scale(1);
  }
  36%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes app-5 {
  0%,
  33% {
    opacity: 0;
    transform: scale(0.82);
  }
  36%,
  42% {
    opacity: 1;
    transform: scale(1);
  }
  45%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes app-6 {
  0%,
  42% {
    opacity: 0;
    transform: scale(0.82);
  }
  45%,
  90% {
    opacity: 1;
    transform: scale(1);
  }
  96%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

.share-node-sq {
  overflow: hidden;
  animation: node-sq 14s var(--ease) infinite;
}

.share-node-sq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-node-bucket {
  animation: node-lit-bucket 14s var(--ease) infinite;
}

.share-node-remind {
  animation: node-lit-remind 14s var(--ease) infinite;
}

.share-node-done {
  animation: node-lit-done 14s var(--ease) infinite;
}

.share-rail {
  position: relative;
  flex: 1 1 1.35rem;
  height: 0.26rem;
  min-width: 0.85rem;
  border-radius: 999px;
  background: rgba(26, 21, 32, 0.12);
  overflow: hidden;
}

.share-rail::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.share-rail-0::after {
  animation: rail-fill-0 14s var(--ease) infinite;
}

.share-rail-1::after {
  animation: rail-fill-1 14s var(--ease) infinite;
}

.share-rail-2::after {
  animation: rail-fill-2 14s var(--ease) infinite;
}

.share-rail-3::after {
  animation: rail-fill-3 14s var(--ease) infinite;
}

@keyframes node-apps {
  0%,
  44% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.18);
  }
  48%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.1);
  }
}

@keyframes node-sq {
  0%,
  46% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.1);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(233, 30, 99, 0.3);
  }
  56%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.1);
  }
}

@keyframes node-lit-bucket {
  0%,
  54% {
    opacity: 0.38;
    transform: scale(0.94);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.08);
  }
  58%,
  66% {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(41, 182, 246, 0.38);
  }
  72%,
  100% {
    opacity: 0.5;
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.1);
  }
}

@keyframes node-lit-remind {
  0%,
  66% {
    opacity: 0.38;
    transform: scale(0.94);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.08);
  }
  70%,
  78% {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(255, 179, 0, 0.4);
  }
  84%,
  100% {
    opacity: 0.5;
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(26, 21, 32, 0.1);
  }
}

@keyframes node-lit-done {
  0%,
  78% {
    opacity: 0.38;
    transform: scale(0.9);
  }
  82%,
  92% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 0.5;
    transform: scale(0.96);
  }
}

@keyframes rail-fill-0 {
  0%,
  44% {
    width: 0;
  }
  50%,
  90% {
    width: 100%;
  }
  96%,
  100% {
    width: 0;
  }
}

@keyframes rail-fill-1 {
  0%,
  54% {
    width: 0;
  }
  60%,
  90% {
    width: 100%;
  }
  96%,
  100% {
    width: 0;
  }
}

@keyframes rail-fill-2 {
  0%,
  66% {
    width: 0;
  }
  72%,
  90% {
    width: 100%;
  }
  96%,
  100% {
    width: 0;
  }
}

@keyframes rail-fill-3 {
  0%,
  78% {
    width: 0;
  }
  84%,
  90% {
    width: 100%;
  }
  96%,
  100% {
    width: 0;
  }
}

.hero-stage {
  justify-self: stretch;
  display: flex;
  justify-content: center;
  min-height: 0;
}

.hero-tour-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  width: min(100%, 340px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: inherit;
}

.hero-tour-launch:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 6px;
  border-radius: 1.5rem;
}

.hero-tour-launch .hero-phone-frame {
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-tour-launch:hover .hero-phone-frame {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px rgba(26, 21, 32, 0.26);
}

.hero-phone-frame img {
  width: 100%;
  aspect-ratio: 1080 / 2400;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.35rem;
  display: block;
  background: #fafafa;
}

.hero-tour-label {
  display: grid;
  gap: 0.2rem;
}

.hero-tour-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
}

.hero-tour-action {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .hero-tour-launch {
    width: min(100%, 380px);
  }

  .hero-tour-launch .hero-phone-frame {
    max-width: 320px;
  }
}

.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 340px);
}

.hero-phone-frame {
  width: 100%;
  max-width: 300px;
  position: relative;
}

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 2400;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #fafafa;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: none;
  z-index: 1;
}

.hero-caption {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.35em;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
}

.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 21, 32, 0.22);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-dot.is-active {
  width: 1.35rem;
  background: var(--rose);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .hero-phone {
    width: min(100%, 380px);
  }

  .hero-phone-frame {
    max-width: 320px;
  }
}

.phone-stack {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1.05 / 1;
  animation: phone-float 5.5s ease-in-out infinite;
}

@media (min-width: 900px) {
  .phone-stack {
    max-width: none;
    height: min(72vh, 640px);
    aspect-ratio: auto;
  }
}

@media (max-width: 899px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    order: 0;
  }

  .hero-stage {
    order: 1;
    margin-top: 0.5rem;
  }
}

.phone-stack .phone-frame {
  position: absolute;
  width: 42%;
  max-width: 240px;
}

.phone-stack .phone-back {
  left: 4%;
  top: 12%;
  transform: rotate(-8deg);
  opacity: 0.88;
  z-index: 1;
}

.phone-stack .phone-mid {
  left: 30%;
  top: 4%;
  transform: rotate(5deg);
  opacity: 0.94;
  z-index: 2;
}

.phone-stack .phone-front {
  right: 2%;
  bottom: 0;
  left: auto;
  width: 48%;
  max-width: 280px;
  transform: rotate(-1.5deg);
  z-index: 3;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.phone-frame {
  border-radius: 1.75rem;
  padding: 0.4rem;
  background: linear-gradient(160deg, #2a2430, #151018);
  box-shadow: 0 24px 48px rgba(26, 21, 32, 0.2);
}

.phone-frame img {
  width: 100%;
  border-radius: 1.35rem;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: center top;
  background: #1a1520;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.85s var(--ease) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.22s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sky,
  .phone-stack,
  .reveal,
  .hero-slide,
  .share-app,
  .share-node-apps,
  .share-node-sq,
  .share-node-bucket,
  .share-node-remind,
  .share-node-done,
  .share-rail::after {
    animation: none;
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-slide {
    transform: none;
  }
  .share-app {
    opacity: 0;
  }
  .share-app-1 {
    opacity: 1;
  }
  .share-node-bucket,
  .share-node-remind,
  .share-node-done {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Sections */
.section,
.tour-section {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 2.25rem clamp(1rem, 3vw, 1.5rem);
}

.band {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.band-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.section h2,
.tour-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.98rem;
}

.voice-inline {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
  align-items: stretch;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.step-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 10.5rem;
  padding: 1.15rem 1.1rem 1.15rem 1.2rem;
  border-radius: 1.45rem;
  border: 0;
  color: #fff;
  box-shadow: 0 14px 32px rgba(26, 21, 32, 0.12);
}

.step-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.step-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.88;
}

.step-banner h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.step-banner p:not(.step-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

.step-emoji {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 1.55rem;
  line-height: 1;
}

.step-share {
  background: linear-gradient(135deg, #e91e63 0%, #ff6b8a 55%, #ff8a65 100%);
}

.step-buckets {
  background: linear-gradient(135deg, #0288d1 0%, #29b6f6 55%, #7ed6ff 100%);
}

.step-finish {
  background: linear-gradient(135deg, #ef6c00 0%, #ffb300 55%, #ffd54f 100%);
}

.step-finish {
  color: #1a1520;
}

.step-finish h3 {
  color: #1a1520;
}

.step-finish p:not(.step-kicker) {
  color: rgba(26, 21, 32, 0.78);
}

.step-finish .step-kicker {
  color: rgba(26, 21, 32, 0.72);
}

.step-finish .step-emoji {
  background: rgba(255, 255, 255, 0.55);
}

.step-apps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0;
}

.step-apps img {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  object-fit: contain;
}

.benefit-list {
  display: none;
}

.tour-cta-section {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0.5rem clamp(1rem, 3vw, 1.5rem) 2.5rem;
}

.glimpse {
  padding-bottom: 3.5rem;
}

.glimpse .band-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.glimpse-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 3.25rem;
  align-items: start;
  justify-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.75rem 0 0;
  overflow: visible;
}

@media (max-width: 899px) {
  .glimpse-track {
    gap: 2rem 2rem;
    max-width: 720px;
  }
}

@media (max-width: 719px) {
  .glimpse-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(1rem, 3vw, 1.5rem);
    padding: 0.5rem 0 1.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-width: none;
    justify-items: stretch;
  }
}

.glimpse-track:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.glimpse-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  width: 100%;
  max-width: 260px;
}

@media (max-width: 719px) {
  .glimpse-card {
    flex: 0 0 min(58vw, 230px);
    max-width: none;
    scroll-snap-align: start;
  }
}

.glimpse-phone.phone-frame {
  display: block;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  position: relative;
  padding: 0.55rem 0.38rem 0.48rem;
  border-radius: 1.65rem;
  background: linear-gradient(165deg, #3a3342 0%, #1a1520 55%, #0d0a10 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 22px 48px rgba(26, 21, 32, 0.28);
}

.glimpse-phone.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0.28rem;
  left: 50%;
  width: 28%;
  height: 0.22rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a080c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0.95;
  pointer-events: none;
}

.glimpse-phone.phone-frame::after {
  content: "";
  position: absolute;
  top: 22%;
  left: -0.12rem;
  width: 0.12rem;
  height: 14%;
  border-radius: 2px 0 0 2px;
  background: #1a1520;
  box-shadow: 0 2.1rem 0 #1a1520;
  pointer-events: none;
}

.glimpse-phone.phone-frame img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 1080 / 2400;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.25rem;
  background: #fff7f2;
  box-shadow: none;
}

.glimpse-card figcaption {
  display: grid;
  gap: 0.18rem;
  padding: 0 0.2rem;
  text-align: center;
  width: 100%;
}

.glimpse-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.glimpse-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.tour-cta-inner {
  display: grid;
  gap: 1.15rem;
  align-items: center;
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .tour-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem 2rem;
    padding: 1.65rem 1.75rem;
  }
}

.tour-cta-inner h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tour-cta-inner .section-lead {
  margin: 0;
  max-width: 42rem;
}

.tour-section {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 1.5rem) 3rem;
}

.band-head:has(+ .benefit-list),
.benefits .band-head {
  max-width: none;
  display: grid;
  gap: 0.45rem 2rem;
  align-items: end;
  margin-bottom: 1.65rem;
}

.finale {
  padding: 0 clamp(1rem, 3vw, 1.5rem) 2rem;
}

.finale-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(255, 138, 101, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(41, 182, 246, 0.2), transparent 50%),
    #fff6f2;
  border: 1px solid rgba(159, 65, 34, 0.12);
}

.finale-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .finale-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    padding: 1.85rem 2rem;
  }
  .finale-actions {
    justify-self: end;
    align-items: flex-end;
  }

  .finale-actions .store-row {
    justify-content: flex-end;
  }
}

.finale h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.finale-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.finale .contacts {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .finale .contacts {
    text-align: right;
  }
}

.finale .contacts a {
  color: var(--muted);
  text-decoration: none;
}

.finale .contacts a:hover {
  color: var(--rose);
}

.site-footer {
  border-top: 1px solid var(--line);
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 1.15rem clamp(1rem, 3vw, 1.5rem) 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-mark {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* Legal pages */
body.legal {
  background: var(--bg);
}

.legal-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffe8e4 0%, var(--bg) 100%);
}

.legal-header .site-header {
  position: relative;
  transform: none;
  left: auto;
}

.legal-main {
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 1.5rem) 3.5rem;
}

.legal-main h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem 1.15rem;
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  font-size: 0.9rem;
}

.meta-grid dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-grid dd {
  margin: 0.15rem 0 0;
  word-break: break-word;
}

.toc {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  columns: 1;
  font-size: 0.95rem;
}

@media (min-width: 560px) {
  .toc {
    columns: 2;
  }
}

.toc li {
  break-inside: avoid;
  margin: 0 0 0.35rem;
}

.legal-main h2 {
  margin: 1.85rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
}

.legal-main h3 {
  margin: 1.15rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.legal-main p,
.legal-main li {
  max-width: var(--measure);
  color: #3a3440;
}

.legal-main ul,
.legal-main ol {
  padding-left: 1.2rem;
}

.note {
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(41, 182, 246, 0.1);
  color: var(--muted);
  font-size: 0.94rem;
}

.action-box {
  margin: 0.65rem 0 0;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.action-box ol {
  margin: 0;
}
