:root {
  --canvas: #fcfafb;
  --ink: #1a1523;
  --muted: #6b6579;
  --primary: #ff2a6d;
  --rose: #ff4d6d;
  --blush: #ff8fa3;
  --violet: #7c3aed;
  --emerald: #10b981;
  --burgundy: #940823;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.96);
  --hairline: rgba(26, 21, 35, 0.08);
  --shadow-card:
    0 24px 56px rgba(26, 21, 35, 0.08),
    0 10px 26px rgba(255, 77, 109, 0.07);
  --shadow-soft:
    0 14px 34px rgba(26, 21, 35, 0.06),
    0 6px 18px rgba(255, 77, 109, 0.05);
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --max: 1120px;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--rose);
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

a:hover {
  color: var(--burgundy);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 99px;
  z-index: 40;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}

.skip:focus {
  top: 14px;
}

/* Animated mesh background matching lib/core/presentation/widgets/animated_mesh_background.dart */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(135deg, #fdf2f5 0%, #fcfafb 48%, #f4f0ff 100%);
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  will-change: transform;
}

.mesh-blob--1 {
  width: 560px;
  height: 560px;
  top: -170px;
  left: -150px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(124, 58, 237, 0) 70%);
  animation: orbit-a 22s ease-in-out infinite;
}

.mesh-blob--2 {
  width: 640px;
  height: 640px;
  top: 60px;
  right: -210px;
  background: radial-gradient(circle, rgba(255, 143, 163, 0.34) 0%, rgba(255, 143, 163, 0) 70%);
  animation: orbit-b 26s ease-in-out infinite;
}

.mesh-blob--3 {
  width: 640px;
  height: 640px;
  bottom: -230px;
  left: -180px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.28) 0%, rgba(255, 77, 109, 0) 70%);
  animation: orbit-c 24s ease-in-out infinite;
}

.mesh-blob--4 {
  width: 540px;
  height: 540px;
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(124, 58, 237, 0) 70%);
  animation: orbit-d 28s ease-in-out infinite;
}

.mesh-ribbon {
  position: absolute;
  inset: -25%;
  background:
    conic-gradient(
      from var(--gradient-angle) at 58% 42%,
      rgba(255, 42, 109, 0.08),
      rgba(255, 143, 163, 0.14),
      rgba(124, 58, 237, 0.08),
      rgba(255, 240, 245, 0.04),
      rgba(255, 42, 109, 0.08)
    );
  filter: blur(70px);
  animation: spin-angle 30s linear infinite;
}

@keyframes orbit-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(80px, 65px, 0) scale(1.08); }
}

@keyframes orbit-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-90px, 75px, 0) scale(1.1); }
}

@keyframes orbit-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(70px, -65px, 0) scale(1.07); }
}

@keyframes orbit-d {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-75px, -55px, 0) scale(1.09); }
}

@keyframes spin-angle {
  to { --gradient-angle: 360deg; }
}

.wrap,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Floating frosted glass top bar matching MainShell */
.header-shell {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(var(--max), calc(100% - 40px));
  margin: 16px auto 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 12px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  box-shadow:
    0 12px 28px rgba(26, 21, 35, 0.07),
    0 4px 16px rgba(255, 77, 109, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 0.98rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-name {
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(148, 8, 35, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    transform 150ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(26, 21, 35, 0.04);
}

.site-nav a[aria-current="page"] {
  color: var(--rose);
  background: rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.22);
}

.site-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ff6b8b);
  box-shadow: 0 6px 16px rgba(255, 42, 109, 0.28);
  margin-left: 4px;
}

.site-nav .nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 42, 109, 0.36);
}

main {
  flex: 1;
}

/* Hero */
.hero {
  display: grid;
  gap: 44px;
  align-items: center;
  padding: 36px 0 36px;
}

/* Pulsing romantic pill from HomePage */
.romantic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(255, 77, 109, 0.16);
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  animation: pill-glow 2.4s ease-in-out infinite alternate;
}

.romantic-pill__heart {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--rose);
  animation: heart-beat 820ms ease-in-out infinite alternate;
}

.romantic-pill__heart svg {
  width: 15px;
  height: 15px;
}

.romantic-pill__text {
  display: inline-block;
  transition: opacity 280ms ease, transform 280ms ease;
}

.romantic-pill__text.is-switching {
  opacity: 0;
  transform: translateY(-4px);
}

@keyframes heart-beat {
  from { transform: scale(1); }
  to { transform: scale(1.22); }
}

@keyframes pill-glow {
  from {
    box-shadow: 0 4px 14px rgba(255, 77, 109, 0.12);
  }
  to {
    box-shadow: 0 8px 26px rgba(255, 77, 109, 0.28);
  }
}

h1 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.65rem, 5.4vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 em,
.gradient-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(
    110deg,
    var(--primary) 0%,
    #ff6b8b 35%,
    var(--burgundy) 70%,
    var(--primary) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  animation: text-shimmer 7s ease-in-out infinite;
}

@keyframes text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lede {
  margin: 18px 0 0;
  max-width: 36rem;
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Store badges */
#download {
  scroll-margin-top: 96px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 20px 9px 15px;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    conic-gradient(
      from var(--gradient-angle),
      rgba(255, 42, 109, 0.65),
      rgba(255, 143, 163, 0.25),
      rgba(124, 58, 237, 0.45),
      rgba(255, 42, 109, 0.65)
    ) border-box;
  border: 1.5px solid transparent;
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  cursor: default;
  box-shadow: 0 12px 26px rgba(26, 21, 35, 0.18);
  animation: spin-angle 10s linear infinite;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(26, 21, 35, 0.22),
    0 6px 20px rgba(255, 42, 109, 0.22);
}

a.store-badge {
  cursor: pointer;
}

a.store-badge:hover {
  color: #fff;
}

.store-badge svg {
  width: 25px;
  height: 25px;
  flex: none;
}

.store-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.76);
}

.store-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-Tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 21, 35, 0.07);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.mini-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Hero right column: live mobile stage */
.hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  padding: 18px 0;
}

.stage-aura {
  position: absolute;
  inset: 6% -6%;
  border-radius: 40px;
  background: conic-gradient(
    from var(--gradient-angle),
    rgba(255, 42, 109, 0.28),
    rgba(255, 143, 163, 0.26),
    rgba(124, 58, 237, 0.22),
    rgba(148, 8, 35, 0.24),
    rgba(255, 42, 109, 0.28)
  );
  filter: blur(36px);
  animation: spin-angle 16s linear infinite;
  z-index: 0;
}

.phone-card {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 244, 246, 0.95) 0%, rgba(255, 255, 255, 0.92) 38%),
    var(--glass-strong);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  animation: float-card 6.5s ease-in-out infinite;
}

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

.phone-card__handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: #e6dce3;
  margin: 0 auto 16px;
}

.phone-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 42, 109, 0.1);
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-tag--emerald {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald);
}

.pill-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.couple-avatars {
  display: flex;
  align-items: center;
}

.avatar-orb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 77, 109, 0.25);
}

.avatar-orb--a {
  background: linear-gradient(135deg, var(--burgundy), var(--primary));
}

.avatar-orb--b {
  margin-left: -10px;
  background: linear-gradient(135deg, var(--primary), var(--blush));
}

.phone-card__title {
  margin: 14px 0 4px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.phone-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.stop-counter {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}

.status-chip {
  padding: 3px 10px;
  border-radius: 99px;
  background: #f6f2f7;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

/* Progress bar from HomePage _buildBigCard */
.trail-progress {
  margin-top: 12px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 42, 109, 0.12);
  overflow: hidden;
}

.trail-progress__bar {
  height: 100%;
  width: 66%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), #ff6b8b, var(--primary));
  background-size: 200% 100%;
  animation: progress-flow 4s linear infinite;
}

@keyframes progress-flow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* Mini route map inside card */
.route-preview {
  position: relative;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 42, 109, 0.12), transparent 55%),
    #faf6f9;
  border: 1px solid rgba(255, 77, 109, 0.14);
  overflow: hidden;
}

.route-svg {
  width: 100%;
  height: 76px;
  display: block;
}

.route-path-bg {
  fill: none;
  stroke: rgba(255, 42, 109, 0.18);
  stroke-width: 3;
  stroke-linecap: round;
}

.route-path-active {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  animation: dash-march 12s linear infinite;
}

@keyframes dash-march {
  to { stroke-dashoffset: -160; }
}

.pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-ring 2.2s ease-out infinite;
}

@keyframes pin-ring {
  0% { transform: scale(0.8); opacity: 0.75; }
  100% { transform: scale(2.1); opacity: 0; }
}

.route-place {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 600;
}

.route-place__name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.route-place__name svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex: none;
}

/* Quote & activity boxes from ActiveQuestArrivedCard */
.note-box {
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 18px;
  background: #fafafa;
  border: 1px solid rgba(26, 21, 35, 0.07);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}

.activity-box {
  margin-top: 10px;
  padding: 12px 15px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 77, 109, 0.05),
    rgba(255, 143, 163, 0.11)
  );
  border: 1px solid rgba(255, 77, 109, 0.16);
}

.activity-box__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rose);
  text-transform: uppercase;
}

.activity-box__text {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

/* Floating badge overlays on hero stage */
.floating-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 20px;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.floating-badge--top {
  top: 2px;
  right: -8px;
  animation: float-card 5.5s ease-in-out infinite reverse;
}

.floating-badge--bottom {
  bottom: 4px;
  left: -10px;
  animation: float-card 7s ease-in-out 0.6s infinite;
}

.floating-badge img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.floating-badge__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 42, 109, 0.12);
  color: var(--primary);
}

.floating-badge__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 44px 0 12px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 77, 109, 0.09);
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section h2,
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.95rem, 3.5vw, 2.75rem);
  line-height: 1.12;
}

.section-intro {
  margin: 0 0 28px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
}

/* Feature cards */
.cards {
  display: grid;
  gap: 18px;
}

.card,
.step {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.card:hover,
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 109, 0.28);
  box-shadow: var(--shadow-card);
}

.card {
  padding: 26px 24px 28px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.16), transparent 70%);
  pointer-events: none;
}

/* Concentric heart ring from HomePage _buildPlanSurpriseDateCard */
.aura-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 77, 109, 0.16);
  display: grid;
  place-items: center;
}

.aura-icon__inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 143, 163, 0.42);
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.12), rgba(255, 143, 163, 0.08));
  display: grid;
  place-items: center;
  color: var(--primary);
}

.aura-icon svg {
  width: 20px;
  height: 20px;
}

.card h3,
.step h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Interactive stop preview section */
.interactive-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.chapter-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chapter-btn {
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.chapter-btn:hover {
  transform: translateY(-2px);
}

.chapter-btn[aria-selected="true"] {
  background: #fff;
  border-color: rgba(255, 42, 109, 0.35);
  box-shadow: var(--shadow-card);
}

.chapter-btn__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.chapter-btn__title {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
}

.chapter-btn__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.chapter-stage {
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chapter-stage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chapter-stage__title {
  margin: 12px 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 600;
}

.chapter-stage__address {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.task-list {
  margin: 14px 0 0;
  padding: 14px 16px;
  list-style: none;
  border-radius: 20px;
  background: #fafafa;
  border: 1px solid rgba(26, 21, 35, 0.07);
}

.task-list__title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.task-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 77, 109, 0.36);
  background: #fff;
  display: grid;
  place-items: center;
  color: transparent;
  flex: none;
  transition:
    background-color 220ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 220ms ease,
    transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.task-item.is-done .task-check {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 3px 8px rgba(255, 77, 109, 0.4);
}

.task-item.is-done .task-text {
  color: var(--muted);
  text-decoration: line-through;
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding: 24px 22px;
}

.step__num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.14), rgba(124, 58, 237, 0.1));
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Bottom download banner */
.cta-banner {
  position: relative;
  margin-top: 44px;
  padding: 36px 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 42, 109, 0.22), transparent 52%),
    radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.16), transparent 55%),
    var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 34rem;
}

.cta-banner__brand img {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(148, 8, 35, 0.28);
  flex: none;
}

.cta-banner h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.cta-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-banner .store-row {
  margin-top: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer a {
  font-weight: 600;
}

/* Legal pages */
.legal-wrap {
  padding-top: 28px;
}

.legal {
  width: min(780px, 100%);
  margin-inline: auto;
  padding: 32px clamp(22px, 5vw, 48px) 40px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
}

.legal h1 {
  margin: 10px 0 6px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.08;
}

.updated {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin: 30px 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 6px;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    padding-top: 44px;
    min-height: 580px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .interactive-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 84px;
  }

  #download {
    scroll-margin-top: 84px;
  }

  .header-shell,
  .wrap,
  .site-footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .header-shell {
    top: 10px;
    margin-top: 10px;
  }

  .site-header {
    gap: 8px;
    padding: 5px 6px 5px 8px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    gap: 2px;
    font-size: 0.8rem;
  }

  .site-nav a {
    padding: 6px 12px;
  }

  .site-nav .nav-cta {
    display: none;
  }

  .hero {
    gap: 28px;
    padding: 20px 0 24px;
  }

  h1 {
    margin-top: 14px;
    font-size: clamp(2.15rem, 9.2vw, 2.75rem);
  }

  .lede {
    margin-top: 12px;
    font-size: 0.96rem;
  }

  .store-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 8px 12px;
    gap: 9px;
    border-radius: 14px;
  }

  .store-badge svg {
    width: 21px;
    height: 21px;
  }

  .store-kicker {
    font-size: 0.6rem;
  }

  .store-name {
    font-size: 0.94rem;
  }

  .hero-stage {
    padding: 6px 0 0;
  }

  .floating-badge {
    display: none;
  }

  .phone-card {
    padding: 18px;
    border-radius: 26px;
  }

  .cta-banner {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .cta-banner__brand {
    align-items: flex-start;
    gap: 14px;
  }

  .cta-banner__brand img {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .cta-banner .store-row {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .store-row {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
