/* CopyThumb_SAAS — public marketing pages.
 * Light theme, distinct from the dark studio at /app/*.
 *
 * Design language: 1of10-inspired (clean white, black typography with
 * italic accent words, restrained shadows, rounded cards), with
 * CopyThumb's coral CTA replacing 1of10's blue. Inter Variable everywhere.
 */

:root {
  /* Brand — 1of10-inspired electric blue.
   * The variable name "coral" is kept for legacy compatibility across
   * dozens of classes; values now resolve to the blue palette. The CTA
   * color and the italic-accent-word color are intentionally the same
   * so the page reads as monochrome-accent. */
  --brand-coral:        #2563eb;        /* primary CTA + brand mark */
  --brand-coral-hover:  #1d4ed8;        /* darker for hover */
  --brand-coral-soft:   #eff6ff;        /* tinted surface (cards, eyebrow chips) */
  --brand-blue:         #2563eb;        /* italic accent words (same as CTA now) */

  /* Surfaces */
  --bg:                 #ffffff;
  --bg-alt:             #fafaf7;
  --bg-soft:            #f6f6f3;
  --surface:            #ffffff;

  /* Text */
  --ink-900:            #0a0a0a;
  --ink-800:            #1a1c22;
  --ink-700:            #2b3247;
  --ink-500:            #5b6478;
  --ink-400:            #7d859a;
  --ink-300:            #b1b7c4;
  --ink-200:            #d4d8e0;
  --ink-100:            #ececef;

  /* Borders */
  --border:             #ececef;
  --border-strong:      #c4cad6;

  /* Status */
  --ok:                 #10b981;
  --warn:               #f59e0b;
  --danger:             #ef4444;

  /* Spacing */
  --gap-1: 4px;  --gap-2: 8px;  --gap-3: 12px;  --gap-4: 16px;
  --gap-5: 24px; --gap-6: 32px; --gap-7: 48px;  --gap-8: 64px;
  --gap-9: 96px; --gap-10: 128px;

  /* Radius */
  --radius-1: 6px;  --radius-2: 10px; --radius-3: 14px;
  --radius-4: 20px; --radius-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(11,18,32,0.05);
  --shadow-2: 0 1px 3px rgba(11,18,32,0.06), 0 4px 12px rgba(11,18,32,0.04);
  --shadow-3: 0 4px 12px rgba(11,18,32,0.08), 0 16px 40px rgba(11,18,32,0.06);

  /* Type */
  --font-sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono Variable", "JetBrains Mono", "Menlo", "Consolas", monospace;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/Inter-Variable.ttf") format("truetype-variations");
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-coral); text-decoration: none; }
a:hover { color: var(--brand-coral-hover); }

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.08;
}
/* v0.2.3 editorial: bigger H1, more generous tracking, tighter leading.
 * Headline weight slightly heavier to balance the highlighter stroke. */
h1 { font-size: clamp(44px, 6.5vw, 76px); letter-spacing: -0.04em; font-weight: 900; line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.03em; font-weight: 900; line-height: 1.06; }
h3 { font-size: 22px; line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.35; }

p { margin: 0; color: var(--ink-700); }

/* Accent words — v0.2.3 highlighter treatment. Drops the italic-blue
 * cliché in favour of a hand-drawn yellow swoosh behind the word,
 * which reads as editorial / Photoroom-style instead of 1of10-clone.
 * The pseudo-element holds the highlighter so it sits visually BEHIND
 * the text and stays sharp under transform/zoom. */
em.accent {
  font-style: normal;
  color: var(--ink-900);
  font-weight: 800;
  position: relative;
  padding: 0 2px;
  z-index: 0;
  white-space: nowrap;
}
em.accent::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2%;
  height: 38%;
  /* v0.2.5: brand-blue tint highlighter (was yellow). One accent
   * colour across the entire page — total harmony, zero competing
   * hues. The stroke reads as a marker swoosh, the colour reads as
   * CopyThumb. */
  background: linear-gradient(
    100deg,
    rgba(37, 99, 235, 0.18),
    rgba(37, 99, 235, 0.12) 55%,
    rgba(37, 99, 235, 0.18)
  );
  border-radius: 4px 8px 5px 10px;
  transform: rotate(-0.6deg);
  z-index: -1;
  pointer-events: none;
  /* Slightly fuzzy edge so it feels hand-drawn rather than CSS-rectangular */
  filter: blur(0.3px);
}

/* Hero h1 gets the largest highlighter so the gesture is visible at
 * a glance; section headings get a slightly more restrained stroke. */
.hero h1 em.accent::before { height: 32%; bottom: 6%; }

/* ── Layout ───────────────────────────────────────────────────────────── */

.container       { max-width: 1180px; margin: 0 auto; padding: 0 var(--gap-5); }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 var(--gap-5); }
.container-tight  { max-width: 440px;  margin: 0 auto; padding: 0 var(--gap-5); }

.text-center { text-align: center; }
.muted { color: var(--ink-500); }
.hidden { display: none !important; }

/* ── Top nav ──────────────────────────────────────────────────────────── */

.topnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-4) 0;
  gap: var(--gap-5);
}
.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.topnav-brand:hover { color: var(--ink-900); text-decoration: none; }
.topnav-brand-mark {
  width: 30px; height: 30px;
  background: var(--brand-coral);
  color: white;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
/* v0.2.32: bumped 64 → 80px per master. Nav grows around it (no fixed
 * height on .topnav-inner). At 2073:786 aspect that paints ~210px wide. */
.topnav-brand-logo {
  height: 80px;
  width: auto;
  display: block;
}
/* Mobile: still substantial but tightened so it doesn't dominate the
 * 'Back to home' return link on small viewports. */
@media (max-width: 920px) {
  .topnav-brand-logo { height: 52px; }
}
.topnav-links {
  display: flex;
  align-items: center;
  gap: var(--gap-6);
}
.topnav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.topnav-links a:hover { color: var(--ink-900); }
.topnav-cta {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
}

@media (max-width: 768px) {
  .topnav-links { display: none; }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-2);
  border: 0;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 80ms ease, transform 80ms ease, box-shadow 80ms ease, color 80ms ease, border-color 80ms ease;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink-900);
  color: white;
}
.btn-primary:hover { background: black; color: white; text-decoration: none; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-coral {
  background: var(--brand-coral);
  color: white;
  box-shadow: 0 6px 18px rgba(255,106,61,0.25);
}
.btn-coral:hover { background: var(--brand-coral-hover); color: white; text-decoration: none; transform: translateY(-1px); }

.btn-secondary {
  background: white;
  color: var(--ink-900);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--ink-500); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { color: var(--ink-900); text-decoration: none; }

.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  /* v0.2.25 — tighter vertical padding so the hero demo card fits
   * inside the viewport on first paint (master's complaint: shouldn't
   * have to scroll to see it). Reduced top 56→32, bottom 48→24. */
  padding: 32px 0 24px;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { padding: 40px 0 32px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  padding: 20px;
  opacity: 0.36;
  filter: saturate(0.85);
  mask-image: radial-gradient(ellipse 50% 45% at 50% 45%, transparent 0%, transparent 12%, rgba(0,0,0,0.55) 35%, black 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 45% at 50% 45%, transparent 0%, transparent 12%, rgba(0,0,0,0.55) 35%, black 75%);
}
.hero-bg-tile {
  aspect-ratio: 16 / 9;
  background: var(--bg-alt) center/cover no-repeat;
  border-radius: 10px;
  transform: rotate(var(--rot, 0deg));
  filter: saturate(0.85);
}
/* Soft white veil behind the hero text so the headline reads cleanly
 * even when the background grid is in view. The veil is widened so the
 * input card stays readable too. */
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -60px -120px -60px -120px;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.8) 50%, transparent 85%);
  z-index: -1;
  pointer-events: none;
}
.hero-inner { position: relative; }

.hero-inner {
  position: relative;
  z-index: 1;
  /* v0.2.25 — widened so the headline fits on ONE line at desktop
   * widths and the demo card below stretches further across. */
  max-width: 1180px;
  margin: 0 auto;
}

/* Hero headline — force one line at desktop widths. The text
 * "AI thumbnails in any channel's style." is 38 chars; at 60px
 * font-size it needs ~1100px of room, which the 1180px container
 * provides. Below 900px viewport, allow natural wrap. */
.hero-headline {
  font-size: clamp(36px, 4.8vw, 60px) !important;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
@media (min-width: 1100px) {
  .hero-headline { white-space: nowrap; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-2);
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink-700);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--gap-5);
  box-shadow: var(--shadow-1);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-coral); display: inline-block;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.16);
}

.hero h1 {
  margin-bottom: var(--gap-4);
}

.hero p.lead {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-500);
  max-width: 620px;
  margin: var(--gap-3) auto 0;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-3);
  justify-content: center;
  align-items: center;
  margin-top: var(--gap-5);
}
.hero-cta-meta {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--ink-400);
  font-size: 13px;
  margin-top: var(--gap-3);
}

/* Inline tool tabs (under the hero headline) */
.hero-tools {
  display: inline-flex;
  background: white;
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  margin: var(--gap-5) auto 0;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-tools button {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 100ms ease;
}
.hero-tools button:hover { color: var(--ink-900); }
.hero-tools button.is-active {
  background: var(--ink-900);
  color: white;
}
.hero-tools svg { width: 16px; height: 16px; }

.hero-input-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--gap-3);
  box-shadow: var(--shadow-2);
  margin: var(--gap-5) auto 0;
  max-width: 720px;
  text-align: left;
}
.hero-input-card textarea {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink-900);
  resize: none;
  outline: none;
  padding: 12px 14px 6px;
  min-height: 56px;
}
.hero-input-card textarea::placeholder { color: var(--ink-400); }
.hero-input-card .input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 6px 14px;
  gap: var(--gap-3);
}
.hero-input-card .input-hint {
  color: var(--ink-400);
  font-size: 13px;
}
.hero-input-card .input-hint code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--ink-700);
}

/* ── Channel-logos strip ──────────────────────────────────────────────── */

.channel-strip {
  padding: var(--gap-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}
.channel-strip h4 {
  text-align: center;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--gap-5);
}
.channel-strip-row {
  display: flex;
  gap: var(--gap-7);
  padding: 8px 0;
  /* Infinite marquee. The JS appends the channel set twice; this
   * keyframe slides the track left by exactly half its width, which
   * places the duplicate set under the cursor — visually seamless.
   * 50s feels right for ~18 cards × 2; tune via --marquee-speed. */
  animation: channel-marquee var(--marquee-speed, 50s) linear infinite;
  width: max-content;
  will-change: transform;
}
.channel-strip-row:hover { animation-play-state: paused; }
@keyframes channel-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .channel-strip-row { animation: none; }
}
.channel-card {
  flex: 0 0 auto;
  text-align: center;
  width: 120px;
}
.channel-card img {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto var(--gap-3);
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--bg-soft);
}
.channel-card .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-card .subs {
  font-size: 12px;
  color: var(--ink-500);
}

/* ── Section ──────────────────────────────────────────────────────────── */

/* v0.2.3 editorial: wider section gutter so the page breathes more. */
.section { padding: 112px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: var(--gap-7);
}
/* v0.2.4 editorial eyebrow — replaces the soft-pill (which still had
 * the legacy peach border) with a magazine-style kicker: short brand-
 * blue stripe + uppercase tracked text. Becomes the page's signature
 * recurring detail, repeated at every section. */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--gap-4);
  padding: 0;
  background: transparent;
  border: 0;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-coral);
  display: inline-block;
}
.section-header h2 { margin-bottom: var(--gap-3); }
.section-header p.lead {
  color: var(--ink-500);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Big feature cards (with mockup screenshots inside) ───────────────── */

.big-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-5);
}
.big-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.big-feature:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.big-feature-body { padding: var(--gap-6) var(--gap-6) var(--gap-4); }
.big-feature h3 { font-size: 22px; margin-bottom: var(--gap-3); }
.big-feature p { color: var(--ink-500); font-size: 15px; }
.big-feature-mockup {
  margin-top: var(--gap-5);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}
.big-feature-mockup img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.big-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--gap-4);
  font-weight: 600;
  color: var(--brand-coral);
  font-size: 14px;
}

/* ── Compact feature grid (6 cards) ──────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-4);
}
.feature {
  padding: var(--gap-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  transition: border-color 120ms ease, transform 120ms ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-coral-soft);
  color: var(--brand-coral);
  margin-bottom: var(--gap-4);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: var(--gap-3); font-size: 18px; }
.feature p { color: var(--ink-500); font-size: 14px; }

/* ── Thumbnail showcase grid (category-filterable) ───────────────────── */

.thumb-tabs {
  display: inline-flex;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  margin: var(--gap-5) auto 0;
}
.thumb-tabs button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 100ms ease;
}
.thumb-tabs button:hover { color: var(--ink-900); }
.thumb-tabs button.is-active { background: var(--ink-900); color: white; }
.thumb-tabs svg { width: 14px; height: 14px; }

.thumb-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-4);
  margin-top: var(--gap-5);
}
.thumb-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.thumb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.thumb-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.thumb-card .thumb-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.thumb-card .badge-score {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
}

/* ── Pricing grid ─────────────────────────────────────────────────────── */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin: 0 auto var(--gap-6);
  box-shadow: var(--shadow-1);
}
.billing-toggle button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all 100ms ease;
}
.billing-toggle button.is-active {
  background: var(--ink-900);
  color: white;
}
.billing-toggle .save-pill {
  background: var(--ok);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  font-weight: 700;
}

/* v0.2.7: 3-column grid (was 4) — the 4th column was the empty space
 * on the right that made the row look "sided". Now centered with a
 * max-width so the trio sits in the middle of the page. */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-4);
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
  /* Reserve enough top space so the protruding "MOST POPULAR" badge
   * on the highlight card doesn't push it down relative to the
   * non-highlight cards. Every card now starts at the same Y. */
  padding-top: 18px;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}
/* Make the cards a bit tighter when packed into 4 columns */
.pricing-grid .pricing-card { padding: var(--gap-6); }
.pricing-grid .pricing-price .amount { font-size: 44px; }
/* v0.2.5: all pricing cards share IDENTICAL exterior treatment. The
 * "most popular" tier is differentiated by a soft background tint and
 * a tiny inline chip in the header — NOT by border color, border
 * width, or a protruding badge. This is what makes the row feel
 * symmetric instead of "the middle one is bigger than the sides". */
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: var(--gap-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease;
}
.pricing-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.pricing-card.highlight {
  /* Subtle cream wash instead of a colored border. Same dimensions
   * as the other cards, but visually warmer — pulls the eye without
   * overpowering. */
  background: linear-gradient(180deg, #fffdf7, #ffffff);
  border-color: var(--border);
}
.pricing-card .pricing-features {
  flex: 1;
}

/* "MOST POPULAR" — centered banner protruding above the card.
 * Because the grid has padding-top, ALL cards reserve the same
 * vertical space; only the highlight card uses it. This way the
 * card interiors align perfectly top-to-top regardless of which
 * card has the badge. */
.pricing-card .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-900);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}
.pricing-card .tier-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--gap-3);
}
.pricing-card h3 { margin-bottom: var(--gap-3); }
.pricing-card .tagline {
  color: var(--ink-500);
  font-size: 14px;
  min-height: 40px;
  margin-bottom: var(--gap-5);
}
.pricing-price { margin-bottom: var(--gap-2); }
.pricing-price .amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-price .period {
  font-size: 15px;
  color: var(--ink-500);
  margin-left: 8px;
}
.pricing-savings {
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--gap-4);
  min-height: 18px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: var(--gap-5) 0 var(--gap-5);
  flex: 1;
}
.pricing-features li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.4;
}
.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  /* Check stroked in brand blue — same colour family as the CTA, so
   * the palette stays harmonized (no competing green). */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.pricing-features li.missing { color: var(--ink-400); }
.pricing-features li.missing::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23b1b7c4" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>');
}

/* ── Enterprise card ──────────────────────────────────────────────────── */

.enterprise-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap-7);
  padding: var(--gap-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  margin-top: var(--gap-6);
}
.enterprise-card .pricing-features { margin-top: 0; }
.enterprise-card h3 { font-size: 28px; line-height: 1.1; margin-bottom: var(--gap-3); }
.enterprise-card .tier-label { color: var(--brand-coral); }
@media (max-width: 800px) { .enterprise-card { grid-template-columns: 1fr; } }

/* ── Testimonials grid ────────────────────────────────────────────────── */

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap-4);
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.tcard {
  padding: var(--gap-5);
  border-radius: 18px;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gap-4);
}
.tcard.dark { background: var(--ink-900); color: white; border-color: var(--ink-900); }
.tcard.dark p { color: rgba(255,255,255,0.9); }
.tcard.coral { background: var(--brand-coral); color: white; border-color: var(--brand-coral); }
.tcard.coral p { color: rgba(255,255,255,0.95); }
.tcard.tall { grid-row: span 2; min-height: 360px; }
.tcard p.quote { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink-900); }
.tcard.dark p.quote, .tcard.coral p.quote { color: white; }
.tcard .stat-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tcard .stat-label { font-size: 14px; color: rgba(255,255,255,0.6); }
.tcard-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tcard-author img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--bg-soft);
}
.tcard-author .name { font-size: 13px; font-weight: 700; }
.tcard-author .sub { font-size: 12px; color: var(--ink-500); }
.tcard.dark .tcard-author .sub, .tcard.coral .tcard-author .sub { color: rgba(255,255,255,0.65); }
.tcard.video {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  padding: 0;
}
.tcard.video img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.tcard.video .video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.65));
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gap-4);
  color: white;
}
.tcard.video .play {
  align-self: center; margin: auto;
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.96);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-900);
  transition: transform 100ms ease;
}
.tcard.video:hover .play { transform: scale(1.06); }

/* ── Carousel ─────────────────────────────────────────────────────────── */

.carousel-wrap { position: relative; }
.carousel-controls {
  position: absolute; top: -56px; right: 0;
  display: flex; gap: 8px;
}
.carousel-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-700);
  transition: background 80ms ease, border-color 80ms ease;
}
.carousel-btn:hover { background: var(--bg-alt); border-color: var(--ink-500); }
.carousel-track {
  display: flex;
  gap: var(--gap-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 360px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
}
.carousel-slide .img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.carousel-slide .body {
  padding: var(--gap-4);
}
.carousel-slide .body h4 { margin-bottom: 6px; }
.carousel-slide .body p { color: var(--ink-500); font-size: 13px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq-list { max-width: 800px; margin: 0 auto; }
.faq {
  border-bottom: 1px solid var(--border);
  padding: var(--gap-5) 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 28px; height: 28px;
  background: var(--bg-soft);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: var(--gap-4);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgb(13,17,30)" stroke-width="2" stroke-linecap="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  transition: transform 100ms ease;
}
.faq[open] summary::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round"><line x1="5" y1="12" x2="19" y2="12"/></svg>');
  background-color: var(--ink-900);
}
.faq p {
  margin-top: var(--gap-3);
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: var(--gap-8) 0 var(--gap-5);
  margin-top: var(--gap-9);
}
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-7);
  padding-bottom: var(--gap-7);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--gap-7);
  align-items: center;
}
.footer-newsletter h3 { font-size: 22px; margin-bottom: 6px; }
.footer-newsletter p { color: var(--ink-500); font-size: 14px; max-width: 340px; }
.footer-newsletter-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: white;
}
.footer-newsletter-form input:focus { border-color: var(--ink-500); }
.footer-newsletter-meta { color: var(--ink-400); font-size: 12px; margin-top: 6px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--gap-6);
  margin-bottom: var(--gap-6);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--gap-4);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-500);
  padding: 4px 0;
  text-decoration: none;
}
.footer-col a:hover { color: var(--ink-900); }
.footer-meta {
  border-top: 1px solid var(--border);
  padding-top: var(--gap-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-3);
  color: var(--ink-500);
  font-size: 13px;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--ink-500);
  background: var(--bg-alt);
  transition: color 80ms ease, background 80ms ease;
}
.footer-socials a:hover { color: var(--ink-900); background: var(--bg-soft); }
.footer-socials svg { width: 16px; height: 16px; }

@media (max-width: 800px) {
  .footer-newsletter, .footer-grid { grid-template-columns: 1fr; }
}

/* ── Auth pages (signup / login / forgot) ─────────────────────────────── */

.auth-shell { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gap-7) var(--gap-5);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: var(--gap-7);
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-3);
}
.auth-card h1 { font-size: 28px; margin-bottom: var(--gap-3); }
.auth-card .lead { color: var(--ink-500); font-size: 15px; margin-bottom: var(--gap-6); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--gap-4); }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2);
  background: var(--bg);
  color: var(--ink-900);
  outline: none;
  transition: border-color 80ms ease, box-shadow 80ms ease;
}
.field input:focus { border-color: var(--ink-900); box-shadow: 0 0 0 4px rgba(11,18,32,0.06); }
.field .hint { font-size: 12px; color: var(--ink-500); }
.field .hint a { color: var(--brand-coral); }
.auth-card .btn { width: 100%; padding: 13px; }
.auth-footer { margin-top: var(--gap-5); text-align: center; color: var(--ink-500); font-size: 14px; }

/* Notices */
.notice {
  padding: var(--gap-3) var(--gap-4);
  border-radius: var(--radius-2);
  font-size: 14px;
  margin-bottom: var(--gap-4);
  display: flex; align-items: start; gap: var(--gap-3);
}
.notice-info  { background: #eef5ff; border: 1px solid #cfe1ff; color: #1e40af; }
.notice-warn  { background: #fff7ec; border: 1px solid #ffe3bd; color: #92400e; }
.notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.notice-ok    { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.notice .icon { flex-shrink: 0; margin-top: 1px; }

/* Code chip */
code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-700);
}

/* ── Feature tag chip (small label above headline) ────────────────────── */
.big-feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-coral);
  background: var(--brand-coral-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--gap-3);
}

/* ── Comparison / vs-everyone-else block ──────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-4);
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;          /* equal heights */
}
@media (max-width: 740px) {
  .compare-grid { grid-template-columns: 1fr; }
}
.compare-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--gap-6);
  display: flex;                 /* flex column so the list can stretch */
  flex-direction: column;
}
.compare-card ul { flex: 1; }
.compare-card.bad { background: var(--bg-alt); }
/* v0.2.4: dark card uses warm ink (#1a1813) instead of cold black —
 * harmonizes with the warm off-white / cream surfaces elsewhere. */
.compare-card.good { background: #1a1813; color: white; border-color: #1a1813; }
.compare-card.good p, .compare-card.good li { color: rgba(255,255,255,0.85); }
.compare-card h3 { margin-bottom: var(--gap-3); }
.compare-card.good h3 { color: white; }
/* Highlighter on dark card: stroke stays yellow but text flips to white
 * so the accent word remains visible behind the swoosh. */
.compare-card.good em.accent { color: white; }
.compare-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--gap-3);
}
.compare-card.bad .label { color: var(--ink-500); }
.compare-card.good .label { color: var(--brand-coral); }
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: var(--gap-4) 0 0;
}
.compare-card li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-700);
}
.compare-card.bad li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23b1b7c4" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.compare-card.good li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  /* Light blue check on the dark card — same blue family as everywhere
   * else, lightened so it reads against the warm-ink background. */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2393c5fd" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ── Reveal-on-scroll ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Carousel — used in Creator Stories ───────────────────────────────── */
.creator-carousel-wrap {
  position: relative;
  padding-top: 16px;
}
.creator-carousel-controls {
  position: absolute;
  top: -56px;
  right: 0;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.creator-track {
  display: flex;
  gap: var(--gap-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px 16px;
}
.creator-track::-webkit-scrollbar { display: none; }
.creator-slide {
  flex: 0 0 340px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.creator-slide:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.creator-slide-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  position: relative;
}
.creator-slide-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%);
}
.creator-slide-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: white;
  color: var(--ink-900);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.creator-slide-body { padding: var(--gap-4) var(--gap-5) var(--gap-5); }
.creator-slide-body h4 { font-size: 17px; margin-bottom: 6px; }
.creator-slide-body p { color: var(--ink-500); font-size: 14px; }
.creator-slide-author {
  margin-top: var(--gap-4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.creator-slide-author img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Modal (used by /demo button) */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,18,32,0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: var(--gap-5);
}
.modal-backdrop.is-open { display: flex; }
.modal-card {
  background: white;
  border-radius: 18px;
  max-width: 720px;
  width: 100%;
  padding: var(--gap-7);
  position: relative;
  box-shadow: var(--shadow-3);
}
.modal-card h3 { margin-bottom: var(--gap-3); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px; height: 32px;
  border: 0;
  background: var(--bg-alt);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ─── v0.2.8 AUTH SPLIT-SCREEN ───────────────────────────────────────────
 * /signup and /login share this layout. LEFT side is a marketing
 * showcase with an animated channel→render demo + perks list +
 * social proof. RIGHT side is a clean form (Google OAuth + email).
 * Stacks on mobile (<= 920px). */

body.auth-body {
  margin: 0;
  background: var(--bg);
  min-height: 100vh;
}
.auth-split {
  display: grid;
  /* v0.2.27 — rebalanced to 1.65fr/1fr (≈62/38) so the marketing
   * showcase + live demo dominates the page and the auth form sits
   * in a tighter sidebar. Login forms are small; the demo deserves
   * the real estate. */
  grid-template-columns: 1.65fr 1fr;
  min-height: 100vh;
}
@media (max-width: 1280px) {
  .auth-split { grid-template-columns: 1.4fr 1fr; }
}
@media (max-width: 920px) {
  .auth-split { grid-template-columns: 1fr; }
}

/* ── LEFT: marketing showcase ───────────────────────────────────────── */
.auth-aside {
  position: relative;
  background:
    radial-gradient(circle at 90% 0%, rgba(37,99,235,0.08), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(255,220,102,0.06), transparent 60%),
    linear-gradient(180deg, #fafaf7, #ffffff);
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);
  border-right: 1px solid var(--border);
}
@media (max-width: 1100px) { .auth-aside { padding: 48px 40px; } }
@media (max-width: 920px)  { .auth-aside { padding: 40px 24px; border-right: 0; border-bottom: 1px solid var(--border); } }

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink-900);
  text-decoration: none;
  letter-spacing: -0.01em;
  width: max-content;
}
.auth-brand:hover { color: var(--ink-900); text-decoration: none; }

.auth-pitch {
  display: flex;
  flex-direction: column;
  gap: var(--gap-5);
  /* v0.2.28 — widened from 540px → 720px so the channel→render demo
   * gets enough horizontal room to actually read on the thumbnails.
   * The whole pitch column also centers inside .auth-aside via
   * margin: auto so the layout feels balanced rather than left-glued. */
  max-width: 720px;
  margin: auto;
}
.auth-eyebrow { margin-bottom: 0; }
.auth-headline {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin: 0;
  color: var(--ink-900);
}
.auth-subline {
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 500px;
}

/* Animated channel→render demo (reuses the manifest from the landing) */
.auth-demo {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  /* Slightly more padding to match the bigger card footprint. */
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.auth-demo-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.auth-demo-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.auth-demo-side img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-soft);
  transition: opacity 280ms ease;
}
.auth-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.auth-demo-label-out { color: var(--brand-coral); }
.auth-demo-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-300);
}
.auth-demo-dot.dot-on {
  background: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
}
.auth-demo-caption {
  font-size: 12px;
  color: var(--ink-700);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auth-demo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--brand-coral);
}
.auth-demo-arrow svg { width: 22px; height: 22px; }
.auth-demo-arrow span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.auth-demo-pips {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

/* Perks list — small product proof points */
.auth-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-perks li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.5;
}
.auth-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}
.auth-trust {
  font-size: 12px;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding-top: var(--gap-4);
  border-top: 1px solid var(--border);
}
.auth-trust strong { color: var(--ink-900); font-weight: 700; }

/* ── RIGHT: form panel ─────────────────────────────────────────────── */
.auth-panel {
  position: relative;
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1100px) { .auth-panel { padding: 48px 32px; } }
@media (max-width: 920px)  { .auth-panel { padding: 40px 20px; } }

.auth-back {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  text-decoration: none;
}
.auth-back:hover { color: var(--ink-900); text-decoration: none; }

.auth-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-4);
}
.auth-card-head h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-weight: 900;
}
.auth-card-head p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

/* Google OAuth button */
.auth-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
}
.auth-oauth:hover { background: var(--bg-soft); border-color: var(--ink-500); }
.auth-oauth:active { transform: translateY(1px); }

/* "or with email" divider */
.auth-divider {
  position: relative;
  text-align: center;
  font-size: 12px;
  color: var(--ink-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 70px);
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-divider span { background: var(--bg); padding: 0 8px; }

/* Form fields */
.auth-card form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-4);
}
.auth-card .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-card .field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.auth-forgot {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-coral);
}
.auth-card .field input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: white;
  color: var(--ink-900);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.auth-card .field input::placeholder { color: var(--ink-400); }
.auth-card .field input:focus {
  border-color: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.14);
}

.auth-tos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.45;
}
.auth-tos input[type="checkbox"] {
  margin-top: 3px;
  width: 14px; height: 14px;
  accent-color: var(--brand-coral);
}
.auth-tos a { color: var(--brand-coral); }

.auth-card .auth-footer {
  font-size: 14px;
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--gap-3);
}
.auth-card .auth-footer a {
  color: var(--ink-900);
  font-weight: 700;
}

/* Notices inside the card */
.auth-card .notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.auth-card .notice.notice-info    { background: rgba(37,99,235,0.07); color: var(--ink-700); }
.auth-card .notice.notice-error   { background: rgba(239,68,68,0.08); color: #b91c1c; }
.auth-card .notice.notice-success { background: rgba(16,185,129,0.10); color: #047857; }
.auth-card .notice .icon { flex-shrink: 0; margin-top: 1px; }

/* Utility */
.mt-3 { margin-top: var(--gap-3); }
.mt-4 { margin-top: var(--gap-4); }
.mt-5 { margin-top: var(--gap-5); }
.mt-6 { margin-top: var(--gap-6); }
html { scroll-behavior: smooth; }

/* ─── v0.2.1 LANDING REWRITE ───────────────────────────────────────────
 * Below this line: components introduced by the thumbnail-only rebuild.
 * Hero live demo, workflow steps, gem grid, outlier showcase. Older
 * components (hero-tools tabs, big-feature, thumb-tabs, creator-carousel,
 * footer-newsletter) are no longer rendered on the landing but their
 * styles remain in case /pricing or other pages reference them.
 * ──────────────────────────────────────────────────────────────────── */

/* ── Hero v2 — adds the side-by-side demo card under the CTA ───────── */
.hero-v2 h1 {
  margin-top: var(--gap-3);
  margin-bottom: var(--gap-4);
}
.hero-v2 .hero-cta { margin-top: var(--gap-5); margin-bottom: var(--gap-6); }

.hero-demo {
  /* v0.2.25 — pulled closer to CTA (gap-7 → gap-4) AND widened (880 →
   * 1180px) so the side-by-side channel→render card dominates the
   * first paint instead of being a small element below the fold. */
  margin: var(--gap-4) auto 0;
  max-width: 1180px;
  position: relative;
  z-index: 2;
}
.hero-demo-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--gap-4);
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: var(--gap-5);
  box-shadow: var(--shadow-3);
}
.hero-demo-side {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
  min-width: 0;
}
.hero-demo-side img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-2);
  background: var(--bg-soft);
  transition: opacity 220ms ease;
}
.hero-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.hero-demo-label-out { color: var(--brand-coral); }
.hero-demo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-300);
}
.hero-demo-dot.dot-coral {
  background: var(--brand-coral);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
}
.hero-demo-caption {
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-demo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--brand-coral);
}
.hero-demo-arrow svg { width: 22px; height: 22px; }
.hero-demo-arrow span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-demo-pips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--gap-4);
}
.demo-pip {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--ink-200);
  cursor: pointer;
  transition: background 120ms ease, width 200ms ease;
}
.demo-pip.active {
  background: var(--brand-coral);
  width: 32px;
}
@media (max-width: 720px) {
  .hero-demo-stage {
    grid-template-columns: 1fr;
    padding: var(--gap-4);
  }
  .hero-demo-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }
  .hero-demo-arrow span { display: none; }
}

/* ── Workflow — 4 numbered steps with a vertical rail ─────────────── */
.workflow {
  list-style: none;
  padding: 0;
  margin: var(--gap-7) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-5);
  counter-reset: step;
  position: relative;
}
.workflow::before {
  /* Vertical rail behind the step numbers. */
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--border-strong), var(--border) 80%, transparent);
  border-radius: 1px;
}
.workflow-step {
  display: grid;
  grid-template-columns: 56px 1fr 280px;
  gap: var(--gap-5);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: var(--gap-5) var(--gap-6);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  position: relative;
  z-index: 1;
}
.workflow-step:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.workflow-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink-900);
  color: white;
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}
.workflow-body h3 { font-size: 20px; margin-bottom: 6px; }
.workflow-body p { color: var(--ink-500); font-size: 14.5px; max-width: 540px; }
/* v0.2.3: workflow art panels are now real product mockups built in
 * HTML (see landing.html). The container is just the frame. */
.workflow-art {
  min-height: 140px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fafaf7, #ffffff);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* — Step 1: reference-channel picker mockup — */
.wa-channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-1);
}
.wa-channel-row.is-picked {
  border-color: var(--brand-coral);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.10);
}
.wa-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
  background: linear-gradient(135deg, #fed7aa, #fca5a5);
}
.wa-avatar.b { background: linear-gradient(135deg, #bbf7d0, #93c5fd); }
.wa-avatar.c { background: linear-gradient(135deg, #ddd6fe, #fbcfe8); }
.wa-channel-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
}
.wa-channel-meta {
  font-size: 10px;
  color: var(--ink-500);
  margin-top: 1px;
}
.wa-check {
  margin-left: auto;
  color: var(--ok);
  font-weight: 800;
  font-size: 14px;
}

/* — Step 2: title input + auto-hook score — */
.wa-title-input {
  font-size: 11px;
  color: var(--ink-700);
  padding: 9px 11px;
  background: white;
  border: 1px solid var(--brand-coral);
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.08);
  font-family: var(--font-mono);
}
.wa-hook-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.wa-hook-label {
  color: var(--ink-500);
  font-weight: 600;
}
.wa-hook-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: var(--ok);
  font-weight: 800;
  font-size: 11px;
}
.wa-entity-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  color: var(--brand-coral);
  font-weight: 700;
  font-size: 10px;
}
.wa-entity-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
}

/* — Step 3: feature chips row — */
.wa-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wa-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-700);
}
.wa-chip svg { width: 11px; height: 11px; }
.wa-chip.is-on {
  background: var(--ink-900);
  color: white;
  border-color: var(--ink-900);
}
.wa-mode-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: white;
  align-self: flex-start;
}
.wa-mode-strip span {
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-500);
  border-right: 1px solid var(--border);
}
.wa-mode-strip span:last-child { border-right: 0; }
.wa-mode-strip span.is-on { background: var(--ink-900); color: white; }

/* — Step 4: variant grid mockup with actual demo thumbs — */
.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  flex: 1;
}
.wa-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: var(--bg-soft);
}
.wa-grid img:nth-child(1) {
  /* ring around the "chosen" variant so it pops */
  outline: 2px solid var(--brand-coral);
  outline-offset: 1.5px;
}
.wa-grid-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--ink-500);
  font-weight: 600;
}
.wa-grid-caption .ok {
  color: var(--ok);
  font-weight: 800;
}
@media (max-width: 820px) {
  .workflow::before { left: 23px; }
  .workflow-step { grid-template-columns: 48px 1fr; padding: var(--gap-4); }
  .workflow-num { width: 48px; height: 48px; font-size: 19px; }
  .workflow-art { display: none; }
}

/* ── Gem grid — 8 capability cards ─────────────────────────────────── */
.gem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-4);
  margin-top: var(--gap-6);
}
@media (max-width: 1100px) { .gem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .gem-grid { grid-template-columns: 1fr; } }
.gem {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: var(--gap-5);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.gem:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.gem h3 { font-size: 16.5px; margin-bottom: 6px; }
.gem p  { font-size: 13.5px; color: var(--ink-500); line-height: 1.5; }
.gem-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--gap-3);
  color: var(--ink-900);
}
.gem-icon svg { width: 20px; height: 20px; }
/* v0.2.4: all gem icons share the brand-blue palette so the grid
 * reads as one cohesive system. The previous 6-colour spread (violet,
 * amber, pink, green, blue, coral) felt chaotic next to the rest of
 * the page. Subtle background-opacity variation keeps each card from
 * looking identical to its neighbour. */
.gem-icon-coral  { background: rgba(37,99,235,0.10);  color: #2563eb; }
.gem-icon-blue   { background: rgba(37,99,235,0.10);  color: #2563eb; }
.gem-icon-green  { background: rgba(37,99,235,0.10);  color: #2563eb; }
.gem-icon-violet { background: rgba(37,99,235,0.10);  color: #2563eb; }
.gem-icon-amber  { background: rgba(37,99,235,0.10);  color: #2563eb; }
.gem-icon-pink   { background: rgba(37,99,235,0.10);  color: #2563eb; }

/* ── Outlier showcase grid ─────────────────────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-4);
  margin-top: var(--gap-6);
}
@media (max-width: 980px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
.showcase-card {
  position: relative;
  border-radius: var(--radius-2);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.showcase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.showcase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 12px;
  background: var(--surface);
}
.showcase-channel {
  color: var(--ink-700);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 65%;
}
.showcase-score {
  background: var(--brand-coral-soft);
  color: var(--brand-coral);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(37,99,235,0.92));
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.showcase-card:hover .showcase-overlay { opacity: 1; }

/* ── Reveal animation polish ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.workflow-step.reveal,
.gem.reveal {
  /* Slight stagger via transition-delay set inline-or-via-nth would be ideal;
   * we fake it with nth-child here so the staircase reveal lands without JS. */
}
.workflow-step.reveal:nth-child(1) { transition-delay: 60ms; }
.workflow-step.reveal:nth-child(2) { transition-delay: 120ms; }
.workflow-step.reveal:nth-child(3) { transition-delay: 180ms; }
.workflow-step.reveal:nth-child(4) { transition-delay: 240ms; }
.gem.reveal:nth-child(1) { transition-delay: 40ms; }
.gem.reveal:nth-child(2) { transition-delay: 90ms; }
.gem.reveal:nth-child(3) { transition-delay: 140ms; }
.gem.reveal:nth-child(4) { transition-delay: 190ms; }
.gem.reveal:nth-child(5) { transition-delay: 240ms; }
.gem.reveal:nth-child(6) { transition-delay: 290ms; }
.gem.reveal:nth-child(7) { transition-delay: 340ms; }
.gem.reveal:nth-child(8) { transition-delay: 390ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── v0.2.2 POLISH ──────────────────────────────────────────────────── */

/* Marquee edge fade — soft mask on the outer container so cards seem to
 * dissolve into the background instead of getting clipped at the edge.
 * Implemented via mask-image so it works over any background colour. */
.channel-strip {
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

/* Active demo pip — soft pulse so the eye picks up "this is the live one". */
.demo-pip.active {
  animation: demo-pip-pulse 2.2s ease-in-out infinite;
}
@keyframes demo-pip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(37,99,235,0); }
}

/* Gem cards — add a subtle scale on top of the existing translateY so
 * hover feels like the card "comes forward" instead of just sliding up. */
.gem {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 160ms ease,
              box-shadow 200ms ease;
}
.gem:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 20px rgba(11,18,32,0.06), 0 18px 48px rgba(11,18,32,0.06);
}

/* Workflow rows — smoother lift, brand-tinted shadow on hover. */
.workflow-step {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 160ms ease,
              box-shadow 180ms ease;
}
.workflow-step:hover {
  border-color: var(--brand-coral);
  box-shadow: 0 4px 14px rgba(37,99,235,0.05), 0 14px 36px rgba(37,99,235,0.07);
}

/* Primary CTA arrow — slides in slightly on hover. The arrow SVG is the
 * direct sibling after the label text, so we target it via :last-child. */
.btn-coral svg:last-child,
.btn-primary svg:last-child {
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-coral:hover svg:last-child,
.btn-primary:hover svg:last-child {
  transform: translateX(3px);
}

/* Hero demo images — explicit aspect-ratio + smoother fade so the two
 * sides never bounce when one is slow to load. */
.hero-demo-side img {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
  transition: opacity 280ms ease;
  background: var(--bg-soft);
}

/* Hero demo card — depth lift on hover. */
.hero-demo-stage {
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.hero-demo:hover .hero-demo-stage {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,18,32,0.08), 0 28px 72px rgba(11,18,32,0.10);
}

/* Showcase cards — keep the existing translate but add a brand-tinted
 * border on hover so the eye picks up the "click me" affordance. */
.showcase-card { transition: transform 180ms ease, box-shadow 200ms ease, border-color 160ms ease; }
.showcase-card:hover { border-color: var(--brand-coral); }

/* Pricing card highlight — gentle gradient halo for the popular tier. */
.pricing-card.highlight {
  position: relative;
}
/* v0.2.5: highlight halo removed — keeping cards exterior-equal so
 * the row reads symmetric. The "most popular" tier is signaled by a
 * cream background + inline badge chip in the header. */
