/* Vityss marketing site — follows the system light / dark appearance. */
:root {
  color-scheme: light dark;
  --teal: #008c94;
  --accent: #3399ff;
  --good: #33c773;
  --ink: #0d0d12;
  --muted: #5b616e;
  --bg: #f3f4f7;
  --card: #ffffff;
  --stroke: #e4e6eb;
  --radius: 22px;
  --shadow: 0 10px 40px rgba(13, 13, 18, 0.08);
  --grad: linear-gradient(120deg, #008c94, #3399ff);
  --nav: rgba(243, 244, 247, 0.78);
  --nav-scrolled: rgba(243, 244, 247, 0.94);
  --nav-shadow: 0 8px 24px rgba(13, 13, 18, 0.06);
  --glow-a: rgba(0, 140, 148, 0.22);
  --glow-b: rgba(51, 153, 255, 0.16);
  --glow-c: rgba(0, 140, 148, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(255, 255, 255, 0.55);
  --chip: rgba(255, 255, 255, 0.82);
  --hover: rgba(0, 140, 148, 0.06);
  --device-frame: #0d0d12;
  --device-ring: rgba(13, 13, 18, 0.08);
  --phone-glow: 0 24px 50px rgba(13, 13, 18, 0.16), 0 0 40px rgba(0, 140, 148, 0.12);
  --card-hover-shadow: 0 20px 48px rgba(13, 13, 18, 0.12);
  --shot-hover-shadow: 0 24px 50px rgba(13, 13, 18, 0.16);
  --legal-panel: #ffffff;
  --badge-ink: #072016;
  --grain: 0.12;
  --ico-fill: rgba(0, 140, 148, 0.12);
  --hover-border: rgba(0, 140, 148, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #2ad4c8;
    --accent: #4da3ff;
    --good: #3dd68c;
    --ink: #f4f6fb;
    --muted: #9aa3b5;
    --bg: #07080d;
    --card: rgba(255, 255, 255, 0.05);
    --stroke: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --nav: rgba(7, 8, 13, 0.55);
    --nav-scrolled: rgba(7, 8, 13, 0.86);
    --nav-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --glow-a: rgba(0, 140, 148, 0.35);
    --glow-b: rgba(51, 153, 255, 0.22);
    --glow-c: rgba(42, 212, 200, 0.12);
    --glass: rgba(255, 255, 255, 0.04);
    --glass-2: rgba(255, 255, 255, 0.06);
    --chip: rgba(18, 22, 32, 0.72);
    --hover: rgba(255, 255, 255, 0.08);
    --device-frame: #11131a;
    --device-ring: rgba(255, 255, 255, 0.08);
    --phone-glow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 80px rgba(0, 140, 148, 0.25);
    --card-hover-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(0, 140, 148, 0.12);
    --shot-hover-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 140, 148, 0.2);
    --legal-panel: rgba(255, 255, 255, 0.04);
    --badge-ink: #072016;
    --grain: 0.28;
    --ico-fill: rgba(42, 212, 200, 0.14);
    --hover-border: rgba(42, 212, 200, 0.4);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, var(--glow-a), transparent 60%),
    radial-gradient(700px 420px at 10% 20%, var(--glow-b), transparent 55%),
    radial-gradient(600px 400px at 50% 110%, var(--glow-c), transparent 50%);
}
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(22px);
  background: var(--nav);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled {
  background: var(--nav-scrolled);
  border-bottom-color: var(--stroke);
  box-shadow: var(--nav-shadow);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-icon { width: 28px; height: 28px; border-radius: 8px; display: inline-block; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.nav-links a.active { color: var(--teal); font-weight: 600; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--grad); color: #fff !important; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 140, 148, 0.35);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover { opacity: 1; text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 140, 148, 0.45); }
.btn:hover::after { animation: shine 0.7s ease; }
.btn.ghost {
  background: var(--glass-2);
  color: var(--ink) !important;
  border: 1px solid var(--stroke);
  box-shadow: none;
}
.btn.ghost:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

/* Hero */
.hero { padding: 56px 0 28px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.hero-copy { animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow {
  color: var(--teal); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(42, 212, 200, 0.35);
  background: rgba(42, 212, 200, 0.08);
}
.hero h1 { font-size: 58px; line-height: 1.02; letter-spacing: -0.04em; margin: 18px 0 16px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 42ch; }
.cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.made { margin-top: 22px; color: var(--muted); font-size: 14px; }
.store-url { margin-top: 14px; font-size: 14px; word-break: break-all; }
.made .heart { color: #e0245e; animation: pulse 1.8s ease-in-out infinite; display: inline-block; }

.hero-stage {
  position: relative;
  height: 560px;
  perspective: 900px;
}
.phone-fan {
  position: absolute;
  inset: 40px 0 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.device {
  width: 250px; border-radius: 44px; padding: 10px;
  background: var(--device-frame);
  box-shadow: var(--shadow), 0 0 0 1px var(--device-ring);
}
.device img { width: 100%; display: block; border-radius: 34px; }
.fan-left, .fan-right, .fan-front {
  position: absolute;
  left: 50%;
  top: 24px;
  margin-left: -125px;
}
.fan-left {
  opacity: 0.75;
  z-index: 1;
  animation: float-left 6.4s ease-in-out infinite;
}
.fan-right {
  opacity: 0.75;
  z-index: 1;
  animation: float-right 6.8s ease-in-out infinite;
}
.fan-front {
  z-index: 3;
  animation: float-front 5.5s ease-in-out infinite;
  box-shadow: var(--phone-glow);
}

.float-chip {
  position: absolute;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.chip-a { top: 54px; left: 8px; animation: bob 4.6s ease-in-out infinite; }
.chip-b { top: 132px; right: 0; animation: bob 5.2s 0.4s ease-in-out infinite; }
.chip-c { bottom: 72px; left: 18px; animation: bob 4.8s 0.8s ease-in-out infinite; }

.pills { overflow: hidden; padding: 8px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.stories { padding: 8px 0 28px; }
.stories-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #11131a;
  position: relative;
}
.stories-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.story {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 520px;
  overflow: hidden;
  box-sizing: border-box;
}
.story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 13, 0.82) 0%, rgba(7, 8, 13, 0.45) 42%, rgba(7, 8, 13, 0.12) 100%);
  pointer-events: none;
}
.story-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 44px 72px;
  max-width: 36ch;
  color: #f4f6fb;
}
.story-copy h2 {
  font-size: 36px;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
  color: #f4f6fb;
  max-width: 14ch;
}
.story-copy p { color: rgba(244, 246, 251, 0.86); font-size: 17px; max-width: none; }
.story-copy .eyebrow {
  color: #2ad4c8;
  border-color: rgba(42, 212, 200, 0.45);
  background: rgba(7, 8, 13, 0.35);
  width: fit-content;
}
.stories-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 8, 13, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.stories-dots button {
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.stories-dots button:hover { background: rgba(255, 255, 255, 0.85); }
.stories-dots button.on {
  width: 24px;
  background: #2ad4c8;
}
.pills-track {
  display: flex; gap: 10px; width: max-content;
  animation: marquee 28s linear infinite;
}
.pills-track span {
  padding: 8px 14px; border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke); color: var(--ink); font-size: 13px; font-weight: 600;
  white-space: nowrap;
}

@keyframes shine {
  to { transform: translateX(120%); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.06); }
}
@keyframes float-front {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes float-left {
  0%, 100% { transform: translate(-118px, 28px) rotate(-11deg) scale(0.86); }
  50% { transform: translate(-118px, 12px) rotate(-11deg) scale(0.86); }
}
@keyframes float-right {
  0%, 100% { transform: translate(118px, 36px) rotate(11deg) scale(0.86); }
  50% { transform: translate(118px, 20px) rotate(11deg) scale(0.86); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; justify-items: center; }
.shot { text-align: center; margin: 0; }
.shot .device { width: 240px; position: relative; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.shot:hover .device { transform: translateY(-12px) rotate(-1.5deg); box-shadow: var(--shot-hover-shadow); }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 26ch; }

.disclaimer { font-size: 14px !important; opacity: 0.9; margin-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: 16px; }

section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 34px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 10px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.card:hover {
  transform: translateY(-8px);
  background: var(--hover);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--hover-border);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ico-fill); color: var(--teal); font-size: 22px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; margin-top: 6px; }

.band {
  background: var(--grad);
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 140, 148, 0.28);
}
.band h2 { font-size: 30px; letter-spacing: -0.02em; }
.band p { max-width: 60ch; margin: 12px auto 0; opacity: 0.95; font-size: 17px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform 0.28s ease, box-shadow 0.28s ease; }
.plan.pro { border: 2px solid var(--teal); position: relative; background: rgba(0, 140, 148, 0.1); }
.plan.pro:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 140, 148, 0.28); }
.plan .badge { position: absolute; top: -12px; right: 20px; background: var(--good); color: var(--badge-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .price { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin-top: 16px; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }

footer { border-top: 1px solid var(--stroke); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); }

.legal-page { padding: 28px 0 80px; min-height: 70vh; }
.legal-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 400px;
  margin: 0 auto 28px; padding: 5px;
  background: var(--card); border: 1px solid var(--stroke); border-radius: 999px;
}
.legal-switch a {
  text-align: center; padding: 11px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.legal-switch a:hover { color: var(--ink); text-decoration: none; background: var(--hover); }
.legal-switch a.is-on { background: var(--grad); color: #fff !important; box-shadow: 0 6px 16px rgba(0, 140, 148, 0.28); }
.legal-switch a.is-on:hover { background: var(--grad); color: #fff !important; }

.legal {
  max-width: 760px; margin: 0 auto;
  background: var(--legal-panel);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 40px 44px 48px;
  box-shadow: var(--shadow);
}
.legal h1 { font-size: 34px; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.legal .updated {
  color: var(--muted); margin: 10px 0 8px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.legal .lede { font-size: 17px; color: var(--ink); margin: 18px 0 8px; line-height: 1.5; }
.legal h2 {
  font-size: 17px; margin: 32px 0 10px; letter-spacing: -0.01em; color: var(--ink);
  padding-left: 14px; border-left: 3px solid var(--teal);
}
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 8px 0 12px 4px; padding: 0; list-style: none; }
.legal ul li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--stroke); }
.legal ul li:last-child { border-bottom: none; }
.legal ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--teal); font-weight: 500; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 40px; }
  .hero p.lead { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .hero-stage { height: 480px; margin-top: 8px; }
  .fan-left { animation-name: float-left-m; }
  .fan-right { animation-name: float-right-m; }
  @keyframes float-left-m {
    0%, 100% { transform: translate(-72px, 40px) rotate(-9deg) scale(0.78); }
    50% { transform: translate(-72px, 26px) rotate(-9deg) scale(0.78); }
  }
  @keyframes float-right-m {
    0%, 100% { transform: translate(72px, 48px) rotate(9deg) scale(0.78); }
    50% { transform: translate(72px, 34px) rotate(9deg) scale(0.78); }
  }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .nav-links a:not(.btn):not(.active):not(.nav-keep) { display: none; }
  .legal { padding: 24px 20px 32px; }
  .story { height: 420px; grid-template-columns: none; }
  .story::after {
    background: linear-gradient(180deg, rgba(7, 8, 13, 0.12) 0%, rgba(7, 8, 13, 0.82) 100%);
  }
  .story-copy { max-width: none; padding: 28px 24px 32px; }
  .story-copy h2 { font-size: 28px; max-width: none; }
}

@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr; }
  .chip-a, .chip-b, .chip-c { display: none; }
  .fan-left, .fan-right { display: none; }
  .hero-stage { height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phone, .hero-copy, .pills-track, .made .heart, .fan-left, .fan-right, .fan-front, .float-chip {
    animation: none !important;
  }
  .fan-left { transform: translate(-118px, 28px) rotate(-11deg) scale(0.86); }
  .fan-right { transform: translate(118px, 36px) rotate(11deg) scale(0.86); }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .shot:hover .device, .plan.pro:hover, .btn:hover {
    transform: none;
  }
  .stories-track { transition: none; }
}
