.hero {
  padding: 2.5rem 0 1rem;
  max-width: none;
  text-align: center;
}

.hero-title {
  margin: 0 auto 1rem;
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero-title__line {
  display: inline;
  background: linear-gradient(118deg, #f8fafc 0%, #e2e8f0 42%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(248, 250, 252, 0.96);
}

.hero-title__line--mid {
  background: linear-gradient(118deg, #fcd34d 0%, #fbbf24 48%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title__line--accent {
  background: linear-gradient(118deg, #99f6e4 0%, #5eead4 45%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title__line,
  .hero-title__line--mid,
  .hero-title__line--accent {
    color: transparent;
  }
}

.hero-subtext {
  margin: 0 auto 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  max-width: 44rem;
  justify-content: center;
}

.hero-subtext li {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.hero-outcomes-intro {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: -0.01em;
}

.hero-outcomes {
  margin: 0 auto 0.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  max-width: 44rem;
  text-align: left;
}

.hero-outcomes li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

.hero-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: linear-gradient(135deg, #5eead4, #34d399);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}

.hero-outcomes-footer {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5eead4;
}

.hero-lede-stack {
  margin: 0 auto;
  max-width: 44rem;
}

.hero-lede-stack .lede {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.12rem, 2.4vw, 1.3rem);
  line-height: 1.65;
  color: #b8c3d4;
  max-width: 44rem;
}

.hero-lede-stack .lede:first-child {
  margin-bottom: 0.85rem;
}

.hero-lede-stack .lede.lede--secondary {
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.45rem;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(165deg, #5eead4, #34d399 55%, #059669);
  color: #022c22;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-glow), 0 8px 24px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: var(--shadow-glow), 0 12px 32px rgba(16, 185, 129, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  border-color: var(--color-border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.35);
  transform: translateY(-1px);
}

.pill {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.1rem;
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.06);
}

.features {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  margin-top: 3rem;
}

.card {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.45rem;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(45, 212, 191, 0.08), transparent 42%);
  pointer-events: none;
  opacity: 0.9;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: #b4c0d4;
}

.card-bullets {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #94a3b8;
}

.card-bullets li {
  margin-bottom: 0.35rem;
}

.card-bullets__code {
  font-size: 0.875rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(7, 13, 22, 0.85);
  border: 1px solid var(--color-border-strong);
  color: #a5f3fc;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

.doc--ai-discovery {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.landing-discovery__hero-echo {
  margin: 0 auto 1.75rem;
  max-width: 48rem;
  text-align: center;
}

.landing-discovery__hero-echo-title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.landing-discovery__lead {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-discovery__ai-era {
  margin: 1.75rem auto 2rem;
  max-width: 44rem;
  text-align: center;
}

.landing-discovery__ai-era-line {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.landing-discovery__ai-era-line--a {
  color: #e2e8f0;
}

.landing-discovery__ai-era-line--b {
  background: linear-gradient(118deg, #99f6e4 0%, #5eead4 45%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-discovery__ai-era-line--c {
  color: #94a3b8;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  margin-top: 0.35rem;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .landing-discovery__ai-era-line--b {
    color: #5eead4;
    background: none;
  }
}

.landing-discovery__spotlight {
  margin: 2rem auto;
  max-width: 48rem;
  text-align: left;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(6, 78, 59, 0.12);
}

.landing-discovery__spotlight-block {
  margin: 0 0 0.85rem;
}

.landing-discovery__spotlight .doc-section-h3 {
  margin-bottom: 1rem;
}

.landing-discovery__spotlight-block:last-child {
  margin-bottom: 0;
}

.landing-discovery__spotlight-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.landing-discovery__spotlight-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.landing-discovery__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1rem auto 1.5rem;
  max-width: 52rem;
  text-align: left;
}

.landing-discovery__snippet-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 0.5rem;
}

.landing-discovery__pre {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(7, 13, 22, 0.92);
  border: 1px solid var(--color-border-strong);
  overflow-x: auto;
  text-align: left;
}

.landing-discovery__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #e2e8f0;
  white-space: pre;
}

.landing-discovery__pr-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem auto 1.25rem;
  text-align: left;
  max-width: 44rem;
}

.landing-discovery__pr-li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.landing-discovery__faq {
  max-width: 46rem;
  margin: 0 auto;
  text-align: left;
}

.landing-discovery__faq-item {
  margin-bottom: 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.35);
  padding: 0.15rem 0.65rem 0.5rem;
}

.landing-discovery__faq-q {
  cursor: pointer;
  font-weight: 600;
  color: #e2e8f0;
  padding: 0.35rem 0;
}

.landing-discovery__faq-a {
  margin: 0.35rem 0 0.5rem;
}
