/* =============================================================
   Clip Deck — Launch landing page styles
   Visual language ported from the in-app Clip Deck paywall
   (/clipdeck/overlay/renderer/styles.css → .cd-paywall-modal--offer)
   so the marketing page reads as the same product family.
   ============================================================= */

:root {
  color-scheme: dark;

  /* ── Palette (mirrors the paywall's cd-* tokens) ─────────── */
  --bg:            #07080B;
  --panel:         #0b0d12;
  --panel-2:       #10141a;

  --text:          #ffffff;
  --text-body:     #eaf3ee;
  --text-muted:    #8b9a93;
  --text-dim:      #5a6a64;
  --text-faint:    rgba(255, 255, 255, 0.38);

  --line:          rgba(255, 255, 255, 0.06);
  --line-2:        rgba(255, 255, 255, 0.10);
  --line-strong:   rgba(255, 255, 255, 0.16);

  /* Mint accent — same exact shade the paywall uses */
  --accent:        #00e58e;
  --accent-bright: #00f29a;
  --accent-deep:   #00c279;
  --accent-light:  #5cf2b6;
  --accent-dark:   #04140d;

  --accent-soft:   rgba(0, 229, 142, 0.06);
  --accent-tint:   rgba(0, 229, 142, 0.10);
  --accent-edge:   rgba(0, 229, 142, 0.16);
  --accent-line:   rgba(0, 229, 142, 0.32);
  --accent-glow:   rgba(0, 229, 142, 0.45);

  /* ── Typography (Inter via system stack, JetBrains Mono for eyebrows) ── */
  --font-sans:    -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text",
                  system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Display",
                  system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
                  "SF Mono", monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius — paywall uses 10–14 for inputs, 12 for buttons, 20 for cards */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-pop:  cubic-bezier(.2, .7, .3, 1.05);

  /* Layout */
  --page-max: 1280px;
  --page-pad: clamp(1.5rem, 5vw, 5rem);
}

/* ----- Reset ------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
}

/* Premiere-Pro-style timeline background, faded with a vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/timeline-bg.svg") center / cover no-repeat;
  opacity: 0.42;
  -webkit-mask-image:
    radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 95%);
  mask-image:
    radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 95%);
  pointer-events: none;
  z-index: -2;
}

/* Vignette + paywall-style mint radial glow */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 30%, rgba(0,0,0,0.94) 100%),
    radial-gradient(ellipse 60% 45% at 50% 18%, rgba(0, 229, 142, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 229, 142, 0.05), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ----- Accessibility utilities ------------------------------ */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--accent);
  color: var(--accent-dark);
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.875rem;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-soft);
  z-index: 100;
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--accent-dark);
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ----- Site header ------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(7, 8, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
  padding: var(--space-6) var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
}
.brand:hover { color: var(--text); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 3vw, var(--space-8));
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-nav a:not(.download-btn) {
  color: var(--text-muted);
  transition: color 180ms var(--ease-soft);
}
.site-nav a:not(.download-btn):hover {
  color: var(--accent);
}

@media (max-width: 540px) {
  .site-nav { gap: var(--space-4); font-size: 0.8125rem; }
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(0, 229, 142, 0.35));
}
.brand-mark--sm { width: 22px; height: 22px; }

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.018em;
  color: var(--text);
}

.brand-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  margin-top: 0.45em;
  text-transform: uppercase;
}

/* ----- Hero (centered single-column) ------------------------ */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: var(--space-12) var(--page-pad) var(--space-6);
  gap: var(--space-5);
}

/* Eyebrow — pill chip with mint dot, mirrors .cdp-eyebrow in the paywall */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-light);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: eyebrow-pulse 2.4s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

/* Hero headline — Inter weight 800 with the paywall's signature
   accent text-shadow glow on the highlighted span. */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
  color: var(--text);
}

.hero-headline .accent {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(0, 229, 142, 0.4);
}

.hero-sub {
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 52ch;
  text-wrap: balance;
  font-weight: 400;
}

/* ----- Launch offer chip (re-uses the eyebrow pill language) ----- */

.launch-offer {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-1) auto 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.launch-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: launch-pulse 2.4s ease-in-out infinite;
}

@keyframes launch-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

/* ----- Hero visual --------------------------------------- */

.hero-visual {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-3) var(--page-pad) var(--space-20);
}

.mockup {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Subtle solid green outline */
  border: 1px solid var(--accent);
  box-shadow:
    0 0 6px rgba(0, 229, 142, 0.20),
    0 24px 60px rgba(0, 0, 0, 0.65);
}

/* Paint a green inner ring over the rounded-clip edge. The crisp 2px line is
   backed by a soft green falloff so the green→panel transition is gradual —
   without it, the bright green meeting the dark panel over one sub-pixel on the
   corner curve anti-aliases into a thin whitish hairline. */
.mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 1px var(--accent),
    inset 0 0 5px rgba(0, 229, 142, 0.4);
  pointer-events: none;
  z-index: 3;
}

.mockup img {
  display: block;
  width: 100%;
  opacity: 0.97;
}

.mockup--interactive {
  background: var(--panel);
  aspect-ratio: 1320 / 700;
  position: relative;
}

.mockup-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 13px;
}

.mockup-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 13px;
  background: transparent;
}

/* ----- See Clip Deck in Action (video) ---------------------- */

.how {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-20) var(--page-pad) var(--space-20);
  gap: var(--space-10);
}

/* Download CTA block under the "in Action" video — mirrors the hero offer */
.how-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  /* extra breathing room below the video (adds to the section's space-10 gap) */
  margin-top: var(--space-12);
}
.how-download .launch-offer { margin: 0; }
.how-download .download-actions { margin-top: 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.section-title .accent {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(0, 229, 142, 0.4);
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  /* Match the interactive panel's subtle green outline */
  border: 1px solid var(--accent);
  box-shadow:
    0 0 6px rgba(0, 229, 142, 0.20),
    0 24px 60px rgba(0, 0, 0, 0.65);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 1px var(--accent),
    inset 0 0 5px rgba(0, 229, 142, 0.4);
  pointer-events: none;
  z-index: 2;
}

.how-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 13px;
  background: #000;
}

/* ----- How it works (3 animated cards) ---------------------- */

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-20) var(--page-pad) var(--space-20);
  gap: var(--space-10);

  /* design tokens, scoped to this section */
  --card-fill-top: rgba(24, 33, 32, 0.55);
  --card-fill-bot: rgba(9, 14, 15, 0.30);
  --card-border: rgba(110, 190, 160, 0.14);
  --card-border-hover: rgba(60, 226, 165, 0.45);
  --tile-fill: rgba(8, 14, 13, 0.66);
  --tile-border: rgba(120, 220, 175, 0.16);
  --green: #2fe2a0;
  --green-bright: #69ffc0;
  --green-dim: #1f9d72;
  --glow: rgba(47, 226, 160, 0.55);
  --hiw-title: #eef3f1;
  --hiw-muted: #889793;
  --hiw-num: #2fe2a0;
  --radius-card: 22px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.hiw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 348px;
  padding: 26px 26px 30px;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, var(--card-fill-top), var(--card-fill-bot));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 60px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: border-color 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

/* soft emerald glow that washes in from the top-left on hover */
.hiw-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 45% at 18% 12%, rgba(47, 226, 160, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hiw-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 40px 70px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(60, 226, 165, 0.10);
}
.hiw-card:hover::after { opacity: 1; }

/* ---- icon tile -------------------------------------------- */
.hiw-tile {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 26px;
  background: var(--tile-fill);
  border: 1px solid var(--tile-border);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* green bloom behind the icon */
.hiw-tile::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(50% 50% at 50% 45%, var(--glow), transparent 70%);
  filter: blur(8px);
  opacity: 0.45;
  z-index: 0;
  animation: bloom 4.2s ease-in-out infinite;
}
@keyframes bloom {
  0%, 100% { opacity: 0.32; transform: scale(0.94); }
  50%      { opacity: 0.6;  transform: scale(1.04); }
}

.ic {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(47, 226, 160, 0.55));
}

/* ---- text block (pushed to lower portion of card) --------- */
.hiw-card__body { margin-top: auto; }

.hiw-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--hiw-num);
  margin: 0 0 11px;
  text-shadow: 0 0 14px rgba(47, 226, 160, 0.45);
}

.hiw-card__title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--hiw-title);
  margin: 0;
}

.hiw-card__rule {
  width: 40px;
  height: 1px;
  margin: 16px 0;
  border: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.hiw-card__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hiw-muted);
  margin: 0;
  max-width: 21ch;
  text-wrap: pretty;
}

/* ============================================================
   ICON ANIMATIONS — each loops gently; hover speeds it up
   ============================================================ */

/* ---- 01 · Folder + dropping asset ------------------------- */
.ic-folder .asset {
  transform-box: fill-box;
  transform-origin: center;
  animation: drop 3.2s ease-in-out infinite;
}
@keyframes drop {
  0%   { transform: translateY(-16px) scale(0.7); opacity: 0; }
  18%  { opacity: 1; }
  42%  { transform: translateY(0) scale(1);       opacity: 1; }
  58%  { transform: translateY(0) scale(1);       opacity: 1; }
  72%  { transform: translateY(1px) scale(0.5);   opacity: 0; }
  100% { transform: translateY(1px) scale(0.5);   opacity: 0; }
}
.ic-folder .plus {
  transform-box: fill-box;
  transform-origin: center;
  animation: plusPulse 3.2s ease-in-out infinite;
}
@keyframes plusPulse {
  0%, 55%, 100% { transform: scale(1); }
  66%           { transform: scale(1.28); }
  78%           { transform: scale(1); }
}
.hiw-card:hover .ic-folder .asset { animation-duration: 1.7s; }
.hiw-card:hover .ic-folder .plus  { animation-duration: 1.7s; }

/* ---- 02 · Keycap press ------------------------------------ */
.ic-key .keycap-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: keyPress 2.4s cubic-bezier(0.5, 0, 0.4, 1) infinite;
}
@keyframes keyPress {
  0%, 60%, 100% { transform: translateY(0); }
  72%           { transform: translateY(2.6px); }
  84%           { transform: translateY(0); }
}
.ic-key .tick {
  opacity: 0.8;
  animation: tickFlash 2.4s ease-in-out infinite;
}
@keyframes tickFlash {
  0%, 62%, 100% { opacity: 0.8; filter: none; }
  74%           { opacity: 1;   filter: drop-shadow(0 0 5px var(--green-bright)); }
}
.ic-key .ripple {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: keyRipple 2.4s ease-out infinite;
}
@keyframes keyRipple {
  0%, 68% { opacity: 0;   transform: scale(0.6); }
  74%     { opacity: 0.5; transform: scale(0.85); }
  100%    { opacity: 0;   transform: scale(1.35); }
}
.hiw-card:hover .ic-key .keycap-group,
.hiw-card:hover .ic-key .tick,
.hiw-card:hover .ic-key .ripple { animation-duration: 1.4s; }

/* ---- 03 · Timeline bars + cursor click -------------------- */
.ic-timeline .bar {
  transform-box: fill-box;
  transform-origin: left center;
}
.ic-timeline .bar1 { animation: grow 3.4s ease-in-out infinite; }
.ic-timeline .bar2 { animation: grow 3.4s ease-in-out infinite 0.14s; }
.ic-timeline .bar3 { animation: grow 3.4s ease-in-out infinite 0.28s; }
@keyframes grow {
  0%, 100% { transform: scaleX(0.18); opacity: 0.35; }
  30%      { transform: scaleX(1);    opacity: 1; }
  78%      { transform: scaleX(1);    opacity: 1; }
}
.ic-timeline .cursor {
  transform-box: fill-box;
  transform-origin: center;
  animation: click 3.4s ease-in-out infinite;
}
@keyframes click {
  0%, 18%, 100% { transform: translate(3px, 3px) scale(1); }
  34%           { transform: translate(0, 0) scale(0.84); }
  46%           { transform: translate(0, 0) scale(1); }
}
.ic-timeline .click-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: clickRing 3.4s ease-out infinite;
}
@keyframes clickRing {
  0%, 30% { opacity: 0;   transform: scale(0.5); }
  36%     { opacity: 0.6; transform: scale(0.8); }
  58%     { opacity: 0;   transform: scale(1.5); }
  100%    { opacity: 0; }
}
.hiw-card:hover .ic-timeline .bar1,
.hiw-card:hover .ic-timeline .bar2,
.hiw-card:hover .ic-timeline .bar3,
.hiw-card:hover .ic-timeline .cursor,
.hiw-card:hover .ic-timeline .click-ring { animation-duration: 1.9s; }

@media (max-width: 880px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .hiw-card { min-height: 0; }
  .hiw-card__body { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .steps *,
  .steps *::before { animation: none !important; }
  .hiw-card { transition: none; }
}

/* =============================================================
   Full Feature List — feature showcase grid
   Adapted from the Claude Design "Full Feature List" handoff,
   resized from its 1536px canvas down to the page's scale &
   tokens. Even section spacing via the shared --space-20 rhythm.
   ============================================================= */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-20) var(--page-pad) var(--space-20);
  gap: var(--space-10);
}

.features-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
}

/* heading reuses .section-title; nudge the accent glow on hover */
.features .section-title { cursor: default; }
.features .section-title:hover .accent {
  text-shadow: 0 0 22px rgba(0, 229, 142, 0.7), 0 0 52px rgba(0, 229, 142, 0.45);
}

.features-sub {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.5;
  color: var(--text-muted);
}

.features-underglow {
  width: 300px;
  max-width: 70%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  box-shadow: 0 0 22px 2px var(--accent-glow);
}

/* ---- grid ---- */
.features-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  text-align: left;
}

.feat-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 40px -26px rgba(0, 0, 0, 0.85);
  padding: 20px 20px 22px;
  min-height: 132px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease,
    box-shadow 0.25s ease, background 0.25s ease;
}
.feat-card:hover {
  z-index: 20;
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--fa) 55%, transparent);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--fa) 12%, var(--panel-2)) 0%,
    var(--panel) 100%);
  box-shadow:
    0 18px 44px -16px rgba(0, 0, 0, 0.8),
    0 0 28px -6px color-mix(in oklab, var(--fa) 40%, transparent);
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fa);
  opacity: 0.92;
}

.feat-head {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.feat-ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklab, var(--fa) 45%, transparent);
  background: color-mix(in oklab, var(--fa) 12%, #0a0c0d);
  box-shadow:
    0 0 18px color-mix(in oklab, var(--fa) 35%, transparent),
    inset 0 0 12px color-mix(in oklab, var(--fa) 14%, transparent);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.feat-ico svg {
  width: 22px;
  height: 22px;
  color: var(--fa);
  filter: drop-shadow(0 0 5px color-mix(in oklab, var(--fa) 60%, transparent));
}
.feat-ico .fx {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fa);
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--fa) 60%, transparent));
}
.feat-card:hover .feat-ico {
  transform: scale(1.06);
  box-shadow:
    0 0 26px color-mix(in oklab, var(--fa) 50%, transparent),
    inset 0 0 14px color-mix(in oklab, var(--fa) 20%, transparent);
}

.feat-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f1f4f5;
  transition: color 0.25s ease;
}
.feat-card:hover .feat-title { color: #ffffff; }

/* ---- hover popover (keeps card dimensions fixed) ---- */
.feat-pop {
  position: absolute;
  left: 14px;
  right: 14px;
  top: calc(100% - 8px);
  z-index: 30;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in oklab, var(--fa) 45%, transparent);
  background: linear-gradient(180deg, #14171a 0%, #0c0e10 100%);
  box-shadow:
    0 18px 44px -14px rgba(0, 0, 0, 0.85),
    0 0 26px -8px color-mix(in oklab, var(--fa) 45%, transparent);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #c2cace;
  text-align: left;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.feat-pop::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 28px;
  width: 11px;
  height: 11px;
  background: #14171a;
  border-left: 1px solid color-mix(in oklab, var(--fa) 45%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--fa) 45%, transparent);
  transform: rotate(45deg);
}
.feat-card:hover .feat-pop {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.feat-poplist {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feat-poplist li {
  position: relative;
  padding-left: 15px;
  color: #cdd4d8;
}
.feat-poplist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--fa);
  box-shadow: 0 0 6px color-mix(in oklab, var(--fa) 70%, transparent);
}

/* responsive: keep the 5-up rhythm on desktop, step down gracefully */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 430px) {
  .features-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .feat-card, .feat-ico, .feat-pop { transition: none; }
}

/* ----- Details (lede + meta) -------------------------------- */

.details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-16) var(--page-pad) var(--space-20);
}

.lede {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.lede-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede-meta li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.lede-meta li + li {
  position: relative;
  padding-left: var(--space-5);
}
.lede-meta li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ----- Download buttons -------------------------------------- */

.download-actions {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Download CTA — port of .cdp-btn: gradient mint, inset highlights,
   mint glow halo. Both platform buttons share the green branding. */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent-deep) 100%);
  color: var(--accent-dark);
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 8px 26px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -2px 0 rgba(0, 0, 0, 0.18) inset,
    0 16px 32px rgba(0, 229, 142, 0.24),
    0 0 0 5px rgba(0, 229, 142, 0.07);
  transition:
    transform 180ms var(--ease-soft),
    box-shadow 200ms var(--ease-soft),
    filter 200ms var(--ease-soft);
}
.download-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  color: var(--accent-dark);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -2px 0 rgba(0, 0, 0, 0.18) inset,
    0 24px 50px rgba(0, 229, 142, 0.4),
    0 0 0 8px rgba(0, 229, 142, 0.11);
}
.download-btn:active {
  transform: translateY(0);
}
.download-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.download-icon {
  flex-shrink: 0;
  margin-top: -1px;
}

/* Compact header version of the download CTA — same mint style, trimmed
   padding + glow so it sits naturally in the nav bar. */
.download-btn--nav {
  gap: 8px;
  padding: 7px 16px;
  font-size: 0.8125rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -2px 0 rgba(0, 0, 0, 0.18) inset,
    0 10px 22px rgba(0, 229, 142, 0.22),
    0 0 0 3px rgba(0, 229, 142, 0.06);
}
.download-btn--nav:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -2px 0 rgba(0, 0, 0, 0.18) inset,
    0 16px 30px rgba(0, 229, 142, 0.34),
    0 0 0 5px rgba(0, 229, 142, 0.1);
}

@media (max-width: 540px) {
  .download-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }
  .download-actions .download-btn {
    width: 100%;
    padding: 11px 22px;
  }
}

/* ----- Footer ----------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-20) var(--page-pad) var(--space-8);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-nav a {
  color: var(--text-muted);
  transition: color 180ms var(--ease-soft);
}
.footer-nav a:hover { color: var(--accent); }

/* ----- Reduced motion --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .download-btn:hover { transform: none; }
  .skip-link { transition: none; }
}

/* =============================================================
   Problem Section — "old way vs. Clip Deck" comparison block.
   Ported from the Claude Design "Problem Section" handoff and
   harmonized to the site tokens (mint --accent + Inter display).
   Every class is ps-* and scoped under .problem so it can't
   collide with the page (the prototype reused generic names
   like .steps / .panel / .lede that already live in this file).
   ============================================================= */
.problem {
  --ps-red:      #ff4d4d;
  --ps-red-soft: #ff6b6b;
  --ps-grn:      var(--accent);
  --ps-gray:     var(--text-muted);
  --ps-gray-dim: #7c818b;
  --ps-line:     rgba(255, 255, 255, 0.07);

  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-20) var(--page-pad) var(--space-20);
  /* faint red vignette behind the heading for the "problem" mood */
  background: radial-gradient(80% 50% at 50% 0%, rgba(255, 77, 77, 0.05), transparent 60%);
  /* feather the top & bottom edges so the section fades softly into the page */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 130px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 130px, #000 calc(100% - 80px), transparent 100%);
}
.problem h2, .problem h3, .problem p { margin: 0; }

/* ----- Badge ----- */
.ps-center { display: flex; justify-content: center; margin-bottom: 28px; }
.ps-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 77, 77, 0.07);
  border: 1px solid rgba(255, 77, 77, 0.22);
  box-shadow: 0 0 24px rgba(255, 77, 77, 0.12) inset;
  cursor: default;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.ps-badge:hover {
  background: rgba(255, 77, 77, 0.12);
  border-color: rgba(255, 90, 90, 0.45);
  box-shadow: 0 0 30px rgba(255, 77, 77, 0.22) inset, 0 0 18px rgba(255, 77, 77, 0.18);
  transform: translateY(-1px);
}
.ps-badge .ps-ic { display: flex; color: var(--ps-red); }
.ps-badge .ps-ic svg { width: 13px; height: 13px; }
.ps-badge span { font-weight: 700; font-size: 11px; letter-spacing: 0.2em; color: #ff7a7a; }

/* ----- Heading ----- */
.ps-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: var(--text);
}
.ps-title .ps-red {
  color: var(--ps-red); display: block;
  text-shadow: 0 0 24px rgba(255, 77, 77, 0.5), 0 0 48px rgba(255, 77, 77, 0.25);
  transition: text-shadow 0.35s ease;
}
.ps-title:hover .ps-red { text-shadow: 0 0 34px rgba(255, 77, 77, 0.75), 0 0 60px rgba(255, 77, 77, 0.4); }
.problem .ps-lede {
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ps-gray);
  margin: 14px auto 0;
}

/* ----- Problem cards row ----- */
.ps-problems {
  margin: 34px auto 0;
  max-width: 1000px;
  border-radius: 18px;
  padding: 22px 14px;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255, 77, 77, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 77, 77, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 90, 90, 0.16);
  box-shadow: 0 0 60px rgba(255, 77, 77, 0.05);
  display: grid; grid-template-columns: repeat(5, 1fr);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.ps-problems:hover {
  border-color: rgba(255, 90, 90, 0.28);
  box-shadow: 0 0 70px rgba(255, 77, 77, 0.10);
}
.ps-pcol {
  text-align: center; padding: 6px 14px; border-right: 1px solid var(--ps-line);
  border-radius: 12px; cursor: default;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ps-pcol:last-child { border-right: none; }
.ps-pcol:hover { background: rgba(255, 77, 77, 0.06); transform: translateY(-3px); }
.ps-pcol .ps-pic {
  color: var(--ps-red); display: flex; justify-content: center; margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.ps-pcol .ps-pic svg { width: 26px; height: 26px; }
.ps-pcol:hover .ps-pic { transform: scale(1.14); filter: drop-shadow(0 0 16px rgba(255, 77, 77, 0.6)); }
.ps-pcol h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--text); transition: color 0.3s ease; }
.ps-pcol:hover h3 { color: #ff8f8f; }
.ps-pcol p { font-size: 13px; line-height: 1.4; color: var(--ps-gray-dim); max-width: 165px; margin: 0 auto; }

/* ----- The Solution (green intro + feature panel, sized to match the problem block) ----- */
.problem .sol { margin: 88px auto 0; max-width: 1000px; }

.problem .sol-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 10px; border-radius: var(--radius-pill);
  background: rgba(0, 229, 142, 0.07);
  border: 1px solid rgba(0, 229, 142, 0.24);
  box-shadow: 0 0 24px rgba(0, 229, 142, 0.10) inset;
  cursor: default;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.problem .sol-badge:hover {
  background: rgba(0, 229, 142, 0.12);
  border-color: rgba(0, 229, 142, 0.5);
  box-shadow: 0 0 30px rgba(0, 229, 142, 0.22) inset, 0 0 18px rgba(0, 229, 142, 0.18);
  transform: translateY(-1px);
}
.problem .sol-star { display: flex; color: var(--accent); filter: drop-shadow(0 0 6px rgba(0, 229, 142, 0.5)); transition: transform 0.5s var(--ease-pop), filter 0.3s ease; }
.problem .sol-star svg { width: 13px; height: 13px; }
.problem .sol-badge:hover .sol-star { transform: rotate(18deg) scale(1.12); filter: drop-shadow(0 0 12px rgba(0, 229, 142, 0.9)); }
.problem .sol-badge span { font-weight: 700; font-size: 11px; letter-spacing: 0.2em; color: var(--accent-light); }

.problem .sol-headline {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.problem .sol-line { display: block; cursor: default; }
.problem .sol-white { color: var(--text); transition: text-shadow 0.4s ease; }
.problem .sol-white:hover { text-shadow: 0 4px 30px rgba(255, 255, 255, 0.18); }
.problem .sol-accent {
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 52%, var(--accent-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter 0.4s ease;
}
.problem .sol-accent:hover { filter: drop-shadow(0 6px 24px rgba(0, 229, 142, 0.45)) brightness(1.08); }

.problem .sol-sub {
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ps-gray);
  margin: 16px auto 0;
  cursor: default;
  transition: color 0.3s ease;
}
.problem .sol-sub:hover { color: var(--text-body); }

.problem .sol-panel {
  margin: 30px auto 0;
  border-radius: 18px;
  padding: 22px 14px;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(0, 229, 142, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(0, 229, 142, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(0, 229, 142, 0.16);
  box-shadow: 0 0 60px rgba(0, 229, 142, 0.05);
  display: grid; grid-template-columns: repeat(5, 1fr);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.problem .sol-panel:hover {
  border-color: rgba(0, 229, 142, 0.30);
  box-shadow: 0 0 70px rgba(0, 229, 142, 0.10);
}
.problem .sol-feature {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease;
}
.problem .sol-feature:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 10%;
  height: 80%; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0) 100%);
}
.problem .sol-feature:hover {
  transform: translateY(-4px);
  background: radial-gradient(80% 80% at 50% 30%, rgba(0, 229, 142, 0.08) 0%, rgba(0, 229, 142, 0) 70%);
}
.problem .sol-icon {
  width: 28px; height: 28px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(0, 229, 142, 0.5));
  transition: transform 0.4s ease, filter 0.35s ease, color 0.35s ease;
}
.problem .sol-feature:hover .sol-icon {
  transform: translateY(-2px) scale(1.14);
  color: var(--accent-bright);
  filter: drop-shadow(0 0 16px rgba(0, 229, 142, 0.9));
}
.problem .sol-ftitle { margin-top: 14px; min-height: 40px; line-height: 1.25; font-size: 15px; font-weight: 700; color: var(--text); }
.problem .sol-desc { margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--ps-gray-dim); transition: color 0.3s ease; }
.problem .sol-feature:hover .sol-desc { color: #cfe9dd; }

/* ----- Comparison ----- */
.ps-compare {
  margin: 22px auto 0; max-width: 1000px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  align-items: stretch;
}
.ps-panel {
  border-radius: 16px; padding: 16px; overflow: hidden; position: relative;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.ps-panel.ps-old {
  background: linear-gradient(160deg, rgba(255, 77, 77, 0.18), rgba(20, 11, 12, 0.9) 58%, rgba(28, 16, 17, 0.94));
  border: 1px solid rgba(255, 90, 90, 0.30);
}
.ps-panel.ps-old:hover {
  transform: translateY(-4px); border-color: rgba(255, 90, 90, 0.5);
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 77, 77, 0.10);
}
.ps-panel.ps-new {
  background: linear-gradient(160deg, rgba(0, 229, 142, 0.16), rgba(8, 17, 13, 0.9) 58%, rgba(12, 22, 18, 0.94));
  border: 1px solid rgba(0, 229, 142, 0.32);
}
.ps-panel.ps-new:hover {
  transform: translateY(-4px); border-color: rgba(0, 229, 142, 0.5);
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 229, 142, 0.12);
}
.ps-phead { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.ps-pbadge {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ps-pbadge svg { width: 18px; height: 18px; }
.ps-pbadge.ps-x { background: #e23b3b; box-shadow: 0 0 22px rgba(226, 59, 59, 0.5); }
.ps-pbadge.ps-ok { background: #15c97c; box-shadow: 0 0 22px rgba(21, 201, 124, 0.5); }
.ps-panel:hover .ps-pbadge { transform: scale(1.1) rotate(-6deg); }
.ps-phead h2 { font-size: 18px; font-weight: 700; line-height: 1.1; color: var(--text); }
.ps-phead .ps-sub { font-size: 13px; color: var(--ps-gray); margin-top: 2px; font-weight: 500; }

/* steps */
.ps-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 5px; margin-bottom: 16px; }
.ps-steps.ps-new { justify-content: flex-start; gap: 4px; }
.ps-step {
  display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 0 0 auto; min-width: 52px;
  cursor: default; transition: transform 0.28s ease;
}
.ps-step .ps-sic {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.28s ease, filter 0.28s ease;
}
.ps-step .ps-sic svg { width: 24px; height: 24px; }
.ps-old .ps-step .ps-sic { color: #d6d8dc; }
.ps-new .ps-step .ps-sic { color: var(--ps-grn); filter: drop-shadow(0 0 14px rgba(0, 229, 142, 0.55)); }
.ps-step span { font-size: 12px; color: var(--ps-gray); white-space: nowrap; font-weight: 500; transition: color 0.28s ease; }
.ps-step:hover { transform: translateY(-3px); }
.ps-old .ps-step:hover .ps-sic { transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35)); }
.ps-new .ps-step:hover .ps-sic { transform: scale(1.12); filter: drop-shadow(0 0 18px rgba(0, 229, 142, 0.8)); }
.ps-step:hover span { color: #c4cad1; }
.ps-arrow { display: flex; align-items: center; justify-content: center; height: 36px; color: #5a5e66; flex: 1 1 auto; }
.ps-arrow svg { width: 16px; height: 16px; }
.ps-new .ps-arrow { color: rgba(0, 229, 142, 0.45); }
.ps-steps.ps-new .ps-step { min-width: 60px; }
.ps-steps.ps-new .ps-arrow { flex: 0 0 44px; }

/* VS badge */
.ps-vs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #0b0b0e;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: #fff; z-index: 5;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  cursor: default;
  box-shadow:
    0 0 0 5px var(--bg),
    -8px 0 20px rgba(255, 77, 77, 0.4),
    8px 0 20px rgba(0, 229, 142, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ps-vs:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    0 0 0 5px var(--bg),
    -12px 0 28px rgba(255, 77, 77, 0.6),
    12px 0 28px rgba(0, 229, 142, 0.6);
}

/* ----- Old-way mockup (Premiere panel) ----- */
.ps-mock { border-radius: 11px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #0c0c10; transition: border-color 0.35s ease; }
.ps-panel:hover .ps-mock { border-color: rgba(255, 90, 90, 0.22); }
.ps-mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 11px; background: #141318; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px; color: #a7abb3; font-weight: 600;
}
.ps-mock-bar .ps-x { color: #5c6068; font-size: 12px; }
.ps-pr-body { display: grid; grid-template-columns: 118px 1fr; min-height: 178px; }
.ps-pr-side { background: #0e0e12; border-right: 1px solid rgba(255, 255, 255, 0.06); padding: 9px 8px; }
.ps-bin {
  display: flex; align-items: center; gap: 7px; padding: 4px 5px; font-size: 11px; color: #b7bac1; font-weight: 500;
  border-radius: 5px; cursor: pointer; transition: background 0.22s ease, color 0.22s ease;
}
.ps-bin svg { color: #c79a4e; flex: none; width: 13px; height: 11px; }
.ps-bin:hover { background: rgba(199, 154, 78, 0.16); color: #f0e6d2; }
.ps-pr-timeline { position: relative; background: #0b0b0f; padding: 0; }
.ps-ruler { display: flex; gap: 0; padding: 7px 0 7px 11px; font-size: 9.5px; color: #6a6e76; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.ps-ruler span { width: 86px; flex: none; }
.ps-playhead { position: absolute; top: 0; bottom: 0; left: 96px; width: 2px; background: #e9e9ee; z-index: 3; }
.ps-playhead::before {
  content: ""; position: absolute; top: -1px; left: -5px;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #e9e9ee;
}
.ps-tracks { padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.ps-track { display: flex; gap: 5px; height: 24px; align-items: center; }
.ps-clip {
  height: 24px; border-radius: 4px; flex: none; display: flex; align-items: center; padding: 0 6px;
  font-size: 8.5px; color: rgba(255, 255, 255, 0.75); overflow: hidden; cursor: pointer;
  transition: filter 0.22s ease, transform 0.22s ease;
}
.ps-clip:hover { filter: brightness(1.28); transform: translateY(-1px); }
.ps-clip.ps-p { background: linear-gradient(180deg, #7d3bd6, #5a25a3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.ps-clip.ps-g { background: linear-gradient(180deg, #1f9c63, #137045); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.ps-clip.ps-b { background: linear-gradient(180deg, #3b6fd6, #2550a3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }

/* ----- Clip Deck mockup ----- */
.ps-cd { border-radius: 11px; overflow: hidden; border: 1px solid rgba(0, 229, 142, 0.16); background: #0a0d0b; transition: border-color 0.35s ease; }
.ps-panel:hover .ps-cd { border-color: rgba(0, 229, 142, 0.3); }
.ps-cd-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 11px; background: #10130f; border-bottom: 1px solid rgba(0, 229, 142, 0.10);
}
.ps-cd-bar .ps-ttl { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #eef2ee; }
.ps-cd-bar .ps-ttl svg { color: var(--ps-grn); width: 16px; height: 16px; }
.ps-cd-bar .ps-ctrls { display: flex; gap: 10px; color: #5c6068; }
.ps-cd-bar .ps-ctrls svg { width: 14px; height: 14px; }
.ps-cd-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px 8px; padding: 10px; }
.ps-tile { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.ps-thumb {
  aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ps-tile:hover .ps-thumb {
  transform: translateY(-3px) scale(1.04); border-color: rgba(0, 229, 142, 0.55);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 229, 142, 0.3);
}
.ps-tile .ps-lbl { font-size: 10px; color: #aeb2b8; text-align: center; font-weight: 500; transition: color 0.25s ease; }
.ps-tile:hover .ps-lbl { color: var(--ps-grn); }
.ps-thumb .ps-ti {
  position: absolute; top: 5px; left: 5px; width: 16px; height: 16px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center;
  color: #fff; backdrop-filter: blur(4px);
}
.ps-thumb .ps-ti svg { width: 10px; height: 10px; }
.ps-t-broll1 { background: linear-gradient(160deg, #1d3a2a, #0e1a14 60%), radial-gradient(circle at 30% 30%, #2f5a3e, transparent); }
.ps-t-broll2 { background: linear-gradient(160deg, #2a2f3a, #10131a), radial-gradient(circle at 70% 60%, #3a4254, transparent); }
.ps-t-broll3 { background: linear-gradient(160deg, #3a2f22, #15110c), radial-gradient(circle at 40% 70%, #5a4a30, transparent); }
.ps-t-overlay1 { background: linear-gradient(135deg, #2c2540, #120e1d); }
.ps-t-overlay2 { background: linear-gradient(135deg, #11243a, #0a1320); }
.ps-t-trans1 { background: linear-gradient(135deg, #6b4cc0, #2a1c52); }
.ps-t-trans2 { background: linear-gradient(135deg, #c04c93, #3a1c4a); }
.ps-t-grad { background: radial-gradient(circle at 50% 60%, #1a3a6b, #070b14); }
.ps-t-dark { background: #0e1110; }
.ps-wave { display: flex; align-items: center; gap: 2px; height: 40%; }
.ps-wave i { width: 2.5px; background: var(--ps-grn); border-radius: 2px; box-shadow: 0 0 6px rgba(0, 229, 142, 0.6); transition: height 0.25s ease; }
.ps-wave.ps-pink i { background: #e25bb0; box-shadow: 0 0 6px rgba(226, 91, 176, 0.6); }
.ps-tile:hover .ps-wave i { height: 95% !important; }
.ps-txico { color: #dfe3df; font-weight: 800; font-size: 10px; letter-spacing: 0.04em; border: 1.5px solid #5a5e64; border-radius: 4px; padding: 2px 5px; }
.ps-thumb svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .ps-problems { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .ps-pcol { border-right: none; border-bottom: 1px solid var(--ps-line); padding-bottom: 20px; }
  .ps-pcol:nth-last-child(-n+1) { border-bottom: none; }
  .ps-compare { grid-template-columns: 1fr; gap: 44px; }
  .ps-compare .ps-vs { display: none; }
  .ps-cd-grid { grid-template-columns: repeat(3, 1fr); }
  .problem .ps-lede { white-space: normal; }
  .problem .sol-sub { white-space: normal; }
  .problem .sol-panel { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .problem .sol-feature:not(:first-child)::before { display: none; }
}
