.page-docs-template {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef2ff;
  --ink: #10233e;
  --ink-2: #44556f;
  --line: #dbe4f0;
  --primary: #10233e;
  --accent: #6f6bff;
  --accent-2: #8b5cf6;
  --shadow: 0 20px 60px rgba(16,35,62,.08);
  --shadow-sm: 0 4px 12px rgba(16,35,62,.04);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
}

.page-docs-template .container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.page-docs-template img {
  max-width: 100%;
  display: block;
}

.page-docs-template a {
  text-decoration: none;
  color: inherit;
  transition: color .18s ease;
}

.page-docs-template h1,
.page-docs-template h2,
.page-docs-template h3,
.page-docs-template h4 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em;
}

.page-docs-template .section {
  padding: 76px 0;
  position: relative;
}

.page-docs-template .section.soft {
  background: var(--bg-soft);
  position: relative;
}

.page-docs-template .section.soft::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.page-docs-template .section.soft::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.page-docs-template .btn,
.page-docs-template .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: .18s ease;
  cursor: pointer;
}

.page-docs-template .btn-primary {
  background: var(--primary);
  color: #fff;
}

.page-docs-template .btn-primary:hover {
  transform: translateY(-1px);
}

.page-docs-template .wp-block-button.btn,
.page-docs-template .wp-block-button.btn-primary,
.page-docs-template .wp-block-button.btn-secondary {
  margin: 0;
  padding: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-docs-template .wp-block-button.btn .wp-block-button__link,
.page-docs-template .wp-block-button.btn-primary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: .18s ease;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.page-docs-template .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: .18s ease;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.page-docs-template .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-docs-template .wp-block-button.btn-secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: .18s ease;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.page-docs-template .wp-block-button.btn-secondary .wp-block-button__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-docs-template .page-hero {
  padding: 62px 0 24px;
  background: var(--bg);
}

.page-docs-template .page-hero h1 {
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 18px 0 14px;
  color: var(--ink);
}

.page-docs-template .page-hero p.lead {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 680px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.page-docs-template .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.page-docs-template .hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.page-docs-template .wp-block-buttons.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.page-docs-template .wp-block-columns.card-grid,
.page-docs-template .wp-block-columns.two-col {
  margin-bottom: 0;
}

.page-docs-template .wp-block-columns.card-grid {
  display: grid;
}

.page-docs-template .wp-block-columns.two-col {
  display: grid;
}

.page-docs-template .wp-block-column {
  min-width: 0;
}

.page-docs-template .section-head {
  max-width: 740px;
  margin-bottom: 26px;
}

.page-docs-template .section h2 {
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 10px 0 12px;
  color: var(--ink);
}

.page-docs-template .section p.sub,
.page-docs-template p.sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0;
}

.page-docs-template .card-grid {
  display: grid;
  gap: 18px;
}

.page-docs-template .card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.page-docs-template .card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(16,35,62,.04);
  transition: all .3s cubic-bezier(.22,1,.36,1);
  position: relative;
}

.page-docs-template .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(16,35,62,.08), 0 0 0 1px rgba(111,107,255,.08);
  border-color: rgba(111,107,255,.15);
}

.page-docs-template .card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.page-docs-template .card p {
  color: var(--ink-2);
  margin: 0;
}

.page-docs-template .two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.page-docs-template .screen {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(16,35,62,.10), 0 0 0 1px rgba(219,228,240,.5);
  overflow: hidden;
  transition: all .4s cubic-bezier(.22,1,.36,1);
  position: relative;
}

.page-docs-template .screen:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(16,35,62,.12), 0 0 0 1px rgba(111,107,255,.06);
}

.page-docs-template .screen img {
  width: 100%;
  height: auto;
}

.page-docs-template .wp-block-image {
  margin: 0;
}

.page-docs-template .two-col .screen {
  padding-top: 36px;
}

.page-docs-template .two-col .screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  z-index: 2;
  background-image:
    radial-gradient(circle 5px at 16px 18px, #EF4444 5px, transparent 0),
    radial-gradient(circle 5px at 32px 18px, #F59E0B 5px, transparent 0),
    radial-gradient(circle 5px at 48px 18px, #10B981 5px, transparent 0);
}

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

.docs-page__hero {
  padding-bottom: 18px;
}

.docs-page__cards {
  align-items: stretch;
}

.docs-page__card {
  height: 100%;
}

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

.docs-page__screen img {
  margin: 0;
  border-radius: 0;
}

.docs-page__intro {
  align-self: center;
}

.docs-page__actions {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .page-docs-template .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .page-docs-template .section {
    padding: 56px 0;
  }

  .page-docs-template .page-hero h1 {
    font-size: 44px;
  }

  .page-docs-template .section h2 {
    font-size: 34px;
  }

  .page-docs-template .card-grid.three {
    grid-template-columns: 1fr;
  }

  .docs-page__intro {
    text-align: center;
  }

  .docs-page__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-docs-template .container {
    width: calc(100% - 32px);
  }

  .page-docs-template .page-hero h1 {
    font-size: 32px;
  }

  .page-docs-template .hero-actions {
    flex-direction: column;
  }

  .page-docs-template .hero-actions .btn-primary,
  .page-docs-template .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
