/* ===== M-Vault design tokens ===== */
:root {
  --red: #a40000;
  --red-dark: #7d0000;
  --red-deep: #4a0000;
  --red-night: #2a0000;
  --red-soft: #fbeeee;
  --red-tint: #f6dede;
  --ink: #17090a;
  --gray-700: #4a3f40;
  --gray-500: #7a6e6f;
  --gray-300: #eadfdf;
  --cream: #fffaf8;
  --white: #ffffff;
  --green: #2e9d4f;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 12px rgba(74, 0, 0, 0.06);
  --shadow-md: 0 18px 40px rgba(74, 0, 0, 0.12);
  --shadow-lg: 0 40px 80px rgba(42, 0, 0, 0.35);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--red); color: var(--white); padding: 12px 20px; z-index: 1000; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid #ff8a8a; outline-offset: 3px; border-radius: 6px; }

/* ===== Shared ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #ffb3b3; }

.lead { font-size: 1.08rem; color: var(--gray-700); max-width: 600px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 16px auto 0; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hl { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(164, 0, 0, 0.3); }
.btn-primary:hover { background: var(--red-dark); }
.btn-full { width: 100%; }

.bar { height: 8px; border-radius: 99px; background: rgba(164, 0, 0, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #ff6b6b, var(--red)); }
.bar.dark { background: rgba(255, 255, 255, 0.15); }
.bar.dark i { background: linear-gradient(90deg, #ffffff, #ffb3b3); }

/* Store badges */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; padding: 10px 22px 10px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 182px;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge svg.apple { color: #fff; width: 26px; height: 26px; margin-top: -3px; }
.store-badge span { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.1; }
.store-badge small { font-family: var(--font-body); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; margin-bottom: 2px; }

/* Phone frame */
.phone {
  position: relative; width: 100%; aspect-ratio: 1080 / 2340;
  background: #120405; border-radius: 42px; padding: 10px;
  box-shadow: 0 0 0 2px #3a1416, var(--shadow-lg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 26%; height: 20px; background: #120405; border-radius: 99px; z-index: 2; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Header ===== */
.mv-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 248, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mv-header.scrolled { border-color: var(--gray-300); box-shadow: 0 6px 24px rgba(74, 0, 0, 0.06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; background: var(--white);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(164, 0, 0, 0.16);
  overflow: hidden;
}
.brand-mark img { width: 86%; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--red); display: flex; flex-direction: column; line-height: 1.05; letter-spacing: -0.02em; }
.brand-text small { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0.06em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { font-weight: 500; font-size: 0.93rem; color: var(--gray-700); padding: 6px 0; position: relative; transition: color 0.2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.25s ease; }
.nav a:hover, .nav a.active { color: var(--red); }
.nav a.active::after, .nav a:hover::after { transform: scaleX(1); }
.nav-back a { color: var(--gray-500); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 80% 10%, #c41212 0%, var(--red) 28%, var(--red-deep) 62%, var(--red-night) 100%);
  padding: 96px 0 120px;
  margin-top: -74px; padding-top: 170px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.dial { position: absolute; fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.5; }
.dial-1 { width: 760px; right: -180px; top: -120px; animation: spin 90s linear infinite; }
.dial-2 { width: 420px; left: -140px; bottom: -160px; animation: spin 70s linear infinite reverse; }
.glow { position: absolute; width: 520px; height: 520px; right: 8%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 120, 120, 0.35), transparent 65%); filter: blur(10px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px; border-radius: 99px; font-size: 0.85rem; font-weight: 500; margin-bottom: 28px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #5ff28d; box-shadow: 0 0 0 4px rgba(95, 242, 141, 0.25); animation: pulse 2s ease infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(95, 242, 141, 0); } }

.hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero h1 span { color: #ffc2c2; font-weight: 700; }
.hero-lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.82); max-width: 540px; margin-bottom: 36px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-hero { width: 300px; transform: rotate(-4deg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotate(-4deg) translateY(-14px); } }

.float {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 18px;
  box-shadow: 0 24px 50px rgba(30, 0, 0, 0.35); padding: 16px 18px;
  animation: floaty2 6s ease-in-out infinite;
}
@keyframes floaty2 { 50% { transform: translateY(-10px); } }
.float small { color: var(--gray-500); font-size: 0.76rem; }

.float-goal { width: 252px; left: -30px; top: 54%; animation-delay: -2s; }
.float-goal .float-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.float-goal strong { display: block; font-family: var(--font-head); font-size: 1.45rem; margin-bottom: 10px; color: var(--red); }
.float-goal .bar { margin-bottom: 8px; }
.chip { font-size: 0.75rem; font-weight: 600; background: var(--red-soft); color: var(--red); padding: 4px 10px; border-radius: 99px; }
.lock-tag { font-size: 0.72rem; font-weight: 700; color: var(--green); background: #e8f6ec; padding: 4px 10px; border-radius: 99px; }

.float-deposit { right: -24px; top: 16%; display: flex; gap: 12px; align-items: center; animation-delay: -4s; }
.float-deposit strong { display: block; color: var(--green); font-family: var(--font-head); font-size: 1.05rem; }
.f-icon { width: 38px; height: 38px; border-radius: 12px; background: #e8f6ec; color: var(--green); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }

.float-lock { right: 0; bottom: 6%; display: flex; gap: 10px; align-items: center; background: var(--ink); color: var(--white); font-size: 0.85rem; font-weight: 600; padding: 12px 16px; animation-delay: -1s; }
.float-lock svg { width: 18px; height: 18px; color: #ff8a8a; }

/* ===== Problem ===== */
.problem { padding: 120px 0 80px; }
.problem h2 { max-width: 860px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius);
  padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.p-num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: var(--red); background: var(--red-soft); padding: 6px 12px; border-radius: 10px; margin-bottom: 20px; }
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { color: var(--gray-700); }
.problem-grid .problem-card:nth-child(2) { transition-delay: 0.08s; }
.problem-grid .problem-card:nth-child(3) { transition-delay: 0.16s; }

/* ===== Advantage ===== */
.advantage { padding: 80px 0 120px; }
.adv-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.adv-copy h2 { margin-bottom: 20px; }
.ticks { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.95rem; }
.ticks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

.compare { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px; align-items: stretch; }
.cmp { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.cmp-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cmp-note { margin-top: auto; padding-top: 18px; font-size: 0.85rem; }

.cmp-old { background: #efe9e9; color: var(--gray-500); justify-content: flex-start; }
.cmp-old .cmp-sub { margin-top: 36px; font-size: 0.9rem; }
.cmp-old .cmp-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.1vw, 1.8rem); white-space: nowrap; color: #9b8f90; letter-spacing: -0.02em; }

.cmp-new { background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); color: var(--white); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cmp-new::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); right: -90px; top: -90px; }
.cmp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cmp-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--white); padding: 3px; }
.goals { display: grid; gap: 14px; }
.goals li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.g-name { font-weight: 500; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.g-amt { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; }
.g-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.g-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #fff, #ffb3b3); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.compare.is-visible .g-bar i { width: var(--w); }
.goals li:nth-child(2) .g-bar i { transition-delay: 0.1s; }
.goals li:nth-child(3) .g-bar i { transition-delay: 0.2s; }
.goals li:nth-child(4) .g-bar i { transition-delay: 0.3s; }
.goals li:nth-child(5) .g-bar i { transition-delay: 0.4s; }
.cmp-new .cmp-note { color: rgba(255, 255, 255, 0.8); }

/* ===== Features ===== */
.features { padding: 120px 0; background: var(--white); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--cream); border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.feature-lg { grid-row: span 2; background: linear-gradient(165deg, var(--red-soft), var(--cream) 60%); display: flex; flex-direction: column; }
.feature-shot { margin-top: auto; border-radius: 18px; box-shadow: var(--shadow-md); padding-top: 0; }
.feature-lg p { margin-bottom: 28px; }
.f-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--red); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 22px rgba(164, 0, 0, 0.25); }
.f-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--gray-700); font-size: 0.95rem; }

/* ===== How it works ===== */
.how { padding: 120px 0; background: radial-gradient(90% 80% at 0% 0%, #6d0000 0%, var(--red-deep) 45%, var(--red-night) 100%); color: var(--white); position: relative; overflow: hidden; }
.how h2, .how h3 { color: var(--white); }
.how-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.steps { display: grid; gap: 8px; counter-reset: s; position: relative; }
.steps li { display: flex; gap: 20px; padding: 18px 0; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 70px; bottom: -14px; width: 2px; background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05)); }
.s-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); }
.steps li:hover .s-num { background: var(--white); color: var(--red); }
.steps h3 { margin: 4px 0 6px; }
.steps p { color: rgba(255, 255, 255, 0.72); font-size: 0.97rem; }

.planner { background: var(--white); color: var(--ink); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-lg); }
.planner-head { margin-bottom: 22px; }
.planner-head h3 { color: var(--ink); font-size: 1.35rem; }
.planner-head p { color: var(--gray-500); font-size: 0.92rem; }
.planner label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.planner output { color: var(--red); font-weight: 700; }
.field { display: flex; align-items: center; gap: 10px; border: 2px solid var(--gray-300); border-radius: var(--radius-sm); padding: 0 16px; margin-bottom: 22px; transition: border-color 0.2s ease; }
.field:focus-within { border-color: var(--red); }
.field span { font-weight: 700; color: var(--gray-500); }
.field input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; padding: 12px 0; color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--red); margin-bottom: 24px; height: 6px; cursor: pointer; }
.planner-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.planner-result div { background: var(--cream); border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; }
.planner-result div.main { background: var(--red); border-color: var(--red); color: var(--white); }
.planner-result small { display: block; font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.75; }
.planner-result strong { font-family: var(--font-head); font-size: 1.02rem; white-space: nowrap; }

/* ===== Screens ===== */
.screens { padding: 120px 0 100px; overflow: hidden; }
.screens-track { display: flex; justify-content: center; gap: 28px; padding: 10px 24px 40px; max-width: 1240px; margin: 0 auto; }
.shot { width: 212px; flex-shrink: 0; text-align: center; }
.shot:nth-child(even) { margin-top: 56px; }
.shot .phone { transition: transform 0.4s ease; box-shadow: 0 0 0 2px #3a1416, 0 30px 60px rgba(74, 0, 0, 0.22); }
.shot:hover .phone { transform: translateY(-10px); }
.shot figcaption { margin-top: 26px; font-size: 0.9rem; color: var(--gray-500); }
.shot figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }

/* ===== Groups ===== */
.groups { padding: 100px 0 120px; }
.groups-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.groups-copy h2 { margin-bottom: 18px; }
.audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.audience span { background: var(--white); border: 1px solid var(--gray-300); padding: 9px 16px; border-radius: 99px; font-size: 0.88rem; font-weight: 500; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.audience span:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.groups-visual { position: relative; padding: 40px 30px 60px; }
.groups-visual::before { content: ""; position: absolute; inset: 0; border-radius: 36px; background: var(--red-tint); transform: rotate(-3deg); }
.group-card { position: relative; background: linear-gradient(155deg, var(--red) 0%, var(--red-deep) 100%); color: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.gc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.gc-head strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.gc-head small { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }
.gc-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; }
.gc-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; }
.gc-amt { font-family: var(--font-head); font-weight: 800; font-size: 2rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.gc-amt span { font-size: 0.95rem; font-weight: 600; opacity: 0.7; }
.avatars { display: flex; margin-top: 22px; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; background: var(--c); border: 3px solid #6a0000; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; margin-left: -10px; }
.avatars span:first-child { margin-left: 0; }
.avatars .more { background: var(--white); color: var(--red); }
.group-mini { position: absolute; right: 0; bottom: 18px; background: var(--white); border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; animation: floaty2 6s ease-in-out infinite; }
.group-mini strong { color: var(--green); }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 4px; }

/* ===== Roadmap ===== */
.roadmap { padding: 0 0 120px; }
.roadmap-box { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; background: var(--white); border: 1px solid var(--gray-300); border-radius: 32px; padding: 56px; }
.roadmap-box h2 { margin-bottom: 16px; }
.soon { display: grid; gap: 12px; }
.soon li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--cream); border: 1px dashed #dcc7c7; font-weight: 600; }
.soon li::after { content: "Soon"; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 99px; }

/* ===== FAQ ===== */
.faq { padding: 0 0 120px; }
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq .lead a { color: var(--red); font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--gray-300); border-radius: 18px; padding: 0 24px; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.faq-list details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; transition: transform 0.25s ease, background 0.25s ease; }
.faq-list details[open] summary::after { content: "\2212"; background: var(--red); color: var(--white); }
.faq-list details p { padding: 0 0 22px; color: var(--gray-700); }

/* ===== Download ===== */
.download { padding: 0 0 120px; }
.download-box {
  position: relative; overflow: hidden; border-radius: 36px;
  background: radial-gradient(110% 120% at 100% 0%, #d01a1a 0%, var(--red) 35%, var(--red-deep) 100%);
  color: var(--white); padding: 72px 64px 0; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
}
.dl-bg { position: absolute; inset: 0; pointer-events: none; }
.dl-bg .dial { width: 640px; left: -200px; top: -260px; animation: spin 100s linear infinite; stroke: rgba(255, 255, 255, 0.1); }
.dl-copy { position: relative; padding-bottom: 72px; }
.dl-logo { width: 78px; height: 78px; border-radius: 22px; background: var(--white); display: grid; place-items: center; margin-bottom: 28px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }
.dl-logo img { width: 84%; }
.download h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; max-width: 520px; }
.dl-copy p { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; margin-bottom: 32px; }
.dl-phone { position: relative; align-self: end; justify-self: center; width: 260px; margin-bottom: -170px; }
.dl-phone .phone { transform: rotate(6deg); }

/* ===== Footer ===== */
.mv-footer { background: var(--red-night); color: rgba(255, 255, 255, 0.7); padding-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.mv-footer .brand-text { color: var(--white); }
.mv-footer .brand-text small { color: rgba(255, 255, 255, 0.55); }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; }
.footer-brand p a { color: var(--white); font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.footer-col a:hover, .footer-brand p a:hover { color: #ffb3b3; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav ul { gap: 20px; }
  .nav-back { display: none; }
  .screens-track { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .screens-track::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--gray-300); box-shadow: 0 20px 40px rgba(74, 0, 0, 0.1);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .nav.open { max-height: 420px; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--gray-300); }
  .nav a::after { display: none; }
  .nav-back { display: block; }

  .hero { padding-top: 140px; padding-bottom: 100px; }
  .hero-inner, .adv-inner, .how-inner, .groups-inner, .faq-inner, .roadmap-box { grid-template-columns: 1fr; }
  .hero-inner { gap: 72px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .phone-hero { width: 260px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-lg { grid-row: auto; grid-column: 1 / -1; }
  .problem-grid { grid-template-columns: 1fr; }
  .groups-visual { max-width: 480px; }
  .download-box { grid-template-columns: 1fr; padding: 56px 40px 0; }
  .dl-copy { padding-bottom: 0; }
  .dl-phone { width: 220px; margin-bottom: -150px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .problem, .features, .how, .screens { padding-top: 80px; padding-bottom: 80px; }
  .advantage { padding: 40px 0 80px; }
  .groups { padding: 60px 0 80px; }
  .roadmap, .faq, .download { padding-bottom: 80px; }
  .section-head { margin-bottom: 36px; }

  .hero { padding-top: 120px; }
  .store-badge { flex: 1 1 150px; min-width: 0; justify-content: center; padding: 10px 14px 10px 12px; gap: 10px; }
  .store-badge span { font-size: 1rem; white-space: nowrap; }
  .float-goal { left: -6px; width: 200px; padding: 14px; }
  .float-goal strong { font-size: 1.2rem; }
  .float-deposit { right: -6px; padding: 12px 14px; }
  .float-lock { right: 4px; font-size: 0.78rem; }
  .phone-hero { width: 230px; }

  .compare { grid-template-columns: 1fr; }
  .cmp-old .cmp-sub { margin-top: 14px; }
  .ticks { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .problem-card { padding: 24px; }
  .planner { padding: 24px 18px; }
  .planner-result strong { font-size: 0.9rem; }
  .screens-track { gap: 20px; padding-left: 16px; padding-right: 16px; }
  .shot { width: 210px; }
  .shot:nth-child(even) { margin-top: 0; }
  .groups-visual { padding: 28px 16px 56px; }
  .gc-amt { font-size: 1.6rem; }
  .roadmap-box { padding: 32px 22px; border-radius: 26px; }
  .faq-list details { padding: 0 18px; }
  .download-box { padding: 44px 22px 0; border-radius: 28px; }
  .dl-phone { width: 190px; margin-bottom: -130px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .g-bar i { width: var(--w); }
  html { scroll-behavior: auto; }
}

/* Header sits transparent over the hero until the page scrolls */
.mv-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mv-header:not(.scrolled) .brand-text { color: var(--white); }
.mv-header:not(.scrolled) .brand-text small { color: rgba(255, 255, 255, 0.65); }
.mv-header:not(.scrolled) .nav-toggle span { background: var(--white); }
.mv-header:not(.scrolled) .nav-cta { background: var(--white); color: var(--red); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
@media (min-width: 961px) {
  .mv-header:not(.scrolled) .nav a { color: rgba(255, 255, 255, 0.82); }
  .mv-header:not(.scrolled) .nav a:hover { color: var(--white); }
  .mv-header:not(.scrolled) .nav a::after { background: var(--white); }
}
/* Opening the mobile menu at the top gives the bar a solid background */
.mv-header.menu-open { background: var(--cream); }
.mv-header.menu-open .brand-text { color: var(--red); }
.mv-header.menu-open .brand-text small { color: var(--gray-500); }
.mv-header.menu-open .nav-toggle span { background: var(--ink); }
