/* Vital Apps · shared app-page design system */
:root {
  --bg: #0B0B0D;
  --bg-soft: #080808;
  --card: #19191A;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F5F5F7;
  --text-soft: rgba(245, 245, 247, 0.64);
  --text-faint: rgba(245, 245, 247, 0.52);
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* per-app: --accent, --accent-ink (text on accent), --glow (rgb triplet) */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
img { max-width: 100%; display: block; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(20px, 4vw, 48px);
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.015em;
}
.brand svg { width: 22px; height: 22px; }
.nav-right { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.nav-link { font-size: 13.5px; color: var(--text-soft); transition: color 0.2s var(--ease); }
.nav-link:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13.5px; font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(var(--glow), 0.55); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 48px) 64px;
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    text-align: left;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
  }
  .hero.hero-split .hero-copy { justify-self: center; max-width: 500px; }
  .hero.hero-split h1 { margin-top: 26px; }
  .hero.hero-split .hero-tagline { max-width: 26em; }
  .hero.hero-split .hero-cta { justify-content: flex-start; }
  .hero.hero-split .hero-meta { justify-content: flex-start; }
  .hero.hero-split .hero-phones-wrap { margin-top: 0; justify-self: center; }
  .hero.hero-split .hero-phones { width: min(720px, 48vw); max-width: none; }
}
.hero-glow { display: none; }
.hero-icon-wrap::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), 0.28) 0%, transparent 62%);
  filter: blur(22px);
  pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  position: relative;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--glow), 0.9);
}
.hero h1 {
  position: relative;
  margin-top: 22px;
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  max-width: 17ch;
}
.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: inherit;
}
.hero-tagline {
  position: relative;
  margin-top: 20px;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 44ch;
}
.hero-cta { position: relative; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 15px; font-weight: 600;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(var(--glow), 0.6); }
.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.badge-store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.55); }
.badge-store svg { width: 26px; height: 26px; flex-shrink: 0; }
.badge-store .b-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge-store .b-small { font-size: 10.5px; font-weight: 400; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.01em; }
.badge-store .b-big { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.badge-store[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.badge-store[aria-disabled="true"]:hover { transform: none; border-color: rgba(255,255,255,0.28); }
.link-quiet {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 15px 10px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease);
}
.link-quiet:hover { color: var(--text); }
.link-quiet .chev { transition: transform 0.22s var(--ease); }
.link-quiet:hover .chev { transform: translateX(3px); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.btn .chev { transition: transform 0.22s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }

.hero-icon-wrap { position: relative; margin-top: clamp(36px, 6vh, 64px); }
.hero-phones-wrap { position: relative; margin-top: clamp(28px, 5vh, 52px); }
.hero-phones-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -14% -16% -14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgba(var(--glow), 0.5) 0%, rgba(var(--glow), 0.16) 42%, transparent 68%);
  filter: blur(34px);
  pointer-events: none;
}
.hero-phones {
  position: relative;
  width: min(760px, 94vw);
  height: auto;
  animation: float 8s ease-in-out infinite;
}
.hero-icon {
  width: clamp(170px, 26vw, 250px);
  aspect-ratio: 1;
  border-radius: 24%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 30px 70px -20px rgba(0, 0, 0, 0.7),
    0 0 90px -10px rgba(var(--glow), 0.45);
  animation: float 7s ease-in-out infinite;
  background: var(--icon-bg, #1A1A1E);
}
.hero-icon img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}
.hero-meta {
  position: relative;
  display: flex; gap: clamp(20px, 4vw, 40px); flex-wrap: wrap; justify-content: center;
  margin-top: clamp(32px, 5vh, 52px);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.hero-meta strong {
  display: block;
  color: var(--text);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none;
  margin-top: 3px;
}

/* ---------- MISSION (scroll-highlight) ---------- */
.mission {
  position: relative;
  min-height: 170vh;
  padding: 0 clamp(24px, 6vw, 64px);
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.mission-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission p {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.34;
}
.mission .w { color: rgba(245, 245, 247, 0.16); transition: color 0.35s ease; }
.mission .w.lit { color: var(--text); }
.mission .w.accent.lit { color: var(--accent); }

/* ---------- SECTIONS ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: clamp(96px, 14vh, 176px) clamp(20px, 5vw, 48px); }
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.14;
  max-width: 22ch;
}
.section h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05em; color: var(--accent); }
.section-lead { margin-top: 18px; font-size: clamp(16px, 1.8vw, 19px); color: var(--text-soft); max-width: 58ch; }

/* ---------- FEATURES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 6vh, 56px);
}
.feat {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 24px 22px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.feat::before {
  content: "";
  position: absolute;
  top: 24px; left: 0;
  width: 3px; height: 22px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.feat:hover { border-color: rgba(var(--glow), 0.4); background: #17171B; }
.feat:hover::before { opacity: 1; }
.feat h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 7px; }
.feat p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }
.feat-anchor {
  grid-column: span 2;
  border-radius: 18px;
  padding: 30px 30px 28px;
  background: linear-gradient(135deg, rgba(var(--glow), 0.10) 0%, var(--card) 55%);
  border-color: rgba(var(--glow), 0.30);
}
.feat-anchor::before { top: 30px; height: 26px; opacity: 1; }
.feat-anchor h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 9px;
}
.feat-anchor h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.feat-anchor p { font-size: 15.5px; max-width: 52ch; }

/* ---------- STEPS ---------- */
.steps-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4.5vw, 60px); margin-top: clamp(40px, 7vh, 64px); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  padding: clamp(40px, 7vh, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-pill {
  display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600;
  color: var(--text-soft);
}
.mq-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(var(--glow), 0.8); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(100px, 16vh, 180px) clamp(20px, 5vw, 48px);
  overflow: hidden;
}
.cta-glow { display: none; }
.cta-final h2 {
  position: relative;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  max-width: 17ch;
  margin: 0 auto;
}
.cta-final h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05em; color: var(--accent); }
.cta-final p { position: relative; margin: 18px auto 0; font-size: clamp(15px, 1.8vw, 18px); color: var(--text-soft); max-width: 46ch; }
.cta-final .hero-cta { margin-top: 34px; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 30px clamp(20px, 5vw, 48px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--text-faint);
  max-width: 1180px; margin: 0 auto;
}
footer a { color: var(--text-soft); transition: color 0.2s var(--ease); }
footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- REVEALS ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }
.rv-d5 { transition-delay: 0.40s; }

/* ---------- SMALL NOTE ---------- */
.note { font-size: 13px; color: var(--text-faint); max-width: 60ch; margin: 0 auto; text-align: center; padding: 0 24px 40px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feat-anchor { grid-column: span 2; }
}
@media (max-width: 640px) {
  .nav-link.hide-m { display: none; }
  .features, .steps-grid { grid-template-columns: 1fr; }
  .feat-anchor { grid-column: span 1; }
  .hero { min-height: auto; padding-top: 104px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .mission { min-height: 150vh; }
  .mission p { font-size: clamp(21px, 6vw, 26px); }
}

@media (prefers-reduced-motion: reduce) {
  .mission { min-height: auto; padding: clamp(90px, 16vh, 170px) clamp(24px, 6vw, 64px); }
  .mission-sticky { position: static; min-height: auto; }

  .rv { opacity: 1; transform: none; transition: none; }
  .hero-icon, .hero-phones { animation: none; }
  .marquee-track { animation: none; }
  .mission .w { color: var(--text); }
  html { scroll-behavior: auto; }
}
