/* Blog styles — inspired by mkhamzanov.com/blog terminal aesthetic */

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

html, body {
  background: #0a0a0e;
  color: #e8e8f2;
  font-family: 'Inter Tight', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: #b9a4ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.blog-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.blog-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid #ffffff12;
  position: sticky;
  top: 0;
  background: #0a0a0ee6;
  backdrop-filter: blur(12px);
  z-index: 100;
}

.blog-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.blog-logo-badge {
  background: #fff;
  color: #16161a;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 13px;
  font-weight: 700;
}

.blog-logo-text {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.blog-topnav {
  display: flex;
  gap: 24px;
}

.blog-topnav a {
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-topnav a:hover,
.blog-topnav a.active {
  color: #fff;
}

/* Main */
.blog-main {
  flex: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  width: 100%;
}

.blog-eyebrow {
  color: #b9a4ff;
  font-family: 'Victor Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-page-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.05;
}

.blog-page-sub {
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 16px;
  line-height: 1.5;
  max-width: 640px;
  margin-bottom: 48px;
}

/* Post cards */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.blog-post-card {
  background: #121218;
  border: 1px solid #ffffff12;
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.blog-post-card:hover {
  border-color: #6c5ce066;
  transform: translateY(-3px);
}

.blog-post-card.featured {
  border-color: #ffffff18;
  background: #121218;
}

.blog-post-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  height: 100%;
}

.blog-post-link--featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 340px;
}

.blog-post-cover {
  position: relative;
  min-height: 280px;
  background: #0a0a12;
  overflow: hidden;
}

.blog-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-cover img {
  transform: scale(1.03);
}

.blog-post-visual {
  flex-shrink: 0;
  width: 100%;
  min-height: 140px;
  background: #0a0a12;
  border-bottom: 1px solid #ffffff0a;
  position: relative;
  overflow: hidden;
}

.blog-post-body {
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.blog-post-card h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.blog-post-card.featured h2 {
  font-size: clamp(22px, 2.5vw, 28px);
}

/* Neural network animation */
.visual-neural .v-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6c5ce0;
  box-shadow: 0 0 12px #6c5ce088;
  animation: nodePulse 2s ease-in-out infinite;
}
.visual-neural .v-node:nth-child(1) { top: 30%; left: 25%; animation-delay: 0s; }
.visual-neural .v-node:nth-child(2) { top: 55%; left: 55%; animation-delay: 0.4s; }
.visual-neural .v-node:nth-child(3) { top: 35%; left: 75%; animation-delay: 0.8s; }
.visual-neural .v-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6c5ce066, transparent);
  animation: lineFlow 3s linear infinite;
}
.visual-neural .v-line:nth-child(4) { top: 38%; left: 10%; width: 80%; transform: rotate(8deg); }
.visual-neural .v-line:nth-child(5) { top: 52%; left: 15%; width: 70%; transform: rotate(-5deg); animation-delay: 1s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}
@keyframes lineFlow {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}

/* Grid scan animation */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 24px;
  align-content: center;
}
.visual-grid .g-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #ffffff08;
  animation: cellGlow 2.5s ease-in-out infinite;
}
.visual-grid .g-cell:nth-child(1) { animation-delay: 0s; }
.visual-grid .g-cell:nth-child(2) { animation-delay: 0.2s; }
.visual-grid .g-cell:nth-child(3) { animation-delay: 0.4s; }
.visual-grid .g-cell:nth-child(4) { animation-delay: 0.6s; }
.visual-grid .g-cell:nth-child(5) { animation-delay: 0.8s; }
.visual-grid .g-cell:nth-child(6) { animation-delay: 1s; }

@keyframes cellGlow {
  0%, 100% { background: #ffffff08; }
  50% { background: #6c5ce044; box-shadow: 0 0 8px #6c5ce033; }
}

/* Pulse rings */
.visual-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-pulse .p-core {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b9a4ff;
  box-shadow: 0 0 20px #6c5ce0;
  z-index: 2;
}
.visual-pulse .p-ring {
  position: absolute;
  border: 1px solid #6c5ce044;
  border-radius: 50%;
  animation: ringExpand 3s ease-out infinite;
}
.visual-pulse .p-ring:nth-child(1) { width: 40px; height: 40px; }
.visual-pulse .p-ring:nth-child(2) { width: 40px; height: 40px; animation-delay: 1.5s; }

@keyframes ringExpand {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  color: #b9a4ff;
  background: #6c5ce01a;
  border-radius: 14px;
  padding: 3px 10px;
  font-family: 'Victor Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-post-card h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.blog-post-card p {
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.blog-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #ffffff0a;
}

.blog-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-post-meta {
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 12px;
}

/* Article page */
.article-main {
  max-width: 760px;
}

.back-link {
  display: inline-block;
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 14px;
  margin-bottom: 32px;
  text-decoration: none;
}

.back-link:hover { color: #fff; }

.article-tags { margin-bottom: 20px; }

.article-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ffffff12;
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 13px;
}

.article-meta .blog-post-author div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-meta .blog-post-author strong {
  color: #fff;
  font-size: 15px;
}

.article-meta .blog-post-author span {
  color: #79798e;
  font-size: 12px;
}

.article-hero {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.article-hero-visual {
  min-height: 280px;
  background: #0a0a12;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  overflow: hidden;
}

.article-hero-visual .article-visual {
  width: 100%;
  min-height: 280px;
  border: none;
}

.article-body {
  font-family: 'Victor Mono', monospace;
  font-size: 16px;
  line-height: 1.7;
  color: #c7c7d2;
}

.article-body .lead {
  font-size: 18px;
  color: #e8e8f2;
  margin-bottom: 32px;
  line-height: 1.6;
}

.article-body h2 {
  font-family: 'Inter Tight', sans-serif;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}

.article-body p { margin-bottom: 16px; }

.article-body ul {
  margin: 0 0 20px 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 3px solid #6c5ce0;
  padding: 12px 0 12px 24px;
  margin: 32px 0;
  color: #e8e8f2;
  font-style: italic;
}

.article-cta {
  background: #6c5ce01a;
  border: 1px solid #6c5ce044;
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
}

.article-cta h3 {
  font-family: 'Inter Tight', sans-serif;
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.article-cta p {
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #16161a;
  background: #fff;
  border-radius: 32px;
  padding: 12px 24px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  margin-right: 12px;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #e8e8f2;
  text-decoration: none;
}

.cta-btn.secondary {
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff33;
}

.cta-btn.secondary:hover {
  background: #ffffff0a;
}

/* Footer */
.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-top: 1px solid #ffffff12;
  color: #79798e;
  font-family: 'Victor Mono', monospace;
  font-size: 12px;
}

.blog-footer a {
  color: #79798e;
  text-decoration: none;
}

.blog-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .blog-post-link--featured {
    grid-template-columns: 1fr;
  }

  .blog-post-cover {
    min-height: 220px;
    max-height: 280px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-topbar { padding: 16px 20px; }
  .blog-post-link { flex-direction: column; }
  .blog-post-visual { width: 100%; min-height: 120px; border-right: none; border-bottom: 1px solid #ffffff0a; }
  .blog-post-body { padding: 20px; }
  .blog-main { padding: 32px 20px 60px; }
  .article-meta { flex-direction: column; align-items: flex-start; }
}


/* ── v6 polish ─────────────────────────────── */

/* Никаких системных подчёркиваний внутри карточек и навигации */
.blog-post-link,
.blog-post-link:hover,
.back-link:hover,
.blog-topnav a:hover,
.blog-footer a:hover {
  text-decoration: none;
}

.blog-post-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.blog-post-body { display: flex; flex-direction: column; flex: 1; }
.blog-post-footer { margin-top: auto; }

/* Тематические обложки карточек — единая пропорция 16:9 */
.blog-post-cover--card {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101018;
  border-bottom: 1px solid #ffffff0a;
}

.blog-post-cover--card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-post-card:hover .blog-post-cover--card img {
  transform: scale(1.03);
}

/* Автор-бейдж для статей от имени центра */
.author-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6c5ce0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Подзаголовки третьего уровня в статьях */
.article-body h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
}

.article-body strong { color: #e8e8f2; }

/* CTA-блок статьи */
.article-cta {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid #6c5ce044;
  border-radius: 16px;
  background: linear-gradient(135deg, #6c5ce014, #6c5ce006);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-cta p {
  margin: 0;
  color: #e8e8f2;
  font-family: 'Victor Mono', monospace;
  font-size: 15px;
  max-width: 420px;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #16161a;
  border-radius: 28px;
  padding: 12px 22px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.article-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #6c5ce033;
  text-decoration: none;
}

/* Фокус с клавиатуры */
.blog-post-link:focus-visible,
.article-cta-btn:focus-visible,
.blog-topnav a:focus-visible,
.back-link:focus-visible {
  outline: 2px solid #b9a4ff;
  outline-offset: 3px;
  border-radius: 8px;
}

/* Бережём тех, кто отключил анимации */
@media (prefers-reduced-motion: reduce) {
  .blog-post-card,
  .blog-post-cover--card img,
  .article-cta-btn {
    transition: none !important;
  }
  .v-node, .p-ring, .g-cell {
    animation: none !important;
  }
}

/* Адаптив статьи и сетки */
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .blog-main { padding: 40px 20px 64px; }
  .article-meta { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════
   v8 — light theme, larger nav, hero fig
   ══════════════════════════════════════ */

/* Bigger, easier-to-hit navigation */
.blog-topnav a {
  font-size: 17px;
  padding: 10px 16px;
  border-radius: 12px;
}

.blog-topnav { gap: 6px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  padding: 10px 18px;
  border: 1px solid #ffffff22;
  border-radius: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.back-link:hover {
  border-color: #b9a4ff88;
  background: #ffffff0a;
}

/* Article hero: dark plate behind covers — no light gaps at any ratio */
.article-hero {
  background: #101018;
  border: 1px solid #ffffff12;
}

.article-hero img { display: block; background: #101018; }

/* Theme toggle button */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ffffff2a;
  background: transparent;
  color: #e8e8f2;
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
}

.theme-toggle:hover { border-color: #b9a4ff88; background: #ffffff0a; }

/* ── Light (day) theme ── */
[data-theme='light'] body,
body[data-theme='light'] {
  background: #eef0f6;
  color: #1c1c26;
}

[data-theme='light'] .blog-topbar { background: #eef0f6e6; border-color: #00000012; }
[data-theme='light'] .blog-logo-text,
[data-theme='light'] .blog-topnav a.active,
[data-theme='light'] .blog-topnav a:hover { color: #16161a; }
[data-theme='light'] .blog-topnav a { color: #55556a; }
[data-theme='light'] .theme-toggle { color: #1c1c26; border-color: #00000022; }
[data-theme='light'] .theme-toggle:hover { background: #00000008; }

[data-theme='light'] .blog-hero h1,
[data-theme='light'] .featured-title,
[data-theme='light'] .blog-post-title,
[data-theme='light'] .article-title,
[data-theme='light'] .article-body h2,
[data-theme='light'] .article-body h3,
[data-theme='light'] .article-body strong,
[data-theme='light'] .blog-post-author strong,
[data-theme='light'] .featured-card .featured-excerpt strong { color: #16161a; }

[data-theme='light'] .blog-hero p,
[data-theme='light'] .blog-post-excerpt,
[data-theme='light'] .featured-excerpt,
[data-theme='light'] .article-body p,
[data-theme='light'] .article-body li,
[data-theme='light'] .article-meta,
[data-theme='light'] .blog-post-meta,
[data-theme='light'] .blog-post-author span,
[data-theme='light'] .blog-post-footer { color: #4a4a5e; }

[data-theme='light'] .blog-post-card,
[data-theme='light'] .featured-card {
  background: #ffffff;
  border-color: #00000014;
}

[data-theme='light'] .blog-post-card:hover { border-color: #6c5ce066; }

[data-theme='light'] .tag {
  background: #6c5ce016;
  color: #5646c8;
}

[data-theme='light'] .back-link {
  color: #4a4a5e;
  border-color: #00000022;
}

[data-theme='light'] .back-link:hover {
  color: #16161a;
  border-color: #6c5ce088;
  background: #6c5ce00a;
}

[data-theme='light'] .article-cta {
  background: #6c5ce00d;
  border-color: #6c5ce033;
}

[data-theme='light'] .article-cta p { color: #2a2a3a; }

[data-theme='light'] .article-cta-btn {
  background: #16161a;
  color: #fff;
}

[data-theme='light'] .blog-footer { border-color: #00000012; color: #7a7a8e; }
[data-theme='light'] .blog-footer a { color: #4a4a5e; }
[data-theme='light'] .lead { color: #2a2a3a; }


/* v10: day-mode fixes for actual hero classes */
[data-theme='light'] .blog-page-title { color: #16161a; }
[data-theme='light'] .blog-page-sub { color: #4a4a5e; }
[data-theme='light'] .blog-page-eyebrow { color: #5646c8; }


/* v13: никакого горизонтального скролла в блоге */
html, body { overflow-x: hidden; max-width: 100vw; }

.blog-shell img,
.blog-shell svg,
.blog-shell video { max-width: 100%; height: auto; }

.blog-shell * { min-width: 0; }

@media (max-width: 768px) {
  .featured-card { display: flex; flex-direction: column; }
  .featured-card > * { width: 100% !important; }
}


/* v14: мобильная шапка блога — два аккуратных ряда */
@media (max-width: 768px) {
  .blog-topbar {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 10px;
    padding: 12px 16px !important;
  }

  .blog-topbar .blog-logo { grid-column: 1; grid-row: 1; }
  .blog-topbar .theme-toggle { grid-column: 2; grid-row: 1; margin-left: 0; }

  .blog-topbar .blog-topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    gap: 4px;
    width: 100%;
  }

  .blog-topnav a {
    font-size: 15px;
    padding: 8px 12px;
    white-space: nowrap;
  }
}


/* v20: логотип в блоге (белый на тёмной теме, фирменный на светлой) */
.blog-logo .brand-logo { height: 30px; width: auto; display: block; }
[data-theme='light'] .blog-logo .brand-logo { content: url('/logo-airl.png'); }
@media (max-width: 768px) { .blog-logo .brand-logo { height: 26px; } }

/* ===========================================================================
   Step-by-step guide components (setup article)
   =========================================================================== */
.guide-steps {
  counter-reset: guidestep;
  margin: 28px 0 8px;
}

.guide-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #26263a;
}
.guide-step:first-child { border-top: none; }

.guide-step::before {
  counter-increment: guidestep;
  content: counter(guidestep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #6c5ce0;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.guide-step-body h3 {
  margin: 4px 0 8px !important;
  font-size: 20px !important;
}
.guide-step-body p { margin-bottom: 12px; }
.guide-step-body p:last-child { margin-bottom: 0; }

.guide-figure {
  margin: 16px 0 4px;
  border: 1px solid #26263a;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d16;
}
.guide-figure img { display: block; width: 100%; height: auto; }
.guide-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: #79798e;
  border-top: 1px solid #26263a;
  font-family: 'Victor Mono', monospace;
}

/* Inline "what you type into Claude" block */
.guide-say {
  border: 1px solid #6c5ce044;
  background: #6c5ce012;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
}
.guide-say .guide-say-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Victor Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b9a4ff;
  margin-bottom: 8px;
}
.guide-say p {
  margin: 0 !important;
  color: #e8e8f2;
  font-family: 'Victor Mono', monospace;
  font-size: 15px;
  line-height: 1.55;
}

/* Callout / warning box */
.guide-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
  background: #16161f;
  border: 1px solid #2c2c40;
}
.guide-note.tip { border-color: #6c5ce055; background: #6c5ce012; }
.guide-note.warn { border-color: #e0b15533; background: #e0b1550f; }
.guide-note-icon { font-size: 18px; line-height: 1.4; }
.guide-note p { margin: 0 !important; font-size: 15px; }
.guide-note strong { color: #fff; }

/* Two-column platform split (Mac / Windows) */
.guide-os {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.guide-os-col {
  border: 1px solid #26263a;
  border-radius: 12px;
  padding: 16px 18px;
  background: #0f0f18;
}
.guide-os-col h4 {
  font-family: 'Inter Tight', sans-serif;
  color: #fff;
  font-size: 15px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-os-col p { font-size: 14px !important; margin: 0 !important; color: #b6b6c6; }

/* Recap checklist */
.guide-checklist {
  list-style: none;
  margin: 16px 0 0 !important;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guide-checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #26263a;
  border-radius: 10px;
  background: #0f0f18;
  margin: 0 !important;
}
.guide-checklist li::before {
  content: '✓';
  color: #6c5ce0;
  font-weight: 700;
}

@media (max-width: 640px) {
  .guide-os { grid-template-columns: 1fr; }
  .guide-step { grid-template-columns: 36px 1fr; gap: 12px; }
  .guide-step::before { width: 36px; height: 36px; font-size: 17px; }
}

/* Light theme */
[data-theme='light'] .guide-step { border-color: #e6e6ef; }
[data-theme='light'] .guide-figure,
[data-theme='light'] .guide-os-col,
[data-theme='light'] .guide-checklist li { background: #fff; border-color: #e6e6ef; }
[data-theme='light'] .guide-figure figcaption { color: #79798e; border-color: #e6e6ef; }
[data-theme='light'] .guide-os-col p { color: #4a4a5e; }
[data-theme='light'] .guide-say p,
[data-theme='light'] .guide-note p { color: #16161a; }
[data-theme='light'] .guide-note { background: #f4f4fb; border-color: #e6e6ef; }
[data-theme='light'] .guide-figure { background: #f7f7fc; }
