/* ============================================================
   PixelBeat Studio — Homepage redesign (v0 "Strum" aesthetic)
   Scoped to the homepage via .home-v0 wrapper so the rest of the
   site keeps its existing look. Loaded only on index.html.
   ============================================================ */

.home-v0 {
  /* Design tokens (from the v0 export) */
  --v0-bg: oklch(0.16 0.012 264);
  --v0-card: oklch(0.2 0.014 264);
  --v0-fg: oklch(0.97 0.005 90);
  --v0-muted: oklch(0.7 0.012 250);
  --v0-coral: oklch(0.7 0.17 32);
  --v0-teal: oklch(0.78 0.12 195);
  --v0-border: oklch(1 0 0 / 10%);

  --v0-font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --v0-font-pixel: 'Press Start 2P', monospace;

  --v0-glow-coral: 0 0 20px oklch(0.7 0.17 32 / 0.45), 0 0 60px oklch(0.7 0.17 32 / 0.2);
  --v0-glow-teal: 0 0 20px oklch(0.78 0.12 195 / 0.4), 0 0 60px oklch(0.78 0.12 195 / 0.18);
  --v0-ease: cubic-bezier(0.21, 0.47, 0.32, 0.98);
  --v0-pop: cubic-bezier(0.34, 1.56, 0.64, 1); /* slight overshoot — "slap" into place */

  background: var(--v0-bg);
  color: var(--v0-fg);
  font-family: var(--v0-font-head);
  position: relative;
  overflow-x: hidden;
}

/* Make the page background match so the dark theme is seamless */
body:has(.home-v0) { background: oklch(0.16 0.012 264); }

/* ---------- shared helpers ---------- */
.home-v0 .v0-pixel { font-family: var(--v0-font-pixel); letter-spacing: 0.04em; }
.home-v0 .v0-glass {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border);
}
.home-v0 .v0-glow-coral { box-shadow: var(--v0-glow-coral); }
.home-v0 .v0-glow-teal { box-shadow: var(--v0-glow-teal); }
.home-v0 .v0-coral { color: var(--v0-coral); }
.home-v0 .v0-teal { color: var(--v0-teal); }
.home-v0 .text-glow-coral {
  color: var(--v0-coral);
  text-shadow: 0 0 12px oklch(0.7 0.17 32 / 0.7), 0 0 28px oklch(0.7 0.17 32 / 0.4);
}
.home-v0 .text-glow-teal {
  color: var(--v0-teal);
  text-shadow: 0 0 12px oklch(0.78 0.12 195 / 0.7), 0 0 28px oklch(0.78 0.12 195 / 0.4);
}

.home-v0 .v0-container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.home-v0 .v0-eyebrow { font-family: var(--v0-font-pixel); font-size: 10px; color: var(--v0-teal); }

/* ---------- scroll reveal ---------- */
.home-v0 .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--v0-ease), transform 0.7s var(--v0-ease);
}
.home-v0 .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .home-v0 .reveal { opacity: 1; transform: none; transition: none; }
  .home-v0 *, .home-v0 *::before, .home-v0 *::after { animation: none !important; }
}

/* ============================================================
   Background — parallax orbs + faint grid
   ============================================================ */
.home-v0 .v0-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-v0 .v0-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.home-v0 .v0-bg .orb {
  position: absolute; border-radius: 9999px; filter: blur(120px);
  animation: v0-pulse 5s var(--v0-ease) infinite;
}
.home-v0 .v0-bg .orb-1 { left: -6rem; top: 8%; width: 28rem; height: 28rem; background: oklch(0.7 0.17 32 / 0.15); }
.home-v0 .v0-bg .orb-2 { right: -8rem; top: 38%; width: 32rem; height: 32rem; background: oklch(0.78 0.12 195 / 0.12); animation-delay: 1.5s; }
.home-v0 .v0-bg .orb-3 { left: 30%; top: 72%; width: 26rem; height: 26rem; background: oklch(0.7 0.17 32 / 0.1); animation-delay: 3s; }
.home-v0 .v0-bg .vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--v0-bg));
}

@keyframes v0-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes v0-float { 0%,100% { transform: translateY(0) rotate(-2.5deg); } 50% { transform: translateY(-22px) rotate(2.5deg); } }
@keyframes v0-chip-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(var(--chip-range, -16px)) rotate(4deg); } }
@keyframes v0-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* keep all content above the fixed background */
.home-v0 > section, .home-v0 .navbar { position: relative; z-index: 1; }

/* ============================================================
   Nav override (homepage only, via :has) — floating glass bar
   ============================================================ */
body:has(.home-v0) .navbar {
  background: transparent !important;
  border: none !important;
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
}
body:has(.home-v0) .navbar .nav-container {
  max-width: 72rem;
  margin: 1rem auto 0;
  border-radius: 1rem;
  background: oklch(0.22 0.014 264 / 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid oklch(1 0 0 / 10%);
  padding: 0.75rem 1.25rem;
}
body:has(.home-v0) .navbar .logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
body:has(.home-v0) .navbar .nav-link { color: oklch(0.7 0.012 250); font-weight: 500; transition: color 0.2s; }
body:has(.home-v0) .navbar .nav-link:hover,
body:has(.home-v0) .navbar .nav-link.active { color: #fff; }
body:has(.home-v0) .navbar .btn-primary {
  background: oklch(0.7 0.17 32); color: oklch(0.16 0.012 264);
  border: none; box-shadow: var(--v0-glow-coral);
}
body:has(.home-v0) .navbar .nav-beta {
  display: inline-block;
  font-family: 'Press Start 2P', monospace; font-size: 7px;
  color: oklch(0.78 0.12 195); border: 1px solid oklch(0.78 0.12 195 / 0.5);
  border-radius: 6px; padding: 4px 6px; margin-left: 8px; vertical-align: middle;
}

/* ============================================================
   HERO
   ============================================================ */
.home-v0 .v0-hero { padding: 11rem 0 5rem; }
.home-v0 .v0-hero .grid2 {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .home-v0 .v0-hero .grid2 { grid-template-columns: 1fr 1fr; } }

.home-v0 .hero-glow {
  position: absolute; left: 50%; top: 33%; width: 36rem; height: 36rem;
  transform: translate(-50%, -50%); border-radius: 9999px;
  background: oklch(0.7 0.17 32 / 0.2); filter: blur(140px); pointer-events: none;
}
.home-v0 .hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.4rem 0.85rem; font-size: 0.78rem;
  color: oklch(0.7 0.012 250);
}
.home-v0 .hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v0-teal); box-shadow: var(--v0-glow-teal); }
.home-v0 .hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.02em;
}
.home-v0 .hero-sub {
  margin-top: 1.5rem; max-width: 30rem; font-size: 1.1rem; line-height: 1.6;
  color: oklch(0.7 0.012 250);
}
.home-v0 .hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.home-v0 .v0-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3rem; padding: 0 2rem; border-radius: 0.7rem; font-size: 1rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: transform 0.2s var(--v0-ease), background 0.2s;
  border: 1px solid transparent;
}
.home-v0 .v0-btn-primary { background: var(--v0-coral); color: oklch(0.16 0.012 264); box-shadow: var(--v0-glow-coral); }
.home-v0 .v0-btn-primary:hover { transform: scale(1.05); }
.home-v0 .v0-btn-ghost { background: transparent; color: var(--v0-fg); border-color: var(--v0-border); }
.home-v0 .v0-btn-ghost:hover { background: oklch(0.25 0.02 230); }

.home-v0 .hero-social { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: oklch(0.7 0.012 250); }
.home-v0 .hero-social .stars { color: var(--v0-coral); letter-spacing: 2px; }

/* floating ukulele + chord chips */
.home-v0 .hero-art { position: relative; max-width: 32rem; margin: 0 auto; display: grid; place-items: center; }
.home-v0 .hero-art .art-glow { position: absolute; inset: 0; border-radius: 9999px; background: oklch(0.7 0.17 32 / 0.2); filter: blur(48px); animation: v0-pulse 4s var(--v0-ease) infinite; }
.home-v0 .hero-art .uke-float { position: relative; animation: v0-float 7s ease-in-out infinite; }
/* pointer-events:none stops the browser from treating the uke as a hoverable
   image, which suppresses Edge/Lens "visual search / scan image" hover buttons.
   The interactive hover-strings sit in a separate layer on top, so plucking is
   unaffected. */
.home-v0 .hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 40px oklch(0.7 0.17 32 / 0.35)); pointer-events: none; }

/* hoverable ukulele strings — 4 thin zones laid diagonally over the neck/body.
   Container is rotated to match the uke's tilt; bars become the 4 strings.
   Positions are approximate and easy to nudge (inset / rotate / gap). */
.home-v0 .uke-strings {
  position: absolute; inset: 0;
  /* tuned to the art; trailing translateX(-5%) re-anchors the bottom after the
     top was shortened (width 58% -> 48%) so it stops short of the headstock */
  transform: translate(13px, -20px) rotate(-62deg) translateX(-5%);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  pointer-events: none;
}
.home-v0 .uke-string {
  position: relative;
  /* shortened from 58% so the top ends below the headstock */
  width: 48%; height: 5px; pointer-events: auto; cursor: pointer; border-radius: 4px;
  background: transparent; /* invisible by default (strings are painted in the art) */
  transition: background 0.15s var(--v0-ease), box-shadow 0.15s var(--v0-ease);
}
/* expands the clickable/hover area ±7px WITHOUT changing the line's layout */
.home-v0 .uke-string::before {
  content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px;
}
.home-v0 .uke-string:hover {
  background: oklch(0.78 0.12 195 / 0.75);
  box-shadow: 0 0 8px oklch(0.78 0.12 195 / 0.55);
}
/* magnet wrapper = position + cursor-follow transform (set in JS); chip inside floats */
.home-v0 .chord-magnet { position: absolute; transition: transform 0.18s ease-out; will-change: transform; }
.home-v0 .chord-magnet.m1 { left: 0; top: 8%; }
.home-v0 .chord-magnet.m2 { right: 4%; bottom: 18%; }
.home-v0 .chord-magnet.m3 { right: 8%; top: 4%; }
.home-v0 .chord-magnet.m4 { left: 8%; bottom: 22%; }
.home-v0 .chord-chip {
  display: inline-block; border-radius: 0.5rem; padding: 0.5rem 0.7rem;
  font-family: 'Press Start 2P', monospace; font-size: 10px;
  animation: v0-chip-float 5s ease-in-out infinite;
}
.home-v0 .m1 .chord-chip { color: var(--v0-teal); box-shadow: var(--v0-glow-teal); --chip-range: 16px; }
.home-v0 .m2 .chord-chip { color: var(--v0-coral); box-shadow: var(--v0-glow-coral); --chip-range: -20px; animation-delay: 0.8s; }
.home-v0 .m3 .chord-chip { color: var(--v0-fg); --chip-range: 14px; animation-delay: 1.6s; }
.home-v0 .m4 .chord-chip { color: var(--v0-teal); box-shadow: var(--v0-glow-teal); --chip-range: -16px; animation-delay: 2.2s; }

/* ============================================================
   SONG MARQUEE
   ============================================================ */
.home-v0 .v0-marquee { position: relative; overflow: hidden; padding: 1.5rem 0; }
.home-v0 .v0-marquee::before, .home-v0 .v0-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 2; pointer-events: none;
}
.home-v0 .v0-marquee::before { left: 0; background: linear-gradient(to right, var(--v0-bg), transparent); }
.home-v0 .v0-marquee::after { right: 0; background: linear-gradient(to left, var(--v0-bg), transparent); }
.home-v0 .v0-marquee .track { display: flex; gap: 1rem; width: max-content; animation: v0-marquee 32s linear infinite; }
.home-v0 .v0-marquee .chip {
  display: inline-flex; align-items: center; gap: 0.75rem; white-space: nowrap;
  border-radius: 9999px; padding: 0.6rem 1.25rem; font-size: 0.9rem; font-weight: 500;
  color: oklch(0.7 0.012 250);
}
.home-v0 .v0-marquee .chip .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--v0-coral); box-shadow: var(--v0-glow-coral); }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.home-v0 .v0-section { padding: 5rem 0; }
.home-v0 .v0-head { max-width: 42rem; margin: 0 auto; text-align: center; }
.home-v0 .v0-head h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .v0-head p { margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; color: oklch(0.7 0.012 250); }

/* ============================================================
   FEATURES — bento grid
   ============================================================ */
.home-v0 .v0-features { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .home-v0 .v0-features { grid-template-columns: repeat(3, 1fr); } }
.home-v0 .v0-feature {
  position: relative; border-radius: 1rem; padding: 1.5rem;
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s, border-color 0.3s;
}
.home-v0 .v0-feature:hover { transform: translateY(-8px); border-color: oklch(0.7 0.17 32 / 0.4); box-shadow: 0 0 40px oklch(0.7 0.17 32 / 0.18); }
.home-v0 .v0-feature.span2 { grid-column: span 1; }
@media (min-width: 640px) { .home-v0 .v0-feature.span2 { grid-column: span 2; } }
.home-v0 .v0-feature .ficon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  font-size: 1.25rem; transition: transform 0.3s var(--v0-ease);
}
.home-v0 .v0-feature:hover .ficon { transform: scale(1.1); }
.home-v0 .v0-feature .ficon.coral { background: oklch(0.7 0.17 32 / 0.15); color: var(--v0-coral); box-shadow: var(--v0-glow-coral); }
.home-v0 .v0-feature .ficon.teal { background: oklch(0.78 0.12 195 / 0.15); color: var(--v0-teal); box-shadow: var(--v0-glow-teal); }
.home-v0 .v0-feature h3 { margin-top: 1.25rem; font-size: 1.1rem; font-weight: 600; }
.home-v0 .v0-feature p { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.55; color: oklch(0.7 0.012 250); }
.home-v0 .v0-feature .pro-pill {
  display: inline-block; margin-top: 0.85rem; font-family: 'Press Start 2P', monospace; font-size: 7px;
  color: var(--v0-coral); border: 1px solid oklch(0.7 0.17 32 / 0.5); border-radius: 6px; padding: 4px 6px;
}

/* stat counters */
.home-v0 .v0-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 1024px) { .home-v0 .v0-stats { grid-template-columns: repeat(4, 1fr); } }
.home-v0 .v0-stat { border-radius: 1rem; padding: 1.5rem; text-align: center; }
.home-v0 .v0-stat .num { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--v0-coral); text-shadow: 0 0 12px oklch(0.7 0.17 32 / 0.7), 0 0 28px oklch(0.7 0.17 32 / 0.4); }
.home-v0 .v0-stat .lbl { margin-top: 0.5rem; font-size: 0.85rem; color: oklch(0.7 0.012 250); }

/* ============================================================
   HOW IT WORKS — vertical path with self-drawing line
   ============================================================ */
.home-v0 .v0-path { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .home-v0 .v0-path { grid-template-columns: 1fr 1fr; } }
.home-v0 .v0-path .intro { position: sticky; top: 7rem; }
.home-v0 .v0-path .intro h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin-top: 1rem; }
.home-v0 .v0-path .intro p { margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; color: oklch(0.7 0.012 250); }
.home-v0 .v0-path .mini-stats { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home-v0 .v0-path .mini { border-radius: 0.85rem; padding: 1rem; text-align: center; }
/* Fixed-height, centered number row so every card's label lines up no matter
   the glyph size (lets the ∞ be scaled up without shoving "your songs" up). */
.home-v0 .v0-path .mini .n { font-family: 'Press Start 2P', monospace; font-size: 0.9rem; color: var(--v0-coral); display: flex; align-items: center; justify-content: center; height: 1.9rem; line-height: 1; }
/* the ∞ glyph renders tiny in this pixel font — scale it up to match the
   visual weight of FREE / 2. */
/* nudge the glyph up so it sits at the same optical height as FREE / 2
   (transform only — doesn't shift the label below it) */
.home-v0 .v0-path .mini .n.is-infinity { font-size: 2.3rem; transform: translateY(-0.35rem); }
.home-v0 .v0-path .mini .l { margin-top: 0.5rem; font-size: 0.72rem; line-height: 1.3; color: oklch(0.7 0.012 250); }

.home-v0 .v0-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.5rem; display: grid; gap: 1rem; }
.home-v0 .v0-timeline .track, .home-v0 .v0-timeline .fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; }
.home-v0 .v0-timeline .track { background: var(--v0-border); }
.home-v0 .v0-timeline .fill { background: linear-gradient(to bottom, var(--v0-coral), var(--v0-teal)); box-shadow: var(--v0-glow-coral); transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform 0.2s linear; }
.home-v0 .v0-step { position: relative; }
.home-v0 .v0-step .node {
  position: absolute; left: -2rem; top: 0.25rem; display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--v0-border);
  background: var(--v0-card); color: oklch(0.7 0.012 250); font-size: 0.7rem;
}
.home-v0 .v0-step.done .node { background: var(--v0-coral); color: oklch(0.16 0.012 264); border-color: var(--v0-coral); box-shadow: var(--v0-glow-coral); }
.home-v0 .v0-step.current .node { background: var(--v0-teal); color: oklch(0.16 0.012 264); border-color: var(--v0-teal); box-shadow: var(--v0-glow-teal); animation: v0-pulse 3s var(--v0-ease) infinite; }
.home-v0 .v0-step .body { border-radius: 1rem; padding: 1.25rem; }
.home-v0 .v0-step .body h3 { font-weight: 600; }
.home-v0 .v0-step .body p { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.5; color: oklch(0.7 0.012 250); }

/* ============================================================
   PRICING TEASER + BETA
   ============================================================ */
.home-v0 .v0-pricing { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .home-v0 .v0-pricing { grid-template-columns: repeat(3, 1fr); } }
/* reveal wrapper around each plan: lets the scroll-fade and the hover-lift use
   separate elements so they don't override each other */
.home-v0 .v0-pricing > .reveal { display: flex; }
.home-v0 .v0-plan { position: relative; display: flex; flex-direction: column; width: 100%; border-radius: 1rem; padding: 1.75rem; transition: transform 0.3s var(--v0-ease), box-shadow 0.3s, border-color 0.3s; }
.home-v0 .v0-plan:hover { transform: translateY(-10px); border-color: oklch(0.7 0.17 32 / 0.45); box-shadow: 0 0 44px oklch(0.7 0.17 32 / 0.22); }
.home-v0 .v0-plan.popular { border-color: oklch(0.7 0.17 32 / 0.5); box-shadow: var(--v0-glow-coral); }
.home-v0 .v0-plan.popular:hover { box-shadow: var(--v0-glow-coral), 0 0 50px oklch(0.7 0.17 32 / 0.28); }
@media (min-width: 1024px) { .home-v0 .v0-plan.popular { transform: translateY(-0.5rem); } .home-v0 .v0-plan.popular:hover { transform: translateY(-1rem); } }
.home-v0 .v0-plan .tag { position: absolute; top: -0.75rem; left: 1.75rem; border-radius: 9999px; background: var(--v0-coral); color: oklch(0.16 0.012 264); padding: 0.25rem 0.75rem; font-family: 'Press Start 2P', monospace; font-size: 8px; }
.home-v0 .v0-plan h3 { font-size: 1.1rem; font-weight: 600; }
.home-v0 .v0-plan .price { margin-top: 0.75rem; display: flex; align-items: flex-end; gap: 0.25rem; }
.home-v0 .v0-plan .price .amt { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .v0-plan .price .per { margin-bottom: 0.25rem; font-size: 0.85rem; color: oklch(0.7 0.012 250); }
.home-v0 .v0-plan .desc { margin-top: 0.5rem; font-size: 0.9rem; color: oklch(0.7 0.012 250); }
.home-v0 .v0-plan ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; flex: 1; }
.home-v0 .v0-plan li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: oklch(0.7 0.012 250); }
.home-v0 .v0-plan li .ck { color: var(--v0-coral); flex: none; }
.home-v0 .v0-plan.teal-checks li .ck { color: var(--v0-teal); }
.home-v0 .v0-plan .v0-btn { margin-top: 1.75rem; width: 100%; }

.home-v0 .beta-note { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; color: oklch(0.7 0.012 250); }
.home-v0 .beta-note .code { font-family: 'Press Start 2P', monospace; font-size: 0.75rem; color: var(--v0-teal); }

/* ============================================================
   COMMUNITY CHAT — morph rail -> assembled chat
   ============================================================ */
.home-v0 .v0-chat-wrap { margin-top: 3rem; position: relative; }

/* the scrolling invitation rail (default state) */
.home-v0 .chat-rail {
  position: relative; overflow: hidden; padding: 1.25rem 0; cursor: pointer;
  border-radius: 1rem; transition: opacity 0.6s var(--v0-ease), transform 0.6s var(--v0-ease);
}
.home-v0 .chat-rail::before, .home-v0 .chat-rail::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 5rem; z-index: 2; pointer-events: none;
}
.home-v0 .chat-rail::before { left: 0; background: linear-gradient(to right, var(--v0-bg), transparent); }
.home-v0 .chat-rail::after { right: 0; background: linear-gradient(to left, var(--v0-bg), transparent); }
.home-v0 .chat-rail .track { display: flex; gap: 1rem; width: max-content; animation: v0-marquee 64s linear infinite; }
.home-v0 .chat-rail .bubble {
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  border-radius: 9999px; padding: 0.6rem 1.1rem; font-size: 0.9rem; color: oklch(0.85 0.01 250);
  transition: transform 0.3s var(--v0-ease);
}
.home-v0 .chat-rail .bubble .who { color: var(--v0-teal); font-weight: 600; }
.home-v0 .chat-rail .hint {
  text-align: center; margin-top: 0.75rem; font-size: 0.8rem; color: oklch(0.7 0.012 250);
}
.home-v0 .chat-rail .hint .v0-pixel { font-size: 8px; color: var(--v0-teal); }

/* rail + embed share one grid cell so the box height never jumps */
.home-v0 .v0-chat-stage { display: grid; }
.home-v0 .v0-chat-stage > * { grid-area: 1 / 1; }
.home-v0 .chat-rail { align-self: center; }

/* the real chat embed. The box GLASS (bg/border) is invisible at first so
   messages appear to fly into open space, then the window materializes around
   them. --chrome-delay is computed in JS = after the last message lands. */
.home-v0 .chat-embed-v0 {
  border-radius: 1.25rem; padding: 1rem; max-width: 44rem; width: 100%; margin: 0 auto;
  opacity: 0; pointer-events: none;
  background: oklch(0.22 0.014 264 / 0); border: 1px solid transparent; box-shadow: none;
  /* base = the slow fade-OUT when leaving (0.8s); glass eases over ~1s */
  transition: opacity 0.8s var(--v0-ease),
              background 1s var(--v0-ease),
              border-color 1s var(--v0-ease),
              box-shadow 1s var(--v0-ease);
}

/* assembled = visible so messages can pop in. Container fades in quickly so the
   flying messages stay crisp; the glass/chrome do the slow "window appearing". */
.home-v0 .v0-chat-wrap.assembled .chat-rail { opacity: 0; transform: scale(0.98); pointer-events: none; }
.home-v0 .v0-chat-wrap.assembled .chat-embed-v0 {
  opacity: 1; pointer-events: auto;
  transition: opacity 0.25s var(--v0-ease),
              background 1.5s var(--v0-ease),
              border-color 1.5s var(--v0-ease),
              box-shadow 1.5s var(--v0-ease);
}

/* the window/glass + chrome materialize only once .chrome-shown is set (JS, after the last message) */
.home-v0 .chat-embed-v0.chrome-shown {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: oklch(1 0 0 / 10%);
}
.home-v0 .chat-embed-v0 .chat-embed-header,
.home-v0 .chat-embed-v0 .chat-input-area { opacity: 0; transition: opacity 1.5s var(--v0-ease); }
.home-v0 .chat-embed-v0.chrome-shown .chat-embed-header { opacity: 1; }
.home-v0 .chat-embed-v0.chrome-shown .chat-input-area { opacity: 1; transition-delay: 0.15s; }

/* each message flies in from the side via a keyframe animation (reliable,
   dramatic). JS adds .fly-left or .fly-right (alternating) + .arrived.
   Default is VISIBLE so chat.js re-renders (polling) never blank out the text;
   the fly-in keyframe supplies its own opacity:0 start via `both` fill. */
.home-v0 .chat-embed-v0 .chat-messages .chat-message { will-change: transform, opacity; }
.home-v0 .chat-embed-v0 .chat-messages .chat-message.fly-left { animation: v0-fly-left 0.62s var(--v0-pop) both; }
.home-v0 .chat-embed-v0 .chat-messages .chat-message.fly-right { animation: v0-fly-right 0.62s var(--v0-pop) both; }
@keyframes v0-fly-left {
  0%   { opacity: 0; transform: translateX(-150px) scale(0.95); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes v0-fly-right {
  0%   { opacity: 0; transform: translateX(150px) scale(0.95); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* arrival glow — a soft coral pulse the instant a message lands */
.home-v0 .chat-embed-v0 .chat-messages .chat-message.arrived .chat-message-text {
  animation: v0-arrive 0.9s ease-out 0.18s;
}
@keyframes v0-arrive {
  0%   { box-shadow: 0 0 0 0 oklch(0.7 0.17 32 / 0); }
  45%  { box-shadow: 0 0 16px 2px oklch(0.7 0.17 32 / 0.5); }
  100% { box-shadow: 0 0 0 0 oklch(0.7 0.17 32 / 0); }
}

/* "is typing…" bubble that resolves into the message */
.home-v0 .chat-embed-v0 .chat-typing {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  font-size: 0.82rem; color: oklch(0.65 0.012 250);
  background: oklch(0.24 0.014 264 / 0.7); border: 1px solid var(--v0-border);
  border-radius: 0 0.8rem 0.8rem 0.8rem; padding: 0.45rem 0.75rem;
  animation: v0-fly-left 0.35s var(--v0-pop) both;
}
.home-v0 .chat-embed-v0 .chat-typing .who { color: var(--v0-teal); font-weight: 700; }
.home-v0 .chat-embed-v0 .chat-typing .dots { display: inline-flex; gap: 3px; margin-left: 3px; }
.home-v0 .chat-embed-v0 .chat-typing .dots i { width: 5px; height: 5px; border-radius: 50%; background: oklch(0.7 0.012 250); display: block; animation: v0-typing 1s infinite; }
.home-v0 .chat-embed-v0 .chat-typing .dots i:nth-child(2) { animation-delay: 0.15s; }
.home-v0 .chat-embed-v0 .chat-typing .dots i:nth-child(3) { animation-delay: 0.30s; }
@keyframes v0-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* chat internals restyle (reuses existing chat.js markup/classes) */
.home-v0 .chat-embed-v0 .chat-embed-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.home-v0 .chat-embed-v0 .chat-tab { background: transparent; border: 1px solid var(--v0-border); color: oklch(0.7 0.012 250); border-radius: 9999px; padding: 0.35rem 0.9rem; font-size: 0.85rem; cursor: pointer; margin-right: 0.5rem; }
.home-v0 .chat-embed-v0 .chat-tab.active { background: oklch(0.7 0.17 32 / 0.15); color: var(--v0-coral); border-color: oklch(0.7 0.17 32 / 0.4); }
/* clip the messages box so they never leak below it; messages fly in by
   emerging from the side edge. Vertical scroll is enabled once the window shows. */
/* Horizontal padding gives the avatar ring badges' sparkles/glow room at the
   left edge (the box clips/masks at its bounds). */
.home-v0 .chat-embed-v0 .chat-messages { min-height: 240px; max-height: 360px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 0.5rem; padding: 0.6rem 0.9rem; }
/* remove the original bottom-anchor spacer so messages fill from the TOP down
   (first message lands in row 1, second in row 2, etc.) */
.home-v0 .chat-embed-v0 .chat-messages::before { content: none; display: none; flex: 0; }
/* scrollbar (the "slider") + soft edge fade only appear once the window has materialized */
.home-v0 .chat-embed-v0.chrome-shown .chat-messages {
  overflow-y: auto; overflow-x: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.home-v0 .chat-embed-v0 .chat-messages::-webkit-scrollbar { width: 8px; }
.home-v0 .chat-embed-v0 .chat-messages::-webkit-scrollbar-track { background: transparent; }
.home-v0 .chat-embed-v0 .chat-messages::-webkit-scrollbar-thumb { background: oklch(0.7 0.17 32 / 0.4); border-radius: 8px; }
.home-v0 .chat-embed-v0 .chat-messages::-webkit-scrollbar-thumb:hover { background: oklch(0.7 0.17 32 / 0.6); }
.home-v0 .chat-embed-v0 .chat-messages { scrollbar-width: thin; scrollbar-color: oklch(0.7 0.17 32 / 0.4) transparent; }
.home-v0 .chat-embed-v0 .chat-input-wrapper { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.75rem; }
.home-v0 .chat-embed-v0 .chat-input {
  flex: 1; background: oklch(0.18 0.012 264); border: 1px solid var(--v0-border); color: var(--v0-fg);
  border-radius: 0.7rem; padding: 0.7rem 0.9rem; font-size: 0.9rem; outline: none;
}
.home-v0 .chat-embed-v0 .chat-input:focus { border-color: oklch(0.7 0.17 32 / 0.5); }
.home-v0 .chat-embed-v0 .chat-send-btn { background: var(--v0-coral); color: oklch(0.16 0.012 264); border: none; border-radius: 0.7rem; padding: 0.7rem 1.1rem; font-weight: 600; cursor: pointer; box-shadow: var(--v0-glow-coral); }
.home-v0 .chat-embed-v0 .emoji-picker-btn { background: transparent; border: 1px solid var(--v0-border); color: oklch(0.7 0.012 250); border-radius: 0.6rem; padding: 0.5rem; cursor: pointer; }
.home-v0 .chat-embed-v0 .live-badge { background: var(--v0-coral); color: oklch(0.16 0.012 264); font-size: 0.6rem; font-weight: 800; border-radius: 4px; padding: 1px 4px; }
/* slow attention flash on the LIVE tab when someone is live (pulses every ~3.4s) */
.home-v0 .chat-embed-v0 .chat-tab.has-live .live-badge {
  animation: v0-live-flash 3.4s ease-in-out infinite;
}
@keyframes v0-live-flash {
  0%, 62%, 100% { box-shadow: 0 0 0 0 oklch(0.7 0.17 32 / 0); filter: none; transform: scale(1); }
  78% { box-shadow: 0 0 16px 3px oklch(0.7 0.17 32 / 0.7); filter: brightness(1.3); transform: scale(1.1); }
}
.home-v0 .chat-embed-v0 .chat-login-prompt a { color: var(--v0-teal); }

/* individual messages (matches chat.js markup) */
.home-v0 .chat-embed-v0 .chat-message { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.35rem 0.4rem; }
/* NOTE: do NOT override .chat-avatar-ring-container / .chat-message-avatar here —
   the real ring-badge system in style.css owns avatar + ring sizing/animations.
   Only give the avatar column a fixed lane so messages line up. */
.home-v0 .chat-embed-v0 .chat-message > .chat-avatar-ring-container,
.home-v0 .chat-embed-v0 .chat-message > .chat-message-avatar { flex: none; }
.home-v0 .chat-embed-v0 .chat-message-content { min-width: 0; flex: 1; }
.home-v0 .chat-embed-v0 .chat-message-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.15rem; }
.home-v0 .chat-embed-v0 .chat-message-username { font-size: 0.82rem; font-weight: 700; color: var(--v0-teal); }
.home-v0 .chat-embed-v0 .chat-message-username.self { color: var(--v0-coral); }
.home-v0 .chat-embed-v0 .chat-message-badge { width: 14px; height: 14px; border-radius: 3px; }
.home-v0 .chat-embed-v0 .chat-message-time { font-size: 0.68rem; color: oklch(0.6 0.012 250); }
.home-v0 .chat-embed-v0 .chat-message-text {
  display: inline-block; font-size: 0.9rem; line-height: 1.45; color: oklch(0.92 0.008 250);
  background: oklch(0.24 0.014 264 / 0.7); border: 1px solid var(--v0-border);
  border-radius: 0 0.8rem 0.8rem 0.8rem; padding: 0.45rem 0.75rem; max-width: 100%; word-wrap: break-word;
}
.home-v0 .chat-embed-v0 .chat-message.system .chat-message-text,
.home-v0 .chat-embed-v0 .chat-message.live-notification .chat-message-text {
  background: transparent; border: none; color: oklch(0.65 0.012 250); font-size: 0.8rem; padding: 0.25rem 0;
}
.home-v0 .chat-embed-v0 .chat-empty-state { text-align: center; color: oklch(0.65 0.012 250); padding: 2rem 1rem; }
.home-v0 .chat-embed-v0 .chat-empty-icon { font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.home-v0 .v0-cta-card {
  position: relative; overflow: hidden; border-radius: 1.5rem; padding: 4rem 1.5rem; text-align: center;
  border: 1px solid oklch(0.7 0.17 32 / 0.4); box-shadow: var(--v0-glow-coral);
}
.home-v0 .v0-cta-card .grid-drift { position: absolute; inset: 0; background-image: linear-gradient(oklch(1 0 0 / 0.025) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.025) 1px, transparent 1px); background-size: 32px 32px; opacity: 0.6; animation: v0-drift 8s linear infinite; }
.home-v0 .v0-cta-card .cta-glow { position: absolute; left: 50%; top: 0; width: 20rem; height: 20rem; transform: translateX(-50%); border-radius: 9999px; background: oklch(0.7 0.17 32 / 0.25); filter: blur(48px); animation: v0-pulse 4s var(--v0-ease) infinite; }
.home-v0 .v0-cta-card .inner { position: relative; }
.home-v0 .v0-cta-card h2 { margin: 1.25rem auto 0; max-width: 36rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .v0-cta-card p { margin: 1rem auto 0; max-width: 28rem; font-size: 1.1rem; line-height: 1.6; color: oklch(0.7 0.012 250); }
.home-v0 .v0-cta-card .cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
@keyframes v0-drift { from { background-position: 0 0; } to { background-position: 32px 32px; } }

/* ============================================================
   Footer override (homepage only, via :has)
   ============================================================ */
body:has(.home-v0) .footer { background: transparent; border-top: 1px solid oklch(1 0 0 / 10%); }
body:has(.home-v0) .footer .footer-links a:hover { color: oklch(0.78 0.12 195); }
body:has(.home-v0) .main-content { padding: 0; }

/* ============================================================
   Responsive niceties
   ============================================================ */
@media (max-width: 1023px) {
  .home-v0 .v0-path .intro { position: static; }
  .home-v0 .hero-art { margin-top: 2rem; }
}

/* ============================================================
   PRICING PAGE reskin — reuses the .home-v0 theme and overrides the
   existing pricing classes so the page's logic/forms stay untouched.
   ============================================================ */
.home-v0 .pricing-hero { padding: 9rem 0 1rem; text-align: center; }
.home-v0 .pricing-hero .section-title { font-family: var(--v0-font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .pricing-hero .section-subtitle { color: oklch(0.7 0.012 250); font-size: 1.1rem; margin-top: 0.75rem; }

/* billing tabs */
.home-v0 .billing-tabs { background: oklch(0.22 0.014 264 / 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--v0-border); border-radius: 1rem; }
.home-v0 .billing-tab { color: oklch(0.7 0.012 250); font-family: var(--v0-font-head); border-radius: 0.7rem; transition: all 0.2s var(--v0-ease); }
.home-v0 .billing-tab:hover { color: #fff; background: oklch(1 0 0 / 0.05); }
.home-v0 .billing-tab.active { background: var(--v0-coral); color: oklch(0.16 0.012 264); box-shadow: var(--v0-glow-coral); }

/* cards */
.home-v0 .pricing-card {
  position: relative; background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; color: var(--v0-fg);
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s var(--v0-ease), border-color 0.3s var(--v0-ease);
}
.home-v0 .pricing-card:hover { transform: translateY(-8px); border-color: oklch(0.7 0.17 32 / 0.45); box-shadow: 0 0 44px oklch(0.7 0.17 32 / 0.22); }
.home-v0 .pricing-card-popular { border-color: oklch(0.7 0.17 32 / 0.5); box-shadow: var(--v0-glow-coral); }
.home-v0 .pricing-card-trial { border-color: oklch(0.78 0.12 195 / 0.5); }
.home-v0 .pricing-name { font-family: var(--v0-font-head); font-weight: 700; color: var(--v0-fg); }
.home-v0 .pricing-subtitle, .home-v0 .pricing-description { color: oklch(0.7 0.012 250); }
.home-v0 .price-amount { color: var(--v0-fg); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .price-period { color: oklch(0.7 0.012 250); }
.home-v0 .pricing-features .feature-item { color: oklch(0.8 0.01 250); }
.home-v0 .feature-check { color: var(--v0-coral); }
.home-v0 .pricing-card-trial .feature-check, .home-v0 .pricing-card-maestro .feature-check { color: var(--v0-teal); }

/* buttons (match the v0 look; logic/markup unchanged) */
.home-v0 .pricing-action .btn-primary,
.home-v0 .pricing-action .btn-maestro { background: var(--v0-coral); color: oklch(0.16 0.012 264); border: none; box-shadow: var(--v0-glow-coral); }
.home-v0 .pricing-action .btn-primary:hover,
.home-v0 .pricing-action .btn-maestro:hover { transform: translateY(-1px); filter: brightness(1.05); }
.home-v0 .pricing-action .btn-outline { background: transparent; color: var(--v0-fg); border: 1px solid var(--v0-border); }
.home-v0 .pricing-action .btn-outline:hover { background: oklch(0.25 0.02 230); }

/* badges */
.home-v0 .savings-badge, .home-v0 .trial-badge { background: var(--v0-teal); color: oklch(0.16 0.012 264); box-shadow: var(--v0-glow-teal); }
.home-v0 .onetime-badge, .home-v0 .maestro-badge, .home-v0 .current-plan-badge, .home-v0 .coming-soon-badge { background: var(--v0-coral); color: oklch(0.16 0.012 264); }

/* replace the two ugly corner ribbons with one clean "MOST POPULAR" pill
   (top-left so it never collides with the centered savings/one-time badges) */
.home-v0 .popular-ribbon-left, .home-v0 .popular-ribbon-right { display: none !important; }
.home-v0 .pricing-card-popular { overflow: visible; }
.home-v0 .pricing-card-popular::before {
  content: "MOST POPULAR";
  position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%); z-index: 4;
  background: var(--v0-coral); color: oklch(0.16 0.012 264);
  font-family: 'Press Start 2P', monospace; font-size: 8px; letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem; border-radius: 9999px; box-shadow: var(--v0-glow-coral);
  white-space: nowrap;
}
/* when a popular card ALSO has a savings / one-time badge, stack them vertically:
   MOST POPULAR pill (overhang) -> badge -> content */
.home-v0 .pricing-card-popular:has(.savings-badge),
.home-v0 .pricing-card-popular:has(.onetime-badge) { padding-top: 3.6rem; }
.home-v0 .pricing-card-popular .savings-badge,
.home-v0 .pricing-card-popular .onetime-badge { top: 1.5rem; }

/* banners + notices */
.home-v0 .current-plan-banner { background: oklch(0.78 0.12 195 / 0.08); border-color: oklch(0.78 0.12 195 / 0.3); color: var(--v0-fg); }
.home-v0 .current-plan-banner .banner-note { color: oklch(0.7 0.012 250); }
.home-v0 .plan-switch-note, .home-v0 .pricing-note { color: oklch(0.7 0.012 250); }

/* FAQ — richer than plain boxes: accent bar + hover glow */
.home-v0 .faq { padding-bottom: 1rem; }
.home-v0 .faq .section-title { font-family: var(--v0-font-head); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 62rem; margin: 2.5rem auto 0; }
@media (max-width: 760px) { .home-v0 .faq-grid { grid-template-columns: 1fr; } }
.home-v0 .faq-item {
  position: relative; overflow: hidden;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem;
  padding: 1.4rem 1.5rem 1.4rem 1.75rem;
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s var(--v0-ease), border-color 0.3s var(--v0-ease);
}
.home-v0 .faq-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--v0-coral), var(--v0-teal)); opacity: 0.75;
}
.home-v0 .faq-item:hover { transform: translateY(-4px); border-color: oklch(0.7 0.17 32 / 0.4); box-shadow: 0 0 36px oklch(0.7 0.17 32 / 0.16); }
.home-v0 .faq-question { font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); margin: 0 0 0.5rem; font-size: 1.02rem; }
.home-v0 .faq-answer { color: oklch(0.72 0.012 250); line-height: 1.6; margin: 0; font-size: 0.92rem; }

/* promo box */
.home-v0 .promo-code-box { background: oklch(0.22 0.014 264 / 0.55); border: 1px solid var(--v0-border); }
.home-v0 .promo-code-box h4 { color: var(--v0-fg); }
.home-v0 .promo-code-input-group input { background: oklch(0.18 0.012 264); border: 1px solid var(--v0-border); color: var(--v0-fg); }
.home-v0 .promo-code-input-group input:focus { border-color: oklch(0.7 0.17 32 / 0.5); }

/* ============================================================
   SHARED button override for reskinned inner pages — restyles the
   existing .btn classes to the v0 look. Lower specificity than the
   per-page overrides (e.g. .home-v0 .pricing-action .btn-primary), so
   those still win where defined.
   ============================================================ */
.home-v0 .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.7rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--v0-ease), background 0.2s, filter 0.2s;
}
.home-v0 .btn-sm { height: 2.4rem; padding: 0 1.1rem; font-size: 0.9rem; }
.home-v0 .btn-lg { height: 3rem; padding: 0 2rem; font-size: 1rem; }
.home-v0 .btn-primary { background: var(--v0-coral); color: oklch(0.16 0.012 264); box-shadow: var(--v0-glow-coral); }
.home-v0 .btn-primary:hover { transform: scale(1.04); filter: brightness(1.04); }
.home-v0 .btn-outline { background: transparent; color: var(--v0-fg); border-color: var(--v0-border); }
.home-v0 .btn-outline:hover { background: oklch(0.25 0.02 230); }

/* ============================================================
   FEATURES PAGE reskin — overrides the existing feature classes so
   the markup/structure stays, only the look changes.
   ============================================================ */
.home-v0 .section-container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.home-v0 .section-title { font-family: var(--v0-font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; color: var(--v0-fg); }
.home-v0 .section-subtitle { color: oklch(0.7 0.012 250); font-size: 1.1rem; line-height: 1.6; }
.home-v0 .gradient-text { background: none; -webkit-text-fill-color: var(--v0-coral); color: var(--v0-coral); text-shadow: 0 0 12px oklch(0.7 0.17 32 / 0.7), 0 0 28px oklch(0.7 0.17 32 / 0.4); }

/* hero */
.home-v0 .features-hero { padding: 9rem 0 2rem; text-align: center; }
.home-v0 .features-hero .v0-eyebrow { display: inline-block; margin-bottom: 1rem; }
.home-v0 .features-hero .section-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.home-v0 .features-hero .section-subtitle { max-width: 38rem; margin: 1rem auto 0; }

/* alternating showcase rows */
.home-v0 .features-main { padding: 3rem 0; }
.home-v0 .feature-showcase { display: grid; gap: 2.5rem; align-items: center; padding: 2.5rem 0; }
@media (min-width: 900px) { .home-v0 .feature-showcase { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .home-v0 .feature-showcase-reverse .feature-showcase-visual { order: -1; } }
.home-v0 .feature-tag {
  display: inline-block; font-family: var(--v0-font-pixel); font-size: 8px; letter-spacing: 0.04em;
  color: var(--v0-teal); border: 1px solid oklch(0.78 0.12 195 / 0.45); border-radius: 9999px; padding: 5px 9px;
}
.home-v0 .feature-showcase-content h2 { margin-top: 1rem; font-family: var(--v0-font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .feature-showcase-content > p { margin-top: 0.85rem; color: oklch(0.7 0.012 250); line-height: 1.6; font-size: 1rem; }
.home-v0 .feature-highlights { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.home-v0 .feature-highlights li { position: relative; padding-left: 1.5rem; color: oklch(0.78 0.01 250); font-size: 0.95rem; }
.home-v0 .feature-highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--v0-coral); font-weight: 700; }

/* showcase mockups (glass panels) */
.home-v0 .feature-mockup {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1.1rem; padding: 1.25rem;
  box-shadow: 0 0 40px oklch(0.7 0.17 32 / 0.1);
}
.home-v0 .mockup-header { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.home-v0 .mockup-dot { width: 11px; height: 11px; border-radius: 50%; background: oklch(0.4 0.02 264); }
.home-v0 .mockup-dot:nth-child(1) { background: var(--v0-coral); }
.home-v0 .mockup-dot:nth-child(2) { background: var(--v0-teal); }
.home-v0 .mockup-waveform {
  position: relative; overflow: hidden;
  height: 70px; border-radius: 0.6rem; margin-bottom: 1rem; padding: 0 0.5rem;
  display: flex; align-items: center; gap: 3px;
  background: oklch(0.18 0.012 264); border: 1px solid var(--v0-border);
}
/* animated equalizer bars (built by home-redesign.js) + a sweeping playhead */
.home-v0 .mockup-waveform .wbar {
  flex: 1 1 0; min-width: 2px; height: 76%; border-radius: 2px;
  background: linear-gradient(to top, var(--v0-coral), var(--v0-teal));
  transform-origin: center; transform: scaleY(0.25);
  animation: v0-eq 1.1s var(--v0-ease) infinite alternate;
}
.home-v0 .mockup-waveform::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px;
  background: var(--v0-teal); box-shadow: var(--v0-glow-teal);
  animation: v0-playhead 3.4s linear infinite;
}
@keyframes v0-eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes v0-playhead { from { left: 2%; } to { left: 98%; } }
.home-v0 .mockup-chords { display: flex; gap: 0.5rem; }
.home-v0 .mockup-chord {
  font-family: var(--v0-font-pixel); font-size: 10px; color: var(--v0-teal);
  background: oklch(0.78 0.12 195 / 0.1); border: 1px solid oklch(0.78 0.12 195 / 0.35);
  border-radius: 0.5rem; padding: 0.5rem 0.6rem;
}
/* interactive: hover/click plays the note (wired in home-redesign.js) */
.home-v0 .mockup-chord.is-playable { cursor: pointer; transition: transform 0.15s var(--v0-ease), box-shadow 0.15s, color 0.15s, background 0.15s, border-color 0.15s; }
.home-v0 .mockup-chord.is-playable:hover { color: var(--v0-coral); border-color: oklch(0.7 0.17 32 / 0.5); }
.home-v0 .mockup-chord.hit { transform: translateY(-4px) scale(1.08); color: oklch(0.16 0.012 264); background: var(--v0-coral); box-shadow: var(--v0-glow-coral); }
.home-v0 .mockup-hint { margin-top: 0.75rem; text-align: center; font-size: 0.72rem; color: oklch(0.62 0.012 250); }
/* fretboard mockup — hover/click strums the open ukulele (wired in JS) */
.home-v0 .feature-mockup-fretboard.is-playable { cursor: pointer; }
.home-v0 .feature-mockup-fretboard .fretboard-display {
  position: relative; height: 160px; border: 1px solid var(--v0-border); border-radius: 0.7rem; overflow: hidden;
  /* faint vertical fret lines over the dark board */
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), oklch(1 0 0 / 0.07) calc(25% - 1px) 25%),
    oklch(0.18 0.012 264);
  transition: box-shadow 0.25s var(--v0-ease);
}
.home-v0 .feature-mockup-fretboard.is-playable:hover .fretboard-display { box-shadow: inset 0 0 0 1px oklch(0.78 0.12 195 / 0.4), 0 0 30px oklch(0.78 0.12 195 / 0.15); }
.home-v0 .feature-mockup-fretboard.strummed .fretboard-display { box-shadow: inset 0 0 0 1px oklch(0.7 0.17 32 / 0.6), 0 0 40px oklch(0.7 0.17 32 / 0.35); }
.home-v0 .fret-strings { position: absolute; inset: 1rem; display: flex; flex-direction: column; justify-content: space-between; }
.home-v0 .fret-string { height: 2px; background: oklch(1 0 0 / 0.18); }
.home-v0 .feature-mockup-fretboard.strummed .fret-string { background: oklch(0.78 0.12 195 / 0.6); box-shadow: 0 0 8px oklch(0.78 0.12 195 / 0.5); }
.home-v0 .finger-dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: grid; place-items: center; border-radius: 50%; background: var(--v0-coral); color: oklch(0.16 0.012 264); font-weight: 700; font-size: 0.8rem; box-shadow: var(--v0-glow-coral); }
.home-v0 .feature-mockup-fretboard.strummed .finger-dot { animation: v0-dot-pop 0.42s var(--v0-pop); }
@keyframes v0-dot-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.home-v0 .chord-name-display { margin-top: 0.85rem; text-align: center; font-family: var(--v0-font-pixel); font-size: 1.1rem; color: var(--v0-coral); text-shadow: 0 0 12px oklch(0.7 0.17 32 / 0.6); }

/* game mockup — chords fly toward the pulsing target line on a loop */
.home-v0 .feature-mockup-game .game-display { position: relative; height: 160px; background: oklch(0.18 0.012 264); border: 1px solid var(--v0-border); border-radius: 0.7rem; overflow: hidden; padding: 0.75rem; }
.home-v0 .game-score { font-family: var(--v0-font-pixel); font-size: 9px; color: var(--v0-teal); position: relative; z-index: 2; }
.home-v0 .game-rail { position: absolute; left: 0; right: 0; top: 52%; height: 0; }
.home-v0 .game-chord {
  position: absolute; top: -0.9rem; right: -14%;
  font-family: var(--v0-font-pixel); font-size: 11px; color: oklch(0.16 0.012 264);
  background: var(--v0-coral); border-radius: 0.4rem; padding: 0.45rem 0.55rem; box-shadow: var(--v0-glow-coral);
  animation: v0-game-slide 3s linear infinite;
}
.home-v0 .game-chord-1 { animation-delay: 0s; }
.home-v0 .game-chord-2 { background: var(--v0-teal); box-shadow: var(--v0-glow-teal); animation-delay: 1s; }
.home-v0 .game-chord-3 { animation-delay: 2s; }
@keyframes v0-game-slide {
  0%   { right: -14%; opacity: 0; }
  12%  { opacity: 1; }
  78%  { right: 78%; opacity: 1; transform: scale(1); }
  88%  { right: 80%; opacity: 0; transform: scale(1.35); }
  100% { right: 80%; opacity: 0; }
}
.home-v0 .game-target { position: absolute; left: 18%; top: 0; bottom: 0; width: 2px; background: oklch(0.78 0.12 195 / 0.7); box-shadow: var(--v0-glow-teal); animation: v0-pulse 3s ease-in-out infinite; }

/* feature grid (bento cards) */
.home-v0 .features-grid-section { padding: 4rem 0 2rem; text-align: center; }
.home-v0 .features-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; text-align: left; }
@media (min-width: 640px) { .home-v0 .features-grid { grid-template-columns: repeat(3, 1fr); } }
.home-v0 .feature-card {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.5rem;
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s, border-color 0.3s;
}
.home-v0 .feature-card:hover { transform: translateY(-8px); border-color: oklch(0.7 0.17 32 / 0.4); box-shadow: 0 0 40px oklch(0.7 0.17 32 / 0.18); }
.home-v0 .feature-icon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  font-size: 1.35rem; background: oklch(0.7 0.17 32 / 0.15); box-shadow: var(--v0-glow-coral);
  transition: transform 0.3s var(--v0-ease);
}
.home-v0 .feature-card:nth-child(even) .feature-icon { background: oklch(0.78 0.12 195 / 0.15); box-shadow: var(--v0-glow-teal); }
.home-v0 .feature-card:hover .feature-icon { transform: scale(1.1); }
.home-v0 .feature-title { margin-top: 1.25rem; font-family: var(--v0-font-head); font-size: 1.1rem; font-weight: 600; color: var(--v0-fg); }
.home-v0 .feature-desc { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.55; color: oklch(0.7 0.012 250); }

/* pro features */
.home-v0 .pro-features { padding: 4rem 0; text-align: center; }
.home-v0 .pro-badge {
  display: inline-block; font-family: var(--v0-font-pixel); font-size: 8px; letter-spacing: 0.04em;
  color: var(--v0-coral); border: 1px solid oklch(0.7 0.17 32 / 0.5); border-radius: 9999px; padding: 5px 9px; margin-bottom: 1rem;
}
.home-v0 .pro-features-header .section-subtitle { max-width: 34rem; margin: 0.75rem auto 0; }
.home-v0 .pro-features-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; text-align: left; }
@media (min-width: 640px) { .home-v0 .pro-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-v0 .pro-features-grid { grid-template-columns: repeat(4, 1fr); } }
.home-v0 .pro-feature-card {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.5rem;
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s, border-color 0.3s;
}
.home-v0 .pro-feature-card:hover { transform: translateY(-8px); border-color: oklch(0.78 0.12 195 / 0.4); box-shadow: 0 0 40px oklch(0.78 0.12 195 / 0.16); }
.home-v0 .pro-feature-icon { font-size: 1.6rem; }
.home-v0 .pro-feature-card h3 { margin-top: 0.85rem; font-family: var(--v0-font-head); font-size: 1.05rem; font-weight: 600; color: var(--v0-fg); }
.home-v0 .pro-feature-card p { margin-top: 0.5rem; font-size: 0.88rem; line-height: 1.55; color: oklch(0.7 0.012 250); }
.home-v0 .pro-cta { margin-top: 2.5rem; }

/* closing CTA reuses the homepage .v0-cta-card shell */
.home-v0 .cta { padding: 3rem 0 5rem; }
.home-v0 .cta .hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }
.home-v0 .cta-title { font-family: var(--v0-font-head); }

/* ============================================================
   ABOUT PAGE reskin
   ============================================================ */
.home-v0 .about-hero { padding: 9rem 0 2rem; text-align: center; }
.home-v0 .about-hero .v0-eyebrow { display: inline-block; margin-bottom: 1rem; }
.home-v0 .about-hero .section-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.home-v0 .about-hero .section-subtitle { max-width: 36rem; margin: 1rem auto 0; }

.home-v0 .about-story { padding: 2rem 0; }
.home-v0 .about-story .story-content {
  max-width: 48rem; margin: 0 auto;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1.25rem; padding: 2rem 2.25rem;
}
.home-v0 .about-story h2 { font-family: var(--v0-font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .about-story p { margin-top: 1rem; color: oklch(0.74 0.012 250); line-height: 1.7; }

.home-v0 .about-mission { padding: 3rem 0; }
.home-v0 .mission-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .home-v0 .mission-grid { grid-template-columns: repeat(3, 1fr); } }
.home-v0 .mission-card, .home-v0 .different-item, .home-v0 .community-card {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.75rem;
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s, border-color 0.3s;
}
.home-v0 .mission-card:hover, .home-v0 .different-item:hover, .home-v0 .community-card:hover {
  transform: translateY(-8px); border-color: oklch(0.7 0.17 32 / 0.4); box-shadow: 0 0 40px oklch(0.7 0.17 32 / 0.18);
}
.home-v0 .mission-icon { font-size: 2rem; }
.home-v0 .mission-card h3 { margin-top: 0.85rem; font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); }
.home-v0 .mission-card p { margin-top: 0.6rem; color: oklch(0.7 0.012 250); line-height: 1.6; font-size: 0.92rem; }

.home-v0 .about-different { padding: 3rem 0; text-align: center; }
.home-v0 .different-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; text-align: left; }
@media (min-width: 640px) { .home-v0 .different-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-v0 .different-grid { grid-template-columns: repeat(4, 1fr); } }
.home-v0 .different-number { font-family: var(--v0-font-pixel); font-size: 1rem; color: var(--v0-coral); text-shadow: 0 0 12px oklch(0.7 0.17 32 / 0.6); }
.home-v0 .different-item h4 { margin-top: 0.85rem; font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); }
.home-v0 .different-item p { margin-top: 0.5rem; color: oklch(0.7 0.012 250); line-height: 1.55; font-size: 0.9rem; }

.home-v0 .about-community { padding: 3rem 0 4rem; text-align: center; }
.home-v0 .about-community .section-subtitle { max-width: 34rem; margin: 0.75rem auto 0; }
.home-v0 .community-links { margin-top: 2.5rem; display: grid; gap: 1.25rem; text-align: center; }
@media (min-width: 768px) { .home-v0 .community-links { grid-template-columns: repeat(3, 1fr); } }
.home-v0 .community-card { text-decoration: none; color: inherit; display: block; }
.home-v0 .community-card:hover { border-color: oklch(0.78 0.12 195 / 0.4); box-shadow: 0 0 40px oklch(0.78 0.12 195 / 0.16); }
.home-v0 .community-icon { color: var(--v0-teal); display: inline-flex; }
.home-v0 .community-card h4 { margin-top: 0.85rem; font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); }
.home-v0 .community-card p { margin-top: 0.5rem; color: oklch(0.7 0.012 250); font-size: 0.9rem; }

/* ============================================================
   DOWNLOAD PAGE reskin
   ============================================================ */
.home-v0 .download-hero { padding: 9rem 0 2rem; text-align: center; }
.home-v0 .download-hero .v0-eyebrow { display: inline-block; margin-bottom: 1rem; }
.home-v0 .download-hero .section-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.home-v0 .download-hero .section-subtitle { max-width: 34rem; margin: 1rem auto 0; }

.home-v0 .download-section { padding: 2rem 0; }
.home-v0 .download-grid { display: grid; gap: 1.5rem; max-width: 52rem; margin: 0 auto; }
@media (min-width: 700px) { .home-v0 .download-grid { grid-template-columns: repeat(2, 1fr); } }
.home-v0 .download-card {
  position: relative; text-align: center;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1.25rem; padding: 2.25rem 1.75rem;
  transition: transform 0.3s var(--v0-ease), box-shadow 0.3s, border-color 0.3s;
}
.home-v0 .download-card-primary { border-color: oklch(0.7 0.17 32 / 0.5); box-shadow: var(--v0-glow-coral); }
.home-v0 .download-card-primary:hover { transform: translateY(-8px); box-shadow: var(--v0-glow-coral), 0 0 44px oklch(0.7 0.17 32 / 0.25); }
.home-v0 .download-card-disabled { opacity: 0.72; }
.home-v0 .coming-soon-overlay {
  position: absolute; top: 1rem; right: 1rem; font-family: var(--v0-font-pixel); font-size: 7px;
  color: var(--v0-teal); border: 1px solid oklch(0.78 0.12 195 / 0.45); border-radius: 9999px; padding: 5px 8px;
}
.home-v0 .download-icon { color: var(--v0-coral); display: inline-flex; filter: drop-shadow(0 0 16px oklch(0.7 0.17 32 / 0.5)); }
.home-v0 .download-card-disabled .download-icon { color: oklch(0.7 0.012 250); filter: none; }
.home-v0 .download-platform { margin-top: 1rem; font-family: var(--v0-font-head); font-size: 1.3rem; font-weight: 700; color: var(--v0-fg); }
.home-v0 .download-version { margin-top: 0.25rem; color: oklch(0.7 0.012 250); font-size: 0.9rem; }
.home-v0 .download-btn { margin-top: 1.25rem; }
.home-v0 .btn-block { width: 100%; }
.home-v0 .btn.disabled, .home-v0 .download-btn.disabled { background: transparent; color: oklch(0.6 0.012 250); border: 1px solid var(--v0-border); box-shadow: none; cursor: not-allowed; transform: none; }
.home-v0 .download-size { margin-top: 0.85rem; color: oklch(0.62 0.012 250); font-size: 0.8rem; }

.home-v0 .requirements { padding: 3rem 0; text-align: center; }
.home-v0 .requirements-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; max-width: 52rem; margin-left: auto; margin-right: auto; text-align: left; }
@media (min-width: 700px) { .home-v0 .requirements-grid { grid-template-columns: repeat(2, 1fr); } }
.home-v0 .requirements-card {
  position: relative;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.75rem;
}
.home-v0 .requirements-card-recommended { border-color: oklch(0.78 0.12 195 / 0.5); box-shadow: var(--v0-glow-teal); }
.home-v0 .recommended-badge {
  position: absolute; top: -0.7rem; left: 1.75rem; background: var(--v0-teal); color: oklch(0.16 0.012 264);
  font-family: var(--v0-font-pixel); font-size: 8px; border-radius: 9999px; padding: 0.35rem 0.7rem; box-shadow: var(--v0-glow-teal);
}
.home-v0 .requirements-title { font-family: var(--v0-font-head); font-weight: 700; color: var(--v0-fg); }
.home-v0 .requirements-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.home-v0 .requirements-list li { position: relative; padding-left: 1.4rem; color: oklch(0.74 0.012 250); font-size: 0.92rem; }
.home-v0 .requirements-list li::before { content: "▸"; position: absolute; left: 0; color: var(--v0-coral); }
.home-v0 .requirements-list strong { color: var(--v0-fg); }

.home-v0 .installation { padding: 3rem 0 4rem; text-align: center; }
.home-v0 .installation-steps { margin-top: 2.5rem; display: grid; gap: 1rem; max-width: 44rem; margin-left: auto; margin-right: auto; text-align: left; }
.home-v0 .installation-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.25rem 1.5rem;
}
.home-v0 .step-number {
  flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--v0-coral); color: oklch(0.16 0.012 264); font-weight: 700; box-shadow: var(--v0-glow-coral);
}
.home-v0 .step-content h4 { font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); }
.home-v0 .step-content p { margin-top: 0.35rem; color: oklch(0.7 0.012 250); font-size: 0.92rem; line-height: 1.5; }

/* ============================================================
   LEGAL PAGES (terms / privacy) reskin
   ============================================================ */
.home-v0 .legal-container { max-width: 52rem; margin: 0 auto; padding: 9rem 1.5rem 5rem; }
.home-v0 .legal-card {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1.25rem; padding: 2.5rem;
}
.home-v0 .legal-card h1 { font-family: var(--v0-font-head); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .legal-updated { margin-top: 0.5rem; color: var(--v0-teal); font-family: var(--v0-font-pixel); font-size: 8px; }
.home-v0 .legal-section { margin-top: 2rem; }
.home-v0 .legal-section h2 { font-family: var(--v0-font-head); font-size: 1.2rem; font-weight: 700; color: var(--v0-fg); }
.home-v0 .legal-section h3 { margin-top: 1rem; font-family: var(--v0-font-head); font-size: 1rem; font-weight: 600; color: var(--v0-coral); }
.home-v0 .legal-section p { margin-top: 0.75rem; color: oklch(0.74 0.012 250); line-height: 1.7; }
.home-v0 .legal-section ul { margin: 0.75rem 0 0; padding-left: 1.4rem; color: oklch(0.74 0.012 250); line-height: 1.7; }
.home-v0 .legal-section li { margin-top: 0.3rem; }
.home-v0 .legal-section li::marker { color: var(--v0-coral); }
.home-v0 .legal-section strong { color: var(--v0-fg); }
.home-v0 .legal-section a { color: var(--v0-teal); }

/* ============================================================
   SUPPORT PAGE reskin — recolor the page's embedded dark theme to
   coral/teal; logic/markup untouched. Higher specificity (.home-v0 …)
   wins over the in-page <style> single-class rules.
   ============================================================ */
.home-v0 .support-container { padding-top: 8rem; }
.home-v0 .support-container > h1 { font-family: var(--v0-font-head); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.home-v0 .section-desc { color: oklch(0.72 0.012 250); line-height: 1.6; }
.home-v0 .thread-item, .home-v0 .support-view-pane, .home-v0 .visitor-form-card, .home-v0 .visitor-thanks {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--v0-border);
}
.home-v0 .thread-item:hover, .home-v0 .thread-item.active { border-color: oklch(0.7 0.17 32 / 0.5); }
.home-v0 .thread-item.active { background: oklch(0.7 0.17 32 / 0.08); }
.home-v0 .thread-subject { color: var(--v0-fg); }
.home-v0 .msg-bubble.user { background: var(--v0-coral); color: oklch(0.16 0.012 264); }
.home-v0 .msg-bubble.admin { background: oklch(0.24 0.014 264 / 0.7); border-color: var(--v0-border); color: var(--v0-fg); }
.home-v0 .new-form input, .home-v0 .new-form select, .home-v0 .new-form textarea,
.home-v0 .reply-form textarea { background: oklch(0.18 0.012 264); border: 1px solid var(--v0-border); color: var(--v0-fg); }
.home-v0 .new-form input:focus, .home-v0 .new-form select:focus, .home-v0 .new-form textarea:focus,
.home-v0 .reply-form textarea:focus { border-color: oklch(0.7 0.17 32 / 0.5); outline: none; }
.home-v0 .thread-cat-pill { background: oklch(0.78 0.12 195 / 0.12); color: var(--v0-teal); }

/* ============================================================
   AUTH PAGES reskin (sign in / register / password / verify) —
   one centered glass card on the animated background.
   ============================================================ */
.home-v0 .auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 1.5rem 4rem; }
.home-v0 .auth-card {
  width: 100%; max-width: 27rem;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1.25rem; padding: 2.25rem;
  box-shadow: 0 0 50px oklch(0.7 0.17 32 / 0.12);
}
.home-v0 .auth-header { text-align: center; margin-bottom: 1.75rem; }
.home-v0 .auth-header .v0-eyebrow { display: inline-block; margin-bottom: 0.75rem; }
.home-v0 .auth-header h1 { font-family: var(--v0-font-head); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; color: var(--v0-fg); }
.home-v0 .auth-header p { margin-top: 0.5rem; color: oklch(0.7 0.012 250); font-size: 0.95rem; }

.home-v0 .auth-options { display: grid; gap: 0.85rem; }
.home-v0 .auth-option {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: inherit;
  background: oklch(0.18 0.012 264 / 0.6); border: 1px solid var(--v0-border); border-radius: 0.85rem; padding: 0.9rem 1rem;
  transition: transform 0.2s var(--v0-ease), box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.home-v0 .auth-option:hover { transform: translateY(-2px); border-color: oklch(0.7 0.17 32 / 0.45); box-shadow: 0 0 30px oklch(0.7 0.17 32 / 0.16); }
.home-v0 .auth-option .option-icon { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; background: oklch(1 0 0 / 0.05); color: var(--v0-fg); }
.home-v0 .discord-option .option-icon { color: #fff; background: oklch(0.5 0.2 274 / 0.3); }
.home-v0 .email-option .option-icon { color: var(--v0-teal); background: oklch(0.78 0.12 195 / 0.12); }
.home-v0 .auth-option .option-content { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; text-align: left; }
.home-v0 .auth-option .option-title { font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); font-size: 0.95rem; }
.home-v0 .auth-option .option-desc { color: oklch(0.68 0.012 250); font-size: 0.8rem; }
.home-v0 .auth-option .option-arrow { flex: none; color: oklch(0.6 0.012 250); transition: transform 0.2s var(--v0-ease), color 0.2s; }
.home-v0 .auth-option:hover .option-arrow { color: var(--v0-coral); transform: translateX(4px); }

.home-v0 .auth-divider { display: flex; align-items: center; gap: 0.75rem; color: oklch(0.6 0.012 250); font-size: 0.8rem; margin: 0.25rem 0; }
.home-v0 .auth-divider::before, .home-v0 .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--v0-border); }

.home-v0 .auth-footer { margin-top: 1.75rem; text-align: center; color: oklch(0.7 0.012 250); font-size: 0.9rem; }
.home-v0 .auth-footer a { color: var(--v0-teal); font-weight: 600; }

/* shared auth FORM controls (used by the email login / register / reset
   pages once they're reskinned — defined now so they're ready). */
.home-v0 .auth-form { display: grid; gap: 1rem; }
.home-v0 .form-group { display: grid; gap: 0.4rem; text-align: left; }
.home-v0 .form-group label { font-size: 0.85rem; color: oklch(0.72 0.012 250); font-weight: 500; }
.home-v0 .auth-card input[type="text"],
.home-v0 .auth-card input[type="email"],
.home-v0 .auth-card input[type="password"] {
  width: 100%; background: oklch(0.18 0.012 264); border: 1px solid var(--v0-border); color: var(--v0-fg);
  border-radius: 0.7rem; padding: 0.75rem 0.9rem; font-size: 0.95rem; font-family: var(--v0-font-head); outline: none;
  transition: border-color 0.2s var(--v0-ease), box-shadow 0.2s var(--v0-ease);
}
.home-v0 .auth-card input::placeholder { color: oklch(0.55 0.012 250); }
.home-v0 .auth-card input:focus { border-color: oklch(0.7 0.17 32 / 0.5); box-shadow: 0 0 0 3px oklch(0.7 0.17 32 / 0.12); }
.home-v0 .auth-card .btn-block { width: 100%; }

/* ============================================================
   USER DASHBOARD reskin — recolour the page's embedded purple theme
   to the v0 coral/teal palette and turn cards into glass. The page's
   logic/markup is untouched; higher specificity (.home-v0 …) wins.
   ============================================================ */
.home-v0 .dashboard-container { max-width: 72rem; padding-top: 8rem; }
.home-v0 .dashboard-card {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem;
}
.home-v0 .dashboard-card h2, .home-v0 .dashboard-card h3, .home-v0 .card-title { font-family: var(--v0-font-head); color: var(--v0-fg); }
.home-v0 .user-details h1 { font-family: var(--v0-font-head); font-weight: 700; letter-spacing: -0.01em; color: var(--v0-fg); }
.home-v0 .user-email { color: oklch(0.68 0.012 250); }
.home-v0 .email-toggle-btn:hover { color: var(--v0-coral); }
.home-v0 .auth-badge-email { background: oklch(0.78 0.12 195 / 0.14); color: var(--v0-teal); }
.home-v0 .card-subtitle { color: oklch(0.68 0.012 250); }

/* quick-action tiles */
.home-v0 .action-btn { background: oklch(0.18 0.012 264 / 0.6); border: 1px solid var(--v0-border); color: oklch(0.78 0.012 250); border-radius: 0.8rem; transition: transform 0.2s var(--v0-ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.home-v0 .action-btn:hover { background: oklch(0.7 0.17 32 / 0.12); color: var(--v0-coral); border-color: oklch(0.7 0.17 32 / 0.4); transform: translateY(-3px); box-shadow: 0 0 26px oklch(0.7 0.17 32 / 0.15); }

/* referral card */
.home-v0 .referral-card { border-color: oklch(0.7 0.17 32 / 0.3); }
.home-v0 .referral-label, .home-v0 .stat-label, .home-v0 .progress-text, .home-v0 .referral-link-hint { color: oklch(0.68 0.012 250); }
.home-v0 .referral-code { color: var(--v0-coral); background: oklch(0.7 0.17 32 / 0.14); }
.home-v0 .copy-btn:hover { color: var(--v0-coral); background: oklch(0.7 0.17 32 / 0.16); }
.home-v0 .referral-link-hint code { background: oklch(0.14 0.01 264); }
.home-v0 .stat-value { color: var(--v0-fg); }
.home-v0 .progress-fill { background: linear-gradient(90deg, var(--v0-coral), var(--v0-teal)); box-shadow: var(--v0-glow-coral); }

/* badge picker grid */
.home-v0 .badge-selector-hint { color: oklch(0.62 0.012 250); }
.home-v0 .badge-tier-option { background: oklch(0.18 0.012 264 / 0.6); }
.home-v0 .badge-tier-option:hover { background: oklch(0.7 0.17 32 / 0.1); border-color: oklch(0.7 0.17 32 / 0.4); }
.home-v0 .badge-tier-option.selected { border-color: var(--v0-coral); background: oklch(0.7 0.17 32 / 0.15); }
.home-v0 .badge-tier-option.selected .badge-tier-req { color: var(--v0-coral); }
.home-v0 .badge-tier-name { color: oklch(0.85 0.01 250); }
.home-v0 .exclusive-badges-cta { color: var(--v0-teal); }

/* toggles, radios, sliders */
.home-v0 .toggle-label input:checked + .toggle-slider { background: oklch(0.7 0.17 32 / 0.3); }
.home-v0 .toggle-label input:checked + .toggle-slider::after { background: var(--v0-coral); }
.home-v0 .toggle-text, .home-v0 .radio-label { color: oklch(0.78 0.012 250); }
.home-v0 .radio-label input { accent-color: var(--v0-coral); }
.home-v0 .offset-slider::-webkit-slider-thumb { background: var(--v0-coral); }
.home-v0 .offset-slider::-moz-range-thumb { background: var(--v0-coral); }

/* monthly leaderboard */
.home-v0 .monthly-rank-tag { background: oklch(0.7 0.17 32 / 0.18); color: var(--v0-coral); border-radius: 9999px; padding: 2px 10px; font-size: 0.75rem; }
.home-v0 .leaderboard-table { width: 100%; border-collapse: collapse; }
.home-v0 .leaderboard-table th { color: oklch(0.66 0.012 250); font-size: 0.78rem; text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--v0-border); }
.home-v0 .leaderboard-table td { color: oklch(0.8 0.01 250); padding: 0.55rem 0.6rem; border-bottom: 1px solid oklch(1 0 0 / 0.05); }
.home-v0 .leaderboard-empty { color: oklch(0.6 0.012 250); text-align: center; }

/* linked accounts + recruiter */
.home-v0 .linked-account-label { color: var(--v0-fg); }
.home-v0 .linked-account-value { color: oklch(0.7 0.012 250); }
.home-v0 .recruiter-name { color: oklch(0.82 0.01 250); }
.home-v0 .recruiter-avatar-placeholder, .home-v0 .user-avatar-placeholder { background: linear-gradient(135deg, var(--v0-coral), oklch(0.6 0.17 25)); }

/* ---- extra auth-flow bits (email login / register / verify / reset) ---- */
.home-v0 .form-hint { font-size: 0.78rem; color: oklch(0.6 0.012 250); }
.home-v0 .optional { color: oklch(0.6 0.012 250); font-weight: 400; }
.home-v0 .form-actions { display: flex; justify-content: flex-end; }
.home-v0 .forgot-link { color: var(--v0-teal); font-size: 0.82rem; text-decoration: none; }
.home-v0 .forgot-link:hover { text-decoration: underline; }
.home-v0 .auth-alternatives { display: grid; gap: 0.6rem; }
.home-v0 .btn-discord, .home-v0 .btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: oklch(0.18 0.012 264 / 0.7); border: 1px solid var(--v0-border); color: var(--v0-fg);
  border-radius: 0.7rem; height: 2.9rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s var(--v0-ease), border-color 0.2s, transform 0.2s;
}
.home-v0 .btn-discord:hover { border-color: oklch(0.5 0.2 274 / 0.6); background: oklch(0.5 0.2 274 / 0.18); transform: translateY(-1px); }
.home-v0 .btn-google:hover { border-color: oklch(0.7 0.012 250 / 0.5); background: oklch(0.25 0.02 230); transform: translateY(-1px); }
/* verify-email / verified icon + copy */
.home-v0 .auth-icon { text-align: center; margin-bottom: 1.25rem; }
.home-v0 .auth-icon svg { margin: 0 auto; display: block; }
.home-v0 .auth-icon:not(.success-icon) svg { stroke: var(--v0-coral); }
.home-v0 .email-display { font-weight: 700; color: var(--v0-coral); font-size: 1.05rem; }
.home-v0 .auth-content { text-align: center; }
.home-v0 .verify-instructions { color: oklch(0.8 0.01 250); margin-bottom: 0.75rem; }
.home-v0 .verify-note { color: oklch(0.62 0.012 250); font-size: 0.9rem; }
.home-v0 .auth-actions { margin-top: 1.5rem; }

/* ============================================================
   SUCCESS + ERROR pages reskin
   ============================================================ */
.home-v0 .success-page, .home-v0 .error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 1.5rem 4rem; }
.home-v0 .success-card, .home-v0 .error-card {
  width: 100%; max-width: 34rem; text-align: center;
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1.25rem; padding: 2.5rem;
}
.home-v0 .success-card .success-icon {
  width: 4rem; height: 4rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%;
  background: oklch(0.7 0.17 32 / 0.15); color: var(--v0-coral); font-size: 1.8rem; box-shadow: var(--v0-glow-coral);
}
.home-v0 .success-title { font-family: var(--v0-font-head); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--v0-fg); }
.home-v0 .success-message { margin-top: 0.75rem; color: oklch(0.74 0.012 250); line-height: 1.6; }
.home-v0 .success-details { margin-top: 1.25rem; }
.home-v0 .plan-name { display: inline-block; font-family: var(--v0-font-pixel); font-size: 9px; color: var(--v0-coral); border: 1px solid oklch(0.7 0.17 32 / 0.5); border-radius: 9999px; padding: 0.5rem 0.8rem; }
.home-v0 .success-next-steps { margin-top: 1.5rem; text-align: left; background: oklch(0.18 0.012 264 / 0.6); border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.25rem 1.5rem; }
.home-v0 .success-next-steps h3 { font-family: var(--v0-font-head); color: var(--v0-fg); margin: 0 0 0.5rem; }
.home-v0 .next-steps-list { margin: 0; padding-left: 1.25rem; color: oklch(0.74 0.012 250); line-height: 1.7; }
.home-v0 .next-steps-list strong { color: var(--v0-fg); }
.home-v0 .success-actions, .home-v0 .error-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.home-v0 .error-code { font-family: var(--v0-font-pixel); font-size: clamp(2.5rem, 8vw, 4.5rem); color: var(--v0-coral); text-shadow: 0 0 18px oklch(0.7 0.17 32 / 0.6); }
.home-v0 .error-title { margin-top: 0.75rem; font-family: var(--v0-font-head); font-size: 1.6rem; font-weight: 700; color: var(--v0-fg); }
.home-v0 .error-description { margin-top: 0.75rem; color: oklch(0.72 0.012 250); line-height: 1.6; }

/* ============================================================
   MANAGE SUBSCRIPTION page reskin
   ============================================================ */
.home-v0 .manage-page { padding: 9rem 0 5rem; }
.home-v0 .manage-page .section-title { text-align: center; margin-bottom: 2rem; }
.home-v0 .manage-grid { display: grid; gap: 1.25rem; max-width: 52rem; margin: 0 auto; }
.home-v0 .manage-card {
  background: oklch(0.22 0.014 264 / 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--v0-border); border-radius: 1rem; padding: 1.75rem;
}
.home-v0 .manage-card-queued { border-color: oklch(0.78 0.12 195 / 0.4); }
.home-v0 .manage-card .card-title { font-family: var(--v0-font-head); font-weight: 700; color: var(--v0-fg); margin: 0 0 1rem; }
.home-v0 .plan-info { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.home-v0 .plan-tier { font-family: var(--v0-font-head); font-size: 1.4rem; font-weight: 700; color: var(--v0-fg); }
.home-v0 .plan-billing-badge { font-family: var(--v0-font-pixel); font-size: 7px; border-radius: 9999px; padding: 5px 8px; border: 1px solid var(--v0-border); color: oklch(0.78 0.012 250); }
.home-v0 .plan-billing-unlimited { color: var(--v0-coral); border-color: oklch(0.7 0.17 32 / 0.5); }
.home-v0 .plan-billing-yearly { color: var(--v0-teal); border-color: oklch(0.78 0.12 195 / 0.5); }
.home-v0 .plan-status { font-size: 0.78rem; padding: 0.2rem 0.6rem; border-radius: 9999px; background: oklch(0.7 0.17 32 / 0.12); color: var(--v0-coral); }
.home-v0 .plan-status.status-active { background: rgba(34,197,94,0.16); color: #22c55e; }
.home-v0 .plan-dates { margin-top: 1rem; color: oklch(0.74 0.012 250); line-height: 1.6; }
.home-v0 .plan-dates strong { color: var(--v0-fg); }
.home-v0 .manage-actions { display: grid; gap: 0.75rem; }
.home-v0 .manage-action {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none;
  background: oklch(0.18 0.012 264 / 0.6); border: 1px solid var(--v0-border); border-radius: 0.85rem; padding: 1rem 1.1rem;
  transition: transform 0.2s var(--v0-ease), border-color 0.2s, box-shadow 0.2s;
}
.home-v0 a.manage-action:hover { transform: translateY(-2px); border-color: oklch(0.7 0.17 32 / 0.45); box-shadow: 0 0 26px oklch(0.7 0.17 32 / 0.14); }
.home-v0 .manage-action-danger:hover { border-color: oklch(0.6 0.2 25 / 0.6); box-shadow: 0 0 26px oklch(0.6 0.2 25 / 0.18); }
.home-v0 .manage-action-lifetime { border-color: oklch(0.7 0.17 32 / 0.4); }
.home-v0 .action-icon { font-size: 1.4rem; flex: none; }
.home-v0 .action-content { display: flex; flex-direction: column; gap: 0.15rem; }
.home-v0 .action-title { font-family: var(--v0-font-head); font-weight: 600; color: var(--v0-fg); }
.home-v0 .action-desc { font-size: 0.85rem; color: oklch(0.68 0.012 250); }
.home-v0 .queued-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.home-v0 .manage-note { max-width: 52rem; margin: 1.5rem auto 0; color: oklch(0.68 0.012 250); font-size: 0.9rem; line-height: 1.6; }
.home-v0 .manage-note strong { color: var(--v0-fg); }
.home-v0 .back-link { text-align: center; margin-top: 2rem; }
