/* Elevator Rescue App - marketing site
   Theme: bg #1a1a1a/#2a2a2a, brand #8b0000/#d32f2f, soft #ffcdd2, text #fff/#ccc, borders #444/#555
*/
:root {
  --bg: #1a1a1a;
  --bg-elev: #2a2a2a;
  --bg-card: #242424;
  --red: #8b0000;
  --red-bright: #d32f2f;
  --soft: #ffcdd2;
  --text: #ffffff;
  --muted: #cccccc;
  --dim: #888888;
  --border: #444444;
  --border-hi: #555555;
  --blue: #1976d2;
  --blue-hi: #64b5f6;
  --warn: #ffa726;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-red: 0 0 24px rgba(211, 47, 47, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--soft); text-decoration: none; }
a:hover { color: #fff; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(211, 47, 47, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out);
}

.brand:hover { transform: translateY(-1px); }

.brand-icon {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(139, 0, 0, 0.45);
  transition: box-shadow 0.3s var(--ease-out);
}

.brand:hover .brand-icon {
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav a:not(.nav-cta):hover { color: #fff; }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--red-bright);
  transition: background 0.2s, box-shadow 0.25s var(--ease-out), transform 0.2s;
}

.nav-cta:hover {
  background: var(--red-bright);
  box-shadow: var(--glow-red);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: var(--bg-elev);
  color: #fff;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.nav-toggle svg {
  display: block;
}

/* Hero + animated mesh / gradient blobs */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(211, 47, 47, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(139, 0, 0, 0.2), transparent 50%),
    linear-gradient(180deg, #1f1212 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  will-change: transform;
  animation: orb-drift 18s ease-in-out infinite;
}

.hero-orb--a {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: -12%;
  right: -6%;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.55) 0%, rgba(139, 0, 0, 0.15) 55%, transparent 70%);
  animation-duration: 16s;
}

.hero-orb--b {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  bottom: -18%;
  left: -8%;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.5) 0%, rgba(211, 47, 47, 0.12) 50%, transparent 70%);
  animation-duration: 22s;
  animation-direction: reverse;
}

.hero-orb--c {
  width: min(240px, 35vw);
  height: min(240px, 35vw);
  top: 38%;
  left: 42%;
  background: radial-gradient(circle, rgba(255, 205, 210, 0.12) 0%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -4s;
  opacity: 0.4;
}

@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(2.5%, -3%, 0) scale(1.06); }
  66% { transform: translate3d(-2%, 2.5%, 0) scale(0.96); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 0 1.6rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-row.center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 8px;
  transition:
    transform 0.25s var(--ease-out),
    filter 0.25s var(--ease-out);
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 10px 22px rgba(196, 30, 58, 0.4));
}

.store-badge:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

/* Official Google generic PNG includes large clear-space padding - optically match Apple height */
.store-badge.google img {
  height: 58px;
  margin: -8px -14px;
}

.store-note {
  margin: 0.9rem 0 0;
  color: var(--dim);
  font-size: 0.85rem;
}

/* Phone mock */
.phone {
  width: 260px;
  background: #0d0d0d;
  border: 2px solid #555;
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.phone-hero {
  margin-inline: auto;
  width: min(290px, 100%);
  animation: phone-float 6.5s ease-in-out infinite;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 8% 8%;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.28), transparent 65%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.phone-notch {
  width: 38%;
  height: 8px;
  background: #222;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #1a1a1a;
  border-radius: 18px;
  overflow: hidden;
  min-height: 0;
}

.mock-header {
  background: #8b0000;
  border-bottom: 3px solid #d32f2f;
  padding: 1.4rem 1rem 1.1rem;
  text-align: center;
}

.mock-header.compact { padding: 1rem 0.8rem 0.85rem; }

.mock-title {
  font-weight: 800;
  font-size: 1.15rem;
}

.mock-sub {
  color: #ffcdd2;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.mock-body { padding: 0.85rem; }

.mock-label {
  color: #666;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0.4rem 0 0.45rem 0.15rem;
}

.mock-primary {
  background: #1976d2;
  border: 2px solid #64b5f6;
  border-radius: 12px;
  padding: 1.1rem 0.8rem;
  text-align: center;
  margin-bottom: 0.7rem;
}

.mock-primary.small { padding: 0.85rem 0.6rem; }

.mock-primary-icon { font-size: 1.8rem; margin-bottom: 0.25rem; }
.mock-primary-text { font-weight: 700; font-size: 0.95rem; }
.mock-primary-sub { color: #ffcdd2; font-size: 0.7rem; margin-top: 0.2rem; }

.mock-secondary {
  background: #333;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.mock-info {
  background: #2a2a2a;
  border-left: 4px solid #ffa726;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  color: #ccc;
  font-size: 0.72rem;
  margin-top: 0.7rem;
  line-height: 1.4;
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #8b0000;
  border-bottom: 2px solid #d32f2f;
  padding: 0.7rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.mfr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.75rem;
}

.mfr-card {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 10px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 0.45rem;
}

.mfr-card img {
  max-height: 48px;
  max-width: 90%;
  object-fit: contain;
  filter: brightness(1.05);
}

.video-stage {
  margin: 0.75rem;
  background: #111;
  border: 1px solid #444;
  border-radius: 12px;
  min-height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(139,0,0,0.35), rgba(26,26,26,0.9)),
    repeating-linear-gradient(45deg, #222 0 10px, #1a1a1a 10px 20px);
}

.video-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.9);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  animation: play-pulse 2.8s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(211, 47, 47, 0.35); }
  50% { box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 0 0 10px rgba(211, 47, 47, 0); }
}

.video-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.72rem;
  background: rgba(0,0,0,0.65);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  color: #ffcdd2;
}

.clip-chips {
  display: flex;
  gap: 0.4rem;
  padding: 0 0.75rem 0.5rem;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #555;
  background: #2a2a2a;
  color: #ccc;
}

.chip.active {
  background: #8b0000;
  border-color: #d32f2f;
  color: #fff;
}

.download-btn { margin: 0.4rem 0.75rem 0.9rem; font-size: 0.8rem; }

/* Sections */
.section {
  position: relative;
  padding: 4.25rem 0;
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  text-align: center;
}

.section-lede {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2.2rem;
}

.section-lede.left {
  text-align: left;
  margin-left: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background 0.25s;
}

.feature-card:hover {
  border-color: var(--red-bright);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(211, 47, 47, 0.15);
  background: #282020;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(139, 0, 0, 0.35);
  border: 1px solid var(--red-bright);
  border-radius: 10px;
  margin-bottom: 0.85rem;
  color: #ff8a80;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.feature-icon svg {
  display: block;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: var(--glow-red);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Screenshot coverflow carousel */
.carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  user-select: none;
  touch-action: pan-y;
}

.carousel-viewport {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}

.carousel-stage {
  position: relative;
  height: clamp(420px, 62vw, 560px);
  perspective: 1400px;
  perspective-origin: 50% 45%;
  overflow: visible;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(250px, 58vw);
  margin: 0;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition:
    transform 0.65s var(--ease-out),
    opacity 0.55s var(--ease-out),
    filter 0.55s var(--ease-out);
  will-change: transform, opacity;
}

.carousel-slide .phone {
  width: 100%;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.carousel-slide.is-active {
  transform: translate(-50%, -50%) translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  filter: none;
}

.carousel-slide.is-active .phone {
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(211, 47, 47, 0.22);
}

.carousel-slide.is-prev {
  transform: translate(-50%, -50%) translateX(-58%) scale(0.78) rotateY(28deg);
  opacity: 0.55;
  z-index: 3;
  pointer-events: auto;
  filter: brightness(0.72) saturate(0.85);
  cursor: pointer;
}

.carousel-slide.is-next {
  transform: translate(-50%, -50%) translateX(58%) scale(0.78) rotateY(-28deg);
  opacity: 0.55;
  z-index: 3;
  pointer-events: auto;
  filter: brightness(0.72) saturate(0.85);
  cursor: pointer;
}

.carousel-slide.is-prev2 {
  transform: translate(-50%, -50%) translateX(-95%) scale(0.62) rotateY(38deg);
  opacity: 0.22;
  z-index: 2;
  filter: brightness(0.5) blur(0.4px);
}

.carousel-slide.is-next2 {
  transform: translate(-50%, -50%) translateX(95%) scale(0.62) rotateY(-38deg);
  opacity: 0.22;
  z-index: 2;
  filter: brightness(0.5) blur(0.4px);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: rgba(36, 36, 36, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 8;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.25s var(--ease-out),
    transform 0.2s,
    color 0.2s;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: rgba(139, 0, 0, 0.85);
  border-color: var(--red-bright);
  box-shadow: var(--glow-red);
  color: #fff;
  transform: scale(1.06);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.carousel-btn:active { transform: scale(0.96); }

.carousel-caption {
  text-align: center;
  margin: 1.15rem 0 0.85rem;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 1.4em;
  transition: opacity 0.25s;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 205, 210, 0.45);
  background: #333;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.35s var(--ease-out),
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.carousel-dot:hover {
  border-color: var(--red-bright);
  background: #555;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--red-bright);
  border-color: var(--soft);
  box-shadow: 0 0 14px rgba(211, 47, 47, 0.55);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.carousel-progress {
  height: 3px;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 999px;
  background: #333;
  overflow: hidden;
  opacity: 0.9;
}

.carousel-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform-origin: left center;
}

.carousel.is-paused .carousel-progress span,
.carousel[data-autoplay="off"] .carousel-progress span {
  animation: none !important;
  width: 0% !important;
}

@keyframes carousel-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.carousel-progress span.is-running {
  animation: carousel-progress 4s linear forwards;
}

.screenshots {
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(211, 47, 47, 0.08), transparent 60%),
    var(--bg);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  transition: border-color 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.steps li:hover {
  border-color: var(--red-bright);
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid var(--red-bright);
  display: grid;
  place-items: center;
  font-weight: 800;
  transition: box-shadow 0.3s, transform 0.3s;
}

.steps li:hover .step-num {
  box-shadow: var(--glow-red);
  transform: scale(1.06);
}

.steps h3 { margin: 0.1rem 0 0.35rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.trust-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.trust-list {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.trust-list li { margin-bottom: 0.55rem; }

.trust-card {
  background: linear-gradient(160deg, #2a1515, #2a2a2a 55%);
  border: 1px solid var(--border-hi);
  border-radius: 18px;
  padding: 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.25s;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-bright);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), var(--glow-red);
}

.trust-card img {
  margin: 0 auto 0.85rem;
  border-radius: 16px;
}

.trust-card h3 { margin: 0 0 0.4rem; }
.trust-card p { color: var(--muted); margin: 0 0 1.1rem; }

.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  border: 1px solid var(--red-bright);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.25s var(--ease-out), transform 0.2s;
}

.btn-red:hover {
  background: var(--red-bright);
  box-shadow: var(--glow-red);
  transform: translateY(-2px);
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(139,0,0,0.35), rgba(211,47,47,0.15)),
    var(--bg-elev);
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: 10%;
  top: -40%;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: orb-drift 14s ease-in-out infinite;
}

.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { margin-bottom: 0.4rem; }
.cta-inner p { color: var(--muted); margin: 0 0 1.3rem; }

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  background: #121212;
  border-top: 1px solid var(--border);
}

.footer-inner { text-align: center; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-brand img { border-radius: 7px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-copy { color: var(--dim); font-size: 0.85rem; margin: 0.4rem 0 1rem; }

.admin-link-wrap { margin: 0; }
.admin-link {
  color: #666 !important;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.admin-link:hover { color: #999 !important; }

/* -- Scroll reveals (IntersectionObserver toggles .is-in) -- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-left.is-in {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-scale.is-in {
  opacity: 1;
  transform: scale(1);
}

/* Hero staggered entrance on load */
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lede,
.hero-copy .store-row,
.hero-copy .store-note,
.hero-visual {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.85s var(--ease-out) forwards;
}

.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.14s; }
.hero-copy .lede { animation-delay: 0.24s; }
.hero-copy .store-row { animation-delay: 0.34s; }
.hero-copy .store-note { animation-delay: 0.44s; }
.hero-visual {
  transform: translateY(24px) scale(0.97);
  animation-name: hero-visual-in;
  animation-delay: 0.2s;
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .trust-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .carousel-stage { height: clamp(400px, 78vw, 520px); }
  .carousel-slide { width: min(230px, 62vw); }
  .carousel-slide.is-prev {
    transform: translate(-50%, -50%) translateX(-48%) scale(0.72) rotateY(22deg);
  }
  .carousel-slide.is-next {
    transform: translate(-50%, -50%) translateX(48%) scale(0.72) rotateY(-22deg);
  }
  .carousel-slide.is-prev2,
  .carousel-slide.is-next2 { opacity: 0; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .phone-hero { width: 250px; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #161616;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
  }

  .nav.open { display: flex; }
  .nav a { padding: 0.55rem 0.4rem; }
  .nav-toggle { display: inline-block; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-orb,
  .phone-hero,
  .hero-visual::before,
  .video-play,
  .cta-band::before {
    animation: none !important;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lede,
  .hero-copy .store-row,
  .hero-copy .store-note,
  .hero-visual {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .reveal,
  .reveal-left,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card:hover,
  .steps li:hover,
  .store-badge:hover,
  .btn-red:hover,
  .trust-card:hover,
  .nav-cta:hover,
  .carousel-btn:hover {
    transform: none;
  }

  .carousel-slide {
    transition: none;
  }

  .carousel-progress span.is-running {
    animation: none !important;
    width: 0% !important;
  }
}


/* Real Play Store screenshots inside phone frames */
.phone-screen--shot {
  min-height: 0;
  background: #0a0a0a;
  line-height: 0;
}

.phone-screen--shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: 16px;
}

.phone-hero .phone-screen--shot {
  min-height: 0;
}

.carousel-slide .phone-screen--shot {
  min-height: 0;
}

@media (max-width: 720px) {
  .carousel-viewport {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 20, 0.82);
  }

  .carousel-btn--prev { left: 0; }
  .carousel-btn--next { right: 0; }

  .carousel-btn:hover { transform: translateY(-50%) scale(1.06); }

  .carousel-stage { height: clamp(380px, 95vw, 480px); }
}

/* Legal / Privacy document pages */
.legal-page {
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 40% at 90% 0%, rgba(211, 47, 47, 0.12), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.legal-page .legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
}

.legal-hero {
  background: linear-gradient(135deg, #8b0000 0%, #d32f2f 100%);
  border-bottom: 3px solid var(--red-bright);
  padding: 2.4rem 1.75rem;
  text-align: center;
}

.legal-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
}

.legal-hero p {
  margin: 0;
  color: var(--soft);
  font-weight: 500;
}

.legal-body {
  padding: 2rem 1.75rem 2.5rem;
}

.legal-updated {
  background: var(--bg-elev);
  border-left: 4px solid var(--warn);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.75rem;
  color: var(--warn);
  font-style: italic;
  font-size: 0.95rem;
}

.legal-body h2 {
  color: var(--red-bright);
  font-size: 1.25rem;
  margin: 1.85rem 0 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.legal-body h2:first-of-type { margin-top: 0; }

.legal-body p {
  color: var(--muted);
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-body li { margin-bottom: 0.45rem; }

.legal-body strong { color: #ff8a80; font-weight: 600; }

.legal-body a { color: var(--soft); font-weight: 600; }
.legal-body a:hover { color: #fff; text-decoration: underline; }

.legal-contact {
  background: var(--bg-elev);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  margin-top: 1.25rem;
}

.legal-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 0.85rem 0 0.4rem;
}

.footer-stores .store-badge img { height: 36px; }
.footer-stores .store-badge.google img {
  height: 52px;
  margin: -7px -12px;
}

@media (max-width: 720px) {
  .legal-body { padding: 1.5rem 1.15rem 2rem; }
  .legal-hero { padding: 1.75rem 1.15rem; }
}

/* Anchor target for Get the app badges - clear sticky header (~64px) */
#download {
  scroll-margin-top: 5.5rem;
}

/* Extra room below CTA so #download can scroll under sticky header on tall viewports */
.site-footer {
  padding-bottom: max(2rem, 28vh);
}

.store-text-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  margin-top: 1.1rem;
}

.store-text-link {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.35rem 0.25rem;
}

.store-text-link:hover {
  color: var(--red-bright);
}

.store-text-sep {
  color: var(--dim);
  user-select: none;
}