/* --- LANDING PAGE STYLES --- */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(40px, 6vh, 72px) 0 0;
  padding-top: calc(clamp(40px, 6vh, 72px) + 1px);
  margin-top: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 65%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
  animation: pulse-glow 12s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 52px;
  align-items: center;
}

.hero-left {
  max-width: 640px;
  min-width: 0;
}

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 99px;
  padding: 5px 13px 5px 10px;
  margin-bottom: 18px;
}

.hero-social-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  opacity: 0.85;
}

.hero-social-proof-text {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-title {
  font-size: var(--marketing-hero-title);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 18ch;
}

.hero-title--typewriter {
  max-width: 18ch;
}

.hero-title-line {
  display: block;
}

.hero-typewriter-wrap {
  display: block;
  min-height: 2.15em;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-typewriter-text {
  color: var(--primary-text);
}

.hero-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 3px;
  vertical-align: -0.06em;
  border-radius: 1px;
  background: var(--primary);
  animation: hero-cursor-blink 1s step-end infinite;
}

@keyframes hero-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 54ch;
  line-height: 1.58;
}

.hero-compat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.hero-compat-label {
  color: var(--text-tertiary);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
}

.hero-compat-items {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: var(--text-base);
}

.hero-compat-item {
  white-space: nowrap;
}

.hero-compat-dot {
  color: var(--text-tertiary);
  font-weight: 800;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.hero-upload {
  width: 100%;
  background: var(--surface-white);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.08),
    0 8px 20px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  cursor: pointer;
  border-radius: var(--radius-xl);
}

.hero-upload.upload-area {
  padding: 4.5rem 2.5rem;
}

.hero-upload .upload-icon {
  width: 124px;
  height: 124px;
}

.hero-upload .upload-icon svg {
  width: 60px;
  height: 60px;
}

.hero-upload:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.10), 0 10px 24px rgba(15, 23, 42, 0.06);
  border-color: rgba(99, 102, 241, 0.22);
}

.hero-upload:active {
  transform: translateY(-2px);
}

.hero-upload-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: var(--text-base);
}

.hero-upload-sep {
  opacity: 0.7;
}

.scroll-hint {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: var(--text-base);
  animation: bounce 2s infinite;
  text-decoration: none;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.scroll-hint:hover {
  background: rgba(250, 249, 246, 0.75);
  color: var(--text-secondary);
  transform: translateY(-1px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.landing-section-header {
  margin: 0 auto 28px;
  max-width: 920px;
  text-align: center;
}

.landing-section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.landing-section-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.55;
}

/* Before/after — section intro slightly below default section subtitle */
.workflow-section .landing-section-subtitle {
  font-size: var(--text-lg);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

/* === CAMPAIGN USAGE BAR === */
.usage-bar-section {
  padding: 0 0 36px;
}

/* Never show workspace usage UI on the public marketing landing */
body:not(.logged-in) .usage-bar-section,
body:not(.logged-in) .team-overview-section {
  display: none !important;
}

body.logged-in .usage-bar-section {
  padding-bottom: 24px;
}

/* Workspace: original vertical rhythm between greeting, usage bar, and projects */
html.es-route-workspace body.logged-in .hero-section {
  padding-bottom: clamp(76px, 9.5vh, 104px);
}

html.es-route-workspace body.logged-in .usage-bar-section {
  padding-bottom: 48px;
}

html.es-route-workspace .usage-bar-section .container {
  padding-top: 24px;
  padding-bottom: 20px;
}

html.es-route-workspace .workspace-section {
  padding-top: clamp(24px, 3.5vh, 40px);
}

.usage-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-left: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
}

.usage-bar-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.usage-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  min-width: 60px;
}

.usage-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.usage-bar-count {
  font-size: var(--text-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.usage-bar-used {
  font-weight: 700;
  color: var(--text-primary);
}

.usage-bar-limit-text {
  font-weight: 500;
  color: var(--text-tertiary);
}

.usage-bar-upgrade {
  padding-left: 16px;
  border-left: 1px solid rgba(15, 23, 42, 0.10);
  flex-shrink: 0;
}

.usage-bar-upgrade-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.usage-bar-upgrade-link:hover {
  opacity: 0.75;
}

.referral-promo-banner {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.referral-promo-banner[data-variant="high"] {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(251, 191, 36, 0.12) 100%);
}

.referral-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.referral-promo-copy strong {
  font-size: var(--text-md);
  color: var(--text-primary);
}

.referral-promo-copy span {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

.referral-promo-btn {
  flex-shrink: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-weight: 700;
  color: var(--primary-dark);
}

.referral-promo-banner.hidden {
  display: none;
}

@media (max-width: 600px) {
  .usage-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .usage-bar-track {
    order: 3;
    flex-basis: 100%;
  }
  .usage-bar-upgrade {
    border-left: none;
    padding-left: 0;
  }
  .referral-promo-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .referral-promo-btn {
    width: 100%;
  }
}


.workflow-section {
  position: relative;
  padding: 64px 0 80px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.workflow-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.workflow-panel {
  box-sizing: border-box;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
}

.workflow-panel-before {
  background: var(--surface-white);
}

.workflow-panel-after {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1), 0 8px 28px rgba(15, 23, 42, 0.05);
  background: var(--bg-elevated);
}

.workflow-panel-head {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
}

.workflow-panel-title {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.workflow-panel-subtitle {
  margin: 3px 0 0;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: var(--text-md);
}

.workflow-step-flow {
  margin-top: 6px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.workflow-step-flow--compact {
  gap: 12px;
  justify-content: flex-start;
  padding-bottom: 16px;
}

.workflow-step-flow--linked {
  gap: 0;
  justify-content: flex-start;
  padding-bottom: 16px;
}

.workflow-step-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  column-gap: 12px;
}

.workflow-step-flow--linked .workflow-step-row {
  position: relative;
  align-items: start;
  flex: 1 1 0;
  min-height: 52px;
}

.workflow-step-flow--linked .workflow-step-row:last-child {
  flex: 0 0 auto;
  min-height: 0;
}

.workflow-step-flow--linked .workflow-step-text {
  transform: translateY(calc(15px - 50%));
}

.workflow-step-flow--linked .workflow-step-row:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 0;
  width: 2px;
  border-radius: 1px;
  background: rgba(var(--primary-tint-rgb), 0.38);
}

.workflow-step-number {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-primary);
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: var(--bg-secondary);
  box-shadow: none;
}

.workflow-panel-after .workflow-step-number {
  color: var(--primary-text);
  border-color: rgba(var(--primary-tint-rgb), 0.35);
  background: rgba(var(--primary-tint-rgb), 0.1);
}

.workflow-panel-before .workflow-step-number {
  color: var(--text-tertiary);
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(241, 245, 249, 0.8);
}

.workflow-panel-before .workflow-step-text {
  color: var(--text-tertiary);
}

.workflow-step-text {
  color: var(--text-secondary);
  line-height: 1.45;
  font-size: var(--text-md);
}

.workflow-panel-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.workflow-panel-footer--before {
  color: var(--text-tertiary);
}

.workflow-panel-footer--after {
  color: var(--primary-text);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.workflow-panel-after .workflow-panel-footer {
  border-top-color: rgba(var(--primary-tint-rgb), 0.18);
}

@media (max-width: 960px) {
  .workflow-section {
    padding: 48px 0 60px;
  }

  .workflow-panel {
    padding: 24px 22px;
  }

  .workflow-step-row {
    grid-template-columns: 30px 1fr;
    column-gap: 10px;
  }

  .workflow-step-flow--linked .workflow-step-row:not(:last-child)::before {
    left: 14px;
  }

  .pricing-compare-section {
    padding: 48px 0 60px;
  }

  .cta-band {
    padding: 48px 0 60px;
  }

  .faq-section {
    padding: 48px 0 60px;
  }
}

@media (max-width: 480px) {
  .workflow-panel-title {
    font-size: var(--text-2xl);
  }

  .workflow-step-flow {
    gap: 10px;
  }

}

/* === HOW IT WORKS SECTION (Zig-Zag Video Layout) === */
.how-it-works-section {
  padding: 64px 0 56px;
  background: transparent;
}

.how-it-works-section .landing-section-header {
  margin-bottom: 56px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.hiw-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

/* Reverse layout for alternating rows (Video Left, Text Right) */
.hiw-row.hiw-row-reverse {
  grid-template-columns: 1.2fr 1fr;
}

.hiw-row.hiw-row-reverse .hiw-text {
  order: 2;
}

.hiw-row.hiw-row-reverse .hiw-video {
  order: 1;
}

.hiw-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hiw-step-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hiw-step-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.028em;
  line-height: 1.22;
  margin: 0;
}

.hiw-step-copy {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.62;
  margin: 0;
  max-width: 48ch;
}

.hiw-video {
  position: relative;
}

.hiw-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 20px 50px -12px rgba(0, 0, 0, 0.15),
    0 8px 24px -8px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  background: var(--bg-secondary);
}

.hiw-continue {
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  transition: color 0.15s ease, background 0.15s ease;
}

.hiw-continue:hover {
  color: var(--primary-text);
  background: rgba(250, 249, 246, 0.75);
}

.hiw-continue:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
  color: var(--primary-text);
}

/* Marketing CTAs (final band) — match pricing card buttons */
#marketing-sections .btn-marketing {
  height: 46px;
  padding: 0 24px;
  font-size: var(--text-md);
  font-weight: 700;
  border-radius: var(--radius-md);
  letter-spacing: 0;
}

/* Responsive: Stack vertically on tablet/mobile */
@media (max-width: 960px) {
  .how-it-works-section {
    padding: 48px 0 60px;
  }

  .hiw-steps {
    gap: 56px;
  }

  .hiw-row,
  .hiw-row.hiw-row-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* On mobile, always show Text first, Video second */
  .hiw-row .hiw-text,
  .hiw-row.hiw-row-reverse .hiw-text {
    order: 1;
  }

  .hiw-row .hiw-video,
  .hiw-row.hiw-row-reverse .hiw-video {
    order: 2;
  }

  .hiw-step-title {
    font-size: var(--text-xl);
  }

  .hiw-step-copy {
    font-size: var(--text-md);
    max-width: none;
  }

  .cta-band-title {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 480px) {
  .how-it-works-section {
    padding: 32px 0 48px;
  }

  .hiw-steps {
    gap: 40px;
  }

  .hiw-row,
  .hiw-row.hiw-row-reverse {
    gap: 20px;
  }

  .hiw-step-title {
    font-size: var(--text-xl);
  }

  .hiw-video video {
    border-radius: var(--radius-md);
  }

  .workflow-section,
  .pricing-compare-section,
  .cta-band,
  .faq-section {
    padding: 32px 0 48px;
  }
}

.faq-section {
  padding: 64px 0 56px;
  background: transparent;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
  border-color: rgba(var(--primary-tint-rgb), 0.28);
  box-shadow: 0 4px 16px rgba(var(--primary-tint-rgb), 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-base);
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(var(--primary-tint-rgb), 0.12);
  color: var(--primary-text);
}

.faq-item summary:hover {
  background: rgba(248, 250, 252, 0.9);
}

.faq-content {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-md);
}

/* Final CTA band */
.cta-band {
  padding: 0 0 80px;
  background: transparent;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  border-radius: var(--radius-xl);
  background: var(--surface-white);
  border: 1px solid rgba(var(--primary-tint-rgb), 0.2);
  box-shadow: 0 4px 20px rgba(var(--primary-tint-rgb), 0.1), var(--shadow-sm);
}

.cta-band-title {
  margin: 0 0 8px;
  font-size: var(--marketing-cta-title);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--text-primary);
  line-height: 1.2;
}

.cta-band-subtitle {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
  font-size: var(--text-lg);
  max-width: 42ch;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cta-band-secondary {
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.cta-band-secondary:hover:not(:disabled) {
  text-decoration: none;
}

.faq-content p strong {
  color: var(--text-primary);
}

/* Focus-visible: keep interactions keyboard-friendly */
.upload-area:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.hero-upload:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), var(--shadow-xl);
}

.scroll-hint:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
  background: rgba(250, 249, 246, 0.88);
  color: var(--text-secondary);
}

.faq-item summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(99, 102, 241, 0.22);
  background: rgba(248, 250, 252, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .scroll-hint,
  .hero-typewriter-cursor,
  #progress-footer.attention-grabber {
    animation: none !important;
  }
  .hero-typewriter-cursor {
    display: none;
  }
  .hero-upload,
  .workflow-panel,
  .scroll-hint {
    transition: none !important;
  }
  .hero-upload:hover,
  .scroll-hint:hover {
    transform: none !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Scroll reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-section {
    text-align: center;
    padding-top: 44px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-left {
    max-width: none;
  }
  .hero-title {
    max-width: none;
  }
  .hero-title--typewriter {
    max-width: none;
  }
  .hero-compat {
    justify-content: center;
  }
  .workflow-compare {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 36px 28px;
  }
  .cta-band-subtitle {
    max-width: none;
  }
  .cta-band-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* --- FOOTER / DOCK STYLES --- */
.site-footer {
  padding: 1.5rem 0;
  background: linear-gradient(180deg, var(--footer-bg-top) 0%, var(--footer-bg) 100%);
  border-top: 1px solid var(--footer-border);
  color: var(--text-secondary);
  font-size: var(--text-base);
  z-index: 100;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.footer-left a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-left a:hover {
  color: var(--primary);
}
.footer-left a.footer-link-active {
  color: var(--primary);
}
.footer-left a.footer-link-muted {
  color: var(--text-tertiary);
}
.footer-left a.footer-link-muted:hover {
  color: var(--text-secondary);
}
.footer-right .copyright {
  color: var(--text-tertiary);
  font-weight: 500;
}
.sep { margin: 0 8px; color: var(--text-tertiary); }
