/* UTubeLess landing — refined dark editorial */

:root,
[data-theme="dark"] {
  --bg: #0a0a0f;
  --bg-elevated: #0e0e15;
  --bg-tint-a: #0c0c13;
  --bg-tint-b: #0a0a10;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-solid: #111118;
  --surface-hover: #16161e;
  --header-bg: rgba(10, 10, 15, 0.82);
  --nav-mobile-bg: rgba(10, 10, 15, 0.97);
  --footer-bg: #0a0a0f;
  --text: #ededf0;
  --text-secondary: #9494a0;
  --muted: #6b6b78;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --btn-primary-text: #ffffff;
  --btn-primary-bg: var(--accent);
  --btn-primary-bg-hover: var(--accent-hover);
  --accent-soft: rgba(6, 182, 212, 0.1);
  --accent-glow: rgba(6, 182, 212, 0.22);
  --accent-line: rgba(6, 182, 212, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.16);
  --hover-bg: rgba(255, 255, 255, 0.04);
  --link: #67e8f9;
  --success: #86efac;
  --success-soft: rgba(34, 197, 94, 0.08);
  --success-border: rgba(34, 197, 94, 0.22);
  --warn-soft: rgba(245, 158, 11, 0.08);
  --warn-text: #fde68a;
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 88px;
  --header-h-scrolled: 72px;
  --container: 1140px;
  --section-y: 7rem;
  --section-y-lg: 9rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 220ms;
}

[data-theme="light"] {
  --bg: #f6f6f8;
  --bg-elevated: #efeff2;
  --bg-tint-a: #f2f2f5;
  --bg-tint-b: #fafafa;
  --surface: rgba(0, 0, 0, 0.02);
  --surface-solid: #ffffff;
  --surface-hover: #f4f4f6;
  --header-bg: rgba(246, 246, 248, 0.9);
  --nav-mobile-bg: rgba(246, 246, 248, 0.98);
  --footer-bg: #f6f6f8;
  --text: #0a0a0c;
  --text-secondary: #52525b;
  --muted: #71717a;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --accent-soft: rgba(6, 182, 212, 0.08);
  --accent-glow: rgba(6, 182, 212, 0.14);
  --accent-line: rgba(6, 182, 212, 0.45);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.11);
  --border-hover: rgba(0, 0, 0, 0.15);
  --hover-bg: rgba(0, 0, 0, 0.03);
  --link: #0e7490;
  --success: #15803d;
  --success-soft: rgba(34, 197, 94, 0.07);
  --warn-soft: rgba(245, 158, 11, 0.07);
  --warn-text: #b45309;
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body.landing-page {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  font-stretch: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.landing-page > main {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

h1, h2, h3, .hero-title, .cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-stretch: normal;
}

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

/* OG-inspired diagonal accent lines */
.page-accent-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  color: var(--accent);
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 38%,
    rgba(0, 0, 0, 0.25) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 38%,
    rgba(0, 0, 0, 0.25) 72%,
    transparent 100%
  );
}

[data-theme="light"] .page-accent-lines {
  opacity: 0.22;
}

.accent-lines-texture {
  position: absolute;
  inset: -30%;
  background: repeating-linear-gradient(
    -32deg,
    transparent 0,
    transparent 72px,
    rgba(6, 182, 212, 0.045) 72px,
    rgba(6, 182, 212, 0.045) 73px
  );
}

.accent-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.accent-lines-group {
  stroke: currentColor;
}

.accent-lines-right {
  opacity: 0.75;
}

.accent-lines-left {
  opacity: 0.35;
}

@media (prefers-reduced-motion: no-preference) {
  .page-accent-lines {
    animation: accent-lines-breathe 32s ease-in-out infinite alternate;
  }

  .accent-lines-texture {
    animation: accent-texture-drift 56s ease-in-out infinite alternate;
  }

  .accent-lines-right {
    animation: accent-lines-drift-right 44s ease-in-out infinite alternate;
  }

  .accent-lines-left {
    animation: accent-lines-drift-left 52s ease-in-out infinite alternate;
  }
}

@keyframes accent-lines-breathe {
  0% { opacity: 0.36; }
  100% { opacity: 0.48; }
}

@keyframes accent-texture-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-18px, 12px); }
}

@keyframes accent-lines-drift-right {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-14px, 10px); }
}

@keyframes accent-lines-drift-left {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10px, -8px); }
}

[data-theme="light"] .accent-lines-texture {
  background: repeating-linear-gradient(
    -32deg,
    transparent 0,
    transparent 72px,
    rgba(6, 182, 212, 0.035) 72px,
    rgba(6, 182, 212, 0.035) 73px
  );
}

/* Subtle grain */
.page-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

[data-theme="light"] .page-grain {
  opacity: 0.022;
  mix-blend-mode: multiply;
}

/* Section tints */
.section-tint-a {
  background: var(--bg-tint-a);
}

.section-tint-b {
  background: var(--bg-tint-b);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition:
    background var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-strong);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height var(--duration-normal) var(--ease-out);
}

.site-header.is-scrolled .header-inner {
  height: var(--header-h-scrolled);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity var(--duration-fast) ease;
}

.site-logo:hover {
  opacity: 0.88;
}

.site-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.site-logo-compact img {
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.link-draw::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent-line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.link-draw:hover::after {
  transform: scaleX(1);
}

.site-nav-links a:hover {
  color: var(--text);
}

.site-nav-actions .link-draw {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.site-nav-actions .link-draw:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast) ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-normal) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

a.btn-primary,
button.btn-primary {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  box-shadow: 0 0 24px var(--accent-glow);
}

a.btn-primary:hover,
button.btn-primary:hover {
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg-hover);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-outline {
  color: var(--text-secondary);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--hover-bg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--section-y-lg) + 1rem) 0 var(--section-y-lg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 8% 20%, rgba(6, 182, 212, 0.14), transparent 65%),
    radial-gradient(ellipse 45% 40% at 92% 15%, rgba(99, 102, 241, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(6, 182, 212, 0.06), transparent 70%);
  animation: hero-wash 28s ease-in-out infinite alternate;
}

@keyframes hero-wash {
  0% { opacity: 1; }
  100% { opacity: 0.82; }
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 55% 45% at 8% 20%, rgba(6, 182, 212, 0.1), transparent 65%),
    radial-gradient(ellipse 45% 40% at 92% 15%, rgba(99, 102, 241, 0.06), transparent 60%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem 5rem;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-kicker {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1.1em;
  background: var(--accent-line);
  box-shadow: 0 0 8px var(--accent-glow);
}

.hero-title {
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-top: 1.25rem;
  background: var(--accent-line);
  box-shadow: 0 0 12px var(--accent-glow);
}

.hero-line {
  display: block;
}

.hero-line-accent {
  color: var(--text);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 2.25rem;
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

/* Hero frame — minimal chrome */
.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-frame-bar {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-hover);
}

.hero-frame-url {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero-frame-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
}

/* Landing player mock (Netflix skin over self-hosted demo video) */
.landing-player-mock {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.landing-player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.landing-player-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 18%, transparent 72%, rgba(0, 0, 0, 0.65) 100%);
}

.landing-player-big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 12vw, 88px);
  height: clamp(56px, 12vw, 88px);
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 3px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.landing-player-mock.is-playing .landing-player-big-play {
  opacity: 0;
  pointer-events: none;
}

.landing-player-big-play svg {
  width: clamp(24px, 5vw, 36px);
  height: clamp(24px, 5vw, 36px);
  margin-left: 4px;
  fill: currentColor;
}

.landing-player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 clamp(12px, 3vw, 24px) clamp(14px, 3vw, 28px);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: auto;
}

.landing-player-progress {
  height: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.landing-player-progress-track {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  overflow: hidden;
}

.landing-player-progress-played {
  width: 0%;
  height: 100%;
  background: #e50914;
  border-radius: 1px;
  transition: width 0.1s linear;
}

.landing-player-controls-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
  min-height: 36px;
}

.landing-player-time {
  order: -1;
  font-size: clamp(11px, 2.2vw, 14px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.landing-player-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  opacity: 0.92;
  cursor: pointer;
}

.landing-player-ctrl:hover {
  opacity: 1;
}

.landing-player-play {
  order: -2;
}

.landing-player-volume {
  margin-left: auto;
}

.landing-player-ctrl svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.compare-frame-hosted .landing-player-mock {
  position: absolute;
}

/* Page enter */
@media (prefers-reduced-motion: no-preference) {
  [data-page-enter] {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.5s var(--ease-out) var(--enter-delay, 0ms),
      transform 0.5s var(--ease-out) var(--enter-delay, 0ms);
  }

  [data-page-enter].is-entered {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section-intro {
  max-width: 560px;
  margin: 0 auto 3.25rem;
}

.section-intro-left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.section-intro:not(.section-intro-left) {
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-intro h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.section-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-intro strong {
  color: var(--text);
  font-weight: 600;
}

/* Unified editorial card */
.editorial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  box-shadow: var(--shadow-inset), var(--shadow-card);
  transition:
    transform var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) ease;
}

.editorial-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

/* Compare */
.compare-section {
  padding: var(--section-y) 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.compare-panel-inner {
  padding: 1.75rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.compare-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.compare-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-tag-accent {
  color: var(--accent);
}

.compare-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-full);
}

.compare-badge-bad {
  background: var(--warn-soft);
  color: var(--warn-text);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.compare-badge-good {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.compare-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}

.compare-frame-custom {
  border-color: rgba(6, 182, 212, 0.2);
}

.compare-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-mock {
  position: absolute;
  inset: 0;
  background: #0f0f0f;
}

.yt-mock-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(24, 24, 24, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #aaa;
}

.yt-mock-logo {
  font-weight: 700;
  color: #ff4444;
}

.yt-mock-video {
  position: absolute;
  inset: 0;
  background: #000;
}

.yt-mock-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.65rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 15, 0.92) 45%);
}

.yt-mock-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f1f1;
}

.yt-mock-channel {
  font-size: 0.72rem;
  color: #888;
}

.compare-caption {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Pull quote */
.quote-banner {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.pull-quote {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 0 0 2.5rem;
  border: none;
}

.pull-quote-rule {
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 2px;
  background: var(--accent-line);
  box-shadow: 0 0 16px var(--accent-glow);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.pull-quote-cite {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Features */
.features-section {
  padding: var(--section-y) 0;
}

.features-section .section-intro {
  margin-bottom: 2.75rem;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-item {
  padding: 1.75rem 2rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(6, 182, 212, 0.15);
  margin-bottom: 1.15rem;
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: var(--accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.feature-icon-brand::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 7v10l10 5 10-5V7L12 2zm0 2.18l6.9 3.45L12 11.09 5.1 7.63 12 4.18zM4 8.82l7 3.5v7.36l-7-3.5V8.82zm9 10.86v-7.36l7-3.5v7.36l-7 3.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 7v10l10 5 10-5V7L12 2zm0 2.18l6.9 3.45L12 11.09 5.1 7.63 12 4.18zM4 8.82l7 3.5v7.36l-7-3.5V8.82zm9 10.86v-7.36l7-3.5v7.36l-7 3.5z'/%3E%3C/svg%3E");
}

.feature-icon-themes::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8z'/%3E%3C/svg%3E");
}

.feature-icon-lock::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
}

.feature-icon-link::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E");
}

.feature-icon-mobile::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 18H7V5h10v14z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 18H7V5h10v14z'/%3E%3C/svg%3E");
}

.feature-icon-fast::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 2v11h3v9l7-12h-4l4-8H7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 2v11h3v9l7-12h-4l4-8H7z'/%3E%3C/svg%3E");
}

.feature-icon-shield::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
}

.feature-icon-config::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");
}

.feature-icon-api::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E");
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* Use cases */
.use-cases-section {
  padding: var(--section-y) 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem;
}

.use-case-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(6, 182, 212, 0.15);
  margin-bottom: 1.15rem;
  position: relative;
  flex-shrink: 0;
}

.use-case-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: var(--accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.use-case-icon-course::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

.use-case-icon-agency::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
}

.use-case-icon-membership::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.use-case-icon-marketing::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 11v2h4v-2h-4zm-2 6.61c.96.71 2.21 1.39 3.6 1.39 1.66 0 3.34-.81 4.4-2.39V5.61C22.34 4.03 20.66 3.22 19 3.22c-1.39 0-2.64.68-3.6 1.39V11H6V3H4v18h2v-7h8v7h2v-2.39z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 11v2h4v-2h-4zm-2 6.61c.96.71 2.21 1.39 3.6 1.39 1.66 0 3.34-.81 4.4-2.39V5.61C22.34 4.03 20.66 3.22 19 3.22c-1.39 0-2.64.68-3.6 1.39V11H6V3H4v18h2v-7h8v7h2v-2.39z'/%3E%3C/svg%3E");
}

.use-case-icon-news::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12zM6 10h2v2H6zm0 4h8v2H6zm10 0h2v2h-2zm-6-4h8v2h-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12zM6 10h2v2H6zm0 4h8v2H6zm10 0h2v2h-2zm-6-4h8v2h-8z'/%3E%3C/svg%3E");
}

.use-case-icon-training::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM7 10.94l5 2.72 5-2.72v4.23l-5 2.72-5-2.72V10.94z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM7 10.94l5 2.72 5-2.72v4.23l-5 2.72-5-2.72V10.94z'/%3E%3C/svg%3E");
}

.use-case-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.use-case-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 1.15rem;
}

.use-case-benefits {
  list-style: none;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.use-case-benefits li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.use-case-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 1px;
  background: var(--accent-line);
}

/* Pricing */
.pricing-section {
  padding: var(--section-y) 0;
}

.billing-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto 2.5rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow: var(--shadow-inset);
}

.billing-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  pointer-events: none;
  z-index: 0;
  transition:
    transform 0.35s var(--ease-out),
    width 0.35s var(--ease-out),
    height 0.35s var(--ease-out);
}

.billing-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
  white-space: nowrap;
}

.billing-option:hover {
  color: var(--text);
}

.billing-option.is-active {
  color: #fff;
}

.billing-save {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
}

.billing-option:not(.is-active) .billing-save {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.pricing-section .section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem;
}

.pricing-card-featured {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow:
    var(--shadow-inset),
    var(--shadow-card),
    0 0 0 1px rgba(6, 182, 212, 0.12);
}

.pricing-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--accent-line);
  box-shadow: 0 0 12px var(--accent-glow);
}

.pricing-ribbon {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.pricing-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  min-height: 2.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-bottom: 1.25rem;
}

.pricing-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-billed-note {
  min-height: 1.1rem;
  margin: -0.75rem 0 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.pricing-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pricing-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--accent-line);
}

.pricing-footnote {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* CTA footer */
.cta-footer {
  padding: var(--section-y) 0 var(--section-y-lg);
  text-align: center;
  background: var(--bg);
}

.cta-footer-inner {
  max-width: 680px;
}

.cta-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.cta-title-line {
  display: block;
}

.cta-title-accent {
  position: relative;
  display: inline-block;
}

.cta-title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 2px;
  background: var(--accent-line);
  box-shadow: 0 0 12px var(--accent-glow);
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
  padding: 2rem 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-trust {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.5;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-inner nav a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-inner nav a:hover {
  color: var(--text);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  body.landing-page.reveal-init [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.55s var(--ease-out),
      transform 0.55s var(--ease-out);
  }

  body.landing-page.reveal-init [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  body.landing-page.reveal-init [data-reveal] .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  body.landing-page.reveal-init [data-reveal]:not(.is-visible) .stagger-children > * {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.5s var(--ease-out),
      transform 0.5s var(--ease-out);
  }

  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
  body.landing-page.reveal-init [data-reveal].is-visible .stagger-children > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-kicker {
    padding-left: 0;
  }

  .hero-kicker::before {
    display: none;
  }

  .hero-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pull-quote {
    padding-left: 2rem;
  }
}

@media (max-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  /* Hero: copy → full-bleed preview → CTA */
  .hero-content {
    display: contents;
  }

  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-cta {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-kicker {
    order: 1;
  }

  .hero-title {
    order: 2;
  }

  .hero-sub {
    order: 3;
    margin-bottom: 0;
  }

  .hero-visual {
    order: 4;
    max-width: none;
    width: calc(100% + 3.5rem);
    margin-inline: -1.75rem;
  }

  .hero-frame {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .hero-frame-screen {
    aspect-ratio: 16 / 9;
  }

  .hero-cta {
    order: 5;
  }
}

@media (max-width: 768px) {
  body.landing-page {
    padding-top: var(--header-h);
  }

  body.landing-page.nav-open {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 302;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .site-nav {
    z-index: 299;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 2rem 1.5rem;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border-bottom: 1px solid var(--border);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform var(--duration-normal) var(--ease-out),
      opacity var(--duration-fast) ease,
      visibility var(--duration-fast) ease;
  }

  .site-nav-links,
  .site-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-nav-actions {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .site-nav-actions .link-draw {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .site-nav-actions .btn-primary {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .site-nav-links a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

  .compare-section,
  .features-section,
  .use-cases-section,
  .pricing-section,
  .quote-banner {
    padding: 4rem 0;
  }

  .cta-footer {
    padding: 4rem 0 5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .features-bento {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  .hero-cta .btn-primary {
    width: 100%;
  }

  .page-accent-lines {
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      transparent 78%
    );
    mask-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      transparent 78%
    );
  }

  .accent-lines-left {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  [data-reveal] .stagger-children > *,
  [data-page-enter],
  .hero-bg,
  .page-accent-lines,
  .accent-lines-texture,
  .accent-lines-right,
  .accent-lines-left {
    animation: none;
    transition: none;
  }

  [data-reveal],
  [data-reveal] .stagger-children > *,
  [data-page-enter],
  .hero-bg {
    opacity: 1;
    transform: none;
  }

  .page-accent-lines,
  .accent-lines-texture,
  .accent-lines-right,
  .accent-lines-left {
    transform: none;
  }

  .page-accent-lines {
    opacity: 0.4;
  }

  [data-theme="light"] .page-accent-lines {
    opacity: 0.2;
  }

  .billing-indicator {
    transition: none;
  }

  .editorial-card:hover {
    transform: none;
  }

  .landing-player-video {
    display: none;
  }

  .landing-player-mock {
    background: #000 url("/static/demo/landing-hero-poster.jpg") center / cover no-repeat;
  }
}

/* Legal pages */
.legal-page .site-header {
  position: relative;
}

.legal-main {
  padding: 3rem 0 4rem;
}

.legal-content {
  max-width: 42rem;
}

.legal-header {
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-content p {
  margin: 0 0 0.85rem;
}

.legal-content ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent, #e85d04);
  text-decoration: underline;
  text-underline-offset: 2px;
}
