/* Dopsy page (2026-11-07). App-first layout (VitalYou pattern) in Dopsy's own palette: deep "sound box" ink, pink to violet
   glow, mint, and gold used sparingly. Self-hosted: system fonts only, no third-party scripts. Other pages keep their own CSS. */
:root {
  --ink: #0d0b16; --ink-2: #261f38; --raised: #17142a; --pink: #ff4fc3; --violet: #7a5cff; --deep: #6a2bd1;
  --mint: #3fd9b4; --gold: #ffc35f; --pink-soft: #fde8f6; --violet-soft: #ece8ff; --mint-soft: #e2f8f2;
  --paper: #faf7fb; --cream: #f3eef6; --white: #fff; --muted: #6b6480; --line: rgba(13,11,22,.11);
  --grad: linear-gradient(135deg, var(--pink), var(--violet));
  --night: linear-gradient(135deg, #0d0b16 0%, #2a1446 55%, #0f3d3d 100%);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 30px; --shadow: 0 30px 80px rgba(13,11,22,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: -70px; left: 16px; padding: 12px 16px; background: #fff; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 14px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--pink); }
.dark h2 em, .dark h1 em, .dark h3 em { color: var(--gold); }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--mint); }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.dark .lead { color: rgba(255,255,255,.74); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250,247,251,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { height: 70px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 21px; white-space: nowrap; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 6px 16px rgba(122,92,255,.35); }
.brand small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .32em; color: var(--violet); margin-top: -3px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 650; text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--pink); }
.top-cta { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 750; font-size: 14px; text-decoration: none; white-space: nowrap; }
.top-cta:hover { background: var(--ink-2); }
.menu { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }

/* Buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 20px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; border: 1.5px solid var(--ink); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; opacity: .78; font-weight: 600; }
.store b { font-size: 17px; font-weight: 800; }
.store.soon { background: transparent; color: var(--ink); }
.dark .store.soon { color: #fff; border-color: rgba(255,255,255,.8); }
.store:hover { transform: translateY(-1px); }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.dark .note { color: rgba(255,255,255,.6); }

/* Phone frame */
.phone { position: relative; border-radius: 46px; background: #0b0a10; padding: 9px; box-shadow: var(--shadow); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #0b0a10; border-radius: 999px; z-index: 2; }
.phone img { border-radius: 38px; width: 100%; aspect-ratio: 660 / 1434; object-fit: cover; background: #1a1526; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.proof span { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: .98; font-weight: 900; }
.hero .lead { margin: 22px 0 28px; max-width: 520px; }
.hero-art { position: relative; height: 640px; }
.hero-art .phone { position: absolute; width: 285px; }
.hero-art .phone.back { right: 6%; top: 20px; transform: rotate(5deg); }
.hero-art .phone.front { left: 4%; top: 64px; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 18px 40px rgba(13,11,22,.16); font-size: 14px; }
.float i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: #fff; font-style: normal; font-weight: 900; }
.float i.mint { background: linear-gradient(135deg, var(--mint), #2bb7d9); }
.float strong { display: block; font-weight: 800; }
.float small { color: var(--muted); }

/* Strip */
.strip { background: var(--night); color: #fff; padding: 18px 0; overflow: hidden; }
.strip-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 14px; white-space: nowrap; }
.strip-track span:nth-child(3n) { color: var(--gold); border-color: rgba(255,195,95,.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Blocks */
.block { padding: 96px 0; }
.block.white { background: var(--white); }
.block-head { max-width: 720px; margin-bottom: 44px; }
.block-head.center { margin-left: auto; margin-right: auto; }
.block-head .lead { margin-top: 14px; }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 26px; margin: 0 auto; max-width: 1240px; scrollbar-width: thin; }
.gallery figure { flex: 0 0 236px; margin: 0; scroll-snap-align: start; }
.gallery figcaption { margin-top: 16px; }
.gallery figcaption b { display: block; font-size: 16px; }
.gallery figcaption span { color: var(--muted); font-size: 14px; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.why-card .tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 24px; margin-bottom: 18px; }
.why-card:nth-child(2) .tile { background: linear-gradient(135deg, var(--mint), #2bb7d9); }
.why-card:nth-child(3) .tile { background: linear-gradient(135deg, var(--gold), #ff8a5c); }
.why-card h3 { font-size: 21px; margin-bottom: 8px; }
.why-card p { color: var(--muted); }

/* Spotlight */
.spotlight { background: var(--night); color: #fff; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.tag-new { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--mint-soft); color: #128a6e; }
.dark .ticks li::before { background: rgba(63,217,180,.18); color: var(--mint); }
.spot-phone { max-width: 300px; margin: 0 auto; }

/* Feature rows */
.rows { display: grid; gap: 80px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row.flip .row-media { order: 2; }
.row-media { border-radius: 36px; padding: 48px 0; display: grid; place-items: center; }
.row-media .phone { width: 268px; }
.row-media.mint { background: var(--mint-soft); }
.row-media.violet { background: var(--violet-soft); }
.row-media.pink { background: var(--pink-soft); }
.row-copy h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin: 12px 0 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--pink); }
.step h3 { margin: 14px 0 8px; font-size: 20px; }
.step p { color: var(--muted); }

/* Numbers */
.numbers { background: var(--night); color: #fff; padding: 72px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.facts-grid b { display: block; font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); font-weight: 400; color: var(--gold); line-height: 1; }
.facts-grid span { display: block; margin-top: 10px; color: rgba(255,255,255,.76); font-weight: 600; }

/* Pricing */
.price-card { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 40px; box-shadow: var(--shadow); }
.price-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.price-top h3 { font-size: 30px; }
.plans { display: flex; flex-wrap: wrap; gap: 10px; }
.plan { padding: 12px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.plan b { display: block; font-size: 22px; }
.plan small { color: var(--muted); font-weight: 600; }
.plan.best { border-color: var(--violet); background: var(--violet-soft); }
.price-card .ticks { grid-template-columns: 1fr 1fr; }
.fine { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 750; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.faq-more { text-align: center; margin-top: 20px; }
.faq-more a { color: var(--deep); font-weight: 750; }

/* Final CTA */
.final { padding: 0 0 96px; }
.final-card { position: relative; overflow: hidden; border-radius: 40px; background: var(--night); color: #fff; padding: 64px 56px 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; }
.final-card .copy { padding-bottom: 64px; }
.final-card h2 { margin-bottom: 14px; }
.final-card .stores { margin-top: 26px; }
.final-phone { align-self: end; width: 280px; margin: 0 auto -150px; }

/* Footer */
.foot { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 36px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.care { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; flex-wrap: wrap; width: auto; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .row, .final-card { grid-template-columns: 1fr; }
  .row.flip .row-media { order: 0; }
  .hero-art { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .final-phone { margin-bottom: -170px; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .menu { display: grid; place-items: center; }
  .top-cta { display: none; }
  .hero-art { height: 470px; }
  .hero-art .phone { width: 210px; }
  .float { font-size: 12px; padding: 10px 12px; }
  .price-card { padding: 28px 22px; }
  .price-card .ticks { grid-template-columns: 1fr; }
  .final-card { padding: 44px 24px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .block { padding: 72px 0; }
}
