/* ==========================================================================
   ABYZOR Variations 4 — launch landing /variations-v4/
   --------------------------------------------------------------------------
   Built on the ABYZOR design system (body.az-variations => green accent).
   One message carried top to bottom: one idea becomes a finished song.
   Two audiences, always side by side: new buyers ($6.99 with MIDIAI) and
   owners (free update).
   ========================================================================== */

.v4-page main { position: relative; }

.v4-page main::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

.v4-page main > * { position: relative; z-index: 1; }

.v4-accent { color: var(--az-accent); }
.v4-dim { color: var(--az-fg-3); }

.v4-led {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--az-variations);
  box-shadow: 0 0 0 3px rgba(102, 255, 102, 0.16), 0 0 12px rgba(102, 255, 102, 0.8);
  animation: v4-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes v4-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .v4-led { animation: none; } }

/* ---------- sticky buy bar ---------- */
.v4-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  border-top: 1px solid var(--az-line-2);
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform 0.35s ease;
}
.v4-sticky.is-hidden { transform: translateY(105%); pointer-events: none; }
.v4-sticky-inner {
  max-width: var(--az-max, 1200px);
  margin-inline: auto;
  padding: 11px var(--az-gutter, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.v4-sticky-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  min-width: 0;
  font-family: var(--az-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--az-fg-4);
}
.v4-sticky-label b {
  font-family: var(--az-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--az-fg);
  margin-right: 6px;
}
.v4-sticky-price { color: var(--az-variations); }
.v4-sticky-price s { color: var(--az-fg-4); margin-right: 4px; }
.v4-sticky-sep { width: 1px; height: 18px; background: var(--az-line-2); }
.v4-sticky-owners { color: var(--az-fg-2); }
.v4-sticky-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
@media (max-width: 820px) {
  .v4-sticky-label { display: none; }
  .v4-sticky-actions { width: 100%; }
  .v4-sticky-actions .az-btn { flex: 1; justify-content: center; }
  .v4-sticky-inner { padding-inline: 16px; }
}

/* ---------- hero ---------- */
.v4-hero {
  position: relative;
  padding-top: max(clamp(116px, 15vh, 156px), calc(var(--az-shell-header, 80px) + env(safe-area-inset-top, 0px) + 36px));
  padding-bottom: clamp(56px, 8vh, 96px);
  overflow: hidden;
}
.v4-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
@media (max-width: 980px) { .v4-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.v4-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.v4-h1 {
  font-family: var(--az-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--az-fg);
  margin: 0 0 26px;
  text-wrap: balance;
}
.v4-page .v4-h1 { line-height: 1; margin: 0 0 24px; }
.v4-h1 em { font-style: normal; color: var(--az-accent); display: block; }
.v4-hero-lede { font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.6; color: var(--az-fg-2); max-width: 54ch; margin: 0 0 26px; }
.v4-hero-lede b { color: var(--az-fg); }

.v4-buy {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--az-variations) 34%, transparent);
  background: linear-gradient(180deg, rgba(102, 255, 102, 0.07), rgba(102, 255, 102, 0.015));
  max-width: 520px;
}
.v4-buy-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 14px; }
.v4-buy-amt { font-family: var(--az-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--az-fg); line-height: 1; }
.v4-buy-was { font-family: var(--az-mono); font-size: 0.8rem; color: var(--az-fg-4); }
.v4-buy-was s { margin-right: 4px; }
.v4-buy-code {
  font-family: var(--az-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--az-variations);
  border: 1px dashed color-mix(in srgb, var(--az-variations) 55%, transparent);
  border-radius: 6px;
  padding: 5px 8px;
}
.v4-buy-terms { margin: 0; font-size: 0.82rem; color: var(--az-fg-3); }
.v4-buy .az-btn { justify-content: center; }
.v4-secure { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.75rem; color: var(--az-fg-4); }
.v4-secure img { opacity: 0.8; }

.v4-owner-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  max-width: 520px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--az-line-2);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.92rem;
  color: var(--az-fg-2);
}
.v4-owner-note i { color: var(--az-variations); margin-top: 3px; }
.v4-owner-note b { color: var(--az-fg); }
.v4-owner-note a { color: var(--az-variations); }

.v4-hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0;
  font-family: var(--az-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--az-fg-3); }
.v4-hero-meta i { color: var(--az-variations); margin-right: 6px; }

.v4-hero-media { position: relative; margin: 0; }
.v4-hero-glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(closest-side, rgba(102, 255, 102, 0.20), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.v4-hero-media .v4-shot { position: relative; }
.v4-hero-badge {
  position: absolute;
  left: -14px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--az-line-2);
  background: rgba(8, 8, 11, 0.92);
  backdrop-filter: blur(10px);
  font-family: var(--az-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--az-fg-3);
}
.v4-hero-badge b { display: block; font-family: var(--az-display); font-size: 1.05rem; letter-spacing: -0.01em; text-transform: none; color: var(--az-fg); }
@media (max-width: 600px) { .v4-hero-badge { position: static; margin-top: 12px; } }

/* ---------- screenshots ---------- */
.v4-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--az-line-2);
  border-radius: 14px;
  overflow: hidden;
  background: #0a0c0b;
  /* A black blur that spills out of the shot, and a soft halo in the site's colour
     (--shot-glow: Variations green; the themes section sets the chosen theme's). */
  box-shadow:
    0 40px 120px -24px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 110px -36px color-mix(in srgb, var(--shot-glow, var(--az-variations)) 55%, transparent);
  transition: box-shadow .35s ease, transform .35s ease;
  cursor: zoom-in;
}
.v4-shot:hover {
  box-shadow:
    0 46px 130px -22px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 130px -30px color-mix(in srgb, var(--shot-glow, var(--az-variations)) 75%, transparent);
}
@media (prefers-reduced-motion: reduce) { .v4-shot { transition: none; } }
.v4-shot img {
  display: block; width: 100%; height: auto;
  /* The shot fades into the page at the bottom (the lightbox shows it whole). */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 64%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 64%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
}
/* With the fade, the frame and fill would show where the image goes: the page shows through,
   and the hairline frame fades out with the image. */
.v4-shot { position: relative; background: transparent; border-color: transparent; }
.v4-shot::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; pointer-events: none;
  border: 1px solid var(--az-line-2); border-radius: inherit;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
}
.v4-shot:focus-visible { outline: 2px solid var(--az-variations); outline-offset: 3px; }

/* ---------- numbers strip ---------- */
.v4-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--az-line); border: 1px solid var(--az-line); border-radius: 18px; overflow: hidden; }
.v4-stat { background: #0b0b0e; padding: 22px 20px; }
.v4-stat b { display: block; font-family: var(--az-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; color: var(--az-fg); line-height: 1; }
.v4-stat span { display: block; margin-top: 8px; font-family: var(--az-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--az-fg-3); }
@media (max-width: 760px) { .v4-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- feature rows ---------- */
.v4-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.v4-feature + .v4-feature { margin-top: clamp(64px, 9vh, 112px); }
.v4-feature--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); }
.v4-feature--flip .v4-feature-copy { order: 2; }
@media (max-width: 900px) {
  .v4-feature, .v4-feature--flip { grid-template-columns: minmax(0, 1fr); }
  .v4-feature--flip .v4-feature-copy { order: 0; }
}
.v4-feature-k { font-family: var(--az-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--az-variations); }
.v4-feature h3 { font-family: var(--az-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -0.03em; margin: 12px 0 14px; color: var(--az-fg); text-wrap: balance; }
.v4-feature p { color: var(--az-fg-2); line-height: 1.65; margin: 0 0 16px; max-width: 54ch; }
.v4-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.v4-ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--az-fg-2); font-size: 0.95rem; line-height: 1.5; }
.v4-ticks li::before { content: '\2713'; color: var(--az-variations); font-weight: 700; }
.v4-ticks b { color: var(--az-fg); }
.v4-feature-media { position: relative; }
.v4-media-stack { display: grid; gap: 14px; }

.v4-new { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 100px; font-family: var(--az-mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: #062b0c; background: var(--az-variations); vertical-align: middle; }

/* DJ phrase diagram */
.v4-phrases { display: grid; gap: 8px; margin-top: 18px; }
.v4-phrase-row { display: flex; gap: 3px; height: 34px; }
.v4-phrase-row span {
  display: flex; align-items: flex-end; padding: 4px 6px; border-radius: 6px; min-width: 0;
  font-family: var(--az-mono); font-size: 0.56rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8);
  overflow: hidden; white-space: nowrap;
}
.v4-p-intro { background: #2a2f36; }
.v4-p-main { background: #1d4f6b; }
.v4-p-build { background: #6b5317; }
.v4-p-peak { background: #2e6b1d; }
.v4-p-break { background: #4b3a6e; }
.v4-phrase-scale { display: flex; justify-content: space-between; font-family: var(--az-mono); font-size: 0.6rem; color: var(--az-fg-4); }

/* genres / moods chips */
.v4-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; padding: 0; list-style: none; }
.v4-chips li { font-family: var(--az-mono); font-size: 0.66rem; letter-spacing: 0.06em; padding: 6px 9px; border-radius: 100px; border: 1px solid var(--az-line-2); color: var(--az-fg-2); background: rgba(255, 255, 255, 0.02); }

/* ---------- steps ---------- */
.v4-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v4-steps li { padding: 20px; border-radius: 16px; border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.02); }
.v4-steps .n { font-family: var(--az-display); font-weight: 800; font-size: 1.3rem; color: var(--az-variations); }
.v4-steps b { display: block; margin: 8px 0 6px; color: var(--az-fg); font-family: var(--az-display); font-size: 1.05rem; letter-spacing: -0.01em; }
.v4-steps p { margin: 0; color: var(--az-fg-3); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 900px) { .v4-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .v4-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- everything grid ---------- */
.v4-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v4-all div { padding: 18px; border-radius: 14px; border: 1px solid var(--az-line); background: rgba(255, 255, 255, 0.018); }
.v4-all i { color: var(--az-variations); font-size: 1rem; }
.v4-all b { display: block; margin: 10px 0 4px; color: var(--az-fg); }
.v4-all p { margin: 0; color: var(--az-fg-3); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 900px) { .v4-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .v4-all { grid-template-columns: minmax(0, 1fr); } }

/* ---------- offer ---------- */
.v4-offer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .v4-offer-grid { grid-template-columns: minmax(0, 1fr); } }
.v4-offer {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--az-variations) 45%, transparent);
  background: linear-gradient(180deg, rgba(102, 255, 102, 0.08), rgba(8, 8, 11, 0.6) 60%);
  box-shadow: 0 0 0 1px rgba(102, 255, 102, 0.05), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.v4-offer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.v4-offer-name { font-family: var(--az-display); font-size: 1.3rem; letter-spacing: -0.02em; color: var(--az-fg); }
.v4-offer-sub { display: block; margin-top: 4px; font-family: var(--az-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--az-fg-3); }
.v4-offer-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; }
.v4-offer-amt { font-family: var(--az-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4rem); letter-spacing: -0.04em; color: var(--az-fg); line-height: 1; }
.v4-offer-was { font-family: var(--az-mono); color: var(--az-fg-4); }
.v4-offer-terms { margin: 0 0 18px; color: var(--az-fg-3); font-size: 0.9rem; }
.v4-offer .v4-ticks { margin-bottom: 24px; }
.v4-offer .az-btn { width: 100%; justify-content: center; }
.v4-offer-legal { margin: 14px 0 0; font-size: 0.75rem; color: var(--az-fg-4); line-height: 1.5; }
.v4-promo { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; flex-wrap: wrap; font-size: 0.85rem; color: var(--az-fg-3); }

.v4-offer-side { display: grid; gap: 18px; align-content: start; }
.v4-side-card { padding: 22px; border-radius: 18px; border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.025); }
.v4-side-card h3 { font-family: var(--az-display); font-size: 1.15rem; letter-spacing: -0.01em; margin: 10px 0 8px; color: var(--az-fg); }
.v4-side-card p { margin: 0 0 12px; color: var(--az-fg-2); font-size: 0.92rem; line-height: 1.55; }
.v4-side-card .ico { color: var(--az-variations); font-size: 1.2rem; }
.v4-side-card ol { margin: 0 0 14px; padding-left: 20px; color: var(--az-fg-2); font-size: 0.9rem; line-height: 1.6; }

/* ---------- FAQ / close ---------- */
.v4-faq-wrap { max-width: 860px; }
.v4-close { text-align: center; }
.v4-close .az-h2 { margin-inline: auto; }
.v4-close .az-lede { margin-inline: auto; }
.v4-close-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.v4-close-line { margin-top: 18px; font-family: var(--az-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--az-fg-4); }

/* ---------- lightbox ---------- */
/* The site's global reset (* { margin: 0 }) removes the margin: auto that centres a modal
   dialog, which pinned the lightbox to the top-left corner. */
dialog.v4-lb { margin: auto; inset: 0; padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
dialog.v4-lb[open] { display: flex; flex-direction: column; align-items: center; }
dialog.v4-lb::backdrop { background: rgba(4, 5, 6, 0.9); }
dialog.v4-lb img { display: block; max-width: 96vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.55) 88%, transparent 100%); }
dialog.v4-lb button { position: fixed; top: 14px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--az-line-3); background: #111114; color: var(--az-fg); font-size: 1.3rem; cursor: pointer; }
dialog.v4-lb p { color: var(--az-fg-3); font-family: var(--az-mono); font-size: 0.75rem; margin: 10px 2px 0; text-align: center; max-width: 80ch; }

/* ---------- hero: the two workspaces, tabbed ---------- */
.v4-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.v4-tab {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.02);
  color: var(--az-fg-2); font-family: var(--az-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.v4-tab small { grid-column: 2; font-family: var(--az-mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--az-fg-4); }
.v4-tab-n { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; background: rgba(255, 255, 255, 0.06); color: var(--az-fg-2); }
.v4-tab:hover { border-color: var(--az-line-3); color: var(--az-fg); }
.v4-tab.is-on { border-color: color-mix(in srgb, var(--az-variations) 55%, transparent); background: rgba(102, 255, 102, 0.07); color: var(--az-fg); }
.v4-tab.is-on .v4-tab-n { background: var(--az-variations); color: #062b0c; }
.v4-tab:focus-visible { outline: 2px solid var(--az-variations); outline-offset: 2px; }
.v4-tab-panes { position: relative; }
.v4-tab-pane[hidden] { display: none; }
.v4-tab-pane.is-on { animation: v4-fade 0.35s ease; }
@keyframes v4-fade { from { opacity: 0.4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .v4-tab-pane.is-on { animation: none; } }
.v4-tab-cap { margin-top: 12px; font-family: var(--az-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--az-fg-3); }
@media (max-width: 520px) { .v4-tab small { display: none; } }

/* ---------- the two workspaces ---------- */
.v4-two { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; margin-bottom: clamp(56px, 8vh, 96px); }
.v4-two-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px;
  border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.02); color: inherit; text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.v4-two-card:hover { border-color: color-mix(in srgb, var(--az-variations) 45%, transparent); transform: translateY(-2px); }
.v4-two-n { font-family: var(--az-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--az-variations); }
.v4-two-card b { font-family: var(--az-display); font-size: 1.35rem; letter-spacing: -0.02em; color: var(--az-fg); }
.v4-two-card p { margin: 0 0 8px; color: var(--az-fg-2); font-size: 0.95rem; line-height: 1.55; }
.v4-two-card img { margin-top: auto; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--az-line-2); }
.v4-two-arrow { align-self: center; font-size: 1.6rem; color: var(--az-variations); }
@media (max-width: 860px) { .v4-two { grid-template-columns: minmax(0, 1fr); } .v4-two-arrow { justify-self: center; transform: rotate(90deg); } }

/* ---------- group headers inside the feature list ---------- */
.v4-group-head { display: flex; align-items: center; gap: 16px; margin: clamp(56px, 8vh, 96px) 0 clamp(28px, 4vh, 44px); padding-top: 28px; border-top: 1px solid var(--az-line); }
.v4-group-head:first-of-type { margin-top: 0; }
.v4-group-n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--az-display); font-weight: 800; font-size: 1.2rem; color: #062b0c; background: var(--az-variations); }
.v4-group-head h3 { margin: 0; font-family: var(--az-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; color: var(--az-fg); }
.v4-group-head p { margin: 2px 0 0; color: var(--az-fg-3); }
.v4-group-head + .v4-feature { margin-top: 0; }

/* ---------- AI integration ---------- */
.v4-ai { background: radial-gradient(60% 40% at 80% 0%, rgba(102, 255, 102, 0.06), transparent 70%); }
.v4-ai .az-eyebrow { display: inline-flex; align-items: center; }
.v4-ai-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 clamp(48px, 7vh, 80px);
  background: var(--az-line); border: 1px solid var(--az-line); border-radius: 18px; overflow: hidden; }
.v4-ai-facts div { background: #0b0b0e; padding: 20px; }
.v4-ai-facts b { display: block; font-family: var(--az-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; color: var(--az-variations); line-height: 1; }
.v4-ai-facts span { display: block; margin-top: 8px; font-family: var(--az-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--az-fg-3); }
@media (max-width: 760px) { .v4-ai-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v4-ai-note { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(40px, 6vh, 64px); padding: 18px 20px; border-radius: 16px;
  border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.02); }
.v4-ai-note i { color: var(--az-variations); font-size: 1.1rem; margin-top: 3px; }
.v4-ai-note p { margin: 0; color: var(--az-fg-2); line-height: 1.6; }
.v4-ai-note b { color: var(--az-fg); }

/* ---------- Blocks ---------- */
.v4-blocks-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: clamp(44px, 6vh, 72px); }
.v4-blocks-roles div { position: relative; padding: 18px 18px 16px; border-radius: 14px; border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.02); overflow: hidden; }
.v4-blocks-roles div::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--b); }
.v4-blocks-roles b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-family: var(--az-display); font-weight: 800; color: #0a0a0c; background: var(--b); }
.v4-blocks-roles span { margin-left: 10px; font-family: var(--az-display); font-weight: 700; font-size: 1.05rem; color: var(--az-fg); }
.v4-blocks-roles p { margin: 10px 0 0; color: var(--az-fg-3); font-size: 0.9rem; }
.v4-b-a { --b: #66FF66; } .v4-b-b { --b: #ff6fae; } .v4-b-c { --b: #ffc23d; } .v4-b-d { --b: #7fb2ff; }
@media (max-width: 860px) { .v4-blocks-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Song Builder ---------- */
.v4-song-hero { margin: 0 0 clamp(64px, 9vh, 112px); }
.v4-song-hero figcaption { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.v4-song-hero figcaption span { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--az-line); color: var(--az-fg-3); font-size: 0.85rem; line-height: 1.45; }
.v4-song-hero figcaption b { display: block; color: var(--az-fg); font-family: var(--az-display); font-size: 0.95rem; margin-bottom: 2px; }
@media (max-width: 860px) { .v4-song-hero figcaption { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   CONVERSION LAYER — save badge, trust, press, buy bands, guarantees,
   mobile hero order.
   ========================================================================== */

.v4-buy { position: relative; box-shadow: 0 0 60px rgba(102, 255, 102, 0.07); }

.v4-save {
  align-self: center;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--az-variations);
  color: #062b0c;
  font-family: var(--az-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(102, 255, 102, 0.35);
}

.v4-save--lg { font-size: 0.72rem; padding: 7px 12px; }

.v4-buy-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--az-fg-3);
}

.v4-buy-trust i { color: var(--az-variations); font-size: 0.7rem; margin-right: 4px; }

.v4-press-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  font-family: var(--az-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--az-fg-4);
}

.v4-press-mini a { display: inline-flex; opacity: 0.7; filter: grayscale(1) brightness(1.7); transition: opacity 0.2s ease, filter 0.2s ease; }
.v4-press-mini a:hover { opacity: 1; filter: none; }
.v4-press-mini img { height: 16px; width: auto; }

.v4-owner-note { font-size: 0.86rem; padding: 11px 14px; align-items: center; }
.v4-owner-note i { margin-top: 0; }

/* Proof strip */
.v4-proof { padding-block: 8px clamp(48px, 7vh, 80px); }

.v4-press {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
}

.v4-press-k {
  font-family: var(--az-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--az-fg-4);
  margin-right: 6px;
}

.v4-press a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--az-line-2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.v4-press a:hover { border-color: var(--az-line-3); background: rgba(255, 255, 255, 0.05); }
.v4-press img { height: 16px; width: auto; }
.v4-press a span { font-family: var(--az-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--az-fg-3); }

/* Inline buy bands */
.v4-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: clamp(56px, 8vh, 96px);
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--az-variations) 32%, transparent);
  border-radius: 20px;
  background:
    radial-gradient(80% 160% at 100% 50%, rgba(102, 255, 102, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.v4-band-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v4-band-copy b { font-family: var(--az-display); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -0.025em; color: var(--az-fg); }
.v4-band-copy span { font-family: var(--az-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--az-fg-3); }
.v4-band-buy { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.v4-band-price { font-family: var(--az-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--az-variations); white-space: nowrap; }
.v4-band-price s { font-family: var(--az-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0; color: var(--az-fg-4); margin-right: 6px; }

@media (max-width: 760px) {
  .v4-band { flex-direction: column; align-items: stretch; }
  .v4-band-buy { justify-content: space-between; }
}

@media (max-width: 420px) {
  .v4-band-buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .v4-band-buy .az-btn { width: 100%; }
}

/* Offer */
#offer { background: radial-gradient(60% 50% at 50% 40%, rgba(102, 255, 102, 0.07), transparent 70%); }
.v4-offer { position: relative; }
.v4-offer-top .v4-save { align-self: flex-start; }

.v4-guarantees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.v4-guarantees li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1px solid var(--az-line);
  border-radius: 12px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--az-fg-3);
}

.v4-guarantees i { color: var(--az-variations); font-size: 0.95rem; }

@media (max-width: 520px) {
  .v4-guarantees { grid-template-columns: 1fr 1fr; }
}

.v4-side-card--owners { border-color: color-mix(in srgb, var(--az-variations) 30%, transparent); scroll-margin-top: 110px; }

/* Mobile hero: put the product right under the promise, before the price. */
@media (max-width: 980px) {
  .v4-hero-grid { gap: 0; }
  .v4-hero-copy { display: contents; }
  .v4-hero-tags { order: 1; }
  .v4-h1 { order: 2; }
  .v4-hero-lede { order: 3; }
  .v4-hero-media { order: 4; margin: 4px 0 30px; }
  .v4-buy { order: 5; max-width: none; }
  .v4-press-mini { order: 6; }
  .v4-owner-note { order: 7; max-width: none; }
  .v4-hero-meta { order: 8; }
}

/* The stats strip right below repeats these on small screens. */
@media (max-width: 980px) { .v4-hero-meta { display: none; } }
.v4-offer .v4-promo .az-btn { width: auto; }

/* ---------- video ---------- */
.v4-video {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, var(--az-variations) 28%, transparent);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(102, 255, 102, 0.08);
}
.v4-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v4-video-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.v4-video-cta-note { font-family: var(--az-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--az-fg-3); }
.v4-video-cta-note s { color: var(--az-fg-4); }
@media (max-width: 560px) { .v4-video-cta .az-btn { width: 100%; } }

/* ---------- producer testimonials (carousel) ---------- */
.v4-testimonials {
  padding-block: clamp(52px, 7vh, 84px);
}

.v4-testimonials .az-psec-head {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.v4-testimonials-stage {
  position: relative;
  max-width: min(1180px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  border: 1px solid color-mix(in srgb, var(--az-variations) 28%, var(--az-line));
  border-radius: 20px;
  background:
    radial-gradient(70% 120% at 100% 0%, var(--az-variations-soft), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
    #0a0a0d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.v4-testimonials-carousel__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
}

.v4-testimonials-viewport {
  overflow-x: auto;
  min-width: 0;
  outline: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.v4-testimonials-viewport::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .v4-testimonials-viewport { scroll-behavior: auto; }
}

.v4-testimonials-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding-bottom: 2px;
}

.v4-testimonial-slide {
  display: flex;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.v4-testimonial-slide-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--az-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.v4-testimonials .v4-testimonial-byline {
  background: none;
  border: 0;
  padding: 0;
  margin-top: auto;
  padding-top: 8px;
}

@media (min-width: 640px) {
  .v4-testimonial-slide {
    flex: 0 0 calc((100% - 12px) / 2);
  }
}

@media (min-width: 1024px) {
  .v4-testimonial-slide {
    flex: 0 0 calc((100% - 24px) / 3);
  }
}

.v4-testimonial-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}

.v4-testimonial-chip,
.v4-testimonial-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--az-line-2);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--az-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--az-fg-3);
}

.v4-testimonial-tag {
  border-color: color-mix(in srgb, var(--az-variations) 25%, var(--az-line-2));
  color: var(--az-fg-2);
}

.v4-testimonial-slide blockquote {
  margin: 0;
  quotes: '\201C' '\201D';
}

.v4-testimonial-slide blockquote p::before {
  content: open-quote;
  margin-right: 0.05em;
}

.v4-testimonial-slide blockquote p::after {
  content: close-quote;
  margin-left: 0.05em;
}

.v4-testimonial-slide blockquote p {
  margin: 0;
  display: inline;
  font-family: var(--az-display);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--az-fg);
}

.v4-testimonial-kicker {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--az-fg-3);
}

.v4-testimonial-byline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
}

.v4-testimonial-name {
  font-family: var(--az-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--az-fg);
}

.v4-testimonial-meta-line {
  font-family: var(--az-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--az-fg-4);
}

.v4-testimonials-nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--az-line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--az-fg-2);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.v4-testimonials-nav:hover {
  border-color: var(--az-line-3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--az-fg);
}

.v4-testimonials-nav:focus-visible {
  outline: 2px solid var(--az-variations);
  outline-offset: 3px;
}

.v4-testimonials-carousel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin-top: clamp(20px, 3vh, 28px);
  padding-top: 18px;
  border-top: 1px solid var(--az-line);
}

.v4-testimonials-status {
  margin: 0;
  font-family: var(--az-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--az-fg-4);
}

.v4-testimonials-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.v4-testimonials-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.v4-testimonials-dot.is-active {
  background: var(--az-variations);
  box-shadow: 0 0 0 2px rgba(102, 255, 102, 0.2);
  transform: scale(1.15);
}

.v4-testimonials-dot:focus-visible {
  outline: 2px solid var(--az-variations);
  outline-offset: 3px;
}

.v4-testimonials-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: clamp(36px, 5vh, 48px);
  text-align: center;
}

.v4-testimonials-cta h3 {
  margin: 0;
  font-family: var(--az-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--az-fg);
}

@media (max-width: 640px) {
  .v4-testimonials-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .v4-testimonials-carousel__bar {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "viewport viewport"
      "prev next";
    gap: 14px 12px;
  }

  .v4-testimonials-viewport { grid-area: viewport; }
  .v4-testimonials-nav--prev { grid-area: prev; justify-self: end; }
  .v4-testimonials-nav--next { grid-area: next; justify-self: start; }
}

@media (max-width: 420px) {
  .v4-testimonials-cta .az-btn { width: 100%; max-width: 320px; }
}

/* Themes: tabs with the theme's swatch, one screenshot that follows the tab. */
.v4-themes { max-width: 1100px; margin: 0 auto; }
.v4-theme-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.v4-theme-tab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--az-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  padding: 8px 14px; border-radius: 100px; border: 1px solid var(--az-line-2); background: rgba(255, 255, 255, 0.02); color: var(--az-fg-2); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s; }
.v4-theme-tab:hover { color: var(--az-fg); border-color: var(--sw); }
.v4-theme-tab[aria-selected="true"] { color: var(--az-fg); border-color: var(--sw); background: color-mix(in srgb, var(--sw) 12%, transparent); }
.v4-theme-tab:focus-visible { outline: 2px solid var(--sw); outline-offset: 3px; }
.v4-theme-sw { width: 10px; height: 10px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 10px color-mix(in srgb, var(--sw) 60%, transparent); }
/* Theme previews are product UI shots — show the full frame (no page fade). */
.v4-themes .v4-shot {
  background: #0a0c0b;
  border-color: var(--az-line-2);
}

.v4-themes .v4-shot::before {
  display: none;
}

.v4-themes .v4-shot img {
  -webkit-mask-image: none;
  mask-image: none;
  transition: opacity .25s ease;
}

.v4-themes .v4-shot img.is-swapping { opacity: 0.35; }
.v4-themes-note { text-align: center; color: var(--az-fg-3); font-size: 0.92rem; margin: 18px auto 0; max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .v4-themes .v4-shot img { transition: none; } }
