/*
Theme Name: facultyEdge
Theme URI: https://facultyedge.com
Author: facultyEdge
Author URI: https://facultyedge.com
Description: Custom marketing theme for facultyEdge — automated faculty scheduling for higher education. Single landing page, fully responsive, premium motion design.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: facultyedge
Tags: one-page, custom-colors, custom-logo, full-width-template, sticky-post
*/

/* ───────────────── FacultyEdge — design tokens ───────────────── */
:root {
  /* Sky */
  --sky-50:  #F0F9FF;
  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;
  --sky-400: #38BDF8;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;
  --sky-700: #0369A1;
  --sky-900: #0C4A6E;

  --white:    #FFFFFF;
  --soft:     #F8FAFC;
  --hairline: #E2E8F0;
  --muted:    #64748B;
  --slate:    #475569;
  --ink:      #0F172A;
  --success:  #10B981;
  --warn:     #F59E0B;
  --danger:   #EF4444;

  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 8px 32px rgba(14, 165, 233, 0.14);
  --shadow-deep: 0 16px 48px rgba(15, 23, 42, 0.10);

  /* Density (overridable via tweaks) */
  --section-py: 120px;
  --container-w: 1240px;

  /* Accent (overridable via tweaks) — defaults match --sky-500 family */
  --accent-50:  var(--sky-50);
  --accent-100: var(--sky-100);
  --accent-200: var(--sky-200);
  --accent-400: var(--sky-400);
  --accent-500: var(--sky-500);
  --accent-600: var(--sky-600);
  --accent-700: var(--sky-700);
}

/* ───────────────── Base ───────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scroll-snap-type: y mandatory; }
section, footer { scroll-snap-align: start; scroll-snap-stop: always; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11', 'tnum';
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (font-variation-settings: normal) {
  body { font-family: 'Inter var', 'Inter', sans-serif; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ───────────────── Premium motion (Lottie-style) ───────────────── */

/* Shimmer sweep on key numbers / accent text. Uses explicit colors (currentColor
   inside background-clip:text gradients is unreliable across browsers). */
.shimmer {
  position: relative;
  display: inline-block;
  color: var(--accent-500);
}
.shimmer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    110deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 65%,
    transparent 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  -webkit-mask: linear-gradient(#000, #000);
  mask: linear-gradient(#000, #000);
  mix-blend-mode: overlay;
  animation: shimmer-pos 5s linear infinite;
  pointer-events: none;
}
@keyframes shimmer-pos {
  0%   { background-position:  150% 0; }
  100% { background-position: -150% 0; }
}

/* Subtle 'breathing' float (low-frequency Y oscillation) */
.float-y {
  animation: float-y 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Sheen sweep across element (premium card highlight) */
.sheen { position: relative; overflow: hidden; isolation: isolate; }
.sheen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255,255,255,0.55) 48%,
    rgba(255,255,255,0.55) 52%,
    transparent 70%);
  transform: translateX(-120%) skewX(-12deg);
  animation: sheen-sweep 4s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}
@keyframes sheen-sweep {
  0%   { transform: translateX(-120%) skewX(-12deg); }
  100% { transform: translateX(140%) skewX(-12deg); }
}

/* Looping check draw-on */
.check-loop path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: check-draw 3s linear infinite;
}
.check-loop:nth-of-type(2) path { animation-delay: 0.6s; }
.check-loop:nth-of-type(3) path { animation-delay: 1.2s; }
@keyframes check-draw {
  0%   { stroke-dashoffset: 30; opacity: 1; }
  50%  { stroke-dashoffset: 0;  opacity: 1; }
  90%  { stroke-dashoffset: 0;  opacity: 0; }
  100% { stroke-dashoffset: 30; opacity: 0; }
}

/* Soft pulsing ring around an element */
.pulse-ring { position: relative; }
.pulse-ring::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 2px solid var(--accent-500);
  opacity: 0;
  animation: pulse-ring 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { opacity: 0.6; transform: scale(0.96); }
  100% { opacity: 0;   transform: scale(1.18); }
}

/* Wiggle arrow (gentle infinite micro-motion) */
.wiggle-arrow {
  display: inline-block;
  animation: wiggle-arrow 2.2s ease-in-out infinite;
}
@keyframes wiggle-arrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

/* Slow rotate (for halos, ambient marks) */
.rotate-slow { animation: rotate-slow 22s linear infinite; }
@keyframes rotate-slow { to { transform: rotate(360deg); } }

/* Gradient-position drift for backgrounds */
.drift-bg {
  background-size: 200% 200%;
  animation: drift-bg 14s ease-in-out infinite;
}
@keyframes drift-bg {
  0%, 100% { background-position:   0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Counter / number tick (used inline on stat ticks) */
.tick-up { animation: tick-up 600ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes tick-up {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

/* Soft breathing for icon containers */
.icon-breathe {
  animation: icon-breathe 4.5s ease-in-out infinite;
  transform-origin: center;
}
.icon-breathe:nth-of-type(2) { animation-delay: 0.6s; }
.icon-breathe:nth-of-type(3) { animation-delay: 1.2s; }
.icon-breathe:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes icon-breathe {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-500) 18%, transparent); }
  50%      { transform: scale(1.04); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-500) 0%, transparent); }
}

/* Drift hue (very subtle saturation drift) */
.hue-drift { animation: hue-drift 18s ease-in-out infinite; }
@keyframes hue-drift {
  0%, 100% { filter: hue-rotate(0deg); }
  50%      { filter: hue-rotate(-12deg); }
}

/* Dot pulse (single-color radiating dot) */
.dot-pulse {
  position: relative;
  display: inline-block;
}
.dot-pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { transform: scale(0.6); opacity: 0.45; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Floating priority bars (subtle width oscillation) */
.bar-flex {
  animation: bar-flex 4s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes bar-flex {
  0%, 100% { transform: scaleX(1);    }
  50%      { transform: scaleX(0.985); }
}

/* Avatar halo */
.avatar-halo {
  position: relative;
}
.avatar-halo::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-500) 40%, transparent), transparent 70%);
  animation: avatar-halo 3.4s ease-in-out infinite;
  z-index: -1;
}
@keyframes avatar-halo {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* Slow tilt (for product frames) */
.tilt-loop {
  animation: tilt-loop 9s ease-in-out infinite;
  transform-origin: center;
}
@keyframes tilt-loop {
  0%, 100% { transform: rotate(2deg);    }
  50%      { transform: rotate(1.2deg); }
}

/* Reduce motion when user prefers it */
@media (prefers-reduced-motion: reduce) {
  .shimmer, .float-y, .sheen::after, .check-loop path,
  .pulse-ring::before, .wiggle-arrow, .rotate-slow, .drift-bg,
  .icon-breathe, .hue-drift, .dot-pulse::after, .bar-flex,
  .avatar-halo::before, .tilt-loop { animation: none !important; }
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 960px; }

/* Type tokens */
.display-xl { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; margin: 0; text-wrap: balance; }
.display-lg { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; margin: 0; text-wrap: balance; }
.display-md { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; margin: 0 0 16px; }
.eyebrow-sky    { color: var(--accent-700); }
.eyebrow-muted  { color: var(--muted); }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--slate); margin: 24px 0 0; max-width: 640px; text-wrap: pretty; }
.lede-italic { font-style: italic; color: var(--slate); margin-top: 28px; font-size: 17px; }

/* ───────────────── Buttons ───────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border-radius: 10px;
  padding: 14px 28px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 100ms ease;
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-primary { background: var(--accent-500); color: white; }
.btn-primary:hover { background: var(--accent-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-500) 18%, transparent); }

.btn-secondary {
  background: white;
  border: 1.5px solid var(--accent-500);
  color: var(--accent-500);
  padding: 12.5px 26.5px;
}
.btn-secondary:hover { background: var(--accent-50); border-color: var(--accent-600); color: var(--accent-600); }

.ghost { color: var(--slate); font-weight: 500; font-size: 15px; }
.ghost:hover { color: var(--ink); }

.ghost-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-500); font-weight: 600; font-size: 15px;
  margin-top: 32px;
}
.ghost-link:hover { color: var(--accent-600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ghost-link .arrow { transition: transform 200ms ease; }
.ghost-link:hover .arrow { transform: translateX(4px); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.cta-center { justify-content: center; margin-top: 64px; }

a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-500) 50%, transparent);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ───────────────── Header ───────────────── */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.0);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink);
  letter-spacing: -0.015em;
}
.brand-name {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
.brand-name::after {
  content: '.';
  color: var(--accent-500);
  margin-left: 1px;
}
.brand-dark { color: white; }

.nav-links { display: flex; gap: 28px; }
section[id] { scroll-margin-top: 96px; }

.nav-links a {
  position: relative;
  font-size: 15px; font-weight: 500; color: var(--slate);
  padding: 6px 2px;
  transition: color 150ms ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }

/* ───────────────── Hero ───────────────── */
.hero {
  position: relative;
  padding: 24px 0 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 700px at 92% 6%, var(--accent-50) 0%, transparent 55%),
    radial-gradient(circle 480px at 8% 90%, color-mix(in srgb, var(--accent-100) 50%, transparent) 0%, transparent 60%);
  opacity: 0.85;
  pointer-events: none; z-index: -2;
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none; z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 48px;
}
.hero-copy { min-width: 0; }
.hero-copy .ink-accent { color: var(--accent-500); }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--slate);
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.hero-pill:hover { border-color: var(--accent-200); transform: translateY(-1px); }
.hero-pill-tag {
  background: var(--accent-500); color: white;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.hero-pill-text { color: var(--ink); }
.hero-pill .arrow { color: var(--muted); font-size: 14px; transition: transform 200ms ease; }
.hero-pill:hover .arrow { transform: translateX(3px); color: var(--accent-500); }

.hero-sub {
  font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--slate);
  max-width: 500px; margin: 24px 0 0;
  text-wrap: pretty;
}
.hero-proof {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
}
/* University icons row (replaces avatars) */
.hero-uni-icons {
  display: flex; gap: 14px;
  color: var(--accent-600);
}
.uni-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 200ms ease, background 200ms ease;
}
.uni-icon:hover { transform: translateY(-2px); background: var(--accent-100); }

/* Priority list — simple variant without progress bars */
.priority-list-simple .priority-item {
  grid-template-columns: 14px 18px 1fr;
}
.priority-list-simple .p-bar,
.priority-list-simple .p-pct { display: none; }

/* Math card static (no slider column) */
.math-card-static .math-row {
  grid-template-columns: 140px 1fr;
  gap: 24px;
}
.math-card-static .math-control { display: none; }

/* Minimal footer */
.foot-min {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-bottom-min {
  font-size: 13px;
  color: #94A3B8;
}

/* Avatars row no longer used — kept as fallback hidden */
.hero-avatars { display: none; }
.trust-micro {
  font-size: 13.5px; color: var(--muted); margin: 0;
  line-height: 1.4;
}

/* ── Hero visual: schedule app mockup ── */
.hero-visual { position: relative; min-width: 0; }
.hero-glow {
  position: absolute; inset: 24px -24px -24px 24px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--accent-200) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: 0;
}
.hero-frame {
  position: relative; z-index: 1;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #FAFBFC;
  border-bottom: 1px solid var(--hairline);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E2E8F0;
}
.chrome-dots span:nth-child(1) { background: #FF5F57; }
.chrome-dots span:nth-child(2) { background: #FEBC2E; }
.chrome-dots span:nth-child(3) { background: #28C840; }
.chrome-url {
  font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums;
  background: white; border: 1px solid var(--hairline);
  padding: 4px 12px; border-radius: 6px;
  margin: 0 auto;
}
.chrome-spacer { width: 50px; }

.schedule-app {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 380px;
}
.schedule-side {
  background: var(--soft);
  border-right: 1px solid var(--hairline);
  padding: 14px 10px;
  font-size: 12px;
}
.side-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  color: var(--slate);
  border-radius: 6px;
  font-weight: 500;
}
.side-row.active { background: var(--accent-100); color: var(--accent-700); }
.side-row-head {
  text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em;
  color: var(--muted); padding: 2px 10px 10px; font-weight: 600;
}
.side-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); }
.side-row .dot-2 { background: #8B5CF6; }
.side-row .dot-3 { background: #F97316; }
.side-row .dot-4 { background: var(--success); }

.side-progress { margin-top: 18px; padding: 12px 10px; border-top: 1px solid var(--hairline); }
.side-progress-label { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.side-progress-label strong { color: var(--accent-600); font-variant-numeric: tabular-nums; }
.side-progress-bar { height: 6px; background: var(--hairline); border-radius: 999px; overflow: hidden; }
.side-progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-400), var(--accent-600)); width: 0%; transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1); }

.schedule-main { display: flex; flex-direction: column; min-width: 0; }
.schedule-head {
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline);
  font-size: 11px;
}
.schedule-head-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); font-weight: 600;
}
.schedule-head-cell { padding: 4px 6px; }
.schedule-grid {
  padding: 10px 16px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.sg-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 6px;
  align-items: center;
}
.sg-course {
  font-size: 12px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.sg-course .sc-dot { width: 6px; height: 6px; border-radius: 50%; }
.sg-cell {
  height: 28px;
  border-radius: 6px;
  background: var(--soft);
  position: relative;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  font-weight: 600;
  overflow: hidden;
}
.sg-cell.filled {
  color: white;
  background: var(--accent-500);
  animation: fillIn 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sg-cell.filled-2 { background: #8B5CF6; }
.sg-cell.filled-3 { background: #F97316; }
.sg-cell.filled-4 { background: var(--success); }
@keyframes fillIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.schedule-footer {
  border-top: 1px solid var(--hairline);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--muted);
  background: var(--soft);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; }
}

/* Variant B: split before/after */
.hero-frame-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: stretch;
  padding: 16px;
  min-height: 380px;
}
.split-pane {
  background: var(--soft);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column;
}
.split-after { background: white; }
.split-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--danger); font-weight: 700; margin-bottom: 10px;
}
.split-label-good { color: var(--success); }
.split-arrow { align-self: center; font-size: 24px; color: var(--muted); padding: 0 8px; }
.spreadsheet {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  flex: 1;
}
.ss-row {
  padding: 5px 8px;
  border-bottom: 1px solid var(--hairline);
  color: var(--slate);
  display: flex; gap: 6px; align-items: center;
}
.ss-row.ss-head { background: var(--soft); font-weight: 700; color: var(--ink); }
.ss-row.dim { color: var(--muted); font-style: italic; }
.ss-row .conflict { color: var(--danger); font-size: 13px; margin-left: auto; }
.mini-schedule {
  flex: 1;
  background:
    repeating-linear-gradient(0deg, var(--hairline) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, var(--hairline) 0 1px, transparent 1px 20%),
    linear-gradient(135deg, var(--accent-100) 25%, transparent 25%) 0 0/14% 14%,
    var(--soft);
  border-radius: 6px;
  position: relative;
}
.mini-schedule::before, .mini-schedule::after {
  content: ''; position: absolute; border-radius: 4px;
}
.mini-schedule::before { left: 6%;  top: 12%; width: 16%; height: 22%; background: var(--accent-500); }
.mini-schedule::after  { left: 28%; top: 38%; width: 14%; height: 22%; background: #8B5CF6; }

/* Variant C: video frame — premium thumbnail v2 */
.hero-frame-video {
  background: #060A14;
  border: 1px solid var(--hairline);
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-thumb:hover .video-callout { transform: translateY(-2px); }
.video-thumb:hover .video-poster.v2 { transform: scale(1.02); }

/* Realistic product poster background */
.video-poster.v2 {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0F1B2D 0%, #18283F 60%, #0B1424 100%);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  padding: 14px;
}
.vp2-chrome {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.vp2-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.vp2-dot:nth-child(1) { background: #FF5F57; }
.vp2-dot:nth-child(2) { background: #FEBC2E; }
.vp2-dot:nth-child(3) { background: #28C840; }
.vp2-url {
  margin-left: 8px;
  font-family: ui-monospace, Menlo, monospace; font-size: 10px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  padding: 3px 10px; border-radius: 5px;
  letter-spacing: 0.02em;
}
.vp2-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  flex: 1; min-height: 0;
}
.vp2-side {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 7px;
}
.vp2-side-row {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 6px; border-radius: 5px;
}
.vp2-side-row.vp2-active { background: color-mix(in srgb, var(--accent-500) 22%, transparent); }
.vp2-bullet { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.vp2-b1 { background: var(--accent-400); }
.vp2-b2 { background: #8B5CF6; }
.vp2-b3 { background: #F97316; }
.vp2-b4 { background: var(--success); }
.vp2-skel {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
}
.vp2-w-xs { width: 14px; }
.vp2-w-sm { width: 36px; }
.vp2-w-md { width: 56px; }
.vp2-w-lg { width: 78px; }
.vp2-main {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.vp2-head {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 6px; padding-bottom: 8px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vp2-head .vp2-skel { height: 5px; width: 100%; }
.vp2-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 5px; flex: 1;
}
.vp2-cell {
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  animation: vp2-pulse 5s ease-in-out infinite;
}
.vp2-cell.vp2-c1 { background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-500) 30%, transparent); }
.vp2-cell.vp2-c2 { background: linear-gradient(135deg, #A78BFA, #7C3AED); box-shadow: 0 4px 12px color-mix(in srgb, #8B5CF6 30%, transparent); }
.vp2-cell.vp2-c3 { background: linear-gradient(135deg, #FB923C, #EA580C); box-shadow: 0 4px 12px color-mix(in srgb, #F97316 30%, transparent); }
.vp2-cell.vp2-c4 { background: linear-gradient(135deg, #34D399, #059669); box-shadow: 0 4px 12px color-mix(in srgb, var(--success) 30%, transparent); }
@keyframes vp2-pulse {
  0%, 100% { opacity: 0.92; }
  50%      { opacity: 1; }
}

/* Dark scrim to make overlay text readable */
.video-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 60%, rgba(0,0,0,0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Compelling value-prop callout */
.video-callout {
  position: absolute;
  left: 24px; right: 24px; top: 20%;
  text-align: center;
  z-index: 3;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.video-callout-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-300, #7DD3FC);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.video-callout-title {
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.video-callout-num {
  background: linear-gradient(135deg, #7DD3FC 0%, var(--accent-400) 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
}
.video-callout-sub {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Play button */
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.5),
    0 0 0 6px rgba(255,255,255,0.12);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 250ms ease;
  z-index: 4;
  pointer-events: none;
}
.video-thumb:hover .video-play {
  box-shadow:
    0 20px 64px rgba(14, 165, 233, 0.45),
    0 0 0 8px rgba(255,255,255,0.18);
}
.video-play svg { margin-left: 6px; position: relative; z-index: 1; }
.video-play-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid white;
  opacity: 0;
  animation: vp-ring 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.video-play-ring-2 { animation-delay: 1.3s; }
@keyframes vp-ring {
  0%   { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 0;   transform: scale(1.5); }
}

/* Duration + watch CTA bottom-left */
.video-meta {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  z-index: 4;
  pointer-events: none;
}
.video-meta-time {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; font-weight: 600;
  color: white;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 5px 9px; border-radius: 5px;
  letter-spacing: 0.04em;
}
.video-meta-time svg { color: #FF0000; }
.video-meta-label:hover {
  background: rgba(0,0,0,0.6);
}

/* Inline iframe — hidden until thumb is clicked */
.video-inline {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
  background: #000;
}
.video-thumb.is-playing .video-inline {
  opacity: 1;
  pointer-events: auto;
}
/* Hide poster + overlays once playing */
.video-thumb.is-playing .video-poster,
.video-thumb.is-playing .video-scrim,
.video-thumb.is-playing .video-callout,
.video-thumb.is-playing .video-play,
.video-thumb.is-playing .video-meta { opacity: 0; pointer-events: none; transition: opacity 200ms ease; }

/* ── Video modal fallback link ── */
.video-modal-fallback {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.video-modal-fallback:hover { color: white; }

/* Video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.video-modal-inner {
  position: relative;
  width: 100%; max-width: 1080px;
  animation: popIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.video-modal-close {
  position: absolute; right: -8px; top: -44px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1); color: white; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 150ms ease;
}
.video-modal-close:hover { background: rgba(255,255,255,0.2); }
.video-modal-frame {
  aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  background: black;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.video-modal-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px 0;
  background: white;
  box-shadow: var(--shadow-soft);
}
.stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 700; line-height: 1;
  color: var(--accent-500);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 14px; font-weight: 500; color: var(--slate);
  line-height: 1.4;
}

/* ───────────────── Trust bar ───────────────── */
.trust {
  background: var(--soft);
  padding: 64px 0;
  text-align: center;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}
.logo-link {
  display: flex; align-items: center; justify-content: center;
  padding: 8px 12px;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
  filter: grayscale(1);
  opacity: 0.7;
}
.logo-link:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}
.logo-link img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ───────────────── Problem ───────────────── */
.problem {
  background: var(--accent-50);
  padding: var(--section-py) 0;
}
.section-head { max-width: 800px; }
.section-head-center { margin: 0 auto; text-align: center; }
.section-head-center .lede { margin-left: auto; margin-right: auto; max-width: 720px; }

.factor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 64px;
}
.factor {
  display: flex; align-items: center; gap: 12px;
  background: white;
  border: 1px solid var(--accent-200);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.factor:hover {
  border-color: var(--accent-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.factor-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--accent-100);
  color: var(--accent-600);
  border-radius: 8px;
  flex-shrink: 0;
}

/* ───────────────── Solution ───────────────── */
.solution { background: white; padding: var(--section-py) 0; }

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
.benefit-card {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  display: flex; flex-direction: column;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-200);
}
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.card-title {
  font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
  margin: 24px 0 0;
}
.card-body {
  font-size: 17px; line-height: 1.6; color: var(--slate);
  margin: 12px 0 0;
}
.card-stat {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: baseline; gap: 8px;
  border-top: 1px solid var(--hairline);
  margin-top: 28px;
  padding-top: 20px;
}
.card-stat strong {
  font-size: 28px; font-weight: 700; color: var(--accent-500);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.card-stat span { font-size: 14px; color: var(--muted); }

/* ───────────────── Case study / math ───────────────── */
.case { background: var(--soft); padding: var(--section-py) 0; }
.big-money {
  color: var(--accent-500);
  font-weight: 700;
  font-size: 1.22em;
  letter-spacing: -0.03em;
  display: inline-block;
}
.math-card {
  margin: 48px auto 0;
  max-width: 720px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-soft);
}
.math-rows { display: flex; flex-direction: column; gap: 24px; }
.math-row {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 20px; align-items: center;
}
.math-amt {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: 28px; font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.math-amt .plus { font-size: 22px; opacity: 0.7; }
.math-desc { color: var(--slate); font-size: 16px; line-height: 1.5; }
.math-control input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 999px;
  background: var(--hairline);
  cursor: grab;
}
.math-control input[type="range"]:active { cursor: grabbing; }
.math-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: white;
  border: 2px solid var(--success);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  cursor: grab;
}
.math-control input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: white;
  border: 2px solid var(--success);
  cursor: grab;
}

.math-divider {
  height: 1px; background: var(--hairline);
  margin: 28px 0 20px;
}
.math-total {
  background: var(--accent-50);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.math-total-amt {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700; color: var(--accent-600);
  font-variant-numeric: tabular-nums; letter-spacing: -0.025em;
  line-height: 1;
}
.math-total-amt .eq { opacity: 0.7; }
.math-total-label { color: var(--slate); font-size: 16px; font-weight: 500; }

.math-hint {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.case .ghost-link {
  display: block; text-align: center; margin: 32px auto 0;
}

/* ───────────────── Testimonial ───────────────── */
.voices { background: white; padding: var(--section-py) 0; }

.testimonial {
  margin: 0;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}

.testimonial-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--accent-700);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.testimonial-eyebrow-line {
  width: 32px; height: 1px;
  background: var(--accent-200);
  display: inline-block;
}

.testimonial-quote {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 800px;
  text-wrap: balance;
  position: relative;
}
.testimonial-mark {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.4em;
  line-height: 0;
  color: var(--accent-300, var(--accent-400));
  margin-right: 6px;
  vertical-align: -0.18em;
}

.testimonial-foot {
  display: flex; align-items: center; gap: 32px;
  margin-top: 8px;
}
.testimonial-person {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-600) 100%);
  color: white;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-500) 24%, transparent);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.3;
}
.testimonial-role {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 2px;
}
.testimonial-sep {
  width: 1px; height: 36px;
  background: var(--hairline);
}
.testimonial-result {
  text-align: left;
}
.testimonial-result-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-600);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.testimonial-result-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* ───────────────── Feature highlights ───────────────── */
.features { background: white; padding: var(--section-py) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.feature-card {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px 32px 0;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-200);
}
.feature-card:hover .feature-shot { transform: scale(1.02); }
.feature-title {
  font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em;
  margin: 0;
}
.feature-body {
  font-size: 16px; line-height: 1.55; color: var(--slate);
  margin: 12px 0 0;
}
.feature-shot {
  margin: 32px -32px 0;
  transition: transform 300ms ease;
  background: var(--soft);
  border-top: 1px solid var(--hairline);
  padding: 24px 24px 0;
  flex: 1;
  position: relative;
}
.feature-shot::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 -32px 32px -16px var(--soft);
  pointer-events: none;
}
.shot-panel {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 10px 10px 0 0;
  border-bottom: none;
  overflow: hidden;
  height: 100%;
}
.shot-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  background: white;
}
.shot-title { font-size: 12px; font-weight: 600; color: var(--ink); }
.shot-tag {
  font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: var(--accent-100); color: var(--accent-700);
  letter-spacing: 0.02em; text-transform: uppercase;
}
.shot-tag-warn { background: #FEF3C7; color: #92400E; }

/* feature 1: priority list */
.priority-list { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.priority-item {
  display: grid;
  grid-template-columns: 14px 18px 1fr 80px 36px;
  gap: 8px; align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--soft);
  font-size: 12px;
}
.priority-item:hover { background: var(--accent-50); }
.grip {
  width: 14px; height: 14px;
  background-image: radial-gradient(circle at 4px 4px, var(--muted) 1px, transparent 1.5px),
                    radial-gradient(circle at 10px 4px, var(--muted) 1px, transparent 1.5px),
                    radial-gradient(circle at 4px 10px, var(--muted) 1px, transparent 1.5px),
                    radial-gradient(circle at 10px 10px, var(--muted) 1px, transparent 1.5px);
  opacity: 0.5; cursor: grab;
}
.rank { font-weight: 700; color: var(--muted); font-size: 11px; }
.p-name { font-weight: 500; color: var(--ink); }
.p-bar { height: 6px; background: var(--hairline); border-radius: 999px; overflow: hidden; }
.p-bar-fill { height: 100%; background: var(--accent-500); border-radius: 999px; }
.p-pct { font-size: 11px; font-weight: 600; color: var(--slate); text-align: right; font-variant-numeric: tabular-nums; }

/* feature 2: gaps list */
.gap-list { padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.gap-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 10px; align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  background: var(--soft);
}
.gap-row-bad  { background: #FEF2F2; }
.gap-row-warn { background: #FFFBEB; }
.gap-row-ok   { background: #ECFDF5; }
.gap-course { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.gap-mid { color: var(--slate); font-size: 11px; }
.gap-row-bad  .gap-mid { color: #B91C1C; }
.gap-row-warn .gap-mid { color: #92400E; }
.gap-row-ok   .gap-mid { color: #047857; }
.gap-act { color: var(--accent-600); font-weight: 600; font-size: 11px; }
.gap-check { color: var(--success); font-weight: 700; }

/* feature 3: competency table */
.comp-table { padding: 4px 0; }
.comp-row {
  display: grid;
  grid-template-columns: 1.2fr 80px 1fr;
  gap: 8px; align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  border-bottom: 1px solid var(--hairline);
}
.comp-row:last-child { border-bottom: none; }
.comp-head {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  background: var(--soft);
}
.comp-name { font-weight: 600; color: var(--ink); }
.comp-w { font-variant-numeric: tabular-nums; color: var(--slate); font-weight: 500; }
.comp-s { font-weight: 600; }
.comp-s-ok  { color: var(--success); }
.comp-s-mid { color: var(--warn); }
.comp-s-gap { color: var(--danger); }

/* ───────────────── Final CTA ───────────────── */
.final-cta { background: var(--accent-100); padding: var(--section-py) 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle 800px at 100% 0%, white 0%, transparent 60%);
  pointer-events: none;
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.reassurance {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: 14px; color: var(--slate);
}
.reassurance li { display: inline-flex; align-items: center; gap: 6px; }

.final-visual { position: relative; }
.final-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, color-mix(in srgb, var(--accent-400) 60%, transparent) 0%, transparent 70%);
  filter: blur(50px); opacity: 0.6;
}
.final-frame {
  position: relative;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  transform: rotate(2deg);
  border: 1px solid var(--hairline);
  transition: transform 400ms ease;
}
.final-frame:hover { transform: rotate(0deg); }
.final-shot {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 340px;
}
.final-shot-side {
  background: var(--soft);
  border-right: 1px solid var(--hairline);
  padding: 14px 10px;
  font-size: 11.5px;
}
.fs-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  color: var(--slate); font-weight: 500;
  border-radius: 6px;
}
.fs-row.active { background: var(--accent-100); color: var(--accent-700); }
.fs-row-head { text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; color: var(--muted); padding: 2px 10px 10px; font-weight: 600; }
.fs-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); }
.fs-row .dot-2 { background: #8B5CF6; }
.fs-row .dot-3 { background: #F97316; }
.fs-row .dot-4 { background: var(--success); }

.final-shot-grid { padding: 12px; min-width: 0; }
.fsg-head { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 4px 0 10px; font-weight: 600; }
.fsg-rows { display: flex; flex-direction: column; gap: 5px; }
.fsg-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.fsg-cell {
  height: 26px; border-radius: 5px;
  background: var(--soft);
  font-size: 10px; font-weight: 600; color: white;
  display: flex; align-items: center; justify-content: center;
}
.fsg-cell.c1 { background: var(--accent-500); }
.fsg-cell.c2 { background: #8B5CF6; }
.fsg-cell.c3 { background: #F97316; }
.fsg-cell.c4 { background: var(--success); }

/* ───────────────── Footer (minimal) ───────────────── */
footer { background: var(--ink); color: white; padding: 36px 0; }
footer .brand-name { color: white; }
footer .foot-min { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .foot-bottom-min { font-size: 13px; color: #94A3B8; }

/* ───────────────── Reveal animation ───────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].in {
  opacity: 1; transform: translateY(0);
}

/* ───────────────── Density modes ───────────────── */
body.density-compact { --section-py: 80px; }
body.density-airy    { --section-py: 160px; }

/* Hide responsive helpers by default */
.md-only { display: none; }

/* ───────────────── Responsive ───────────────── */
@media (max-width: 1100px) {
  .factor-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 40px; }
  .display-xl { font-size: clamp(40px, 5vw, 56px); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .final-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .feature-card:last-child { grid-column: 1 / -1; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 24px 0; }
  .stat { border-right: none; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .benefit-grid { gap: 20px; }
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 16px; gap: 24px; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 32px; gap: 32px; }
  .hero { padding: 16px 0 48px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  :root { --section-py: 64px; }
  .container { padding: 0 20px; }
  .hero { padding: 24px 0 48px; }
  .benefit-grid, .feature-grid, .factor-grid { grid-template-columns: 1fr; }
  .math-card { padding: 28px; }
  .math-row { grid-template-columns: 1fr; gap: 8px; }
  .math-control { grid-column: 1; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .logo-link { padding: 4px; }
  .logo-row .logo-link:last-child { grid-column: 1 / -1; justify-content: center; }
  .md-only { display: inline; }
  .final-frame { transform: rotate(0deg); }
}
@media (max-width: 480px) {
  .logo .logo-name { display: none; }
  .stats-bar { padding: 24px 0; }
  .cta-row .btn { flex: 1; justify-content: center; }
}


/* ── WP-specific overrides ── */
/* Hide WP admin bar bump on the front-end if logged in */
html { margin-top: 0 !important; }
* html body { margin-top: 0 !important; }
/* Block any theme/plugin Gutenberg styles from leaking through */
.wp-site-blocks, .entry-content { all: revert; }
