:root {
  --guide-ink: #102235;
  --guide-muted: #5a6978;
  --guide-line: #dce5ec;
  --guide-panel: #f4f8fb;
  --guide-blue: #0a6ce5;
  --guide-blue-dark: #0756b8;
  --guide-mint: #dff8ee;
}

.guide-page {
  background: #f7fafc;
  color: var(--guide-ink);
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.guide-layout,
.guide-hub-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) 260px;
  gap: 64px;
  align-items: start;
}

.guide-breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--guide-muted);
  font-size: 14px;
  overflow: hidden;
}

.guide-breadcrumbs a {
  color: var(--guide-blue-dark);
  text-decoration: none;
}

.guide-breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-article {
  min-width: 0;
}

.guide-hero {
  padding: 42px;
  border: 1px solid var(--guide-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 58, 84, .08);
}

.guide-hero h1,
.guide-hub-hero h1 {
  max-width: 900px;
  margin: 10px 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.guide-lead,
.guide-hub-hero > p {
  max-width: 760px;
  color: var(--guide-muted);
  font-size: 20px;
  line-height: 1.62;
}

.guide-disclaimer {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid #20a779;
  border-radius: 8px;
  background: var(--guide-mint);
  color: #244b40;
  font-size: 14px;
  line-height: 1.55;
}

.guide-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guide-download {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 12px;
  background: #0b6fe8;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.guide-download:hover {
  background: var(--guide-blue-dark);
}

.guide-quick {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  margin: 26px 0;
  padding: 30px 34px;
  border-radius: 22px;
  background: #0b1d2d;
  color: #fff;
}

.guide-quick span {
  color: #69b5ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.guide-quick h2 {
  margin: 7px 0 0;
  font-size: 25px;
}

.guide-quick ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 24px;
  color: #e9f2fa;
  line-height: 1.55;
}

.guide-section,
.guide-faq,
.guide-related {
  margin-top: 26px;
  padding: 38px 42px;
  border: 1px solid var(--guide-line);
  border-radius: 24px;
  background: #fff;
}

.guide-section h2,
.guide-faq h2,
.guide-related h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.13;
  letter-spacing: -.025em;
}

.guide-section p,
.guide-section li,
.guide-faq p {
  color: #405263;
  font-size: 17px;
  line-height: 1.72;
}

.guide-section p + p {
  margin-top: 14px;
}

.guide-steps,
.guide-list {
  display: grid;
  gap: 14px;
  padding-left: 25px;
}

.guide-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #f0d38d;
  border-radius: 14px;
  background: #fff9e9;
}

.guide-note strong {
  color: #735316;
}

.guide-note p {
  margin: 7px 0 0;
  color: #6b5b33;
  font-size: 15px;
}

.guide-shot {
  margin: 28px 0 0;
}

.guide-shot-placeholder {
  display: grid;
  min-height: 310px;
  place-content: center;
  gap: 8px;
  border: 2px dashed #9cb4c8;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 108, 229, .06), rgba(32, 167, 121, .05)),
    #f5f9fc;
  color: #587184;
  text-align: center;
}

.guide-shot-placeholder span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-shot-placeholder strong {
  color: #1f3a51;
  font-size: 18px;
}

.guide-shot-media {
  position: relative;
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d9e2e9;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(118, 84, 213, .08), transparent 42%),
    #f4f6f8;
}

.guide-shot-media img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.guide-shot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(10, 25, 39, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  backdrop-filter: blur(8px);
}

.guide-shot figcaption {
  margin-top: 10px;
  color: var(--guide-muted);
  font-size: 14px;
  line-height: 1.5;
}

.guide-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.guide-inline-links a,
.guide-text-link {
  color: var(--guide-blue-dark);
  font-weight: 800;
}

.guide-faq-list {
  display: grid;
  gap: 10px;
}

.guide-faq details {
  padding: 18px 20px;
  border: 1px solid var(--guide-line);
  border-radius: 14px;
  background: var(--guide-panel);
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
}

.guide-faq details p {
  margin: 12px 0 0;
  font-size: 15px;
}

.guide-purchase-box,
.guide-support-box,
.guide-hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 32px 36px;
  border-radius: 22px;
  background: #dfeefe;
}

.guide-purchase-box {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .24), transparent 30%),
    #0b1d2d;
  color: #fff;
}

.guide-purchase-box span {
  color: #69b5ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-purchase-box h2 {
  max-width: 570px;
  margin: 6px 0;
  font-size: 27px;
}

.guide-purchase-box p {
  max-width: 650px;
  margin: 0;
  color: #c9d8e5;
  line-height: 1.55;
}

.guide-purchase-actions {
  display: grid;
  min-width: 210px;
  gap: 11px;
  text-align: center;
}

.guide-purchase-actions > a:last-child {
  color: #a9d4ff;
  font-size: 14px;
  font-weight: 800;
}

.guide-support-box span,
.guide-hub-footer span {
  color: var(--guide-blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-support-box h2,
.guide-hub-footer h2 {
  max-width: 560px;
  margin: 6px 0;
  font-size: 25px;
}

.guide-support-box p,
.guide-hub-footer p {
  margin: 0;
  color: var(--guide-muted);
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--guide-line);
  border-radius: 16px;
  color: var(--guide-ink);
  text-decoration: none;
}

.guide-related-card:hover,
.guide-hub-card:hover {
  border-color: #7bb6ef;
  transform: translateY(-2px);
}

.guide-related-card span,
.guide-hub-card > span {
  color: var(--guide-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.guide-related-card small {
  color: var(--guide-muted);
  line-height: 1.45;
}

.guide-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  padding: 22px;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  background: #fff;
}

.guide-sidebar strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.guide-sidebar a {
  padding: 9px 0;
  border-bottom: 1px solid #edf2f6;
  color: #405263;
  font-size: 14px;
  text-decoration: none;
}

.guide-sidebar a:hover {
  color: var(--guide-blue-dark);
}

.guide-hub-layout {
  display: grid;
  gap: 30px;
}

.guide-hub-hero {
  padding: 58px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 15%, rgba(65, 174, 255, .22), transparent 32%),
    #fff;
  box-shadow: 0 24px 70px rgba(28, 58, 84, .08);
}

.guide-hub-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

.guide-hub-group {
  padding-top: 24px;
}

.guide-hub-group-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 18px;
}

.guide-hub-group-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.guide-hub-group-head p {
  max-width: 540px;
  margin: 0;
  color: var(--guide-muted);
  line-height: 1.55;
}

.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-hub-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--guide-line);
  border-radius: 20px;
  background: #fff;
  color: var(--guide-ink);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.guide-hub-card h2 {
  margin: 11px 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.guide-hub-card p {
  color: var(--guide-muted);
  line-height: 1.55;
}

.guide-hub-card strong {
  margin-top: auto;
  color: var(--guide-blue-dark);
}

.guide-hub-card i {
  margin-left: 5px;
  font-style: normal;
}

@media (max-width: 960px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .guide-sidebar {
    display: none;
  }

  .guide-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .guide-layout,
  .guide-hub-layout {
    width: min(100% - 24px, 1180px);
    padding-top: 20px;
  }

  .guide-hero,
  .guide-section,
  .guide-faq,
  .guide-related,
  .guide-hub-hero {
    padding: 25px 20px;
    border-radius: 19px;
  }

  .guide-hero h1,
  .guide-hub-hero h1 {
    font-size: 37px;
  }

  .guide-lead,
  .guide-hub-hero > p {
    font-size: 17px;
  }

  .guide-quick {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .guide-related-grid,
  .guide-hub-grid {
    grid-template-columns: 1fr;
  }

  .guide-purchase-box,
  .guide-support-box,
  .guide-hub-footer,
  .guide-hub-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-purchase-actions {
    width: 100%;
  }

  .guide-hub-actions,
  .guide-downloads {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-download {
    justify-content: space-between;
  }

  .guide-shot-placeholder {
    min-height: 220px;
  }

  .guide-shot-media {
    min-height: 210px;
  }

  .guide-shot-media img {
    max-height: 560px;
  }
}
