/* mega.dev-inspired sections for new.sensai.io (SEO 3.0 Misja 2). Scoped under .mg-*.
   Tokens follow apps/materials/docs/Guidelines/BRAND_RULES.md. */
.mg, .mjc--panel, .mjc-launch {
  --mg-bg: #000;
  --mg-card: #141414;
  --mg-card-2: #201E27;
  --mg-line: rgba(255, 255, 255, 0.1);
  --mg-text: #fff;
  --mg-muted: rgba(228, 231, 241, 0.74);
  --mg-label: #9699B9;
  --mg-pink: #F794ED;
  --mg-purple: #D59FFF;
  --mg-cyan: #44CCFF;
  --mg-grad: linear-gradient(90deg, #F794ED 0%, #D59FFF 100%);
  --mg-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --mg-sans: 'Inter', system-ui, -apple-system, sans-serif;
  position: relative;
  background: var(--mg-bg);
  color: var(--mg-text);
  font-family: var(--mg-sans);
  border-top: 1px solid var(--mg-line);
}
.mjc--panel, .mjc-launch { position: fixed; background: none; border-top: 0; font-family: var(--mg-sans); color: var(--mg-text); }
.mg *, .mg *::before, .mg *::after, .mjc--panel *, .mjc--panel *::before, .mjc--panel *::after { box-sizing: border-box; }
.mg a { color: inherit; }
.mg-wrap { max-width: 1180px; margin: 0 auto; padding: 104px 44px; }
.mg-eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-family: var(--mg-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-purple);
}
.mg-eyebrow span { color: var(--mg-label); }
.mg-h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; }
.mg-lead { margin: 20px 0 0; max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--mg-muted); }
.mg-hl { background: var(--mg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.mg .mg-btn--primary { background: var(--mg-grad); color: #000; box-shadow: 0 0 32px rgba(213, 159, 255, 0.32); }
.mg-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 46px rgba(234, 152, 249, 0.5); }
.mg .mg-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
.mg-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.mg .mg-btn--light { background: #fff; color: #000; }
.mg-btn--light:hover { transform: translateY(-1px); }

/* ---------- 1/2. MANIFEST ---------- */
.mg-manifest .mg-wrap { padding-top: 128px; padding-bottom: 128px; }
.mg-manifest__frame { position: relative; padding: 8px 0 8px 28px; border-left: 2px solid transparent; border-image: var(--mg-grad) 1; }
.mg-manifest__text {
  margin: 0; max-width: 980px; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.18; font-weight: 500; letter-spacing: -0.02em;
}
.mg-manifest__text .mg-dim { color: rgba(255, 255, 255, 0.46); }
.mg-manifest__sig { margin-top: 28px; font-family: var(--mg-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-label); }

/* ---------- 4. ŚCIEŻKA ---------- */
.mg-path__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--mg-line); border-radius: 16px; overflow: hidden; }
.mg-path__cell { position: relative; padding: 28px 26px 30px; border-right: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); background: #0a0a0c; }
.mg-path__cell:nth-child(3n) { border-right: 0; }
.mg-path__cell:nth-last-child(-n+3) { border-bottom: 0; }
.mg-path__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mg-path__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--mg-card-2); color: var(--mg-purple); }
.mg-path__icon svg { width: 22px; height: 22px; }
.mg-path__no { font-family: var(--mg-mono); font-size: 12px; color: var(--mg-label); letter-spacing: 0.1em; }
.mg-path__cell h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.mg-path__cell p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--mg-muted); }
.mg-path__wk { display: inline-block; margin-top: 14px; font-family: var(--mg-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mg-cyan); }
.mg-path__cell--final { background: linear-gradient(135deg, rgba(247, 148, 237, 0.16), rgba(213, 159, 255, 0.08) 60%, #0a0a0c); }
.mg-path__cell--final h3 { background: var(--mg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mg-path__cell--final .mg-path__icon { background: var(--mg-grad); color: #000; }

/* ---------- 5. TEST ---------- */
.mg-test__box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  padding: 56px 52px; border-radius: 22px;
  background: radial-gradient(circle at 85% 20%, rgba(68, 204, 255, 0.28), transparent 45%), linear-gradient(120deg, #6d3fd1 0%, #a15ee8 45%, #e27ee6 100%);
  color: #fff;
}
.mg-test__box::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.16;
  background-image: radial-gradient(rgba(0, 0, 0, 0.9) 1px, transparent 1.4px); background-size: 7px 7px; }
.mg-test__box > * { position: relative; z-index: 1; }
.mg-test .mg-eyebrow { color: rgba(255, 255, 255, 0.85); }
.mg-test .mg-h2 { color: #fff; }
.mg-test .mg-lead { color: rgba(255, 255, 255, 0.9); }
.mg-test__cta { margin-top: 28px; }

/* ---------- 6. CERTYFIKAT ---------- */
.mg-cert__layout { margin-top: 48px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.mg-cert__stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
.mg-cert__card {
  position: absolute; inset: 29% 23%; display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px; border-radius: 14px; background: linear-gradient(160deg, #1c1a24, #0d0c11); border: 1px solid rgba(213, 159, 255, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(213, 159, 255, 0.18);
}
.mg-cert__card small { font-family: var(--mg-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-label); }
.mg-cert__card strong { display: block; margin-top: 8px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.mg-cert__card em { font-style: normal; font-size: 13px; color: var(--mg-cyan); }
.mg-cert__seal { width: 44px; height: 44px; border-radius: 50%; background: var(--mg-grad); display: grid; place-items: center; color: #000; font-family: var(--mg-mono); font-size: 11px; font-weight: 600; }
.mg-cert__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.mg-cert__badge {
  position: absolute; left: calc(50% + 39% * var(--x)); top: calc(50% + 45% * var(--y)); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
  background: rgba(20, 20, 20, 0.9); border: 1px solid rgba(213, 159, 255, 0.35); box-shadow: 0 0 14px rgba(213, 159, 255, 0.18);
  font-size: 12px; font-weight: 500; white-space: nowrap; color: #fff;
}
.mg-cert__badge i {
  width: 24px; height: 24px; display: grid; place-items: center; font-style: normal; font-family: var(--mg-mono); font-size: 10px; color: #000;
  background: var(--mg-grad); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.mg-cert__list { list-style: none; margin: 24px 0 0; padding: 0; }
.mg-cert__list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--mg-line); font-size: 15px; line-height: 1.55; color: var(--mg-muted); }
.mg-cert__list li::before { content: '✓'; color: var(--mg-cyan); font-weight: 700; }

/* ---------- 7. ZAPIS ---------- */
.mg-join__grid { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.mg-join__card { padding: 34px; border-radius: 20px; background: var(--mg-card); border: 1px solid var(--mg-line); box-shadow: rgba(158, 173, 255, 0.2) 0px 1px 5px 0px inset; }
.mg-join__card--main { border-color: rgba(213, 159, 255, 0.45); background: linear-gradient(180deg, rgba(213, 159, 255, 0.1), #141414 45%); }
.mg-join__tag { font-family: var(--mg-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-pink); }
.mg-join__card h3 { margin: 10px 0 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.mg-join__card > p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--mg-muted); }
.mg-join__list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.mg-join__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.mg-join__list li::before { content: ''; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--mg-grad); }
.mg-join__mail { margin-top: 14px; font-size: 15px; color: var(--mg-muted); }

/* ---------- 8. SPOŁECZNOŚĆ ---------- */
.mg-comm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mg-comm__panel {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 1px solid var(--mg-line);
  background: radial-gradient(circle at 25% 30%, rgba(247, 148, 237, 0.55), transparent 42%), radial-gradient(circle at 75% 65%, rgba(68, 204, 255, 0.45), transparent 45%), radial-gradient(circle at 60% 20%, rgba(213, 159, 255, 0.5), transparent 40%), #0d0c11;
}
.mg-comm__panel::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.3px); background-size: 16px 16px; opacity: 0.18; }
.mg-comm__num { position: absolute; left: 28px; bottom: 24px; z-index: 1; font-size: clamp(56px, 8vw, 96px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.mg-comm__num small { display: block; margin-top: 6px; font-family: var(--mg-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.mg-comm__facts { list-style: none; margin: 30px 0 0; padding: 0; }
.mg-comm__facts li { padding: 16px 0; border-top: 1px solid var(--mg-line); }
.mg-comm__facts b { display: block; font-size: 17px; font-weight: 600; }
.mg-comm__facts span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--mg-muted); }

/* ---------- 9. NEWSLETTER ---------- */
.mg-news__box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 44px 48px; border-radius: 22px; border: 1px solid var(--mg-line);
  background: linear-gradient(120deg, rgba(68, 204, 255, 0.12), rgba(213, 159, 255, 0.1) 50%, rgba(247, 148, 237, 0.12)), #0b0b0e;
}
.mg-news__box .mg-h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mg-news__box .mg-lead { margin-top: 12px; }

/* ---------- 10. FAQ ---------- */
.mg-faq__layout { margin-top: 44px; display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.mg-faq__contact { position: sticky; top: 96px; padding: 24px; border-radius: 16px; background: var(--mg-card); border: 1px solid var(--mg-line); }
.mg-faq__avatar { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #141414; box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(213, 159, 255, 0.55); }
.mg-faq__contact b { display: block; margin-top: 14px; font-size: 17px; }
.mg-faq__contact small { display: block; margin-top: 2px; font-family: var(--mg-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mg-label); }
.mg-faq__contact a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 15px; color: var(--mg-cyan); text-decoration: none; }
.mg-faq__contact p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--mg-muted); }
.mg-faq__group + .mg-faq__group { margin-top: 36px; }
.mg-faq__group h3 { margin: 0 0 8px; font-family: var(--mg-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-purple); }
.mg-faq details { border-bottom: 1px solid var(--mg-line); }
.mg-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 56px; padding: 14px 0; font-size: 16px; font-weight: 500;
}
.mg-faq summary::-webkit-details-marker { display: none; }
.mg-faq summary::after { content: '+'; flex: 0 0 auto; font-family: var(--mg-mono); font-size: 20px; color: var(--mg-pink); transition: transform .25s ease; }
.mg-faq details[open] summary::after { transform: rotate(45deg); }
.mg-faq details p { margin: 0 0 18px; padding-right: 36px; font-size: 15px; line-height: 1.65; color: var(--mg-muted); }

/* ---------- 11. FINAL CTA ---------- */
.mg-final { text-align: center; overflow: hidden; }
.mg-final::before { content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(213, 159, 255, 0.24), rgba(68, 204, 255, 0.06) 45%, transparent 70%); }
.mg-final .mg-wrap { position: relative; padding-top: 136px; padding-bottom: 136px; }
.mg-final .mg-h2 { max-width: 860px; margin: 0 auto; font-size: clamp(2.1rem, 5vw, 4rem); }
.mg-final .mg-lead { margin: 20px auto 0; }
.mg-final__cta { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mg-final__proof { margin-top: 22px; font-family: var(--mg-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mg-label); }

/* ---------- 12. FOOTER ---------- */
.mg-foot .mg-wrap { padding-top: 56px; padding-bottom: 40px; }
.mg-foot__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.mg-foot__brand img { display: block; width: 150px; height: auto; }
.mg-foot__brand p { margin: 16px 0 0; max-width: 300px; font-size: 15px; line-height: 1.6; color: var(--mg-muted); }
.mg-foot h3 { margin: 0 0 10px; font-family: var(--mg-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-label); }
.mg-foot ul { list-style: none; margin: 0; padding: 0; }
.mg-foot li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; color: var(--mg-muted); text-decoration: none; }
.mg-foot li a:hover { color: #fff; }
.mg-foot__agent { color: var(--mg-cyan) !important; font-family: var(--mg-mono); font-size: 14px !important; }
.mg-foot__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--mg-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-family: var(--mg-mono); font-size: 12px; color: var(--mg-label); }

/* ---------- cyberpunk layer: neon, glitch, HUD ---------- */
.mg-manifest__frame { border-left: 0; border-image: none; }
.mg-manifest__frame::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--mg-pink), var(--mg-purple), var(--mg-cyan));
  box-shadow: 0 0 12px rgba(234, 152, 249, 0.7), 0 0 30px rgba(213, 159, 255, 0.4);
}
.mg-manifest__text .mg-hl { position: relative; text-shadow: none; filter: drop-shadow(-2px 0 0 rgba(68, 204, 255, 0.55)) drop-shadow(2px 0 0 rgba(247, 148, 237, 0.45)); }

/* RGB-split glitch on headings: one burst when entering view, again on hover (CSS only) */
.mg-glitch { position: relative; }
.mg-glitch::before, .mg-glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: none; -webkit-text-fill-color: currentColor;
}
.mg-glitch::before { color: var(--mg-cyan); }
.mg-glitch::after { color: var(--mg-pink); }
.mg-reveal.is-in .mg-glitch::before, .is-in > .mg-glitch::before, .mg-glitch.is-in::before, .mg-glitch:hover::before { animation: mgGlitchA .5s steps(1, end) 1; }
.mg-reveal.is-in .mg-glitch::after, .is-in > .mg-glitch::after, .mg-glitch.is-in::after, .mg-glitch:hover::after { animation: mgGlitchB .5s steps(1, end) 1; }
@keyframes mgGlitchA { 0% { opacity: .9; clip-path: inset(10% 0 62% 0); transform: translate(-6px, 0); } 25% { clip-path: inset(55% 0 20% 0); transform: translate(5px, 0); } 50% { clip-path: inset(30% 0 48% 0); transform: translate(-8px, 0); } 75% { clip-path: inset(78% 0 4% 0); transform: translate(3px, 0); } 100% { opacity: 0; } }
@keyframes mgGlitchB { 0% { opacity: .9; clip-path: inset(66% 0 10% 0); transform: translate(6px, 0); } 25% { clip-path: inset(5% 0 70% 0); transform: translate(-5px, 0); } 50% { clip-path: inset(42% 0 35% 0); transform: translate(7px, 0); } 75% { clip-path: inset(18% 0 62% 0); transform: translate(-3px, 0); } 100% { opacity: 0; } }

/* DLA KOGO: two neon columns */
.mg-aud { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.mg-aud__col { position: relative; padding: 30px 28px; border-radius: 20px; background: var(--mg-card); border: 1px solid var(--mg-line); }
.mg-aud__col--yes { border-color: rgba(68, 204, 255, 0.4); box-shadow: 0 0 0 1px rgba(68, 204, 255, 0.08), 0 0 40px rgba(68, 204, 255, 0.12), inset 0 0 30px rgba(68, 204, 255, 0.05); }
.mg-aud__col--no { background: #0c0c0f; }
.mg-aud__col--no::after { content: ''; position: absolute; left: 28px; right: 28px; top: 66px; height: 1px; transform: rotate(-1.5deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(247, 148, 237, 0.7), rgba(68, 204, 255, 0.5), transparent); box-shadow: 0 0 10px rgba(247, 148, 237, 0.6); }
.mg-aud h3 { margin: 0 0 18px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.mg-aud__col--yes h3 { color: #fff; }
.mg-aud__col--no h3 { color: rgba(255, 255, 255, 0.55); }
.mg-aud ul { list-style: none; margin: 0; padding: 0; }
.mg-aud li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--mg-line); font-size: 16px; line-height: 1.5; }
.mg-aud__ic { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; }
.mg-aud__ic svg { width: 17px; height: 17px; }
.mg-aud__col--yes .mg-aud__ic { color: var(--mg-cyan); background: rgba(68, 204, 255, 0.12); box-shadow: 0 0 12px rgba(68, 204, 255, 0.35); }
.mg-aud__col--no .mg-aud__ic { color: var(--mg-pink); background: rgba(247, 148, 237, 0.08); }
.mg-aud__col--no li { color: rgba(255, 255, 255, 0.5); }

/* ŚCIEŻKA: neon progress line + ranks */
.mg-path__line { margin-top: 36px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mg-path__line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mg-cyan), var(--mg-purple), var(--mg-pink)); box-shadow: 0 0 14px rgba(213, 159, 255, 0.8); transition: width 1.8s cubic-bezier(.2,.7,.2,1); }
.is-in .mg-path__line i, .mg-path .mg-path__line.is-in i { width: 100%; }
.mg-path__grid { margin-top: 16px; }
.mg-path__no { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mg-purple); }
.mg-path__cell { transition: box-shadow .3s ease, background-color .3s ease; }
.mg-path__cell:hover { background: #100e15; box-shadow: inset 0 0 0 1px rgba(213, 159, 255, 0.35), 0 0 30px rgba(213, 159, 255, 0.12); }
.mg-path__icon { box-shadow: 0 0 14px rgba(213, 159, 255, 0.25); }

/* TEST: mission briefing card */
.mg-test__box { background: radial-gradient(circle at 85% 15%, rgba(68, 204, 255, 0.22), transparent 42%), radial-gradient(circle at 10% 90%, rgba(247, 148, 237, 0.25), transparent 45%), #0d0a14;
  border: 1px solid rgba(213, 159, 255, 0.35); box-shadow: 0 0 60px rgba(213, 159, 255, 0.15); }
.mg-test__box::after { background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px); opacity: 1; }
.mg-hud { position: absolute; width: 26px; height: 26px; border: 2px solid var(--mg-cyan); z-index: 2; filter: drop-shadow(0 0 6px rgba(68, 204, 255, 0.8)); }
.mg-hud--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.mg-hud--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.mg-hud--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.mg-hud--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.mg-test .mg-eyebrow { color: var(--mg-cyan); }
.mg-test__intel { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(213, 159, 255, 0.35); }
.mg-test__intel li { padding: 14px 0 14px 22px; }
.mg-test__intel li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mg-test__intel b { display: block; font-family: var(--mg-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-pink); }
.mg-test__intel span { display: block; margin-top: 4px; font-size: 17px; font-weight: 500; }

/* CERTYFIKAT: holographic emblem */
.mg-cert__card { overflow: hidden; background: linear-gradient(160deg, #1c1a24, #0b0a10); }
.mg-cert__card::before { content: ''; position: absolute; inset: -40%; pointer-events: none; opacity: .5;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(68, 204, 255, 0.25) 28%, transparent 36% 55%, rgba(247, 148, 237, 0.25) 63%, transparent 72%);
  animation: mgShimmer 9s linear infinite; }
.mg-cert__card > * { position: relative; }
@keyframes mgShimmer { to { transform: rotate(360deg); } }

/* ---------- reveal ---------- */
.mg-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.mg-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .mg-wrap { padding: 88px 28px; }
  .mg-cert__layout, .mg-comm__grid { grid-template-columns: 1fr; gap: 40px; }
  .mg-faq__layout { grid-template-columns: 1fr; gap: 32px; }
  .mg-faq__contact { position: static; }
  .mg-foot__top { grid-template-columns: 1fr 1fr; }
  .mg-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .mg-wrap { padding: 72px 20px; }
  .mg-manifest .mg-wrap { padding-top: 88px; padding-bottom: 88px; }
  .mg-manifest__frame { padding-left: 18px; }
  .mg-path__grid { grid-template-columns: 1fr; }
  .mg-path__cell, .mg-path__cell:nth-child(3n) { border-right: 0; }
  .mg-path__cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--mg-line); }
  .mg-path__cell:last-child { border-bottom: 0; }
  .mg-test__box { grid-template-columns: 1fr; padding: 36px 24px; }
  .mg-join__grid { grid-template-columns: 1fr; }
  .mg-join__list { grid-template-columns: 1fr; }
  .mg-join__card { padding: 26px 22px; }
  .mg-news__box { padding: 32px 24px; }
        .mg-final .mg-wrap { padding-top: 96px; padding-bottom: 96px; }
  .mg-btn { width: 100%; }
  .mg-final__cta .mg-btn, .mg-test__cta .mg-btn, .mg-news__box .mg-btn { width: 100%; }
}
@media (max-width: 480px) {
  .mg-wrap { padding: 60px 16px; }
  .mg-lead { font-size: 16px; }
  .mg-cert__badge { font-size: 10px; padding: 5px 8px; }
  .mg-cert__stage { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: none; }
  .mg-cert__stage .mg-cert__card { position: relative; inset: auto; width: 100%; min-height: 210px; order: -1; margin-bottom: 8px; }
  .mg-cert__stage .mg-cert__badge { position: static; transform: none; }
  .mg-foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mg-aud { grid-template-columns: 1fr; }
  .mg-aud__col { padding: 24px 20px; }
  .mg-test__intel { border-left: 0; border-top: 1px solid rgba(213, 159, 255, 0.35); }
  .mg-test__intel li { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-glitch::before, .mg-glitch::after, .mg-cert__card::before { animation: none !important; }
  .mg-path__line i { width: 100%; transition: none; }
  .mg-reveal { opacity: 1; transform: none; transition: none; }
  .mg-btn { transition: none; }
}

/* ===== 5-level path (5-week program) ===== */
/* icon above the rank label, so labels never wrap into 2 cramped lines */
.mg-path__top { flex-direction: column; align-items: flex-start; gap: 12px; }
.mg-path__cell h3 { hyphens: manual; }
@media (min-width: 1400px) {
  .mg-path__grid { grid-template-columns: repeat(5, 1fr); }
  .mg-path__cell, .mg-path__cell:nth-child(3n) { border-right: 1px solid var(--mg-line); border-bottom: 0; }
  .mg-path__cell:last-child { border-right: 0; }
  .mg-path__cell { padding: 28px 24px 30px; }
}
/* 3 + 2 on laptops and tablets */
@media (min-width: 769px) and (max-width: 1399px) {
  .mg-path__grid { grid-template-columns: repeat(6, 1fr); }
  .mg-path__cell { grid-column: span 2; border-right: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); }
  .mg-path__cell:nth-child(3) { border-right: 0; }
  .mg-path__cell:nth-child(4), .mg-path__cell:nth-child(5) { grid-column: span 3; border-bottom: 0; }
  .mg-path__cell:nth-child(5) { border-right: 0; }
}

/* ---------- CERT: sample certificate (portrait) over the CSS card, which stays as fallback ---------- */
.mg-cert__img {
  position: absolute; left: 50%; top: 50%; z-index: 2; height: 74%; aspect-ratio: 720 / 1030; transform: translate(-50%, -50%);
  display: block; overflow: hidden; border-radius: 10px; border: 1px solid rgba(213, 159, 255, 0.45); background: #0d0c11;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(213, 159, 255, 0.25); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mg-cert__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mg-cert__img::after { /* holographic sheen */
  content: ''; position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(247, 148, 237, 0.18) 47%, rgba(68, 204, 255, 0.16) 53%, transparent 60%);
  animation: mgCertSheen 5s ease-in-out infinite;
}
@keyframes mgCertSheen { 0%, 20% { transform: translateX(-60%); } 60%, 100% { transform: translateX(60%); } }
.mg-cert__img:hover { transform: translate(-50%, -52%); box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65), 0 0 80px rgba(213, 159, 255, 0.35); }
.mg-cert__img + .mg-cert__card { visibility: hidden; }
.mg-cert__badge { z-index: 3; }
.mg-cert__cta { margin-top: 26px; }
.mg-cert__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--mg-label); }
@media (max-width: 768px) {
  .mg-cert__stage .mg-cert__img { position: relative; left: auto; top: auto; transform: none; height: auto; width: min(100%, 360px); margin: 0 auto 10px; order: -2; }
  .mg-cert__stage .mg-cert__img:hover { transform: none; }
  .mg-cert__img + .mg-cert__card { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mg-cert__img::after { animation: none; opacity: 0; } }

/* ---------- RAPORT Z MISJI 1 (mission debrief HUD) ---------- */
.mg-rep__hud {
  position: relative; margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(213, 159, 255, 0.18); border: 1px solid rgba(213, 159, 255, 0.28); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 40px rgba(213, 159, 255, 0.08);
}
.mg-rep__hud::before, .mg-rep__hud::after { /* HUD corners */
  content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--mg-cyan); pointer-events: none; z-index: 1;
}
.mg-rep__hud::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.mg-rep__hud::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.mg-rep__stat { background: #0a0a0e; padding: 26px 22px; }
.mg-rep__stat--big { grid-column: span 2; padding: 34px 28px; }
.mg-rep__stat b {
  display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 18px rgba(68, 204, 255, 0.35);
}
.mg-rep__stat--big b { font-size: clamp(56px, 8vw, 96px); background: var(--mg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 22px rgba(213, 159, 255, 0.35)); }
.mg-rep__stat p { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--mg-muted); }
.mg-rep__grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mg-rep__panel { padding: 28px; border-radius: 16px; background: #0a0a0e; border: 1px solid var(--mg-line); }
.mg-rep__h3 { margin: 0 0 20px; font-family: var(--mg-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mg-purple); }
.mg-rep__rings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mg-rep__ring { position: relative; text-align: center; }
.mg-rep__ring svg { width: 100%; max-width: 150px; transform: rotate(-90deg); }
.mg-rep__ring circle { fill: none; stroke-width: 7; }
.mg-rep__ring .bg { stroke: rgba(255, 255, 255, 0.08); }
.mg-rep__ring .fg { stroke: var(--mg-pink); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(247, 148, 237, 0.7)); transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mg-rep__ring:nth-child(2) .fg { stroke: var(--mg-cyan); filter: drop-shadow(0 0 6px rgba(68, 204, 255, 0.7)); }
.mg-rep.is-live .mg-rep__ring .fg { stroke-dashoffset: calc(100 - var(--p)); }
.mg-rep__ringval { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; max-width: 150px; margin: 0 auto; display: grid; place-content: center; }
.mg-rep__ringval b { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mg-rep__ringval small { font-family: var(--mg-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mg-label); }
.mg-rep__ring p { margin: 10px 0 0; font-size: 15px; color: var(--mg-muted); }
.mg-rep__quotes { list-style: none; margin: 24px 0 0; padding: 0; }
.mg-rep__quotes li { padding: 14px 0 14px 16px; border-left: 2px solid transparent; border-image: var(--mg-grad) 1; margin-top: 10px; }
.mg-rep__quotes q { display: block; font-size: 15px; line-height: 1.55; color: #fff; quotes: '„' '”'; }
.mg-rep__quotes cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--mg-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mg-label); }
.mg-rep__tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 22px; }
.mg-rep__tl::before { /* neon rail that draws in */
  content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--mg-cyan), var(--mg-purple), var(--mg-pink));
  transform: scaleY(0); transform-origin: top; transition: transform 1.4s ease; box-shadow: 0 0 10px rgba(213, 159, 255, 0.6);
}
.mg-rep.is-live .mg-rep__tl::before { transform: scaleY(1); }
.mg-rep__wk {
  position: relative; display: flex; gap: 12px; align-items: baseline; padding: 7px 0; font-size: 15px; line-height: 1.4; color: var(--mg-muted);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(var(--i) * 110ms);
}
.mg-rep__wk::before { content: ''; position: absolute; left: -21px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #0a0a0e; border: 2px solid var(--mg-purple); }
.mg-rep__wk span { font-family: var(--mg-mono); font-size: 12px; color: var(--mg-cyan); flex-shrink: 0; }
.mg-rep.is-live .mg-rep__wk { opacity: 1; transform: none; }
.mg-rep__extra { margin: 16px 0 0; font-size: 15px; color: #fff; }
.mg-rep__extra span { color: var(--mg-pink); font-weight: 700; margin-right: 6px; }
.mg-rep__note { margin: 18px 0 0; font-size: 13px; color: var(--mg-label); }
@media (max-width: 900px) {
  .mg-rep__hud { grid-template-columns: repeat(2, 1fr); }
  .mg-rep__stat, .mg-rep__stat--big { grid-column: span 1; padding: 22px 18px; }
  .mg-rep__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mg-rep__stat--big b { font-size: 48px; }
  .mg-rep__stat b { font-size: 32px; }
  .mg-rep__panel { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-rep__ring .fg, .mg-rep__tl::before, .mg-rep__wk { transition: none; }
}

/* gradient text: give descenders (y, g, ą, ę, j, p) room inside the clipped background */
.pg-title span, .mg-hl, .mg-path__cell--final h3, .m-title em, .mg-rep__stat--big b {
  padding-bottom: 0.14em; margin-bottom: -0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pg-title { line-height: 1.02; }
.pg-title span { padding-bottom: 0.16em; }

/* ---------- raport: 3-stat HUD ---------- */
.mg-rep__hud--3 { grid-template-columns: 1.6fr 1fr 1fr; }
.mg-rep__hud--3 .mg-rep__stat--big { grid-column: auto; }
.mg-rep__hud--3 .mg-rep__stat { display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 900px) {
  .mg-rep__hud--3 { grid-template-columns: 1fr 1fr; }
  .mg-rep__hud--3 .mg-rep__stat--big { grid-column: 1 / -1; }
}
.mg-rep__stat--big b { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* ---------- raport: co zyskali uczestnicy ---------- */
.mg-rep__gain { margin-top: 44px; }
.mg-rep__gain-h { margin: 0 0 20px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.mg-rep__gain-h .mg-hl { padding-bottom: 0.14em; }
.mg-rep__gains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mg-rep__gcard {
  position: relative; padding: 24px 22px 22px; border-radius: 14px; background: #0a0a0e; border: 1px solid var(--mg-line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; transition-delay: calc(var(--i) * 60ms);
}
.mg-rep__gcard::before { /* neon edge on top */
  content: ''; position: absolute; left: 16px; right: 16px; top: -1px; height: 2px; background: var(--mg-grad);
  box-shadow: 0 0 12px rgba(247, 148, 237, 0.55); opacity: 0.8;
}
.mg-rep__gcard:hover { border-color: rgba(213, 159, 255, 0.45); box-shadow: 0 0 28px rgba(213, 159, 255, 0.14); transform: translateY(-2px); }
.mg-rep__gicon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--mg-cyan);
  background: rgba(68, 204, 255, 0.08); border: 1px solid rgba(68, 204, 255, 0.3); box-shadow: 0 0 16px rgba(68, 204, 255, 0.18);
}
.mg-rep__gicon svg { width: 22px; height: 22px; }
.mg-rep__gcard h4 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: #fff; }
.mg-rep__gcard p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mg-muted); }
.mg-rep__gcard blockquote { margin: 14px 0 0; padding: 10px 0 0 12px; border-left: 2px solid var(--mg-pink); }
.mg-rep__gcard blockquote q { display: block; font-size: 15px; line-height: 1.5; color: #fff; quotes: '„' '”'; }
.mg-rep__gcard blockquote cite { display: block; margin-top: 4px; font-style: normal; font-family: var(--mg-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mg-label); }
@media (max-width: 1000px) { .mg-rep__gains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mg-rep__gains { grid-template-columns: 1fr; } }

/* ---------- 900+ absolwentów: bar chart ---------- */
.mg-grads {
  position: relative; margin: 48px auto 0; max-width: 860px; text-align: left; padding: 28px 28px 22px;
  border-radius: 16px; background: rgba(10, 10, 14, 0.85); border: 1px solid rgba(213, 159, 255, 0.28);
  box-shadow: 0 0 40px rgba(213, 159, 255, 0.08);
}
.mg-grads::before, .mg-grads::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid var(--mg-cyan); pointer-events: none; }
.mg-grads::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.mg-grads::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.mg-grads__h { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: #fff; }
.mg-grads__h .mg-hl { padding-bottom: 0.14em; }
.mg-grads__sub { margin: 8px 0 22px; font-size: 15px; line-height: 1.5; color: var(--mg-muted); }
.mg-grads__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mg-grad-row { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr) 48px; align-items: center; gap: 14px; }
.mg-grad-name { font-size: 15px; line-height: 1.3; color: var(--mg-muted); }
.mg-grad-bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.mg-grad-bar i {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 1%); border-radius: inherit;
  background: linear-gradient(90deg, var(--mg-purple), var(--mg-cyan)); box-shadow: 0 0 10px rgba(68, 204, 255, 0.45);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 90ms);
}
.mg-grad-val { font-family: var(--mg-mono); font-size: 13px; font-weight: 500; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.mg-grad-row.is-hl .mg-grad-name { color: #fff; font-weight: 600; }
.mg-grad-row.is-hl .mg-grad-bar i { background: var(--mg-grad); box-shadow: 0 0 16px rgba(247, 148, 237, 0.7); }
.mg-grad-row.is-hl .mg-grad-val { color: var(--mg-pink); }
.mg-grads.is-in .mg-grad-bar i { transform: scaleX(1); }
.mg-grads__note { margin: 18px 0 0; font-size: 13px; color: var(--mg-label); }
.mg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .mg-grads { padding: 22px 16px 18px; }
  .mg-grad-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 10px; }
  .mg-grad-name { grid-column: 1 / -1; }
  .mg-grad-bar { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-grad-bar i { transform: none; transition: none; }
  .mg-rep__gcard { transition: none; }
}

/* ===== Raport: single rating gauge ===== */
.mg-rep__gauge { display: flex; align-items: center; gap: 28px; }
.mg-rep__gauge .mg-rep__ring { flex: 0 0 170px; max-width: 170px; }
.mg-rep__gauge .mg-rep__ring svg { max-width: 170px; }
.mg-rep__gauge .mg-rep__ringval { max-width: 170px; }
.mg-rep__gauge .mg-rep__ringval b { font-size: 38px; }
.mg-rep__gauge-h { margin: 0; font-size: 20px; font-weight: 600; }
.mg-rep__gauge-sub { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--mg-muted); }
@media (max-width: 480px) { .mg-rep__gauge { flex-direction: column; text-align: center; gap: 16px; } }

/* ===== Newsletter signup ===== */
.mg-news__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.mg-news__grid > * { min-width: 0; }
.mg-news__social { margin-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mg-news__avatars { display: inline-flex; }
.mg-news__avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid #000; margin-left: -10px; box-shadow: 0 0 0 1px rgba(68, 204, 255, 0.4); }
.mg-news__avatars img:first-child { margin-left: 0; }
.mg-news__count { margin: 0; font-size: 17px; font-weight: 600; }
.mg-news__count b { background: var(--mg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .14em; font-variant-numeric: tabular-nums; }
.mg-news__checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mg-news__checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--mg-muted); }
.mg-news__checks svg { color: var(--mg-cyan); filter: drop-shadow(0 0 4px rgba(68, 204, 255, 0.6)); }
.mg-news__form {
  position: relative; display: grid; gap: 16px; padding: 32px;
  background: linear-gradient(160deg, rgba(32, 30, 39, 0.9), rgba(10, 10, 14, 0.95));
  border: 1px solid rgba(213, 159, 255, 0.28); border-radius: 18px;
  box-shadow: 0 0 60px rgba(213, 159, 255, 0.12), inset 0 0 30px rgba(68, 204, 255, 0.04);
}
.mg-news__corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--mg-cyan); pointer-events: none; }
.mg-news__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.mg-news__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.mg-news__field { display: grid; gap: 7px; }
.mg-news__field span { font-family: var(--mg-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mg-label); }
.mg-news__field input {
  min-height: 50px; padding: 12px 16px; border-radius: 12px; font: 16px var(--mg-sans); color: #fff;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); outline: none; transition: border-color .2s, box-shadow .2s;
}
.mg-news__field input:focus { border-color: var(--mg-cyan); box-shadow: 0 0 0 3px rgba(68, 204, 255, 0.18); }
.mg-news__field input[aria-invalid="true"] { border-color: #ff7a8a; }
.mg-news__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--mg-muted); cursor: pointer; }
.mg-news__consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: #EA98F9; cursor: pointer; }
.mg-news__consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.mg-news__consent.is-err span { color: #ffb3bd; }
.mg-news__submit { width: 100%; min-height: 54px; font-size: 16px; border: 0; cursor: pointer; }
.mg-news__submit[disabled] { opacity: .6; cursor: wait; }
.mg-news__safe { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--mg-label); }
.mg-news__safe svg { color: #5ee6a8; }
.mg-news__msg { margin: 0; min-height: 0; font-family: var(--mg-mono); font-size: 14px; line-height: 1.5; }
.mg-news__msg:empty { display: none; }
.mg-news__msg.is-ok { padding: 12px 14px; border-radius: 10px; color: #bff4ff; background: rgba(68, 204, 255, 0.08); border: 1px solid rgba(68, 204, 255, 0.35); }
.mg-news__msg.is-ok::before { content: '[ OK ] '; color: var(--mg-pink); }
.mg-news__msg.is-err { padding: 12px 14px; border-radius: 10px; color: #ffc4cc; background: rgba(255, 90, 110, 0.08); border: 1px solid rgba(255, 110, 130, 0.35); }
.mg-news__msg.is-err::before { content: '[ ! ] '; color: #ff7a8a; }
@media (max-width: 900px) { .mg-news__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .mg-news__form { padding: 24px 18px; } }

/* ===== Maja section ===== */
.mg-maja__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mg-maja__grid > * { min-width: 0; }
.mg-maja__visual { position: relative; }
.mg-maja__frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(213, 159, 255, 0.3); box-shadow: 0 0 70px rgba(213, 159, 255, 0.22); }
.mg-maja__frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.mg-maja__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px); }
.mg-maja__c { position: absolute; z-index: 2; width: 26px; height: 26px; border: 2px solid var(--mg-cyan); filter: drop-shadow(0 0 6px rgba(68, 204, 255, 0.8)); }
.mg-maja__c--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.mg-maja__c--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.mg-maja__c--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.mg-maja__c--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.mg-maja__tag { position: absolute; z-index: 2; top: 22px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); font-family: var(--mg-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #bff4ff; }
.mg-maja__tag i { width: 8px; height: 8px; border-radius: 50%; background: #5ee6a8; box-shadow: 0 0 8px #5ee6a8; animation: majaPulse 1.8s ease-in-out infinite; }
@keyframes majaPulse { 50% { opacity: .35; } }
@keyframes majaDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.mg-maja__list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; }
.mg-maja__list li { position: relative; padding-left: 22px; display: grid; gap: 4px; }
.mg-maja__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: var(--mg-grad); box-shadow: 0 0 10px rgba(247, 148, 237, 0.7); }
.mg-maja__list b { font-size: 17px; font-weight: 600; }
.mg-maja__list span { font-size: 15px; line-height: 1.55; color: var(--mg-muted); }
@media (max-width: 900px) {
  .mg-maja__grid { grid-template-columns: 1fr; gap: 40px; }
  .mjc--inline { margin: -50px 0 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .mg-maja__tag i, .mjc__typing span, .mjc__status i { animation: none; } .mjc-launch { transition: none; } }
.mg-maja .mg-hl { padding-bottom: .14em; }

/* ===== Mentor dialog (FLIP from the clicked card) ===== */
.m-card { cursor: pointer; }
.m-card:focus-visible { outline: 2px solid #44CCFF; outline-offset: 3px; }
.m-section { position: relative; }
.mdlg { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.mdlg[hidden] { display: none; }
.mdlg__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 8, 0.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s cubic-bezier(.23, 1, .32, 1); }
.mdlg.is-open .mdlg__backdrop { opacity: 1; }
.mdlg__card {
  position: relative; z-index: 1; width: min(860px, 100%); max-height: calc(100vh - 48px); display: grid; grid-template-columns: 0.9fr 1.1fr;
  border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #1b1a22, #0b0b10);
  border: 1px solid rgba(213, 159, 255, 0.35); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(213, 159, 255, 0.2);
  transform-origin: top left; outline: none;
}
.mdlg__photo { position: relative; min-height: 420px; }
.mdlg__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mdlg__body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; transition: opacity .3s ease .2s; }
.mdlg.is-open .mdlg__body { opacity: 1; }
.mdlg__role { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #D59FFF; }
.mdlg__name { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.mdlg__desc { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(228, 231, 241, .8); }
.mdlg__weeks { margin: 4px 0 0; display: flex; align-items: baseline; gap: 12px; font-size: 16px; color: #fff; }
.mdlg__weeks span { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9699B9; }
.mdlg__weeks b { background: linear-gradient(90deg, #F794ED, #D59FFF); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .14em; font-weight: 600; }
.mdlg__li { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(68, 204, 255, .45); color: #bff4ff; font-size: 15px; font-weight: 600; text-decoration: none; }
.mdlg__li:hover { background: rgba(68, 204, 255, .1); }
.mdlg__close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.mdlg__close:hover { border-color: #44CCFF; }
.mdlg__close:focus-visible { outline: 2px solid #44CCFF; outline-offset: 2px; }
body.mdlg-lock { overflow: hidden; }
@media (max-width: 768px) {
  .mdlg { align-items: end; padding: 0; }
  .mdlg__card { grid-template-columns: 1fr; width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; overflow-y: auto; transform-origin: bottom center; }
  .mdlg__photo { min-height: 0; height: 260px; }
  .mdlg__body { padding: 24px 20px 32px; }
}

/* ===== Raport: compact stat HUD (597 big + 2-row mini list) ===== */
.mg-rep__hud--c { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.mg-rep__hud--c .mg-rep__stat--big { grid-column: auto; padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.mg-rep__hud--c .mg-rep__stat--big b { font-size: clamp(56px, 7vw, 88px); }
.mg-rep__mini { list-style: none; margin: 0; padding: 18px 28px; background: #0a0a0e; display: grid; align-content: center; gap: 0; }
.mg-rep__mini li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; }
.mg-rep__mini li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mg-rep__mini b { flex: 0 0 auto; min-width: 72px; font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 18px rgba(68, 204, 255, 0.35); }
.mg-rep__mini span { font-size: 15px; line-height: 1.4; color: var(--mg-muted); }
@media (max-width: 900px) {
  .mg-rep__hud--c { grid-template-columns: 1fr; }
  .mg-rep__mini { grid-template-columns: 1fr 1fr; padding: 16px 18px; gap: 14px; }
  .mg-rep__mini li { flex-direction: column; gap: 6px; padding: 0; }
  .mg-rep__mini li + li { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 14px; }
  .mg-rep__mini b { font-size: 28px; min-width: 0; }
}

/* ===== Raport: animated review marquee inside Oceny ===== */
.rq-marquee {
  position: relative; margin-top: 24px; height: 420px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.rq-track { display: flex; flex-direction: column; gap: 18px; padding: 10px 10px; animation: rqScroll var(--rq-dur, 56s) linear infinite; }
.rq-marquee:hover .rq-track, .rq-marquee:active .rq-track { animation-play-state: paused; }
@keyframes rqScroll { to { transform: translateY(-50%); } }
.rq-card { transform: rotate(1.4deg); }
.rq-card:nth-child(even) { transform: rotate(-1.4deg); }
.rq-card blockquote { -webkit-line-clamp: 6; }
@media (max-width: 480px) { .rq-marquee { height: 460px; } .rq-card, .rq-card:nth-child(even) { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rq-track { animation-duration: 600s; } }

/* ===== Plan Misji 2: animated timeline ===== */
.pl-note { display: block; margin-top: 8px; font-family: var(--mg-mono); font-size: 13px; letter-spacing: .06em; color: var(--mg-cyan); }
.pl { position: relative; margin-top: 56px; }
.pl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); background: rgba(255, 255, 255, 0.08); border-radius: 2px; }
.pl-line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--pl-prog, 0%); background: linear-gradient(to bottom, #44CCFF, #D59FFF 45%, #F794ED); box-shadow: 0 0 14px rgba(213, 159, 255, 0.8); border-radius: 2px; transition: height .15s linear; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.pl-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.pl-step .pl-card { grid-column: 1; margin-right: 56px; text-align: right; }
.pl-step:nth-child(even) .pl-card { grid-column: 2; margin: 0 0 0 56px; text-align: left; }
.pl-node { position: absolute; left: 50%; top: 26px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #0a0a0e; border: 2px solid rgba(255, 255, 255, 0.25); transition: all .4s ease; z-index: 1; }
.pl-step.is-lit .pl-node { border-color: #F794ED; background: #F794ED; box-shadow: 0 0 0 5px rgba(247, 148, 237, 0.18), 0 0 18px rgba(247, 148, 237, 0.8); }
.pl-step--now .pl-node::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #44CCFF; animation: plPulse 1.8s ease-out infinite; }
@keyframes plPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.pl-card {
  padding: 20px 22px; border-radius: 16px; background: linear-gradient(160deg, rgba(32, 30, 39, .75), rgba(10, 10, 14, .9));
  border: 1px solid rgba(255, 255, 255, .09); opacity: .35; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.pl-step.is-lit .pl-card { opacity: 1; transform: none; border-color: rgba(213, 159, 255, .32); box-shadow: 0 0 30px rgba(213, 159, 255, .08); }
.pl-step--now .pl-card { border-color: rgba(68, 204, 255, .5); box-shadow: 0 0 34px rgba(68, 204, 255, .18); }
.pl-date { margin: 0; font-family: var(--mg-mono); font-size: 13px; letter-spacing: .08em; color: var(--mg-cyan); }
.pl-date em { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--mg-grad); color: #000; }
.pl-tag { margin: 8px 0 0; font-family: var(--mg-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mg-label); }
.pl-card h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.25; font-weight: 600; color: #fff; }
.pl-txt { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--mg-muted); }
.pl-weeks { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-step:nth-child(odd) .pl-weeks { justify-content: flex-end; }
.pl-weeks i { font-style: normal; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(213, 159, 255, .35); color: #fff; background: rgba(213, 159, 255, .08); }
.pl-cta { margin-top: 48px; text-align: center; }
@media (max-width: 768px) {
  .pl-line { left: 9px; transform: none; }
  .pl-step { grid-template-columns: 1fr; }
  .pl-step .pl-card, .pl-step:nth-child(even) .pl-card { grid-column: 1; margin: 0 0 0 40px; text-align: left; }
  .pl-node { left: 10px; top: 24px; }
  .pl-step:nth-child(odd) .pl-weeks { justify-content: flex-start; }
  .pl-cta .mg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-card { opacity: 1; transform: none; transition: none; }
  .pl-line i { height: 100% !important; transition: none; }
  .pl-step--now .pl-node::after { animation: none; }
}

/* ===== Maja live chat (inline + floating panel) ===== */
.mjc__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mjc--inline { position: relative; z-index: 3; margin: -70px 20px 0 auto; max-width: 440px; }
.mjc__nojs { margin: 0; padding: 16px; border-radius: 16px; background: rgba(14, 13, 20, 0.92); border: 1px solid rgba(68, 204, 255, 0.3); font-size: 15px; line-height: 1.5; }
.mjc__nojs a { color: var(--mg-cyan); }
.mjc__box {
  display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px;
  background: rgba(14, 13, 20, 0.94); backdrop-filter: blur(10px);
  border: 1px solid rgba(68, 204, 255, 0.3); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(68, 204, 255, 0.12);
}
.mjc__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--mg-line); }
.mjc__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(68, 204, 255, 0.5); box-shadow: 0 0 12px rgba(68, 204, 255, 0.35); }
.mjc__who { display: grid; line-height: 1.2; flex: 1; min-width: 0; }
.mjc__who b { font-size: 16px; }
.mjc__status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mg-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mg-label); }
.mjc__status i { width: 7px; height: 7px; border-radius: 50%; background: #5ee6a8; box-shadow: 0 0 8px #5ee6a8; animation: majaPulse 1.8s ease-in-out infinite; }
.mjc__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--mg-line); background: transparent; color: inherit; cursor: pointer; }
.mjc__close:hover { border-color: var(--mg-cyan); color: var(--mg-cyan); }
.mjc__log { display: flex; flex-direction: column; gap: 10px; height: 260px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 4px; scrollbar-width: thin; }
.mjc__log:focus-visible { outline: 2px solid var(--mg-cyan); outline-offset: 2px; border-radius: 8px; }
.mjc__msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.mjc__msg--u { align-self: flex-end; background: rgba(213, 159, 255, 0.16); border: 1px solid rgba(213, 159, 255, 0.35); border-bottom-right-radius: 4px; }
.mjc__msg--m { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-bottom-left-radius: 4px; }
.mjc__msg--note { border-color: rgba(68, 204, 255, 0.45); background: rgba(68, 204, 255, 0.08); }
.mjc__typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.mjc__typing[hidden] { display: none; }
.mjc__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mg-purple); animation: majaDot 1s ease-in-out infinite; }
.mjc__typing span:nth-child(2) { animation-delay: .15s; } .mjc__typing span:nth-child(3) { animation-delay: .3s; }
.mjc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mjc__chips[hidden] { display: none; }
.mjc__chip { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(68, 204, 255, 0.4); background: rgba(68, 204, 255, 0.06); color: #bff4ff; font: inherit; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s; }
.mjc__chip:hover, .mjc__chip:focus-visible { background: rgba(68, 204, 255, 0.16); border-color: var(--mg-cyan); outline: none; }
.mjc__form { position: relative; display: flex; align-items: flex-end; gap: 8px; }
.mjc__in { flex: 1; min-width: 0; resize: none; max-height: 120px; padding: 11px 14px 20px; border-radius: 12px; border: 1px solid var(--mg-line); background: rgba(0, 0, 0, 0.45); color: inherit; font: inherit; font-size: 16px; line-height: 1.4; }
.mjc__in:focus { outline: none; border-color: var(--mg-cyan); box-shadow: 0 0 0 3px rgba(68, 204, 255, 0.18); }
.mjc__send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--mg-grad); color: #0b0a10; cursor: pointer; box-shadow: 0 0 18px rgba(247, 148, 237, 0.35); }
.mjc__send:disabled { opacity: .45; cursor: wait; }
.mjc__send:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mjc__cnt { position: absolute; right: 64px; bottom: 5px; font-family: var(--mg-mono); font-size: 11px; color: var(--mg-label); pointer-events: none; }
.mjc__disc { margin: 0; font-size: 13px; line-height: 1.45; color: var(--mg-label); }

.mjc-launch.mjc-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid rgba(68, 204, 255, 0.5);
  background: rgba(14, 13, 20, 0.92); backdrop-filter: blur(10px); color: #fff; font-family: var(--mg-sans); font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 22px rgba(68, 204, 255, 0.25);
  transition: transform .25s ease, opacity .25s ease, box-shadow .2s;
}
.mjc-launch img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mjc-launch:hover { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 30px rgba(247, 148, 237, 0.45); }
.mjc-launch:focus-visible { outline: 2px solid var(--mg-cyan); outline-offset: 3px; }
.mjc-launch.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
.mjc-launch.is-open { opacity: 0; pointer-events: none; }
.mjc--panel.mjc--panel { position: fixed; right: 20px; bottom: 20px; z-index: 56; width: min(400px, calc(100vw - 40px)); }
.mjc--panel[hidden], .mjc-scrim[hidden] { display: none; }
.mjc--panel .mjc__log { height: min(380px, calc(100dvh - 330px)); min-height: 160px; }
.mjc-scrim { display: none; }
@media (max-width: 600px) {
  .mjc-launch.mjc-launch { right: 16px; bottom: 16px; padding-right: 14px; }
  .mjc--panel.mjc--panel { left: 0; right: 0; bottom: 0; width: auto; }
  .mjc--panel .mjc__box { border-radius: 18px 18px 0 0; border-bottom: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .mjc--panel .mjc__log { height: calc(100dvh - 360px); max-height: 420px; }
  .mjc-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0.55); }
  .mjc-scrim[hidden] { display: none; }
}

/* ===== Raport z Misji 1: bento grid (no empty gaps) =====
   desktop 4 cols:  597 597 134 10 / topics topics voices voices / gainh g g g / gainh g g g */
.mg-bento { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.mg-bx { min-width: 0; border-radius: 16px; background: #0a0a0e; border: 1px solid var(--mg-line); }
.mg-bento .mg-rep__stat { display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 24px; }
.mg-bx--big { grid-column: span 2; position: relative; overflow: hidden; border-color: rgba(213, 159, 255, 0.35); box-shadow: inset 0 0 60px rgba(213, 159, 255, 0.08); }
.mg-bx--big::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 148, 237, 0.22), transparent 70%); pointer-events: none; }
.mg-bx--topics, .mg-bx--voices { grid-column: span 2; display: flex; flex-direction: column; }
.mg-bx--topics .mg-rep__tl { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.mg-bx--voices .rq-marquee { flex: 1 1 420px; height: 0; min-height: 420px; }
.mg-bx--gainh { grid-row: span 2; padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border-color: rgba(68, 204, 255, 0.3); background: linear-gradient(160deg, rgba(213, 159, 255, 0.14), rgba(68, 204, 255, 0.06) 55%, #0a0a0e); }
.mg-bx--gainh .mg-rep__gain-h { margin: 0 0 12px; }
.mg-bx--gainh p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mg-muted); }
.mg-bento .mg-rep__gcard { border-radius: 16px; }
@media (max-width: 1024px) {
  .mg-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-bx--big, .mg-bx--topics, .mg-bx--voices, .mg-bx--gainh { grid-column: 1 / -1; }
  .mg-bx--gainh { grid-row: auto; }
}
@media (max-width: 640px) {
  .mg-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mg-bx--voices .rq-marquee { min-height: 0; height: 460px; flex: none; }
}

/* ===== Newsletter: e-mail field glitches on each keystroke ===== */
.mg-news__field { position: relative; }
.mg-news__field::after {
  content: ''; position: absolute; left: 0; right: 0; top: var(--gy, 60%); height: 7px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent 0 8%, rgba(68, 204, 255, .75) 8% 34%, transparent 34% 52%, rgba(247, 148, 237, .8) 52% 71%, transparent 71%);
  mix-blend-mode: screen;
}
.mg-news__field.is-glitch::after { animation: nlBar .26s steps(3, end) 1; }
.mg-news__field.is-glitch input { animation: nlGlitch .26s steps(2, end) 1; }
@keyframes nlGlitch {
  0%   { transform: translate(0); text-shadow: -2px 0 rgba(247, 148, 237, .95), 2px 0 rgba(68, 204, 255, .95); clip-path: inset(0 0 0 0); }
  33%  { transform: translate(-3px, 1px) skewX(-6deg); text-shadow: 3px 0 rgba(247, 148, 237, .95), -3px 0 rgba(68, 204, 255, .95); clip-path: inset(18% 0 30% 0 round 12px); }
  66%  { transform: translate(2px, -1px); text-shadow: -1px 0 rgba(213, 159, 255, .95), 1px 0 rgba(68, 204, 255, .9); clip-path: inset(0 0 0 0 round 12px); border-color: var(--mg-pink); }
  100% { transform: none; text-shadow: none; clip-path: inset(0 0 0 0 round 12px); }
}
@keyframes nlBar { 0% { opacity: 1; transform: translateX(-6px); } 50% { opacity: .8; transform: translateX(8px) scaleY(1.8); } 100% { opacity: 0; transform: none; } }

/* ===== Maja inline: photo placement + pill composer with a light band (Board UI composer-loader) ===== */
.mg-maja__frame img { aspect-ratio: 5 / 4; object-position: 50% 12%; }
.mg-maja__tag { left: 22px; transform: none; }
.mjc--inline { margin: -24px 0 0 auto; max-width: 460px; }
.mjc--inline .mjc__log { height: 220px; }
@property --mjc-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.mjc__form {
  isolation: isolate; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 26px;
  background: rgba(0, 0, 0, 0.5); border: 1px solid var(--mg-line); transition: border-color .25s, box-shadow .25s;
}
.mjc__form:focus-within { border-color: rgba(68, 204, 255, .55); box-shadow: 0 0 0 3px rgba(68, 204, 255, .14); }
.mjc__form::before, .mjc__form::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 2;
  background: conic-gradient(from var(--mjc-a), transparent 0deg 240deg, #44CCFF 285deg, #D59FFF 320deg, #F794ED 348deg, #fff 357deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity .45s ease; animation: mjcLap 4.5s linear infinite; animation-play-state: paused;
}
.mjc__form::before { padding: 1.5px; }                       /* crisp refraction line on the rim */
.mjc__form::after { padding: 3px; filter: blur(7px); z-index: 1; } /* soft bloom around the line */
.mjc__form.is-busy { border-color: transparent; }
.mjc__form.is-busy::before { opacity: 1; animation-play-state: running; }
.mjc__form.is-busy::after { opacity: .75; animation-play-state: running; }
@keyframes mjcLap { to { --mjc-a: 360deg; } }
.mjc__in { position: relative; z-index: 3; padding: 10px 0; border: 0; border-radius: 0; background: transparent; }
.mjc__in:focus { border: 0; box-shadow: none; }
.mjc__send { position: relative; z-index: 3; width: 42px; height: 42px; border-radius: 50%; }
.mjc__cnt { right: 58px; bottom: -18px; }
@media (prefers-reduced-motion: reduce) { .mjc__form::before, .mjc__form::after { animation: none; } }
@media (max-width: 900px) { .mjc--inline { margin: -36px 0 0; } }

/* Maja replies: paragraphs, lists, links */
.mjc__msg--m p { margin: 0; }
.mjc__msg--m p + p, .mjc__msg--m ul + p, .mjc__msg--m p + ul { margin-top: 8px; }
.mjc__msg--m ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.mjc__msg--m strong { color: #fff; font-weight: 600; }
.mjc__msg--m a { color: var(--mg-cyan); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.mjc__msg--m { white-space: normal; }

/* Manifest: mission motto + "AI bez FOMO" */
.mg-manifest__motto { margin: 36px 0 0; font-size: clamp(30px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.mg-manifest__motto .mg-hl { padding-bottom: .14em; }
.mg-manifest__nofomo { margin: 20px 0 0; max-width: 680px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--mg-muted); }
.mg-manifest__nofomo b { color: #fff; font-weight: 600; }

/* ===== Cel misji: Stop prompting. Start engineering. ===== */
.mg-goal .mg-wrap { padding-top: 24px; padding-bottom: 96px; }
.mg-goal__box {
  position: relative; padding: clamp(28px, 5vw, 64px); border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(213, 159, 255, 0.16), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(68, 204, 255, 0.1), transparent 60%), #08080c;
  border: 1px solid rgba(213, 159, 255, 0.3); box-shadow: 0 0 60px rgba(213, 159, 255, 0.1);
}
.mg-goal__c { position: absolute; width: 22px; height: 22px; border: 2px solid var(--mg-cyan); filter: drop-shadow(0 0 6px rgba(68, 204, 255, .8)); }
.mg-goal__c--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.mg-goal__c--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.mg-goal__h { margin: 14px 0 0; font-size: clamp(2.2rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; color: #fff; }
.mg-goal__h .mg-hl { padding-bottom: .14em; }
.mg-goal__stop { color: rgba(255, 255, 255, 0.5); }
.mg-goal__stop s { text-decoration: none; position: relative; }
.mg-goal__stop s::after {
  content: ''; position: absolute; left: -3px; right: -3px; top: 54%; height: .09em; min-height: 3px; background: var(--mg-pink);
  box-shadow: 0 0 12px rgba(247, 148, 237, .9); transform: scaleX(0); transform-origin: left; transition: transform .6s .35s cubic-bezier(.2, .8, .2, 1);
}
.mg-goal__box.is-in .mg-goal__stop s::after { transform: scaleX(1); }
.mg-goal__lead { margin: 22px 0 0; max-width: 720px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--mg-muted); }
.mg-goal__rows { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mg-goal__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 18px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--mg-line);
  opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(.5s + var(--i) * 90ms);
}
.mg-goal__box.is-in .mg-goal__row { opacity: 1; transform: none; }
.mg-goal__from { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.45); text-decoration: line-through; text-decoration-color: rgba(247, 148, 237, .6); }
.mg-goal__to { font-size: 15px; line-height: 1.4; font-weight: 600; color: #fff; }
.mg-goal__arrow { height: 2px; background: var(--mg-grad); position: relative; box-shadow: 0 0 8px rgba(213, 159, 255, .7); }
.mg-goal__arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--mg-cyan); border-right: 0; }
@media (max-width: 860px) { .mg-goal__rows { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mg-goal__row { grid-template-columns: 1fr; gap: 6px; } .mg-goal__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .mg-goal__row { opacity: 1; transform: none; transition: none; } .mg-goal__stop s::after { transform: scaleX(1); transition: none; } }

/* no cyan HUD corners anywhere (graphic decision 2026-09-25) */
.mg-hud, .mg-news__corner, .mg-maja__c, .mg-goal__c { display: none !important; }
.mg-grads::before, .mg-grads::after, .mg-rep__hud::before, .mg-rep__hud::after { content: none !important; }

/* Cel misji rows: no arrows — the "after" text glitches in (on reveal, then a random row every few seconds) */
.mg-goal__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
.mg-goal__from { font-size: 14px; }
.mg-goal__to { position: relative; display: inline-block; justify-self: start; font-size: 17px; }
.mg-goal__to::before, .mg-goal__to::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; }
.mg-goal__to::before { color: var(--mg-cyan); }
.mg-goal__to::after { color: var(--mg-pink); }
.mg-goal__row.is-glitch .mg-goal__to { animation: goalJolt .45s steps(2, end) 1; }
.mg-goal__row.is-glitch .mg-goal__to::before { animation: mgGlitchA .45s steps(1, end) 1; }
.mg-goal__row.is-glitch .mg-goal__to::after { animation: mgGlitchB .45s steps(1, end) 1; }
.mg-goal__row.is-glitch .mg-goal__from { animation: goalFlicker .45s steps(3, end) 1; }
.mg-goal__row.is-glitch { border-color: rgba(213, 159, 255, .45); }
@keyframes goalJolt { 0% { transform: translateX(-3px) skewX(-8deg); } 40% { transform: translateX(4px); clip-path: inset(20% 0 35% 0); } 70% { transform: translateX(-2px); clip-path: inset(0); } 100% { transform: none; } }
@keyframes goalFlicker { 0%, 60% { opacity: .2; transform: translateX(3px); } 30%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mg-goal__row.is-glitch .mg-goal__to, .mg-goal__row.is-glitch .mg-goal__to::before, .mg-goal__row.is-glitch .mg-goal__to::after, .mg-goal__row.is-glitch .mg-goal__from { animation: none; } }

/* ===== Maja inline: one-line composer bar (opens the chat panel on send) ===== */
.mjc--inline { margin: -30px 0 0; max-width: none; padding: 0 18px; }
.mjc-bar {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; padding: 7px;
  border-radius: 999px; background: rgba(28, 27, 34, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.mjc-bar::before, .mjc-bar::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--mjc-a), transparent 0deg 250deg, #44CCFF 290deg, #D59FFF 325deg, #F794ED 350deg, #fff 357deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: mjcLap 6s linear infinite;
}
.mjc-bar::before { padding: 1.5px; opacity: .9; }
.mjc-bar::after { padding: 3px; filter: blur(7px); opacity: .6; z-index: 1; }
.mjc-bar:focus-within { border-color: rgba(68, 204, 255, .45); }
.mjc-bar__av { position: relative; z-index: 3; flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 1px solid rgba(68, 204, 255, .45); box-shadow: 0 0 14px rgba(68, 204, 255, .3); }
.mjc-bar__in { position: relative; z-index: 3; flex: 1; min-width: 0; height: 44px; padding: 0 4px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; outline: none; }
.mjc-bar__in::placeholder { color: rgba(255, 255, 255, 0.42); }
.mjc-bar__send {
  position: relative; z-index: 3; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, #F794ED, #e23fa9); color: #fff; cursor: pointer; box-shadow: 0 0 18px rgba(247, 148, 237, .45); transition: transform .15s ease;
}
.mjc-bar__send:hover { transform: scale(1.06); }
.mjc-bar__send:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mjc-bar__chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mjc-bar__chips::-webkit-scrollbar { display: none; }
.mjc-bar__chips .mjc__chip { flex: none; white-space: nowrap; }
.mjc-bar__disc { margin: 8px 0 0; font-size: 12px; color: var(--mg-label); }
@media (prefers-reduced-motion: reduce) { .mjc-bar::before, .mjc-bar::after { animation: none; } }
@media (max-width: 480px) { .mjc--inline { padding: 0 8px; } }
.mjc-bar__chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }

/* ===== CRO: waiting list on the page, sticky bar, manager e-mail ===== */
.mg-wl { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--mg-line); }
.mg-wl__h { margin: 0 0 12px; font-family: var(--mg-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mg-purple); }
.mg-wl__perks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.mg-wl__perks li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--mg-muted); }
.mg-wl__perks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--mg-grad); box-shadow: 0 0 8px rgba(247, 148, 237, .6); }
.mg-wl__perks b { color: #fff; font-weight: 600; }
.mg-wl__row { display: flex; gap: 10px; }
.mg-wl__row input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border-radius: 12px; font: 16px var(--mg-sans); color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .16); outline: none; }
.mg-wl__row input:focus { border-color: var(--mg-cyan); box-shadow: 0 0 0 3px rgba(68, 204, 255, .18); }
.mg-wl__row .mg-btn { flex: none; }
.mg-wl__consent { display: flex; gap: 10px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--mg-label); cursor: pointer; }
.mg-wl__consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: #EA98F9; }
.mg-wl__consent a { color: inherit; text-decoration: underline; }
.mg-wl__note { margin: 12px 0 0; min-height: 1.4em; font-size: 15px; }
.mg-wl__note.is-ok { color: #5ee6a8; }
.mg-wl__note.is-err { color: #ff8fa3; }
@media (max-width: 520px) { .mg-wl__row { flex-direction: column; } .mg-wl__row .mg-btn { width: 100%; justify-content: center; } }

.mg-boss { margin-top: 22px; border-top: 1px solid var(--mg-line); padding-top: 16px; }
.mg-boss summary { cursor: pointer; font-weight: 600; color: #fff; list-style: none; }
.mg-boss summary::-webkit-details-marker { display: none; }
.mg-boss summary::after { content: ' +'; color: var(--mg-cyan); }
.mg-boss[open] summary::after { content: ' −'; }
.mg-boss__hint { margin: 10px 0; font-size: 14px; color: var(--mg-muted); }
.mg-boss__txt { margin: 0 0 12px; max-height: 260px; overflow: auto; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .5); border: 1px solid var(--mg-line); white-space: pre-wrap; font: 13px/1.55 var(--mg-sans); color: rgba(255, 255, 255, .82); }

.mg-dojo-link { margin: 28px 0 0; font-size: 16px; color: var(--mg-muted); }
.mg-dojo-link a { color: var(--mg-cyan); text-decoration: underline; text-underline-offset: 3px; }

.mg-sticky { position: fixed; left: 0; right: 0; top: 0; z-index: 60; transform: translateY(-110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.mg-sticky.is-on { transform: none; pointer-events: auto; }
.mg-sticky__in { font-family: Inter, system-ui, sans-serif; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 16px; background: rgba(8, 8, 12, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(213, 159, 255, .25); font-size: 14px; color: rgba(255, 255, 255, .8); }
.mg-sticky__txt b { color: #fff; }
.mg-sticky__btn { flex: none; padding: 8px 16px; border-radius: 999px; background: linear-gradient(90deg, #F794ED, #D59FFF); color: #0b0a10; font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 0 16px rgba(247, 148, 237, .35); }
@media (max-width: 640px) { .mg-sticky__dates { display: none; } .mg-sticky__in { justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .mg-sticky { transition: none; } }
.mg-wl__perks { margin-bottom: 8px; }
.mg-wl__dates { margin: 0 0 18px; font-size: 13px; color: var(--mg-label); }

/* ===== Cennik: all prices at once, current step highlighted ===== */
.pr-steps { list-style: none; margin: 32px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pr-step { position: relative; display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; background: #0a0a0e; border: 1px solid var(--mg-line); }
.pr-step__name { font-family: var(--mg-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mg-label); }
.pr-step__price { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.pr-step__when { font-size: 14px; color: var(--mg-muted); }
.pr-step.is-now { border-color: rgba(247, 148, 237, .6); box-shadow: 0 0 30px rgba(247, 148, 237, .18); }
.pr-step.is-now::after { content: 'Teraz'; position: absolute; top: 14px; right: 14px; padding: 3px 9px; border-radius: 999px; background: var(--mg-grad); color: #0b0a10; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pr-step.is-now .pr-step__price { background: var(--mg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .14em; margin-bottom: -.14em; }
.pr-step.is-past { opacity: .45; }
.pr-step.is-past .pr-step__price { text-decoration: line-through; text-decoration-color: rgba(247, 148, 237, .7); }
.pr-now { margin: 6px 0 0; font-size: 15px; color: var(--mg-muted); }
.pr-now b { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; margin-right: 6px; }
.pr-then { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--mg-muted); }
.pr-then b { color: var(--mg-cyan); font-weight: 600; }
.pr-team { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pr-team .mg-boss { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .pr-steps { grid-template-columns: 1fr; } .pr-team { grid-template-columns: 1fr; } }
.pr-team h3 { margin-bottom: 10px; }

/* before sales (and without JS): every price struck through */
.pr-steps.is-soon .pr-step__price { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(247, 148, 237, .75); color: rgba(255, 255, 255, .55); }

/* ===== Zajrzyj do środka: screenshots of SensAI Learn + community in a bento grid ===== */
.in-bento { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.in-card { margin: 0; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0a0a0e; border: 1px solid var(--mg-line); transition: border-color .25s, box-shadow .25s; }
.in-card:hover { border-color: rgba(213, 159, 255, .45); box-shadow: 0 0 34px rgba(213, 159, 255, .12); }
.in-card--wide { grid-column: span 2; }
.in-card--tall { grid-row: span 2; }
.in-shot { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #111016; }
.in-shot::before { /* window bar */
  content: ''; display: block; height: 26px; background: linear-gradient(#1b1a22, #16151c); border-bottom: 1px solid rgba(255, 255, 255, .06);
  -webkit-mask: none;
}
.in-shot::after { /* traffic lights */
  content: ''; position: absolute; top: 9px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #F794ED;
  box-shadow: 14px 0 0 #D59FFF, 28px 0 0 #44CCFF; opacity: .8;
}
.in-shot img { display: block; width: 100%; height: calc(100% - 26px); object-fit: cover; object-position: top left; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.in-card:hover .in-shot img { transform: scale(1.02); }
.in-card--wide .in-shot img { aspect-ratio: 2824 / 1732; height: auto; }
.in-card--tall .in-shot img { object-position: top center; }
.in-card:not(.in-card--wide):not(.in-card--tall) .in-shot img { aspect-ratio: 4 / 3; height: auto; }
.in-card figcaption { padding: 14px 18px 16px; font-size: 15px; line-height: 1.5; color: var(--mg-muted); border-top: 1px solid var(--mg-line); }
.in-card figcaption b { color: #fff; font-weight: 600; }
.in-account { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px;
  background: linear-gradient(120deg, rgba(213, 159, 255, .14), rgba(68, 204, 255, .06) 60%, #0a0a0e); border-color: rgba(213, 159, 255, .3); }
.in-account__h { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: #fff; }
.in-account p:not(.in-account__h) { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.55; color: var(--mg-muted); }
.in-account__cta { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
@media (max-width: 860px) {
  .in-bento { grid-template-columns: minmax(0, 1fr); }
  .in-card--wide, .in-card--tall { grid-column: auto; grid-row: auto; }
  .in-card--tall .in-shot img { aspect-ratio: 3 / 4; height: auto; }
  .in-account { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .in-shot img { transition: none; } }
.in-card--tall .in-shot img { object-position: left top; }
