/* Support.by palette: blue #007ed4, green #19b76d, dark #161b22. Всё под .dgx, классы с префиксом dgx- — не конфликтует с Bootstrap сайта */
.dgx {
  --radius: 12px;
  --bg: #fff;
  --fg: #28313f;
  --primary: #007ed4;
  --accent: #19b76d;
  --secondary: #eef3fb;
  --muted: #f5f7fb;
  --muted-fg: #5d6b83;
  --border: #e3e9f3;
  --ink: #161b22;
  --ink-fg: #f3f5f8;
  --ink-muted: #a2aec3;
  --ink-border: rgba(255, 255, 255, .1);
  --glow: radial-gradient(60% 60% at 70% 40%, rgba(0, 126, 212, .35), transparent 70%);
  --shadow: 0 10px 30px -12px rgba(0, 126, 212, .3);
}

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

.dgx {
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* защита от глобальных стилей сайта */
.dgx p, .dgx li, .dgx span, .dgx div, .dgx a, .dgx small, .dgx b, .dgx summary, .dgx figcaption,
.dgx h1, .dgx h2, .dgx h3 { font-family: inherit; color: inherit; font-weight: inherit; font-style: normal; text-transform: none; letter-spacing: normal; text-shadow: none; }
.dgx li::before, .dgx li::after, .dgx ul::before, .dgx ol::before { content: none; }
.dgx li { background: none; padding: 0; border: 0; }
.dgx img { display: block; max-width: 100%; height: auto; }
.dgx ul, .dgx ol { list-style: none; padding: 0; }
.dgx a { color: inherit; }

/* layout */
.dgx .dgx-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dgx .dgx-container.dgx-w-6 { max-width: 1152px; }
.dgx .dgx-container.dgx-w-5 { max-width: 1024px; }
.dgx .dgx-container.dgx-w-4 { max-width: 896px; }
.dgx .dgx-container.dgx-w-3 { max-width: 768px; }
.dgx .dgx-sec { background: none; border: 0; border-radius: 0; margin: 0; width: auto; max-width: none; float: none; box-shadow: none; padding: 80px 0; }
.dgx .dgx-dark { background: var(--ink); color: var(--ink-fg); position: relative; overflow: hidden; }
.dgx .dgx-dark::before { content: ""; position: absolute; inset: 0; background: var(--glow); }
.dgx .dgx-dark > * { position: relative; }
.dgx .dgx-bg-muted { background: var(--muted); }
.dgx .dgx-center { text-align: center; }
.dgx .dgx-grid { display: grid; gap: 24px; }
.dgx .dgx-cols-2 { grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
.dgx .dgx-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* type */
.dgx h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-top: 24px; }
.dgx h2 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.dgx h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.dgx .dgx-lead { font-size: 18px; }
.dgx .dgx-muted { color: var(--muted-fg); }
.dgx .dgx-dark .dgx-muted { color: var(--ink-muted); }
.dgx .dgx-blue { color: var(--primary); }
.dgx .dgx-small { font-size: 14px; }
.dgx .dgx-mt-1 { margin-top: 4px; } .dgx-mt-2 { margin-top: 8px; } .dgx-mt-4 { margin-top: 16px; }
.dgx .dgx-mt-6 { margin-top: 24px; } .dgx-mt-8 { margin-top: 32px; } .dgx-mt-10 { margin-top: 40px; } .dgx-mt-12 { margin-top: 48px; }

/* icons */
.dgx .dgx-i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.dgx .dgx-i-5 { width: 20px; height: 20px; }
.dgx .dgx-i-8 { width: 32px; height: 32px; }
.dgx .dgx-i-10 { width: 40px; height: 40px; }
.dgx .dgx-i-12 { width: 48px; height: 48px; }
.dgx .dgx-i-16 { width: 64px; height: 64px; stroke-width: 1.25; }
.dgx .dgx-ok { color: var(--accent); }

/* buttons */
.dgx .dgx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 8px; border: 0;
  background: var(--primary); color: #fff; font: 600 16px/1.4 inherit; text-decoration: none;
  transition: filter .2s;
}
.dgx .dgx-btn:hover { filter: brightness(1.1); }
.dgx .dgx-btn.dgx-green { background: var(--accent); }

/* hero */
.dgx .dgx-badge { display: inline-block; border: 1px solid var(--ink-border); border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.dgx .dgx-hero { padding: 112px 0; }
.dgx .dgx-hero .dgx-grid { align-items: center; gap: 48px; grid-template-columns: repeat(2, 1fr); }
.dgx .dgx-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.dgx .dgx-price-from { font-size: 24px; font-weight: 700; }
.dgx .dgx-price-from span { font-size: 16px; font-weight: 500; color: var(--ink-muted); }
.dgx .dgx-hero-img { position: relative; }
.dgx .dgx-hero-img > img { border-radius: 16px; width: 100%; }
.dgx .dgx-chips {
  position: absolute; left: 24px; bottom: -24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink-border); border: 1px solid var(--ink-border); border-radius: 12px; overflow: hidden; text-align: center;
}
.dgx .dgx-chips div { background: var(--ink); padding: 12px 20px; font-weight: 700; }
.dgx .dgx-chips small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-muted); }

/* about */
.dgx .dgx-rounded { border-radius: 16px; width: 100%; }
.dgx .dgx-shadow { box-shadow: var(--shadow); }
.dgx .dgx-scheme { margin-top: 40px; padding: 32px 0; border-block: 1px solid var(--border); }
.dgx .dgx-scheme-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.dgx .dgx-scheme-row > div { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; }
.dgx .dgx-scheme-row hr { width: 96px; height: 1px; border: 0; background: var(--primary); }
.dgx .dgx-mem {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  max-width: 448px; margin: 24px auto 0; padding: 20px; border-radius: 8px; background: var(--secondary);
}
.dgx .dgx-mem b { display: block; font-size: 24px; color: var(--primary); }

/* cards */
.dgx .dgx-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: box-shadow .2s; }
.dgx .dgx-card:hover { box-shadow: var(--shadow); }
.dgx .dgx-card p { margin-top: 8px; color: var(--muted-fg); }
.dgx .dgx-card h3 { margin-top: 20px; }
.dgx .dgx-ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--secondary); color: var(--primary); }
.dgx .dgx-dark .dgx-card { background: none; border-color: var(--ink-border); transition: none; }
.dgx .dgx-dark .dgx-card:hover { box-shadow: none; }
.dgx .dgx-dark .dgx-card p { color: var(--ink-muted); }
.dgx .dgx-dark .dgx-card h3 { margin-top: 16px; }
.dgx .dgx-dark .dgx-card .dgx-i { color: var(--accent); }

/* specs */
.dgx .dgx-specs { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.dgx .dgx-specs .dgx-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 16px 24px; }
.dgx .dgx-specs .dgx-row:nth-child(odd) { background: var(--muted); }
.dgx .dgx-specs .dgx-row > :first-child { color: var(--muted-fg); }
.dgx .dgx-specs .dgx-row > :last-child { font-weight: 600; }
.dgx .dgx-specs .dgx-head { background: var(--ink) !important; color: var(--ink-fg); font-size: 14px; font-weight: 600; }
.dgx .dgx-specs .dgx-head > * { color: inherit !important; }
.dgx figure img { width: 100%; border: 1px solid var(--border); border-radius: 16px; }
.dgx figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted-fg); }

/* plans */
.dgx .dgx-plans { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.dgx .dgx-plan { position: relative; display: flex; flex-direction: column; padding: 32px; }
.dgx .dgx-plan:hover { box-shadow: none; }
.dgx .dgx-plan.dgx-featured { border-color: var(--primary); box-shadow: var(--shadow); }
.dgx .dgx-plan .dgx-tag { position: absolute; top: -12px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; }
.dgx .dgx-plan > img { aspect-ratio: 2/1; width: 100%; object-fit: cover; border-radius: 8px; margin-bottom: 24px; }
.dgx .dgx-plan h3 { margin: 0; font-size: 20px; }
.dgx .dgx-plan .dgx-price { margin-top: 16px; font-size: 36px; font-weight: 800; line-height: 1.2; color: var(--primary); }
.dgx .dgx-plan .dgx-price span { font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.dgx .dgx-plan .dgx-desc { margin-top: 16px; }
.dgx .dgx-plan ul { flex: 1; margin-top: 24px; display: grid; gap: 12px; }
.dgx .dgx-plan li, .dgx .dgx-incl li { display: flex; gap: 12px; }
.dgx .dgx-plan li .dgx-i { margin-top: 2px; width: 20px; height: 20px; color: var(--accent); }
.dgx .dgx-plan .dgx-btn { margin-top: 32px; }
.dgx .dgx-note { max-width: 768px; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--muted-fg); }

/* included + steps */
.dgx .dgx-place { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 24px 0; border-block: 1px solid var(--border); }
.dgx .dgx-place .dgx-i { color: var(--primary); }
.dgx .dgx-place .dgx-cap { font-size: 14px; font-weight: 600; color: var(--muted-fg); }
.dgx .dgx-place .dgx-big { margin-top: 4px; font-size: 24px; font-weight: 700; }
.dgx .dgx-place .dgx-sub { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted-fg); }
.dgx .dgx-place .dgx-sub .dgx-i { width: 16px; height: 16px; color: var(--accent); }
.dgx .dgx-incl { display: grid; gap: 12px; margin-top: 24px; }
.dgx .dgx-incl li { align-items: center; padding: 16px; border-radius: 12px; background: #fff; }
.dgx .dgx-incl li::first-letter { text-transform: uppercase; }
.dgx .dgx-incl li .dgx-i { color: var(--accent); width: 20px; height: 20px; }
.dgx .dgx-steps { margin-top: 32px; display: grid; gap: 24px; }
.dgx .dgx-steps li { display: flex; gap: 20px; }
.dgx .dgx-steps .dgx-n { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 18px; font-weight: 700; }
.dgx .dgx-steps p { margin-top: 4px; color: var(--muted-fg); }

/* faq */
.dgx .dgx-faq { margin-top: 32px; border: 1px solid var(--border); border-radius: 16px; }
.dgx .dgx-faq details + details { border-top: 1px solid var(--border); }
.dgx .dgx-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none;
}
.dgx .dgx-faq summary::-webkit-details-marker { display: none; }
.dgx .dgx-faq summary:hover { background: var(--muted); }
.dgx .dgx-faq summary .dgx-i { color: var(--primary); transition: transform .2s; }
.dgx .dgx-faq details[open] summary .dgx-i { transform: rotate(180deg); }
.dgx .dgx-faq p { padding: 0 24px 20px; color: var(--muted-fg); }

/* cta */
.dgx .dgx-cta h2 { color: var(--ink-fg); }

/* responsive */
@media (max-width: 1023px) {
  .dgx .dgx-cols-2, .dgx .dgx-hero .dgx-grid { grid-template-columns: 1fr; }
  .dgx .dgx-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .dgx .dgx-hero { padding: 80px 0; }
  .dgx .dgx-hero-img { margin-bottom: 24px; }
}
@media (max-width: 767px) {
  .dgx .dgx-sec { padding: 56px 0; }
  .dgx h1 { font-size: 34px; }
  .dgx h2 { font-size: 28px; }
  .dgx .dgx-cols-3, .dgx .dgx-plans { grid-template-columns: 1fr; }
  .dgx .dgx-scheme-row hr { width: 40px; }
  .dgx .dgx-specs .dgx-row { grid-template-columns: 1fr; gap: 2px; }
  .dgx .dgx-specs .dgx-head { display: none; }
  .dgx .dgx-place { align-items: flex-start; }
  .dgx .dgx-i-16 { width: 48px; height: 48px; }
}
