/* MIA START — page-only styles. Shared chrome: ig-style.css + ig-body.css; helpers from invoice-generator.css and
   consultations.css (kl-hero, kl-switch, kl-steps, kl-zal). Pricing uses its own .ms-card (not .kl-card).
   Duo band (640–1100) is designed here from the start; foldable.css adds the shared menu sheet / zalety rules.
   Safari-safe: no backdrop-filter, no color-mix; only opacity/transform/colour transitions. */
.ms-i{display:block;width:24px;height:24px;flex:none}

/* ===== Hero: the 3 live steps as a small wizard (Formularz -> Konsultacja -> Firma gotowa) ===== */
.ms-screen{background:#0B1A24}
.msw{--acc:#13B8EE;--acc-soft:rgba(19,184,238,.14);--acc-bd:rgba(19,184,238,.42);--acc-ink:#04202C;
  position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;padding:0 0 14px;color:#F3F7F9;font-size:12px;line-height:1.3;
  background:radial-gradient(110% 70% at 100% 0%,rgba(19,184,238,.12),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(255,160,79,.08),transparent 60%),#0B1A24}
.msw[data-k="sp"]{--acc:#68E2B4;--acc-soft:rgba(104,226,180,.14);--acc-bd:rgba(104,226,180,.42);--acc-ink:#06281C}
.msw-h{flex:none;display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02)}
.msw-ava{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#2A1300;background:linear-gradient(135deg,#FFC48F,#FFA04F)}
.msw-ava svg{width:17px;height:17px}
.msw-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.msw-who b{font-size:13.5px;font-weight:750;letter-spacing:-.01em}
.msw-who small{font-size:11px;color:#9FB2BC}
.msw-cat{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:5px 9px;border-radius:999px;white-space:nowrap;
  color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd);transition:color .35s,background .35s,border-color .35s}
.msw-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;margin:0 16px;transition:opacity .35s ease,transform .35s ease}
.msw-body.is-swap{opacity:0;transform:translateY(8px)}
/* rail */
.msw-rail{flex:none;margin:0;padding:2px 0 0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;position:relative}
.msw-rail::before,.msw-rail::after{content:"";position:absolute;left:16.67%;top:15px;height:2px}
.msw-rail::before{right:16.67%;background:rgba(255,255,255,.1)}
.msw-rail::after{width:0;background:linear-gradient(90deg,#13B8EE,#68E2B4);transition:width .6s ease}
.pk .msw-rail::after{width:12%}.p2 .msw-rail::after{width:33.33%}.c3 .msw-rail::after{width:48%}.p3 .msw-rail::after{width:66.66%}
.msw-st{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-width:0}
.msw-st-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#7F94A0;background:#0F222E;border:1.5px solid rgba(255,255,255,.16);transition:color .3s,background .3s,border-color .3s,box-shadow .3s}
.msw-st-dot svg{width:14px;height:14px}
.msw-st-l{font-size:10.5px;font-weight:700;color:#7F94A0;line-height:1.15;transition:color .3s}
.msw-st[data-s="1"] .msw-st-dot{color:#04202C;background:#13B8EE;border-color:#13B8EE;box-shadow:0 0 0 4px rgba(19,184,238,.16)}
.msw-st[data-s="1"] .msw-st-l,.p2 .msw-st[data-s="2"] .msw-st-l,.p3 .msw-st[data-s="3"] .msw-st-l{color:#fff}
.p2 .msw-st[data-s="1"] .msw-st-dot{color:#13B8EE;background:rgba(19,184,238,.18);border-color:rgba(19,184,238,.5);box-shadow:none}
.p2 .msw-st[data-s="2"] .msw-st-dot{color:#04202C;background:#13B8EE;border-color:#13B8EE;box-shadow:0 0 0 4px rgba(19,184,238,.16)}
.p3 .msw-st[data-s="2"] .msw-st-dot{color:#13B8EE;background:rgba(19,184,238,.18);border-color:rgba(19,184,238,.5);box-shadow:none}
.p3 .msw-st[data-s="3"] .msw-st-dot{color:#06281C;background:#68E2B4;border-color:#68E2B4;box-shadow:0 0 0 4px rgba(104,226,180,.18)}
/* sheet with three stacked panes */
.msw-sheet{position:relative;flex:1;min-height:0;display:grid;border-radius:16px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.msw-pane{grid-area:1/1;min-width:0;padding:12px 13px;display:flex;flex-direction:column;gap:8px;opacity:0;visibility:hidden;transform:translateX(14px);
  transition:opacity .35s ease,transform .45s cubic-bezier(.2,.7,.2,1),visibility 0s linear .45s}
.msw-p1,.p2 .msw-p2,.p3 .msw-p3{opacity:1;visibility:visible;transform:none;transition:opacity .35s ease .1s,transform .45s cubic-bezier(.2,.7,.2,1) .1s,visibility 0s}
.p2 .msw-p1,.p3 .msw-p2{opacity:0;visibility:hidden;transform:translateX(-14px);transition:opacity .3s ease,transform .4s ease,visibility 0s linear .4s}
.p3 .msw-p1{opacity:0;visibility:hidden}
.msw-t{margin:0 0 2px;font-size:13px;font-weight:800;letter-spacing:-.01em;color:#fff}
.msw-f{display:flex;flex-direction:column;gap:4px}
.msw-f-l{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:#9FB2BC}
.msw-f-l svg{width:11px;height:11px}
.msw-f-in{display:flex;align-items:center;height:22px;padding:0 9px;border-radius:8px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);transition:border-color .3s,background .3s}
.msw-f-in i{display:block;width:0;height:7px;border-radius:4px;background:linear-gradient(90deg,var(--acc),rgba(255,255,255,.35));transition:width .6s ease}
.f1 .msw-f[data-f="1"] .msw-f-in i{width:64%}.f2 .msw-f[data-f="2"] .msw-f-in i{width:78%}.f3 .msw-f[data-f="3"] .msw-f-in i{width:46%}
.f1:not(.f2) .msw-f[data-f="1"] .msw-f-in,.f2:not(.f3) .msw-f[data-f="2"] .msw-f-in,.f3:not(.pk) .msw-f[data-f="3"] .msw-f-in{border-color:var(--acc);background:var(--acc-soft)}
.msw-pack{margin-top:auto;display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);
  transition:border-color .3s,background .3s,box-shadow .3s}
.pk .msw-pack{border-color:var(--acc);background:var(--acc-soft);box-shadow:0 0 0 3px rgba(255,255,255,.03)}
.msw-pack-ic{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
.msw-pack-ic svg{width:15px;height:15px}
.msw-pack-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.msw-pack-tx small{font-size:10px;color:#9FB2BC}
.msw-pack-tx b{font-size:12.5px;font-weight:800;white-space:nowrap}
.msw-pack-pr{flex:none;font-size:10.5px;color:#9FB2BC;white-space:nowrap}
.msw-pack-pr b{font-size:15px;font-weight:800;color:#fff;letter-spacing:-.02em}
.msw-c{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);
  opacity:.45;transform:translateY(4px);transition:opacity .3s,transform .35s ease,border-color .3s}
.c1 .msw-c[data-c="1"],.c2 .msw-c[data-c="2"],.c3 .msw-c[data-c="3"]{opacity:1;transform:none;border-color:rgba(104,226,180,.35)}
.msw-c-ic{flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:#FFA04F;background:rgba(255,160,79,.14)}
.msw-c-ic svg{width:14px;height:14px}
.msw-c-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.msw-c-tx small{font-size:10px;color:#9FB2BC}
.msw-c-tx b{font-size:12px;font-weight:750}
.msw-c-tx i{display:block;width:52%;height:7px;border-radius:4px;background:rgba(255,255,255,.24)}
.msw-c[data-c="3"] .msw-c-tx i{width:38%}
.msw-ok{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#06281C;background:#68E2B4;transform:scale(0);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.msw-ok svg{width:13px;height:13px;stroke-width:2.5}
.c1 .msw-c[data-c="1"] .msw-ok,.c2 .msw-c[data-c="2"] .msw-ok,.c3 .msw-c[data-c="3"] .msw-ok{transform:scale(1)}
.msw-p3{align-items:center;justify-content:center;text-align:center;gap:10px}
.msw-done-ic{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;color:#06281C;background:linear-gradient(140deg,#8CF0CA,#3FC994);box-shadow:0 10px 26px rgba(104,226,180,.28);
  transform:scale(.7);transition:transform .45s cubic-bezier(.3,1.5,.5,1) .15s}
.p3 .msw-done-ic{transform:none}
.msw-done-ic svg{width:26px;height:26px}
.msw-done-t{margin:0;font-size:16px;font-weight:800;letter-spacing:-.02em;color:#fff}
.msw-done-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.msw-done-chips span{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;font-size:10.5px;font-weight:700;color:#D0DADF;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14)}
.msw-done-chips svg{width:12px;height:12px;color:#68E2B4}
.msw-done-chips b{color:#fff}
/* t85: every wizard step fits inside the mockup at every width: compact form/consultation rows + a minimum screen height */
.msw-p1,.msw-p2{gap:6px;padding:10px 12px}
.msw-p1 .msw-t,.msw-p2 .msw-t{margin:0}
.msw-f{gap:3px}
.msw-f-in{height:19px}
.msw-pack{gap:8px;padding:6px 9px;border-radius:11px}
.msw-pack-ic{width:24px;height:24px;border-radius:8px}
.msw-pack-ic svg{width:13px;height:13px}
.msw-pack-tx{gap:0}
.msw-c{padding:6px 9px}
.msw-c-ic{width:24px;height:24px}
.ms-hero .ms-screen{aspect-ratio:auto;min-height:356px}
.ms-hero .ms-screen::before{content:"";display:block;padding-top:56.25%}
.ms-hero-mob{display:none}
@media (min-width:769px){.ms-screen .msw-body{margin-right:calc(29% + 8px)}}
@media (min-width:1101px) and (max-width:1200px){.ms-screen .msw-body{margin-right:calc(33% + 8px)}}
@media (min-width:769px) and (max-width:1100px){.msw-cat{display:none}}
@media (max-width:1100px){.ms-hero .hero-grid{grid-template-columns:minmax(0,1fr)}.ms-hero .hero-copy,.ms-hero-mob,.msw-mob{min-width:0;max-width:100%}}
@media (max-width:768px){
  .ms-hero .hero-visual{display:none}
  .ms-hero-mob{display:block;position:relative;width:100%}
  .msw-mob{position:relative;inset:auto;height:360px;border-radius:22px;border:1px solid rgba(255,255,255,.12);overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.3)}
  .msw-mob .msw-body{margin:0 12px}
}
@media (max-width:400px){.msw-mob .msw-cat{display:none}}
@media (prefers-reduced-motion:reduce){.msw-body,.msw-pane,.msw-f-in i,.msw-pack,.msw-c,.msw-ok,.msw-done-ic,.msw-rail::after,.msw-st-dot{transition:none}}

/* ===== Cennik: type switch (JDG | sp. z o.o. | Usługi księgowe) + package cards ===== */
.ms-pricing,.ms-zal,.ms-steps{background-color:transparent}
.ms-pricing .bh{margin-bottom:28px}
.ms-switch{margin:0 auto 30px}
.ms-switch .ig-period{padding:11px 20px;gap:9px}
.ms-switch .kl-ic-sw svg{width:18px;height:18px}
.ms-switch .ms-ts{display:none}
.ms-switch .ig-switch-thumb,.ms-size .ig-switch-thumb{transition:transform .35s cubic-bezier(.2,.7,.2,1),width .35s cubic-bezier(.2,.7,.2,1),background-color .35s}
.ms-switch[data-sel="sp"] .ig-switch-thumb{background:#68E2B4}
.ms-switch[data-sel="acc"] .ig-switch-thumb{background:#FFA04F}
.ms-switch[data-sel="sp"] .ig-period.is-active{color:#06281C}
.ms-switch[data-sel="acc"] .ig-period.is-active{color:#2A1300}
.ms-switch .ig-period.is-active .kl-ic-sw{color:inherit}
.ms-switch .ig-period:focus-visible,.ms-size .ig-period:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.ms-panels{display:grid;grid-template-columns:minmax(0,1fr);max-width:1160px;margin:0 auto}
/* only the active tab takes space (no leftover height from the package panels on the Usługi księgowe tab); the shown panel fades in */
.ms-panel{grid-area:1/1;min-width:0}
.ms-panel:not(.is-on){display:none}
.ms-panel.is-on{animation:msPanIn .35s cubic-bezier(.2,.7,.2,1) both}
@keyframes msPanIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ms-size{display:none}
.ms-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}

/* package card (employee-tile language: glass, accent top line, icon tiles) */
.ms-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:26px 24px 24px;border-radius:28px;
  background:radial-gradient(120% 50% at 100% 0%,var(--acc-soft),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 50px rgba(0,0,0,.3),inset 0 3px 0 var(--acc)}
.ms-card-a,.ms-card-b{display:contents}
.ms-card-top{order:1;display:flex;align-items:center;gap:12px;margin-bottom:18px}
.ms-card-ic{flex:none;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
.ms-card-ic svg{width:23px;height:23px}
.ms-card-nm{min-width:0}
.ms-cat{margin:0 0 3px;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--b-muted,#9FB2BC)}
.ms-card h3{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em;color:#fff;line-height:1.1}
.ms-price{order:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.ms-price b{font-size:clamp(42px,3.6vw,54px);font-weight:750;letter-spacing:-.04em;line-height:1;color:#fff}
.ms-price span{font-size:14px;font-weight:600;color:var(--b-muted,#9FB2BC)}
.ms-was{order:3;display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:28px;margin:0 0 18px}
.ms-was s{font-size:14px;color:#7F94A0;text-decoration-thickness:1.5px}
.ms-save{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;color:#FFD2AA;background:rgba(255,160,79,.14);border:1px solid rgba(255,160,79,.42)}
.ms-save svg{width:14px;height:14px;color:#FFA04F}
.ms-base{order:4;display:flex;align-items:center;gap:8px;margin:0 0 12px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);
  font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--acc)}
.ms-base svg{width:16px;height:16px}
.ms-hl{order:5;display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border-radius:16px;background:var(--acc-soft);border:1px solid var(--acc-bd)}
.ms-hl > svg{flex:none;width:38px;height:38px;padding:9px;box-sizing:border-box;border-radius:12px;color:var(--acc);background:rgba(7,20,28,.5)}
.ms-hl span{display:flex;flex-direction:column;gap:2px;min-width:0}
.ms-hl b{font-size:15px;font-weight:800;color:#fff;letter-spacing:-.01em}
.ms-hl small{font-size:12.5px;color:var(--b-ink2,#D0DADF)}
.ms-feats{order:6;flex:1;margin:0 0 22px;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.ms-feats li{display:flex;align-items:center;gap:12px;min-width:0}
.ms-fi{flex:none;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#13B8EE;background:rgba(19,184,238,.12);border:1px solid rgba(19,184,238,.3)}
.ms-fi svg{width:17px;height:17px}
.ms-feats li:nth-child(3n+2) .ms-fi{color:#FFA04F;background:rgba(255,160,79,.12);border-color:rgba(255,160,79,.3)}
.ms-feats li:nth-child(3n) .ms-fi{color:#68E2B4;background:rgba(104,226,180,.12);border-color:rgba(104,226,180,.3)}
/* t89: feature icons in the card's own accent (S blue, M mint, L orange); bonus items (last two in M/L) and the months
   highlight get an inverted tile: solid accent, dark icon, soft glow. Paid add-ons stay muted grey. */
.ms-card .ms-feats li .ms-fi,.ms-card .ms-feats li:nth-child(3n+2) .ms-fi,.ms-card .ms-feats li:nth-child(3n) .ms-fi{color:var(--acc);background:var(--acc-soft);border-color:var(--acc-bd)}
.ms-s-m .ms-feats li:nth-last-child(-n+2):not(.is-paid) .ms-fi,.ms-s-l .ms-feats li:nth-last-child(-n+2):not(.is-paid) .ms-fi,
.ms-s-m .ms-hl > svg,.ms-s-l .ms-hl > svg{color:#07141C;background:var(--acc);border-color:var(--acc);box-shadow:0 4px 14px var(--acc-bd)}
.ms-ft{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:14px;line-height:1.35;color:var(--b-ink2,#D0DADF)}
.ms-ft b{color:#fff;font-weight:700}
.ms-ft small{font-size:12px;color:var(--b-muted,#9FB2BC)}
.ms-card .ms-feats li.is-paid .ms-fi{color:#9FB2BC;background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12)}
.ms-feats li.is-paid .ms-ft b{color:var(--b-ink2,#D0DADF)}
.ms-ft small.ms-paid{align-self:flex-start;padding:2px 8px;border-radius:999px;font-weight:700;color:#FFD2AA;background:rgba(255,160,79,.1);border:1px solid rgba(255,160,79,.3)}
.ms-buy{order:7;width:100%;min-height:50px;justify-content:center;margin-top:auto}
.ms-s-m .ms-buy{background:#68E2B4;border-color:#68E2B4;color:#06281C}
.ms-s-l .ms-buy{background:#FFA04F;border-color:#FFA04F;color:#2A1300}

/* Usługi księgowe: contact card (live texts + form fields) */
.ms-acc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:980px;margin:0 auto;border-radius:28px;overflow:hidden;
  background:radial-gradient(120% 60% at 0% 0%,rgba(255,160,79,.12),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.02));
  border:1px solid rgba(255,160,79,.35);box-shadow:0 22px 50px rgba(0,0,0,.3),inset 0 3px 0 #FFA04F}
.ms-acc-a{padding:30px}
.ms-acc-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#2A1300;background:linear-gradient(140deg,#FFC48F,#FFA04F);box-shadow:0 10px 26px rgba(255,160,79,.25);margin-bottom:16px}
.ms-acc-ic svg{width:24px;height:24px}
.ms-acc h3{margin:0 0 8px;font-size:clamp(26px,2.6vw,34px);font-weight:750;letter-spacing:-.03em;color:#fff}
.ms-acc-lead{margin:0 0 16px;font-size:15px;font-weight:700;color:#FFD2AA}
.ms-acc-pts{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.ms-acc-pts li{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.5;color:var(--b-ink2,#D0DADF)}
.ms-acc-pts li b{color:#fff}
.ms-acc-pts li:nth-child(2) .ms-fi{color:#68E2B4;background:rgba(104,226,180,.12);border-color:rgba(104,226,180,.3)}
.ms-acc-form{display:flex;flex-direction:column;gap:12px;padding:30px;background:rgba(255,255,255,.025);border-left:1px solid rgba(255,255,255,.08)}
.ms-acc-form label span{display:block;font-size:12.5px;font-weight:650;letter-spacing:.04em;color:var(--b-muted,#9FB2BC);margin:0 0 6px 4px}
.ms-acc-form input{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:13px 16px;border-radius:14px;color:#fff;color-scheme:dark;
  background:rgba(7,20,28,.6);border:1px solid rgba(255,255,255,.14);outline:none;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none;appearance:none}
.ms-acc-form input::placeholder{color:#8FA3AD}
.ms-acc-form input:focus{border-color:#FFA04F;box-shadow:0 0 0 4px rgba(255,160,79,.18)}
.ms-acc-legal{margin:2px 0 0;font-size:12px;line-height:1.5;color:var(--b-muted,#9FB2BC)}
.ms-acc-legal a,.ms-acc-mail a{color:#13B8EE;text-decoration:underline;text-underline-offset:2px}
.ms-acc-btn{width:100%;min-height:50px;justify-content:center;background:#FFA04F;border-color:#FFA04F;color:#2A1300}
.ms-acc-mail{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:13.5px;color:var(--b-muted,#9FB2BC)}
.ms-acc-mail svg{width:16px;height:16px;color:#13B8EE}
.ms-acc-mail a{position:relative}
.ms-acc-mail a::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;transform:translateY(-50%)}

/* ---- Duo + phones (≤1100): S | M | L switch, one centred card ---- */
@media (max-width:1100px){
  .ms-size{display:flex;width:100%;max-width:380px;margin:0 auto 16px}
  .ms-size .ig-period{flex:1 1 0;min-width:0;justify-content:center;padding:8px 4px}
  .ms-size .ig-period > span{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.1}
  .ms-size .ig-period b{font-size:15px;font-weight:800}
  .ms-size .ig-period small{display:block;font-size:11.5px;font-weight:650;opacity:.85}
  .ms-size[data-sel="m"] .ig-switch-thumb{background:#68E2B4}
  .ms-size[data-sel="l"] .ig-switch-thumb{background:#FFA04F}
  .ms-size[data-sel="m"] .ig-period.is-active{color:#06281C}
  .ms-size[data-sel="l"] .ig-period.is-active{color:#2A1300}
  .ms-panel:not(.is-on){display:none}   /* one card: no reserved height from the other panels */
  .ms-cards{display:block;max-width:880px;margin:0 auto}
  .ms-card:not(.is-on){display:none}
  .ms-card.is-on{animation:msIn .35s ease}
  .ms-was.is-empty{display:none}
}
@keyframes msIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---- Duo (640–1100). 860–1100: split card, left (name, price, old price, button anchored to the bottom, top-aligned)
   | right (package label, months highlight, features in 2 columns) so the card stays low and both sides balance.
   640–859: one column: head row (name | price), then the package contents in 2 columns, the button at the bottom. ---- */
@media (min-width:640px) and (max-width:1100px){
  .ms-pricing .bh{margin-bottom:22px}
  .ms-switch{margin-bottom:18px}
  .ms-card{border-radius:28px}
  .ms-base{padding-top:0;border-top:0;margin-bottom:12px}
  .ms-feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;align-content:start}
  .ms-feats li{align-items:flex-start}
  .ms-ft{padding-top:2px}
  .ms-buy{min-height:46px;box-shadow:0 8px 20px rgba(0,0,0,.25)}
  .ms-card .ms-buy:hover{box-shadow:0 10px 24px rgba(0,0,0,.3)}
  .ms-acc{max-width:880px}
}
@media (min-width:860px) and (max-width:1100px){
  .ms-card{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);padding:0;overflow:hidden}
  .ms-card-a{display:flex;flex-direction:column;justify-content:flex-start;padding:26px 24px 24px}
  .ms-card-b{display:block;padding:24px 24px 24px;background:rgba(255,255,255,.025);border-left:1px solid rgba(255,255,255,.08)}
  .ms-card-top{margin-bottom:20px}
  .ms-was{margin-bottom:18px}
  .ms-buy{margin-top:auto}
  .ms-hl{margin-bottom:16px}
}
@media (min-width:640px) and (max-width:859px){
  .ms-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"top price" "top was" "base base" "hl hl" "feats feats" "buy buy";
    column-gap:16px;padding:24px 22px 22px}
  .ms-card-a,.ms-card-b{display:contents}
  .ms-card-top{grid-area:top;align-self:center;margin:0}
  .ms-price{grid-area:price;justify-self:end;margin:0}
  .ms-was{grid-area:was;justify-self:end;margin:6px 0 0;min-height:0}
  .ms-base{grid-area:base;margin:18px 0 12px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}
  .ms-hl{grid-area:hl;margin:0 0 14px}
  .ms-feats{grid-area:feats}
  .ms-buy{grid-area:buy;margin-top:20px}
  .ms-card h3{font-size:20px}
  .ms-price b{font-size:44px}
  .ms-ft{font-size:13.5px}
  .ms-fi{width:32px;height:32px;border-radius:10px}
}
@media (min-width:640px) and (max-width:820px){
  .ms-switch .ig-period{padding:11px 14px;gap:7px}
  .ms-switch .ig-period > span{font-size:14px}
  .ms-acc-a,.ms-acc-form{padding:24px 20px}
}

/* ---- Phones (≤639): full-width switches, card stacked ---- */
@media (max-width:639px){
  .ms-pricing{padding-top:64px;padding-bottom:64px}
  .ms-pricing .bh{margin-bottom:18px}
  .ms-pricing .bh h2{font-size:30px;margin-bottom:10px}
  .ms-pricing .kl-mode-lead{font-size:15px}
  .ms-switch{width:100%;max-width:460px;margin:0 auto 12px}
  .ms-switch .ig-period{flex:1 1 0;min-width:0;justify-content:center;padding:11px 4px;gap:6px}
  .ms-switch .ms-tl,.ms-switch .kl-ic-sw{display:none}
  .ms-switch .ms-ts{display:inline;font-size:13.5px;line-height:1.2;font-weight:700;white-space:normal;text-align:center}
  .ms-size{max-width:460px}
  .ms-panels{max-width:460px}
  .ms-card{padding:22px 18px 18px;border-radius:24px;box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 3px 0 var(--acc)}
  .ms-card-top{margin-bottom:14px}
  .ms-card-ic{width:44px;height:44px;border-radius:14px}
  .ms-price b{font-size:44px}
  .ms-was{margin-bottom:14px}
  .ms-feats{margin-bottom:18px;gap:8px}
  .ms-ft{font-size:14px}
  .ms-fi{width:32px;height:32px;border-radius:10px}
  .ms-acc{grid-template-columns:minmax(0,1fr);border-radius:24px;box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 3px 0 #FFA04F}
  .ms-acc-a{padding:22px 18px 18px}
  .ms-acc-form{padding:18px;border-left:0;border-top:1px solid rgba(255,255,255,.08)}
}
@media (prefers-reduced-motion:reduce){.ms-panel.is-on{animation:none}.ms-panel,.ms-switch .ig-switch-thumb,.ms-size .ig-switch-thumb{transition:none}.ms-card.is-on{animation:none}}

/* ===== Zalety: 7 live advantages. Desktop: the shared ig-zal 4 + 3 grid; Duo: the shared foldable.css rules
   (2 / 3 columns, last tile centred); phones: one column. ===== */
.ms-zal .zt-ic svg{width:26px;height:26px}
.ms-zal .zt-ic.zt-cyan{background:rgba(19,184,238,.12);color:#13B8EE}
.ms-zal .zt-ic.zt-orange{background:rgba(255,160,79,.12);color:#FFA04F}
.ms-zal .zt-ic.zt-lime{background:rgba(104,226,180,.12);color:#68E2B4}
.ms-nw{white-space:nowrap}
