.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe, table {
  max-width: 100%;
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: #059669;
  transition: width 0.1s linear;
}

.editorial-shadow {
  box-shadow: 0 8px 32px -4px rgba(26, 28, 28, 0.06);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.guide-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
}

.guide-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.guide-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #d1fae5;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 86% 18%, rgba(16, 185, 129, 0.18), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #ecfdf5 100%);
}

.guide-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.guide-hero-copy,
.guide-hero-art,
.guide-article {
  min-width: 0;
}

.guide-content-grid {
  display: block;
}

.guide-sidebar {
  display: none;
}

.guide-logo-card {
  min-height: 13rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
}

.guide-logo-card img {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 1.25rem;
}

.guide-toc-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0 0.6rem 0.85rem;
  border-left: 2px solid transparent;
  border-radius: 0 0.375rem 0.375rem 0;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.guide-toc-link:hover {
  border-left-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.guide-toc-link.active {
  border-left-color: #22c55e;
  background: #f0fdf4;
  color: #15803d;
}

.article-body {
  text-rendering: optimizeLegibility;
  word-spacing: normal;
}

.article-body h2 {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  color: #1a1c1c;
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.7rem;
  color: #1a1c1c;
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.article-body h4 {
  margin-top: 1.15rem;
  margin-bottom: 0.45rem;
  color: #334155;
  font-size: 1rem;
  font-weight: 800;
}

.article-body p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.article-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.9rem 0 1.45rem;
  padding-left: 1.45rem;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.75;
  list-style-type: disc;
}

.article-body li {
  margin-bottom: 0;
}

.article-body strong {
  color: #1a1c1c;
  font-weight: 800;
}

.article-body table {
  width: 100%;
  margin: 1.2rem 0 1.65rem;
  border-collapse: collapse;
  color: #334155;
  font-size: 0.91rem;
}

.article-body th,
.article-body td {
  border: 1px solid #e2e8f0;
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.article-body .callout,
.article-body .warning {
  margin: 1.5rem 0;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
}

.article-body .callout {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.article-body .warning {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

@media (max-width: 720px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .guide-hero-grid {
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.9fr);
    gap: 3rem;
  }

  .guide-content-grid {
    display: grid;
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: 3.25rem;
    align-items: start;
  }

  .guide-sidebar {
    display: block;
  }
}
