/* ============================================================
   Brivtex v2 — "Midnight Signal"
   Loaded AFTER brivtex.css; layers the scroll-reactive design
   system on top of the existing tokens.
   ============================================================ */

:root {
  --v2-glow-1: 99, 102, 241;     /* indigo   — matches --signal-indigo */
  --v2-glow-2: 34, 199, 255;     /* cyan     — matches --signal-cyan    */
  --v2-glow-3: 244, 114, 182;    /* rose     — matches --signal-rose    */
  --v2-ease-out: cubic-bezier(0.22, 0.9, 0.3, 1);
  --v2-ease-spring: cubic-bezier(0.34, 1.4, 0.45, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ── 1. Global micro-interactions ─────────────────────────── */

/* Pointer-tracked glow + press feedback on primary actions */
.btn-primary,
.btn-secondary,
.btn-nav {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-std),
              background-color var(--transition-std), border-color var(--transition-std);
}

.btn-primary::after,
.btn-secondary::after,
.btn-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    120px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.28),
    transparent 65%
  );
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-nav:hover::after {
  opacity: 1;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-secondary:active,
.btn-nav:active,
.btn-ghost:active {
  transform: translateY(0) scale(0.97);
}

/* Underline sweep on quiet links */
.footer-link,
.nav-link {
  position: relative;
  text-decoration: none;
}

.footer-link::after,
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--v2-ease-out);
}

.footer-link:hover,
.nav-link:hover {
  text-decoration: none;
}

.footer-link:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav strengthens as you scroll */
.nav {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav--scrolled {
  background-color: rgba(8, 11, 24, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px rgba(8, 11, 24, 0.35);
}

/* Lazy images fade in once decoded */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img[loading="lazy"].img-loaded {
  opacity: 1;
}

/* ── 2. Scroll-reveal system ──────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--v2-ease-out),
    transform 0.7s var(--v2-ease-out),
    filter 0.7s var(--v2-ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
  will-change: opacity, transform;
}

[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="blur"]  { filter: blur(10px); transform: translateY(12px); }

[data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ── 3. Aurora — scroll-reactive ambient background ───────── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-color: var(--color-hero-bg);
  pointer-events: none;
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  border-radius: 50%;
  filter: blur(90px) hue-rotate(calc(var(--scroll-p, 0) * 90deg));
  will-change: transform, filter;
}

.aurora-bg::before {
  top: -28vmax;
  left: -12vmax;
  background: radial-gradient(circle at 35% 35%,
    rgba(var(--v2-glow-1), 0.55), rgba(var(--v2-glow-1), 0.08) 60%, transparent 72%);
  transform:
    translate3d(calc(var(--scroll-p, 0) * 18vw), calc(var(--scroll-p, 0) * 34vh), 0)
    scale(calc(1 + var(--scroll-p, 0) * 0.35));
}

.aurora-bg::after {
  bottom: -30vmax;
  right: -16vmax;
  background: radial-gradient(circle at 60% 60%,
    rgba(var(--v2-glow-2), 0.32), rgba(var(--v2-glow-3), 0.10) 55%, transparent 70%);
  transform:
    translate3d(calc(var(--scroll-p, 0) * -16vw), calc(var(--scroll-p, 0) * -26vh), 0)
    rotate(calc(var(--scroll-p, 0) * 40deg));
}

/* Film grain + dot grid sit above the blobs */
.aurora-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.aurora-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.4px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

/* Light variant for app pages (dashboard / pricing / basket) */
.aurora-bg--light {
  background-color: var(--color-parchment);
}

.aurora-bg--light::before {
  background: radial-gradient(circle at 35% 35%,
    rgba(var(--v2-glow-1), 0.16), transparent 68%);
}

.aurora-bg--light::after {
  background: radial-gradient(circle at 60% 60%,
    rgba(var(--v2-glow-2), 0.12), rgba(var(--v2-glow-3), 0.05) 55%, transparent 70%);
}

.aurora-bg--light ~ .aurora-grain { opacity: 0.05; }

/* ── 4. Landing v2 ────────────────────────────────────────── */
.lp-section {
  position: relative;
  padding: 110px 0;
}

.lp-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  color: var(--color-on-dark);
  padding: 80px 0 120px;
}

.lp-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-on-dark-muted);
  margin-bottom: 28px;
}

.lp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
  animation: lp-pulse 2.2s ease infinite;
}

@keyframes lp-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.55; }
}

.lp-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.lp-headline em {
  font-style: italic;
  background: linear-gradient(100deg, #a5b4fc 0%, #22c7ff 55%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lp-tagline {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--color-on-dark-muted);
  max-width: 52ch;
  margin-bottom: 36px;
}

.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.lp-hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Floating mock summary card */
.lp-mock {
  position: relative;
  transform: translateY(calc(var(--scroll-y, 0) * -0.05px));
  will-change: transform;
}

.lp-product-preview {
  overflow: hidden;
  border: 1px solid rgba(216, 224, 236, 0.2);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 243, 251, 0.94)),
    #f6f8fc;
  color: #111827;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.lp-preview-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid #d8e0ec;
  background: rgba(246, 248, 252, 0.84);
}

.lp-preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.lp-preview-title {
  color: #111827;
  font-size: 13px;
  font-weight: 750;
}

.lp-preview-meta {
  margin-left: auto;
  color: #677083;
  font-size: 11.5px;
  font-weight: 650;
}

.lp-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  padding: 16px;
}

.lp-preview-panel {
  min-width: 0;
  border: 1px solid #d8e0ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.lp-preview-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid #e7edf6;
  color: #111827;
  font-size: 12.5px;
  font-weight: 750;
}

.lp-preview-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(34, 199, 255, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(34, 199, 255, 0.1);
  color: #075985;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

.lp-preview-pill--green {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.lp-preview-video {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid #e7edf6;
}

.lp-preview-video:last-child {
  border-bottom: 0;
}

.lp-preview-thumb {
  width: 56px;
  height: 36px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.7), transparent 18px),
    linear-gradient(135deg, #6366f1, #07101f);
}

.lp-preview-thumb--cyan {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.65), transparent 18px),
    linear-gradient(135deg, #22c7ff, #101d31);
}

.lp-preview-video strong,
.lp-proof-video-row strong {
  display: block;
  color: #111827;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.3;
}

.lp-preview-video small,
.lp-proof-video-row small,
.lp-proof-basket small {
  display: block;
  margin-top: 3px;
  color: #677083;
  font-size: 11.5px;
  line-height: 1.35;
}

.lp-preview-panel--summary {
  padding-bottom: 12px;
}

.lp-preview-panel--summary p {
  margin: 12px 14px 10px;
  color: #273449;
  font-size: 12.5px;
  line-height: 1.55;
}

.lp-preview-panel--summary ul {
  display: grid;
  gap: 7px;
  margin: 0 14px;
}

.lp-preview-panel--summary li {
  position: relative;
  padding-left: 16px;
  color: #273449;
  font-size: 12px;
  line-height: 1.4;
}

.lp-preview-panel--summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c7ff;
}

.lp-mock-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 26px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lp-mock-video {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-mock-thumb {
  width: 84px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #312e81, #0e7490);
  position: relative;
  flex-shrink: 0;
}

.lp-mock-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 12px solid rgba(255, 255, 255, 0.9);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transform: translateX(2px);
}

.lp-mock-video-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.lp-mock-video-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.lp-mock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22c7ff;
  margin-bottom: 10px;
}

.lp-mock-line {
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  margin-bottom: 9px;
  transform-origin: left;
  animation: lp-line-in 0.9s var(--v2-ease-out) both;
}

.lp-mock-line:nth-child(odd) { width: 92%; }
.lp-mock-line:nth-child(even) { width: 70%; }
.lp-mock-line:nth-of-type(2) { animation-delay: 0.55s; }
.lp-mock-line:nth-of-type(3) { animation-delay: 0.75s; }
.lp-mock-line:nth-of-type(4) { animation-delay: 0.95s; }
.lp-mock-line:nth-of-type(5) { animation-delay: 1.15s; }

@keyframes lp-line-in {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.lp-mock-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(8, 11, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  animation: lp-float 5.5s ease-in-out infinite;
}

.lp-mock-chip--1 { top: -16px; right: -10px; animation-delay: 0s; }
.lp-mock-chip--2 { bottom: -14px; left: -18px; animation-delay: 1.6s; }
.lp-mock-chip--3 { top: 42%; right: -34px; animation-delay: 3s; }

.lp-chip-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Marquee of topics */
.lp-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.lp-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: lp-marquee 36s linear infinite;
}

.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }

@keyframes lp-marquee {
  to { transform: translateX(-50%); }
}

.lp-marquee-chip {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  transition: color var(--transition-std), border-color var(--transition-std);
}

.lp-marquee-chip:hover {
  color: #fff;
  border-color: rgba(165, 180, 252, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .lp-marquee-track { animation: none; }
  .lp-mock { transform: none; }
}

/* Section headings shared on dark */
.lp-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 14px;
}

.lp-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

.lp-sub {
  font-size: 17px;
  color: var(--color-on-dark-muted);
  max-width: 56ch;
  line-height: 1.65;
}

/* Stats strip */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.lp-stat-value {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #a5b4fc, #22c7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lp-stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-on-dark-muted);
}

/* How-it-works steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.lp-step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--v2-ease-out), border-color 0.4s ease, background 0.4s ease;
}

.lp-step:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 180, 252, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.lp-step-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(160deg, rgba(165, 180, 252, 0.9), rgba(165, 180, 252, 0.15));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 18px;
}

.lp-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.lp-step-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-on-dark-muted);
}

/* Feature showcase split rows */
.lp-show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 80px;
}

.lp-show:nth-of-type(even) .lp-show-visual { order: -1; }

.lp-show-visual {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lp-show h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 14px;
}

.lp-show p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-on-dark-muted);
  margin-bottom: 18px;
}

.lp-show-list {
  display: grid;
  gap: 10px;
}

.lp-show-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.lp-show-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: 999px;
  background: #22c7ff;
  flex-shrink: 0;
}

/* Mini basket visualization inside showcase */
.lp-mini-basket {
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(var(--mb-accent, 99, 102, 241), 0.35);
  background: linear-gradient(100deg,
    rgba(var(--mb-accent, 99, 102, 241), 0.16), rgba(var(--mb-accent, 99, 102, 241), 0.04));
}

.lp-mini-basket:last-child { margin-bottom: 0; }

.lp-mini-basket-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-mini-basket-name::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgb(var(--mb-accent, 99, 102, 241));
}

.lp-mini-cards { display: flex; gap: 8px; }

.lp-mini-card {
  width: 56px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mock notes editor inside showcase */
.lp-mock-notes-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f472b6;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-mock-notes-saved {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: #22c55e;
}

.lp-mock-caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #f472b6;
  vertical-align: text-bottom;
  animation: lp-caret 1.1s steps(2) infinite;
}

@keyframes lp-caret { 50% { opacity: 0; } }

/* Final CTA band */
.lp-cta {
  text-align: center;
  padding: 130px 24px 150px;
}

.lp-cta .lp-h2 { font-size: clamp(34px, 5vw, 58px); }

/* Light product-led landing sections */
.lp-product-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 199, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #f6f8fc 0%, #fff 42rem);
  color: #111827;
}

.lp-product-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.28), rgba(246, 248, 252, 0));
}

.lp-product-shell .lp-section {
  padding: 88px 0;
}

.lp-product-shell .lp-section--steps {
  padding-bottom: 58px;
}

.lp-product-shell .lp-section--showcase {
  padding-top: 28px;
}

.lp-product-shell .lp-marquee {
  position: relative;
  border-top: 1px solid rgba(216, 224, 236, 0.58);
  border-bottom: 1px solid #d8e0ec;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.lp-product-shell .lp-marquee-chip {
  border-color: #d8e0ec;
  background: rgba(255, 255, 255, 0.82);
  color: #677083;
}

.lp-product-shell .lp-marquee-chip:hover {
  border-color: rgba(34, 199, 255, 0.58);
  color: #111827;
}

.lp-product-shell .lp-kicker {
  color: #6366f1;
}

.lp-product-shell .lp-h2,
.lp-product-shell .lp-show h3 {
  color: #111827;
}

.lp-product-shell .lp-sub,
.lp-product-shell .lp-stat-label,
.lp-product-shell .lp-step-body,
.lp-product-shell .lp-show p {
  color: #677083;
}

.lp-product-shell .lp-stats {
  max-width: 980px;
}

.lp-product-shell .lp-stats > div,
.lp-proof-card,
.lp-product-shell .lp-step,
.lp-product-shell .lp-show-visual {
  border: 1px solid #d8e0ec;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.lp-product-shell .lp-stats > div {
  padding: 26px 20px;
}

.lp-product-shell .lp-stat-value {
  background: linear-gradient(120deg, #6366f1, #22c7ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-proof-section {
  padding-top: 34px;
}

.lp-product-shell .lp-section--showcase .lp-show:first-child {
  margin-top: 0;
}

.lp-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 16px;
  margin-top: 46px;
}

.lp-proof-card {
  min-width: 0;
  padding: 18px;
}

.lp-proof-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: #111827;
  font-size: 13px;
  font-weight: 750;
}

.lp-proof-action {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(34, 199, 255, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(34, 199, 255, 0.1);
  color: #075985;
  font-size: 11.5px;
  font-weight: 750;
  text-decoration: none;
}

.lp-proof-basket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 13px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.07);
}

.lp-proof-basket strong {
  display: block;
  color: #111827;
  font-size: 14px;
}

.lp-proof-basket-line {
  flex: 0 0 96px;
  height: 2px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 24px 50%, rgba(99, 102, 241, 0.92) 0 3px, transparent 4px),
    radial-gradient(circle at 64px 50%, rgba(34, 199, 255, 0.78) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.72), transparent);
}

.lp-proof-video-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 11px;
  padding: 12px 0;
  border-top: 1px solid #e7edf6;
}

.lp-proof-thumb {
  width: 58px;
  height: 38px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.72), transparent 18px),
    linear-gradient(135deg, #6366f1, #07101f);
}

.lp-proof-thumb--rose {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.72), transparent 18px),
    linear-gradient(135deg, #f472b6, #101d31);
}

.lp-proof-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 760;
}

.lp-proof-card p {
  margin: 0;
  color: #273449;
  font-size: 14px;
  line-height: 1.62;
}

.lp-proof-points {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.lp-proof-points li,
.lp-product-shell .lp-show-list li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  position: relative;
  padding-left: 0;
  color: #273449;
}

.lp-proof-points li::before,
.lp-product-shell .lp-show-list li::before {
  content: "";
  position: static;
  width: 7px;
  height: 7px;
  margin-top: 0.62em;
  border-radius: 999px;
  background: #22c7ff;
}

.lp-proof-note-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 18px;
  border: 1px solid #d8e0ec;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(244, 114, 182, 0.10) 1px, transparent 1px) 18px 0 / 1px 100% no-repeat,
    repeating-linear-gradient(#fff, #fff 25px, #e7edf6 26px);
}

.lp-proof-note-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(39, 52, 73, 0.16);
}

.lp-proof-note-lines span:nth-child(2) { width: 74%; }
.lp-proof-note-lines span:nth-child(3) { width: 88%; }
.lp-proof-note-lines span:nth-child(4) { width: 48%; }

.lp-product-shell .lp-step {
  backdrop-filter: none;
}

.lp-product-shell .lp-step:hover {
  border-color: rgba(34, 199, 255, 0.42);
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.11);
}

.lp-product-shell .lp-step-title {
  color: #111827;
}

.lp-product-shell .lp-step-num {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.94), rgba(34, 199, 255, 0.42));
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-product-shell .lp-show-visual {
  backdrop-filter: none;
}

.lp-product-shell .lp-mini-basket {
  background: linear-gradient(100deg,
    rgba(var(--mb-accent, 99, 102, 241), 0.11), rgba(var(--mb-accent, 99, 102, 241), 0.035));
}

.lp-product-shell .lp-mini-basket-name,
.lp-product-shell .lp-mock-notes-title {
  color: #111827;
}

.lp-product-shell .lp-mini-card {
  background: rgba(17, 24, 39, 0.06);
  border-color: rgba(17, 24, 39, 0.08);
}

.lp-product-shell .lp-mock-line {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.06));
}

.lp-product-shell .lp-mock-notes-saved {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #166534;
}

.lp-product-shell .lp-cta {
  padding-top: 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), #eef3fb);
}

.lp-product-shell .lp-cta .lp-hero-note {
  color: #677083;
}

/* Landing responsive */
@media (max-width: 980px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .lp-mock { max-width: 460px; margin: 0 auto; }
  .lp-preview-grid,
  .lp-proof-grid { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; margin-top: 42px; }
  .lp-show { grid-template-columns: 1fr; gap: 32px; }
  .lp-show:nth-of-type(even) .lp-show-visual { order: 0; }
  .lp-stats { grid-template-columns: 1fr; gap: 40px; }
  .lp-section,
  .lp-product-shell .lp-section { padding: 72px 0; }
  .lp-product-shell .lp-section--steps { padding-bottom: 46px; }
  .lp-product-shell .lp-section--showcase { padding-top: 26px; }
}

@media (max-width: 640px) {
  .lp-product-shell .lp-section {
    padding: 58px 0;
  }

  .lp-product-shell .lp-section--steps {
    padding-bottom: 34px;
  }

  .lp-product-shell .lp-section--showcase {
    padding-top: 18px;
  }

  .lp-proof-section {
    padding-top: 44px;
  }

  .lp-proof-grid,
  .lp-steps {
    margin-top: 32px;
  }

  .lp-show {
    gap: 24px;
    margin-top: 52px;
  }

  .lp-preview-grid {
    padding: 12px;
  }

  .lp-product-preview {
    border-radius: 14px;
  }

  .lp-preview-meta {
    display: none;
  }

  .lp-mock-chip {
    position: static;
    width: max-content;
    max-width: 100%;
    margin-top: 10px;
  }

  .lp-mock {
    display: grid;
    gap: 0;
  }
}

/* ── 5. Pricing v2 ────────────────────────────────────────── */
.pr-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.pr-header {
  text-align: center;
  margin-bottom: 40px;
}

.pr-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pr-header p {
  color: var(--color-ink-muted);
  font-size: 17px;
}

/* Segmented plan toggle */
.plan-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 440px;
  margin: 0 auto 48px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(15, 14, 26, 0.06);
  border: 1px solid var(--color-hairline);
}

.plan-toggle-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc((100% - 10px) / 3);
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--v2-ease-spring);
  pointer-events: none;
}

.plan-toggle-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 6px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-muted);
  transition: color 0.3s ease;
}

.plan-toggle-btn[aria-pressed="true"] { color: #fff; }

/* Plan cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border-radius: var(--radius-xl);
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition:
    transform 0.45s var(--v2-ease-out),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    opacity 0.45s ease;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 0%),
    rgba(var(--v2-glow-1), 0.10),
    transparent 70%
  );
}

.plan-card:hover::before { opacity: 1; }

.plan-card--active {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(var(--v2-glow-1), 0.55);
  box-shadow:
    0 0 0 1px rgba(var(--v2-glow-1), 0.35),
    0 24px 60px rgba(var(--v2-glow-1), 0.18),
    var(--shadow-md);
}

.plan-grid--focused .plan-card:not(.plan-card--active) {
  opacity: 0.55;
  transform: scale(0.985);
}

.plan-card-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(100deg, #4f46e5, #0ea5e9);
  color: #fff;
}

.plan-card-flag--current {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.plan-price small {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ink-muted);
}

.plan-local {
  font-size: 12.5px;
  color: var(--color-ink-muted);
  margin: 2px 0 0;
}

.plan-features {
  display: grid;
  gap: 9px;
  margin: 8px 0 4px;
  padding: 0;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--color-ink-secondary);
}

.plan-features li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  flex-shrink: 0;
}

.plan-cta { margin-top: auto; }

.plan-usage {
  font-size: 13px;
  color: var(--color-ink-muted);
  margin: 0;
}

.pr-fineprint {
  text-align: center;
  font-size: 12.5px;
  color: var(--color-ink-muted);
  margin-top: 36px;
}

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card--active { transform: translateY(-4px) scale(1.01); }
}

/* ── 6. Dashboard v2 ──────────────────────────────────────── */
.dash-hero {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 34px 36px;
  margin-bottom: 28px;
  color: #fff;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(var(--v2-glow-1), 0.55), transparent 55%),
    radial-gradient(110% 160% at 100% 100%, rgba(var(--v2-glow-2), 0.30), transparent 55%),
    var(--color-hero-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.dash-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.08;
  pointer-events: none;
}

.dash-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.dash-hero-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin: 0;
}

.dash-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Usage meter */
.dash-usage {
  position: relative;
  z-index: 1;
  min-width: 240px;
}

.dash-usage-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.dash-usage-label a { color: #a5b4fc; }

.dash-usage-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.dash-usage-fill {
  height: 100%;
  width: var(--usage-w, 0%);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #6366f1, #22c7ff);
  animation: usage-fill 1.2s var(--v2-ease-out) 0.25s both;
}

@keyframes usage-fill {
  from { width: 0; }
}

.dash-usage-fill--warn { background: linear-gradient(90deg, #f59e0b, #ef4444); }

/* Basket header upgrade: open-page link */
.basket-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: rgb(var(--basket-accent, 79, 70, 229));
  border: 1px solid rgba(var(--basket-accent, 79, 70, 229), 0.35);
  background: rgba(var(--basket-accent, 79, 70, 229), 0.07);
  transition: background var(--transition-std), transform var(--transition-fast), gap 0.25s ease;
}

.basket-open-btn:hover {
  background: rgba(var(--basket-accent, 79, 70, 229), 0.16);
  text-decoration: none;
  gap: 9px;
}

.basket-open-btn:active { transform: scale(0.96); }

/* ── 7. Video card thumbnails ─────────────────────────────── */
.video-card-thumb {
  position: relative;
  margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)) 0;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e1b4b, #155e75);
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--v2-ease-out), opacity 0.6s ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.06);
}

.video-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 24, 0.45));
  pointer-events: none;
}

.video-card {
  overflow: hidden;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── 8. Basket detail page ────────────────────────────────── */
.bd-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 46px 40px;
  margin-bottom: 32px;
  color: #fff;
  background:
    radial-gradient(130% 200% at 8% 0%, rgba(var(--basket-accent, 79, 70, 229), 0.75), transparent 60%),
    radial-gradient(110% 170% at 95% 110%, rgba(var(--v2-glow-2), 0.22), transparent 55%),
    var(--color-hero-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.bd-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.09;
  pointer-events: none;
}

.bd-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  text-decoration: none;
  transition: color var(--transition-std), gap 0.25s ease;
}

.bd-back:hover { color: #fff; gap: 10px; text-decoration: none; }

.bd-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.bd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bd-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

/* Two-column layout: videos + sticky notes */
.bd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.bd-section-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bd-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-hairline);
}

.bd-video-list {
  display: grid;
  gap: 16px;
}

.bd-video-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-radius: var(--radius-lg);
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.35s var(--v2-ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}

.bd-video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--basket-accent, 79, 70, 229), 0.45);
  box-shadow: var(--shadow-md);
}

.bd-video-thumb {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b, #155e75);
  min-height: 112px;
}

.bd-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-video-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bd-video-title {
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bd-video-preview {
  font-size: 13.5px;
  color: var(--color-ink-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bd-video-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bd-empty {
  text-align: center;
  padding: 56px 24px;
  border: 1.5px dashed var(--color-hairline-hover);
  border-radius: var(--radius-lg);
  color: var(--color-ink-muted);
}

/* Notes panel */
.bd-notes {
  position: sticky;
  top: 84px;
  border-radius: var(--radius-xl);
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.bd-notes-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--color-divider-soft);
  background:
    linear-gradient(100deg, rgba(var(--basket-accent, 79, 70, 229), 0.08), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bd-notes-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.bd-notes-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.bd-notes-status--saved { color: #059669; }
.bd-notes-status--saving { color: var(--color-ink-muted); }
.bd-notes-status--error { color: #dc2626; }

.bd-notes-textarea {
  display: block;
  width: 100%;
  min-height: 380px;
  padding: 20px 22px;
  border: 0;
  resize: vertical;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink);
  background:
    repeating-linear-gradient(transparent, transparent 25.5px, var(--color-divider-soft) 26.25px);
  background-attachment: local;
  outline: none;
}

.bd-notes-textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(var(--basket-accent, 79, 70, 229), 0.30);
}

.bd-notes-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  border-top: 1px solid var(--color-divider-soft);
  font-size: 12px;
  color: var(--color-ink-muted);
}

@media (max-width: 980px) {
  .bd-layout { grid-template-columns: 1fr; }
  .bd-notes { position: static; }
  .bd-video-card { grid-template-columns: 1fr; }
  .bd-video-thumb { aspect-ratio: 16 / 9; }
  .dash-hero { padding: 26px 22px; }
  .bd-hero { padding: 32px 24px; }
}
