
:root {
  --sp-feature-bg-size: 600px;
  --sp-feature-hero-content-max: 700px;
  --sp-feature-subtitle-max: 600px;
}

body {
  font-family: var(--sp-font-sans);
  color: var(--sp-color-text);
  background: var(--sp-color-bg);
  line-height: var(--sp-leading-normal);
}

.feature-background {
  position: fixed;
  inset: 0;
  z-index: var(--sp-z-behind);
  background: linear-gradient(180deg, var(--sp-color-bg) 0%, var(--sp-color-surface) 100%);
}

.feature-background::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -150px;
  width: var(--sp-feature-bg-size);
  height: var(--sp-feature-bg-size);
  border-radius: var(--sp-radius-full);
  background: radial-gradient(circle,
    oklch(0.75 0.16 52 / 0.35) 0%,
    oklch(0.75 0.16 52 / 0.06) 70%,
    transparent 100%);
  pointer-events: none;
}

.feature-page {
  padding-top: var(--sp-header-height);
}

.container {
  max-width: var(--sp-container-max);
  margin: 0 auto;
  padding: 0 var(--sp-space-6);
}


.feature-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-space-24) var(--sp-space-8) var(--sp-space-16);
  position: relative;
}

.feature-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--sp-color-border) 20%,
    var(--sp-color-primary) 50%,
    var(--sp-color-border) 80%,
    transparent 100%);
}


.feature-hero-content {
  max-width: var(--sp-feature-hero-content-max);
  text-align: center;
}

.feature-icon {
  width: var(--sp-space-3xl);
  height: var(--sp-space-3xl);
  margin: 0 auto var(--sp-space-6);
  color: var(--sp-color-primary);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-headline {
  font-family: var(--sp-font-brand);
  font-size: var(--sp-text-4xl);
  font-weight: var(--sp-font-normal);
  text-transform: uppercase;
  letter-spacing: var(--sp-tracking-wide);
  line-height: var(--sp-leading-tight);
  margin-bottom: var(--sp-space-6);
  color: var(--sp-color-text);
}

.feature-headline .highlight {
  color: var(--sp-color-primary);
  display: block;
}

.feature-subtitle {
  font-size: var(--sp-text-xl);
  color: var(--sp-color-text-secondary);
  line-height: var(--sp-leading-relaxed);
  max-width: var(--sp-feature-subtitle-max);
  margin: 0 auto;
}


.feature-highlights {
  padding: var(--sp-space-12) 0;
}

.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-item {
  list-style: none;
  background: linear-gradient(135deg, oklch(0.75 0.16 52 / 0.05) 0%, transparent 60%);
  border: 1px solid var(--sp-color-border);
  border-radius: var(--sp-corners-sm);
  transition: border-color var(--sp-duration-normal) var(--sp-ease-out),
              box-shadow var(--sp-duration-normal) var(--sp-ease-out),
              transform var(--sp-duration-normal) var(--sp-ease-out);
}

.highlight-item:hover {
  border-color: var(--sp-color-primary);
  box-shadow: var(--sp-shadow-md);
  transform: translateY(-2px);
}

.highlight-link {
  display: flex;
  align-items: center;
  padding: var(--sp-space-4) var(--sp-space-6);
  text-decoration: none;
  cursor: pointer;
  height: 100%;
}

.highlight-link:hover {
  text-decoration: none;
}

.highlight-bullet {
  display: none;
}

.highlight-text {
  color: var(--sp-color-text);
  font-size: var(--sp-text-sm);
  line-height: var(--sp-leading-snug);
}

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

  .highlight-item:hover {
    transform: none;
  }
}
