


.hero {
  min-height: calc(100vh - var(--sp-header-height));
  display: flex;
  align-items: center;
  padding: var(--sp-space-16) 0 var(--sp-space-12);
  position: relative;
  overflow: hidden;
  background: var(--sp-color-hero-bg);
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, light-dark(oklch(0.72 0.17 52 / 0.10), oklch(0.67 0.18 50 / 0.04)), transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 25%, light-dark(oklch(0.72 0.17 52 / 0.08), oklch(0.67 0.18 50 / 0.03)), transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 90%, light-dark(oklch(0.75 0.16 52 / 0.06), transparent), transparent 50%),
    radial-gradient(ellipse 40% 40% at 10% 70%, light-dark(oklch(0.67 0.18 50 / 0.05), transparent), transparent 50%);
  pointer-events: none;
  z-index: var(--sp-z-zero);
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, light-dark(oklch(0.47 0.13 47 / 0.04), oklch(1 0 0 / 0.02)) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: var(--sp-z-zero);
}


.hero-diagram,
.hero-diagram-mobile {
  display: none;
}

.hero .container {
  max-width: var(--sp-container-max);
  width: 100%;
  position: relative;
  z-index: var(--sp-z-base);
}


.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-space-16);
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-family: var(--sp-font-brand);
  font-size: var(--sp-text-4xl);
  font-weight: 700;
  line-height: var(--sp-leading-tight);
  letter-spacing: var(--sp-tracking-tight);
  margin-bottom: var(--sp-space-6);
  color: var(--sp-color-text);
}

.hero-title__highlight {
  display: block;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--sp-color-primary), var(--sp-primitive-orange-600));
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: var(--sp-text-lg);
  color: var(--sp-color-text-secondary);
  max-width: 520px;
  margin: 0 0 var(--sp-space-8);
  line-height: var(--sp-leading-relaxed);
}

.hero-footnote {
  font-size: var(--sp-text-xs);
  color: var(--sp-color-text-muted);
  opacity: 0.7;
  margin-bottom: var(--sp-space-4);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-space-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-space-1);
}


@media (min-width: 1200px) {
  .hero .container {
    max-width: 80vw;
    padding: 0 var(--sp-space-16);
  }

  .hero-split {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-space-4xl);
  }

  .hero-title {
    font-size: clamp(3.5rem, 5.5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .hero-subtitle {
    font-size: var(--sp-text-xl);
    max-width: 480px;
    line-height: var(--sp-leading-relaxed);
  }
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--sp-space-12);
  }

  .hero-content {
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  .hero {
    padding: var(--sp-space-12) 0;
    min-height: auto;
  }

  .hero-content {
    padding: 0 var(--sp-space-4);
  }

  .hero-title {
    font-size: var(--sp-text-3xl);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--sp-space-8) 0;
  }

  .hero-split {
    gap: var(--sp-space-6);
  }

  .hero-content {
    padding: 0;
  }

  .hero-ctas a,
  .hero-ctas button {
    max-width: 320px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view-all-link.view-all-link,
  .nav-link.nav-link {
    transition: none;
  }
}




.mockup-dashboard {
  padding: 0;
  max-height: 460px;
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--sp-color-border);
}

.dash-org-name {
  font-family: var(--sp-font-brand);
  font-size: var(--sp-text-sm);
  font-weight: 700;
  color: var(--sp-color-text);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--sp-text-xs);
  font-weight: 500;
  color: light-dark(var(--sp-primitive-green-500), var(--sp-primitive-green-400));
}

.dash-status-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--sp-radius-full);
  background: light-dark(var(--sp-primitive-green-500), var(--sp-primitive-green-400));
  animation: statusPulse 2s var(--sp-ease-in-out) infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sp-color-border);
  border-bottom: 1px solid var(--sp-color-border);
}

.dash-stat {
  background: var(--sp-color-bg);
  padding: 0.875rem 1rem;
  text-align: center;
}

.dash-stat-value {
  font-family: var(--sp-font-brand);
  font-size: var(--sp-text-2xl);
  font-weight: 700;
  color: var(--sp-color-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.dash-stat-label {
  font-size: var(--sp-text-xs);
  color: var(--sp-color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--sp-tracking-wide);
  font-weight: 500;
}

.dash-section {
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--sp-color-border);
}

.dash-section:last-child {
  border-bottom: none;
}

.dash-section-title {
  font-family: var(--sp-font-brand);
  font-size: var(--sp-text-xs);
  font-weight: 600;
  color: var(--sp-color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--sp-tracking-wide);
  margin-bottom: 0.625rem;
}

.dash-policy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0;
}

.dash-policy-row + .dash-policy-row {
  border-top: 1px solid var(--sp-color-border);
}

.dash-policy-name {
  font-size: var(--sp-text-xs);
  color: var(--sp-color-text);
  font-weight: 500;
}

.dash-policy-badge {
  font-size: var(--sp-text-xs);
  font-weight: 600;
  font-family: var(--sp-font-brand);
  padding: 0.125rem 0.5rem;
  border-radius: var(--sp-corners-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-policy-active {
  color: light-dark(var(--sp-primitive-green-500), var(--sp-primitive-green-400));
  background: light-dark(oklch(0.72 0.19 155 / 0.1), oklch(0.72 0.19 155 / 0.15));
}

.dash-activity-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.3125rem 0;
}

.dash-activity-team {
  font-size: var(--sp-text-xs);
  font-weight: 500;
  color: var(--sp-color-text);
  min-width: 80px;
}

.dash-activity-bar {
  flex: 1;
  height: 6px;
  background: light-dark(var(--sp-color-surface-dark), oklch(1.00 0 0 / 0.08));
  border-radius: var(--sp-radius-full);
  overflow: hidden;
}

.dash-activity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sp-primitive-orange-500), var(--sp-primitive-orange-600));
  border-radius: var(--sp-radius-full);
  transition: width 1s var(--sp-ease-out);
}

.dash-activity-count {
  font-size: var(--sp-text-xs);
  font-weight: 600;
  color: var(--sp-color-text-muted);
  min-width: 30px;
  text-align: right;
  font-family: var(--sp-font-brand);
}


.hero .mockup-dashboard .dash-stat-value {
  opacity: 0;
  animation: dashFadeIn var(--sp-duration-slow) var(--sp-ease-out) forwards;
}

.hero .mockup-dashboard .dash-stat:nth-child(1) .dash-stat-value { animation-delay: 1.0s; }
.hero .mockup-dashboard .dash-stat:nth-child(2) .dash-stat-value { animation-delay: 1.2s; }
.hero .mockup-dashboard .dash-stat:nth-child(3) .dash-stat-value { animation-delay: 1.4s; }

@keyframes dashFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero .mockup-dashboard .dash-stat-value.dash-stat-value {
    opacity: 1;
    animation: none;
  }

  .dash-status-dot.dash-status-dot {
    animation: none;
  }

  .dash-activity-fill.dash-activity-fill {
    transition: none;
  }
}





.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  background: linear-gradient(in oklch 135deg, var(--sp-color-primary), var(--sp-color-primary-dark));
  color: var(--sp-color-text-on-primary);
  font-family: var(--sp-font-brand);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--sp-radius-lg);
  transition: background-color var(--sp-duration-fast) var(--sp-ease-out), color var(--sp-duration-fast) var(--sp-ease-out), border-color var(--sp-duration-fast) var(--sp-ease-out), box-shadow var(--sp-duration-fast) var(--sp-ease-out), transform var(--sp-duration-fast) var(--sp-ease-out);
  box-shadow: var(--sp-shadow-accent-md);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px oklch(0.67 0.18 50 / 0.4),
    0 4px 12px oklch(0.67 0.18 50 / 0.25),
    0 0 0 4px oklch(0.67 0.18 50 / 0.08);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  background: transparent;
  color: var(--sp-color-text);
  font-family: var(--sp-font-brand);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid var(--sp-color-border);
  border-radius: var(--sp-radius-lg);
  transition: background-color var(--sp-duration-fast) var(--sp-ease-out), color var(--sp-duration-fast) var(--sp-ease-out), border-color var(--sp-duration-fast) var(--sp-ease-out), box-shadow var(--sp-duration-fast) var(--sp-ease-out);
}

.secondary-cta:hover {
  border-color: var(--sp-color-primary);
  color: var(--sp-color-primary);
  background: oklch(0.72 0.17 52 / 0.04);
}

@media (min-width: 1200px) {
  .primary-cta,
  .secondary-cta {
    padding: 1.125rem 2.625rem;
    font-size: 1.05rem;
    border-radius: var(--sp-radius-lg);
  }
}

@media (max-width: 768px) {
  .primary-cta,
  .secondary-cta {
    width: 100%;
    max-width: 300px;
  }
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80vw 40vh at 50% 0%, oklch(0.72 0.17 52 / 0.06), transparent 70%);
  pointer-events: none;
  z-index: var(--sp-z-behind);
}

@media (max-width: 768px) {
  body::before {
    opacity: 0.7;
  }
}

[data-theme="dark"] body::before {
  display: none;
}


.hero-screenshots-stack {
  position: relative;
  width: 100%;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--sp-radius-card);
  border: 1px solid light-dark(oklch(0.20 0.01 50 / 0.15), oklch(1.00 0 0 / 0.12));
  box-shadow:
    0 24px 80px oklch(0.20 0.01 50 / 0.10),
    0 8px 24px oklch(0.20 0.01 50 / 0.06),
    0 0 60px oklch(0.72 0.17 52 / 0.06);
  transition: transform var(--sp-transition-slow), box-shadow var(--sp-transition-slow);
}

.hero-screenshot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 100px oklch(0.20 0.01 50 / 0.12),
    0 12px 32px oklch(0.20 0.01 50 / 0.08),
    0 0 0 1px oklch(0.20 0.01 50 / 0.05),
    0 0 80px oklch(0.72 0.17 52 / 0.08);
}

@media (min-width: 1200px) {
  .hero-mockup--desktop {
    margin-right: -2.5rem;
  }

  .hero-screenshot {
    box-shadow:
      0 32px 100px oklch(0.20 0.01 50 / 0.12),
      0 12px 40px oklch(0.20 0.01 50 / 0.08),
      0 0 0 1px oklch(0.20 0.01 50 / 0.04),
      0 0 80px oklch(0.72 0.17 52 / 0.07);
  }
}


.hero-slideshow {
  position: relative;
  width: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3840 / 2160;
}

.hero-slides--light { display: none; }
.hero-slides--dark  { display: block; }

:root:not([data-theme="dark"]) .hero-slides--dark  { display: none; }
:root:not([data-theme="dark"]) .hero-slides--light { display: block; }

.hero-slide {
  width: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Desktop/Mobile visibility */
.hero-mockup--mobile {
  display: none;
}

.hero-mockup--desktop {
  display: block;
}

@media (max-width: 960px) {
  .hero-mockup--desktop {
    display: none;
  }

  .hero-mockup--mobile {
    display: block;
    width: 100%;
    padding: 0 var(--sp-space-6);
  }

  .hero-mockup--mobile .hero-screenshot {
    border-radius: var(--sp-radius-card);
    box-shadow:
      0 16px 48px oklch(0.20 0.01 50 / 0.12),
      0 4px 16px oklch(0.20 0.01 50 / 0.06);
  }

  .hero-mockup--mobile .hero-slides {
    aspect-ratio: 750 / 1334;
  }
}

@media (max-width: 480px) {
  .hero-mockup--mobile {
    padding: 0 var(--sp-space-2);
  }
}

/* Dots */
.hero-slideshow-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-space-4);
}

.hero-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  background: light-dark(oklch(0.70 0.01 50 / 0.25), oklch(1.00 0 0 / 0.2));
  background-clip: content-box;
  box-sizing: content-box;
  transition: background 0.3s ease, transform 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  line-height: 0;
  font-size: 0;
}

.hero-dot:hover {
  background: light-dark(oklch(0.70 0.01 50 / 0.5), oklch(1.00 0 0 / 0.4));
  background-clip: content-box;
  transform: scale(1.3);
}

.hero-dot.active {
  background: var(--sp-color-primary);
  background-clip: content-box;
  transform: scale(1.2);
}

@media (max-width: 960px) {
  .hero-slideshow-dots {
    margin-top: var(--sp-space-3);
  }

  .hero-dot {
    width: 6px;
    height: 6px;
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}





.integrations-inline {
  margin-top: var(--sp-space-6);
}

.integrations-inline .integrations-label {
  font-size: var(--sp-text-xs);
  color: var(--sp-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-space-2);
  font-weight: 500;
}

.brand-pills {
  display: flex;
  align-items: center;
  gap: var(--sp-space-2);
  flex-wrap: wrap;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border: 1px solid var(--sp-color-border);
  border-radius: var(--sp-radius-full);
  font-family: var(--sp-font-brand);
  font-size: var(--sp-text-xs);
  font-weight: 500;
  color: var(--sp-color-text-secondary);
  text-decoration: none;
  transition: border-color var(--sp-duration-fast) var(--sp-ease-default), color var(--sp-duration-fast) var(--sp-ease-default), background var(--sp-duration-fast) var(--sp-ease-default);
  background: var(--sp-color-brand-pill-bg);
}

.brand-pill:hover {
  border-color: var(--sp-color-primary);
  color: var(--sp-color-primary);
  background: oklch(0.72 0.17 52 / 0.04);
}

.brand-pill-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


.brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-space-16);
  flex-wrap: wrap;
}

.brand-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--sp-duration-normal) var(--sp-ease-default), transform var(--sp-duration-normal) var(--sp-ease-default);
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.integrations {
  padding: var(--sp-space-16) 0;
  border-top: 1px solid var(--sp-color-border);
  border-bottom: 1px solid var(--sp-color-border);
}

.integrations .integrations-label {
  text-align: center;
  font-size: var(--sp-text-sm);
  color: var(--sp-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-space-8);
}

.mini-terminal {
  width: 100%;
  max-width: 480px;
  background: var(--sp-color-surface);
  border: 1px solid var(--sp-color-border);
  border-radius: var(--sp-corners-md);
  overflow: hidden;
  box-shadow: var(--sp-shadow-lg);
}

.mini-terminal-header {
  display: flex;
  align-items: center;
  gap: var(--sp-space-4);
  padding: var(--sp-space-2) var(--sp-space-4);
  background: var(--sp-color-surface-elevated);
  border-bottom: 1px solid var(--sp-color-border);
}

.mini-terminal-header .terminal-dots span { opacity: 1; }
.mini-terminal-header .terminal-dots span:nth-child(1) { background: var(--sp-terminal-dot-close); }
.mini-terminal-header .terminal-dots span:nth-child(2) { background: var(--sp-terminal-dot-minimize); }
.mini-terminal-header .terminal-dots span:nth-child(3) { background: var(--sp-terminal-dot-maximize); }

.mini-terminal-title {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: var(--sp-text-xs);
  color: var(--sp-color-text-muted);
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: var(--sp-tracking-wide);
}

.mini-terminal-body {
  padding: var(--sp-space-4) var(--sp-space-6);
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: var(--sp-text-sm);
  line-height: var(--sp-leading-relaxed);
  min-height: 160px;
  background: var(--sp-color-surface);
}

.mini-terminal-line {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-space-2);
  margin-bottom: 0.125rem;
}

.mini-terminal-output {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--sp-duration-normal) var(--sp-ease-default), transform var(--sp-duration-normal) var(--sp-ease-default);
}

.mini-terminal-output.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mini-terminal-output {
    transition: opacity var(--sp-duration-normal) var(--sp-ease-default);
    transform: none;
  }

  .mini-terminal-output.visible {
    transform: none;
  }

  .brand-logo.brand-logo {
    transition: opacity var(--sp-duration-normal) var(--sp-ease-default);
  }

  .brand-logo:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .integrations-inline .integrations-label {
    text-align: center;
  }

  .brand-pills {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .brand-pills {
    gap: var(--sp-space-1);
  }

  .brand-pill {
    font-size: var(--sp-text-xs);
    padding: 0.25rem 0.625rem;
  }

  .mini-terminal {
    max-width: 100%;
  }

  .mini-terminal-body {
    font-size: var(--sp-text-xs);
    padding: var(--sp-space-2) var(--sp-space-4);
    min-height: 140px;
  }
}

@media (max-width: 480px) {
  .brand-pills {
    flex-direction: column;
    align-items: center;
  }

  .integrations-inline {
    margin-top: var(--sp-space-4);
  }
}
