/* scghub — hub produktów */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #efefeb;
  --ink: #0b0d12;
  --text: #1d2130;
  --muted: #5d6475;
  --line: #e2e2dc;
  --line-strong: #cfd0c9;
  --dark: #0b0d12;
  --dark-2: #141823;
  --dark-line: #262b38;
  --dark-text: #e9ebf1;
  --dark-muted: #9aa1b2;

  --purvo: #0e9479;
  --purvo-soft: #e2f4ef;
  --apka: #5b4bef;
  --apka-soft: #ebe9fd;
  --bets: #c9690a;
  --bets-soft: #fbeedd;
  --brand: #5b4bef;

  --ok: #12a150;
  --bad: #d4442e;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 13, 18, .04), 0 8px 24px -8px rgba(11, 13, 18, .12);
  --shadow-lg: 0 2px 4px rgba(11, 13, 18, .04), 0 24px 60px -20px rgba(11, 13, 18, .28);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f15;
    --surface: #151924;
    --surface-2: #1b2030;
    --ink: #f3f4f8;
    --text: #d9dce5;
    --muted: #979eb0;
    --line: #242a38;
    --line-strong: #323a4c;
    --dark: #07080c;
    --dark-2: #11141d;
    --purvo: #2cc4a2;
    --purvo-soft: #10302a;
    --apka: #8b7fff;
    --apka-soft: #221f45;
    --bets: #f0952f;
    --bets-soft: #3a2611;
    --brand: #8b7fff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--dark) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
  color: var(--dark-text);
}
.header.is-scrolled { border-bottom-color: var(--dark-line); }
.header__bar { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.03em; }
.logo__mark { display: inline-grid; grid-template-columns: repeat(2, 9px); gap: 3px; }
.logo__mark span { width: 9px; height: 9px; border-radius: 3px; }
.logo__mark span:nth-child(1) { background: #2cc4a2; }
.logo__mark span:nth-child(2) { background: #8b7fff; }
.logo__mark span:nth-child(3) { background: #f0952f; grid-column: 1 / 3; width: 21px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--dark-muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: #fff; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--dark-line); text-decoration: none; font: 600 12px/1 var(--font); }
.lang span { padding: 6px 10px; border-radius: 999px; color: var(--dark-muted); }
.lang span.on { background: #fff; color: var(--dark); }
.lang:hover span:not(.on) { color: #fff; }
@media (max-width: 720px) { .nav { display: none; } .lang { margin-left: auto; } }

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.section { padding: 112px 0; }
.section__title { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; font-weight: 600; max-width: 18ch; }
.section__lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 62ch; }
@media (max-width: 600px) { .section { padding: 72px 0; } }

.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px;
  font: 500 12px/1.2 var(--font);
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: #e0a100; box-shadow: 0 0 0 3px rgba(224, 161, 0, .18); animation: pulse 2.4s ease-in-out infinite; }
.chip--sm { padding: 3px 9px; font-size: 11px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(224, 161, 0, 0); } }

.label { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: #fff; color: var(--dark); }
.btn--ghost { color: #fff; border: 1px solid var(--dark-line); }
.btn--ghost:hover { border-color: #4a5266; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--dark-text); overflow: hidden; padding: 96px 0 112px; margin-top: -68px; padding-top: 164px; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; width: 620px; height: 620px; right: -120px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 127, 255, .22), transparent 65%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero .eyebrow { color: #a99fff; }
.hero__title { color: #fff; font-size: clamp(38px, 6vw, 68px); line-height: 1.03; font-weight: 600; letter-spacing: -.035em; max-width: 14ch; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, #2cc4a2, #8b7fff 55%, #f0952f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--dark-muted); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { display: flex; gap: 40px; margin: 52px 0 0; padding-top: 28px; border-top: 1px solid var(--dark-line); flex-wrap: wrap; }
.fact dt { font: 600 28px/1 var(--display); color: #fff; letter-spacing: -.02em; }
.fact dd { margin: 8px 0 0; font-size: 14px; color: var(--dark-muted); }

.hero__stack { display: grid; gap: 14px; }
.stackcard {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--dark-line); border-radius: var(--radius);
  transform: translateX(calc(var(--i) * 28px));
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 120ms + 150ms);
}
.stackcard strong { display: block; color: #fff; font: 600 17px/1.2 var(--display); }
.stackcard small { display: block; color: var(--dark-muted); font-size: 13px; margin-top: 3px; }
.stackcard .chip { margin-left: auto; background: rgba(255,255,255,.05); border-color: var(--dark-line); color: var(--dark-muted); }
@keyframes rise { from { opacity: 0; transform: translate(calc(var(--i) * 28px), 16px); } }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .stackcard { transform: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}
@media (max-width: 600px) { .hero { padding-top: 124px; padding-bottom: 72px; } .facts { gap: 28px; } .stackcard .chip { display: none; } }

/* product colour tokens */
.pcard--purvo, .stackcard--purvo, .product--purvo, .closing__item--purvo { --c: var(--purvo); --cs: var(--purvo-soft); }
.pcard--apka, .stackcard--apka, .product--apka, .closing__item--apka { --c: var(--apka); --cs: var(--apka-soft); }
.pcard--bets, .stackcard--bets, .product--bets, .closing__item--bets { --c: var(--bets); --cs: var(--bets-soft); }
.stackcard--purvo { --c: #2cc4a2; } .stackcard--apka { --c: #8b7fff; } .stackcard--bets { --c: #f0952f; }

.pcard__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; color: var(--c); background: var(--cs); }
.stackcard .pcard__icon, .closing .pcard__icon { background: color-mix(in srgb, var(--c) 16%, transparent); }
.pcard__icon svg { width: 21px; height: 21px; }

/* ---------- overview ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pcard {
  position: relative; display: flex; flex-direction: column; padding: 28px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.pcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pcard__top { display: flex; justify-content: space-between; align-items: center; }
.pcard__name { margin-top: 24px; font-size: 26px; font-weight: 600; }
.pcard__kind { margin-top: 4px; color: var(--c); font-weight: 600; font-size: 14px; }
.pcard__short { margin-top: 14px; color: var(--muted); flex: 1; }
.pcard__more { margin-top: 24px; font-weight: 600; font-size: 14px; color: var(--ink); }
.pcard__more span { display: inline-block; transition: transform .2s; }
.pcard:hover .pcard__more span { transform: translateX(4px); }
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr; } }

/* ---------- product sections ---------- */
.product { padding: 104px 0; border-top: 1px solid var(--line); position: relative; }
.product::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 420px; background: linear-gradient(180deg, color-mix(in srgb, var(--cs) 60%, transparent), transparent); pointer-events: none; }
.product > .wrap { position: relative; }
.product__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product--flip .product__visual { order: -1; }
.product__meta { display: flex; align-items: center; gap: 12px; }
.product__index { font: 500 13px/1 var(--mono); color: var(--muted); }
.product__name { margin-top: 22px; font-size: clamp(40px, 5.5vw, 60px); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.product__kind { margin-top: 10px; font-weight: 600; color: var(--c); }
.product__headline { margin-top: 22px; font: 500 clamp(20px, 2.4vw, 24px)/1.35 var(--display); color: var(--ink); letter-spacing: -.01em; }
.ps { display: grid; gap: 22px; margin-top: 32px; }
.ps__item { padding-left: 18px; border-left: 2px solid var(--line-strong); }
.ps__item:last-child { border-left-color: var(--c); }
.ps__item p { color: var(--muted); }
.product__visual { margin: 0; position: sticky; top: 100px; }
.product__visual figcaption { margin-top: 12px; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.label--section { margin: 72px 0 20px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 24px; }
.feature h4 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; }
.feature h4::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: translateY(-2px); }
.feature p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.product__foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 48px; }
.foot__block > p { color: var(--text); }
.highlights { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.highlights li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.highlights li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .product__head { grid-template-columns: 1fr; gap: 48px; }
  .product--flip .product__visual { order: 0; }
  .product__visual { position: static; }
  .product__foot { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) { .product { padding: 72px 0; } .features { grid-template-columns: 1fr; } .label--section { margin-top: 56px; } }

/* ---------- mockups ---------- */
.mock { position: relative; }
.mwin { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; }
.mwin__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mwin__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mwin__bar span { margin-left: 10px; font-weight: 600; font-size: 12px; color: var(--muted); }

/* purvo */
.mock--purvo { padding-bottom: 40px; padding-right: 56px; }
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px; min-height: 280px; }
.cal__col { display: flex; flex-direction: column; gap: 6px; }
.cal__col b { font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0 6px; }
.cal__col b.today { color: var(--purvo); }
.ev { display: block; height: calc(var(--h) * 26px); border-radius: 6px; border-left: 3px solid; }
.ev--a { background: color-mix(in srgb, var(--purvo) 16%, transparent); border-color: var(--purvo); }
.ev--b { background: color-mix(in srgb, #3b82f6 16%, transparent); border-color: #3b82f6; }
.ev--c { background: color-mix(in srgb, #e0a100 18%, transparent); border-color: #e0a100; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 196px; padding: 26px 12px 14px;
  background: var(--surface); border: 7px solid var(--ink); border-radius: 30px; box-shadow: var(--shadow-lg);
}
.phone__notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 56px; height: 14px; border-radius: 99px; background: var(--ink); }
.phone__time { position: absolute; top: 6px; left: 14px; font-size: 10px; font-weight: 600; color: var(--ink); }
.phone__hi { font: 600 14px/1.2 var(--display); color: var(--ink); margin: 4px 2px 10px; }
.job { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.job small { font-size: 10px; color: var(--muted); }
.job strong { font-size: 13px; color: var(--ink); }
.job > span { font-size: 11px; color: var(--muted); }
.gps { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10.5px; font-weight: 600; color: var(--purvo); }
.gps__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purvo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--purvo) 25%, transparent); }
.thumbs { display: flex; gap: 4px; margin-top: 8px; }
.thumbs i, .thumbs em { width: 30px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--purvo) 35%, var(--surface)), color-mix(in srgb, #3b82f6 25%, var(--surface))); }
.thumbs em { display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 600; color: var(--muted); background: var(--surface); }
.sign { margin-top: 8px; font: italic 500 15px/1 Georgia, serif; color: var(--ink); border-bottom: 1px dashed var(--line-strong); padding-bottom: 4px; }
.job button { margin-top: 10px; border: 0; border-radius: 9px; padding: 9px; font: 600 11.5px/1 var(--font); background: var(--purvo); color: #fff; }
@media (max-width: 480px) { .mock--purvo { padding-right: 0; padding-bottom: 260px; } .phone { right: 50%; transform: translateX(50%); } }

/* apka */
.chat { padding: 16px; display: grid; gap: 14px; }
.bubble--me { justify-self: end; max-width: 88%; padding: 11px 14px; border-radius: 14px 14px 4px 14px; background: var(--apka); color: #fff; line-height: 1.5; }
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.agent { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.agent b { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.agent span:last-child { grid-column: 2; font-size: 11px; color: var(--muted); }
.agent__st { grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; }
.agent--done .agent__st { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.agent--run .agent__st { border: 2px solid color-mix(in srgb, var(--apka) 25%, transparent); border-top-color: var(--apka); animation: spin 1s linear infinite; }
.agent--wait .agent__st { border: 2px dashed var(--line-strong); }
.agent--run { border-color: color-mix(in srgb, var(--apka) 45%, var(--line)); }
@keyframes spin { to { transform: rotate(360deg); } }
.preview { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.preview__url { display: block; padding: 7px 10px; font: 500 11px/1 var(--mono); color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.preview__url::before { content: '🔒 '; }
.preview__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.preview__body i { height: 52px; border-radius: 8px; background: linear-gradient(135deg, #f4c7d6, #f8e3c4); }
.preview__body i:nth-child(2) { background: linear-gradient(135deg, #f8e3c4, #e7d4f7); }
.preview__body i:nth-child(3) { background: linear-gradient(135deg, #e7d4f7, #cfe8f5); }
@media (max-width: 420px) { .agents { grid-template-columns: 1fr; } }

/* bets */
.odds { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.odds th { text-align: left; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 14px 8px; }
.odds td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.odds td:first-child { font-weight: 600; color: var(--ink); white-space: normal; }
.odds th:not(:first-child), .odds td:not(:first-child) { text-align: right; }
.pick { display: inline-grid; place-items: center; min-width: 24px; height: 22px; border-radius: 6px; background: var(--bets-soft); color: var(--bets); font-weight: 700; }
.odds .pos { color: var(--ok); font-weight: 600; }
.odds .neg { color: var(--bad); font-weight: 600; }
.clv { margin: 4px 14px 14px; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.clv__head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.clv__head b { color: var(--ok); }
.clv svg { width: 100%; height: 64px; margin-top: 6px; display: block; }
.clv__zero { stroke: var(--line-strong); stroke-dasharray: 3 4; fill: none; }
.clv__line { stroke: var(--bets); stroke-width: 2.2; fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
@media (max-width: 480px) { .odds th:nth-child(3), .odds td:nth-child(3) { display: none; } .odds td, .odds th { padding-left: 10px; padding-right: 10px; } }

/* ---------- approach ---------- */
.approach { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; margin-top: 64px; }
.principle__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--apka-soft); color: var(--brand); }
.principle__icon svg { width: 22px; height: 22px; }
.principle h3 { margin-top: 20px; font-size: 19px; font-weight: 600; }
.principle p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- stack ---------- */
.sgroups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .sgroups { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .sgroups { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* ---------- closing ---------- */
.closing { background: var(--dark); color: var(--dark-text); padding: 104px 0; position: relative; overflow: hidden; }
.closing::before { content: ''; position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -45%); background: radial-gradient(ellipse, rgba(139, 127, 255, .25), transparent 65%); }
.closing__inner { position: relative; text-align: center; }
.closing h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; font-weight: 600; max-width: 22ch; margin: 0 auto; }
.closing p { margin: 20px auto 0; max-width: 58ch; color: var(--dark-muted); font-size: 17px; }
.closing__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.closing__item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.03); color: #fff; font: 600 16px/1 var(--display); }
.closing__item .pcard__icon { width: 34px; height: 34px; border-radius: 9px; }
.closing__item--purvo { --c: #2cc4a2; } .closing__item--apka { --c: #8b7fff; } .closing__item--bets { --c: #f0952f; }
.closing .chip { background: rgba(255,255,255,.05); border-color: var(--dark-line); color: var(--dark-muted); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .logo { color: #fff; font-size: 17px; }
.footer p:last-child { margin-left: auto; }
@media (max-width: 600px) { .footer p:last-child { margin-left: 0; } }

/* ---------- contact ---------- */
.contact { margin: 56px auto 0; padding-top: 40px; border-top: 1px solid var(--dark-line); max-width: 640px; display: grid; justify-items: center; gap: 20px; }
.contact p { margin: 0; color: var(--dark-text); font-size: 17px; }
.contact .btn { font-family: var(--mono); font-weight: 500; font-size: 15px; }
.footer__mail { color: var(--dark-muted); text-decoration: none; margin-left: auto; }
.footer__mail:hover { color: #fff; }
.footer p:last-child { margin-left: 0; }
@media (max-width: 600px) { .footer__mail { margin-left: 0; } .contact .btn { font-size: 13px; padding: 0 16px; } }
