/* ORQVION Docs hub — ox marketing */

.page-docs {
  background: var(--ox-bg);
}

.page-docs .site-footer {
  border-top-color: var(--ox-line);
  background: var(--ox-bg-2);
}

.page-docs .ox-hero-page h1 {
  font-family: var(--ox-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: #fff;
}

.ox-docs-visual .ox-feat-card:nth-child(1) {
  border-color: rgba(77, 212, 255, 0.28);
}

.ox-docs-visual .ox-feat-card:nth-child(2) {
  border-color: rgba(139, 123, 255, 0.32);
}

.ox-docs-visual .ox-feat-card:nth-child(3) {
  border-color: rgba(176, 106, 255, 0.28);
}

.ox-docs-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.ox-docs-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.2rem;
  border: 1px solid var(--ox-line);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(139, 123, 255, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, border-color 0.25s;
  min-height: 100%;
}

.ox-docs-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 123, 255, 0.32);
}

.ox-docs-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--ox-display);
  font-size: 1.02rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.02em;
}

.ox-docs-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ox-muted);
}

.ox-docs-card .ox-docs-link {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 560;
  color: var(--ox-violet);
}

.ox-docs-card:hover .ox-docs-link {
  color: var(--ox-cyan);
}

.ox-docs-steps {
  counter-reset: oxdoc;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
  display: grid;
  gap: 0.85rem;
}

/* Getting started — centered title; steps stay left-aligned in same column width */
.page-docs #getting-started .ox-head {
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-align: center;
}

.page-docs #getting-started .ox-docs-steps {
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
  text-align: start;
}

.ox-docs-steps li {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  border: 1px solid var(--ox-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ox-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  counter-increment: oxdoc;
}

.ox-docs-steps li::before {
  content: counter(oxdoc);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ox-grad);
  font-family: var(--ox-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.ox-section-docs-cards {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}
