/* AlexSoftClub - внутренние страницы: модули, статьи, хабы, документация (генерирует build_site.py) */

/* ---------- Хлебные крошки ---------- */
.pg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.pg-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.pg-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 4px; }
.pg-crumbs a { color: var(--text-2); }
.pg-crumbs a:hover { color: var(--blue); }
.pg-crumbs [aria-current] { color: var(--muted); }

/* ---------- Шапка страницы ---------- */
.pg-hero { padding: 32px 0 48px; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; margin-top: 28px; }
.pg-hero-copy h1 { margin-top: 0; }
.pg-hero-solo { grid-template-columns: minmax(0, 860px); }
.pg-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid color-mix(in srgb, var(--green) 25%, transparent);
}
.pg-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }
.pg-pill .icon { width: 15px; height: 15px; }
.pg-pill-blue { background: var(--blue-soft); color: var(--blue); border-color: color-mix(in srgb, var(--blue) 22%, transparent); }
.pg-hero h1 { margin-top: 20px; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.pg-hero-solo h1 { margin-top: 0; }
.pg-hero-solo .pg-pill + h1 { margin-top: 20px; }
.pg-lead { margin-top: 20px; font-size: 18.5px; line-height: 1.6; max-width: 66ch; color: var(--text-2); }
.pg-lead a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent); }
.pg-updated { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.pg-updated .icon { width: 15px; height: 15px; }
.pg-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pg-hero-actions .btn { min-height: 46px; font-size: 15px; }

/* Карточка цены в шапке модуля */
.pg-buy { padding: 22px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.pg-buy-title { color: var(--text); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.pg-plan { position: relative; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card-2); margin-bottom: 10px; }
.pg-plan p { font-size: 14px; color: var(--text-2); font-weight: 600; }
.pg-plan b { display: block; margin-top: 2px; color: var(--text); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pg-plan small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.pg-plan-main { border-color: color-mix(in srgb, var(--blue) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 12%, var(--card)), var(--card)); }
.pg-plan-flag { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--blue-solid); color: #fff; font-size: 12px; font-weight: 700; }
.pg-buy .btn { margin-top: 6px; }
.pg-buy-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.pg-buy-note .icon { width: 15px; height: 15px; color: var(--green); stroke-width: 2.4; }
.pg-buy-price b { display: block; color: var(--text); font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.pg-buy-price span { font-size: 14px; color: var(--muted); }
.pg-buy ul { list-style: none; display: grid; gap: 8px; margin: 16px 0 18px; font-size: 15px; color: var(--text); }
.pg-buy li { display: flex; gap: 8px; align-items: center; }
.pg-buy li .icon { width: 16px; height: 16px; color: var(--blue); stroke-width: 2.4; }
.pg-buy-link { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; }

@media (max-width: 1000px) { .pg-hero-grid { grid-template-columns: 1fr; gap: 32px; } .pg-buy { max-width: 480px; } }
@media (max-width: 560px) { .pg-hero { padding-top: 20px; } .pg-lead { font-size: 16.5px; } .pg-hero-actions .btn { flex: 1 1 auto; } }

/* ---------- Раскладка: текст + колонка ---------- */
.pg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.pg-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.pg-layout > .pg-card { padding: 44px 52px 48px; }
.pg-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.pg-aside-in { display: grid; gap: 14px; }
.pg-toc { padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.pg-toc-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--text); font-weight: 700; font-size: 14px; }
.pg-toc-title .icon { width: 16px; height: 16px; color: var(--blue); }
.pg-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; max-height: 46vh; overflow-y: auto; }
.pg-toc li { counter-increment: toc; }
.pg-toc a {
  display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--text-2); font-size: 14px; line-height: 1.35;
  transition: background-color .15s, color .15s;
}
.pg-toc a::before { content: counter(toc); flex: none; min-width: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-toc a:hover { background: var(--card-2); color: var(--text); }
.pg-toc a.is-active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.pg-toc a.is-active::before { color: var(--blue); }
.pg-promo {
  position: relative; overflow: hidden; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  background-image: radial-gradient(260px 160px at 100% 0%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%);
}
.pg-promo-title { color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.pg-promo ol { list-style: none; display: grid; gap: 10px; margin: 14px 0 18px; font-size: 14px; color: var(--text); }
.pg-promo li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.pg-promo li span { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; }
.pg-promo-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.pg-promo-link .icon { width: 17px; height: 17px; }
@media (max-width: 1080px) {
  .pg-layout { grid-template-columns: 1fr; }
  .pg-aside { position: static; }
  .pg-aside-in { grid-template-columns: 1fr 1fr; }
  .pg-toc ol { max-height: none; }
}
@media (max-width: 720px) {
  .pg-layout > .pg-card { padding: 26px 20px 30px; border-radius: var(--r-lg); }
  .pg-aside-in { grid-template-columns: 1fr; }
}

/* ---------- Текст ---------- */
.pg-prose { color: var(--text-2); font-size: 16.5px; line-height: 1.75; min-width: 0; }
.pg-prose > * + * { margin-top: 1em; }
.pg-prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.pg-prose h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; scroll-margin-top: calc(var(--header-h) + 20px); }
.pg-prose h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; scroll-margin-top: calc(var(--header-h) + 20px); }
.pg-prose h4 { margin-top: 1.5em; font-size: 1.05rem; font-weight: 700; }
.pg-prose > h2:first-child, .pg-prose > h3:first-child, .pg-prose > .pg-videos:first-child { margin-top: 0; }
.pg-prose h2 + *, .pg-prose h3 + * { margin-top: .6em; }
.pg-prose strong { color: var(--text); font-weight: 650; }
.pg-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--blue) 40%, transparent); }
.pg-prose a:hover { text-decoration-color: currentColor; }
.pg-prose ul, .pg-prose ol { padding-left: 1.4em; }
.pg-prose li + li { margin-top: .4em; }
.pg-prose li::marker { color: var(--blue); }
.pg-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.pg-prose img { border-radius: var(--r-md); border: 1px solid var(--line); height: auto; }
.pg-prose code { font-family: var(--mono); font-size: .88em; padding: .12em .42em; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line); color: var(--text); overflow-wrap: anywhere; }
.pg-prose pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--r-md); background: #0f1a26; color: #dbe5ee; font-size: 14px; line-height: 1.6; }
.pg-prose pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.pg-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-radius: var(--r-md); background: var(--card-2); color: var(--text); }
.pg-prose blockquote > * + * { margin-top: .6em; }
.pg-table { overflow-x: auto; margin: 1.4em 0; border-radius: var(--r-md); border: 1px solid var(--line); }
.pg-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.pg-table th { text-align: left; padding: 11px 14px; background: var(--card-2); color: var(--text); font-weight: 650; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pg-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pg-table tr:last-child td { border-bottom: 0; }
.pg-table tbody tr:hover td { background: color-mix(in srgb, var(--blue) 4%, transparent); }

/* Подсказки документации (docsify box) */
.pg-prose .box { margin: 1.4em 0; padding: 14px 18px; border-radius: var(--r-md); background: var(--blue-soft); border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent); color: var(--text); font-size: 15.5px; }
.pg-prose .box > * + * { margin-top: .6em; }
.pg-prose .box-tip { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 25%, transparent); }
.pg-prose .box-warn, .pg-prose .box-warning { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 28%, transparent); }
.pg-prose .box-danger { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 25%, transparent); }

/* Кнопки, карточки и рецепты внутри документации */
.pg-prose .md-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 10px 0; padding: 11px 18px; border-radius: 12px;
  background: linear-gradient(180deg, var(--blue-solid-2), var(--blue-solid)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-cta);
}
.pg-prose .md-btn:hover { color: #fff; transform: translateY(-1px); }
.pg-prose .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 1.4em 0; }
.pg-prose .card {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card-2);
  border: 1px solid var(--line); color: var(--text-2); text-decoration: none; transition: border-color .15s, transform .2s var(--ease), box-shadow .2s;
}
.pg-prose .card:hover { border-color: color-mix(in srgb, var(--blue) 35%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text-2); }
.pg-prose .card-ico { font-size: 22px; line-height: 1; }
.pg-prose .card-title { color: var(--text); font-weight: 700; font-size: 15.5px; }
.pg-prose .card-desc { font-size: 14px; line-height: 1.5; }
.pg-prose .recipe { margin: 1.4em 0 1em; }
.pg-prose .recipe-flow { display: inline-block; padding: 8px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.5; }
.pg-prose .badge-new { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; line-height: 1.5; }

/* Видео внутри текста */
.pg-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 0 0 1.6em; }
.pg-yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b1220; box-shadow: var(--shadow-lg); }
.pg-yt-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.pg-yt-btn img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; transition: transform .6s var(--ease), filter .3s; }
.pg-yt-btn:hover img { transform: scale(1.03); filter: brightness(.85); }
.pg-yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
.pg-yt-play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 17px solid var(--blue); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.pg-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ внутри страницы */
.pg-faq { margin-top: 2.6em; }
.pg-faq h2 { margin-bottom: .8em; }
.pg-faq .faq { display: grid; gap: 10px; }
.pg-faq .faq-item { border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.pg-faq .faq-item[open] { background: var(--card); border-color: color-mix(in srgb, var(--blue) 40%, transparent); box-shadow: var(--shadow-sm); }
.pg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--text); font-weight: 650; font-size: 16px; line-height: 1.4; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary .icon { flex: none; color: var(--blue); transition: transform .3s var(--ease); }
.pg-faq .faq-item[open] summary .icon { transform: rotate(180deg); }
.pg-faq .faq-answer { padding: 0 18px 18px; font-size: 15.5px; line-height: 1.65; }
.pg-faq .faq-answer > * + * { margin-top: .7em; }

/* ---------- Похожие страницы ---------- */
.pg-related { margin-top: 72px; }
.pg-related h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.pg-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pg-rel {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line); color: var(--text-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.pg-rel:hover { color: var(--text-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); }
.pg-rel strong { color: var(--text); font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.pg-rel span { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-rel em, .pg-hub-foot em { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; color: var(--blue); font-weight: 600; font-size: 14px; }
.pg-rel em .icon, .pg-hub-foot em .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.pg-rel:hover em .icon, .pg-hub-card:hover em .icon { transform: translateX(3px); }
@media (max-width: 960px) { .pg-rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pg-rel-grid { grid-template-columns: 1fr; } }

.pg-final { margin-top: 80px; margin-bottom: 96px; }

/* ---------- Хабы /moduli/ и /stati/ ---------- */
.pg-hub { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pg-hub-card {
  height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line); color: var(--text-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.pg-hub-card:hover { color: var(--text-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); }
.pg-hub-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); margin-bottom: 4px; }
.pg-hub-ico .icon { width: 22px; height: 22px; }
.pg-hub-card strong { color: var(--text); font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.pg-hub-desc { font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-hub-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pg-hub-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pg-hub-date .icon { width: 14px; height: 14px; }
@media (max-width: 1000px) { .pg-hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pg-hub { grid-template-columns: 1fr; } }

/* ---------- Документация ---------- */
.pg-docs { padding-top: 28px; }
.pg-docs-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 22px; }
.pg-doc { padding: 44px 52px 40px; }
.pg-doc .pg-updated { margin-top: 12px; }
.pg-side { position: sticky; top: calc(var(--header-h) + 20px); }
.pg-side-details { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.pg-side-details > summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; cursor: pointer; list-style: none;
  color: var(--text); font-weight: 700; font-size: 15px;
}
.pg-side-details > summary::-webkit-details-marker { display: none; }
.pg-side-details > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -4px; }
.pg-side-details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.pg-side nav { padding: 0 10px 14px; max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto; overscroll-behavior: contain; }
.pg-side-group { margin: 14px 10px 6px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.pg-side ul { list-style: none; display: grid; gap: 1px; }
.pg-side a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--text-2); font-size: 14px; line-height: 1.35; transition: background-color .15s, color .15s; }
.pg-side a:hover { background: var(--card-2); color: var(--text); }
.pg-side a[aria-current="page"] { background: var(--blue-solid); color: #fff; font-weight: 600; }
.pg-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 2.6em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.pg-pager a {
  display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2);
  color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none;
}
.pg-pager a:hover { border-color: color-mix(in srgb, var(--blue) 40%, transparent); color: var(--blue); }
.pg-pager .pg-next { margin-left: auto; }
.pg-doc-toc h3 { margin-top: 1.4em; }
.pg-doc-toc ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.pg-doc-toc li + li { margin-top: 0; }
.pg-doc-toc a { display: block; padding: 9px 12px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); text-decoration: none; font-size: 14.5px; color: var(--text); }
.pg-doc-toc a:hover { border-color: color-mix(in srgb, var(--blue) 40%, transparent); color: var(--blue); }
@media (max-width: 960px) {
  .pg-docs-grid { grid-template-columns: 1fr; }
  .pg-side { position: static; }
  .pg-side nav { max-height: 60vh; }
  .pg-doc { padding: 26px 20px 30px; border-radius: var(--r-lg); }
}

/* ---------- Пользовательское соглашение ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 44px 52px; }
.legal h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
@media (max-width: 720px) { .legal { padding: 26px 20px; } }

/* ---------- Разработка под заказ (/razrabotka/) ---------- */
.dev-page { padding: 32px 0 24px; }
.dev {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 48px; align-items: start; overflow: hidden; margin-top: 28px;
  padding: 56px; border-radius: var(--r-xl); background: #0f1a26; color: #b8c6d4; box-shadow: var(--shadow-xl);
  background-image: radial-gradient(600px 420px at 0% 100%, rgba(20, 184, 166, .18), transparent 70%), radial-gradient(600px 400px at 100% 0%, rgba(42, 171, 238, .2), transparent 70%);
}
.dev-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(42, 171, 238, .14); color: #7cc9f5; font-size: 14px; font-weight: 600; }
.dev-label .icon { width: 16px; height: 16px; }
.dev h1 { margin-top: 18px; color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.dev-accent { background: linear-gradient(90deg, #4f8cff, #14c8b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dev-copy > p { margin-top: 18px; font-size: 17px; line-height: 1.6; }
.dev-copy > p + p { margin-top: 12px; }
.dev-sub { margin-top: 26px; color: #fff; font-size: 17px; font-weight: 700; }
.dev-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; color: #dbe5ee; font-size: 15px; }
.dev-points li { display: inline-flex; align-items: flex-start; gap: 8px; }
.dev-points .icon { flex: none; width: 17px; height: 17px; margin-top: 3px; color: #4ade80; stroke-width: 2.4; }
.dev-copy > .dev-note { margin-top: 22px; padding-left: 14px; border-left: 3px solid #2aabee; color: #dbe5ee; font-size: 15.5px; line-height: 1.55; }
.dev-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dev-list { list-style: none; display: grid; gap: 12px; }
.dev-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .15s, background-color .15s;
}
.dev-list li:hover { border-color: rgba(42, 171, 238, .45); background: rgba(42, 171, 238, .07); }
.dev-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(42, 171, 238, .14); color: #7cc9f5; }
.dev-ic .icon { width: 21px; height: 21px; }
.dev-list strong { display: block; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.3; }
.dev-list p { margin-top: 3px; font-size: 14px; line-height: 1.45; color: #9fb0c0; }
.dev-howto { margin-top: 56px; }
.dev-howto h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.dev-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; list-style: none; counter-reset: dev; }
.dev-steps li { counter-increment: dev; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.dev-steps li::before { content: counter(dev); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 14px; }
.dev-steps strong { display: block; margin-top: 14px; color: var(--text); font-size: 16px; }
.dev-steps p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) {
  .dev { grid-template-columns: 1fr; padding: 36px 22px; }
  .dev-actions .btn { width: 100%; }
  .dev-steps { grid-template-columns: 1fr; }
}
