
:root{--navy:#071421;--navy2:#0a2633;--blue:#2563eb;--sky:#2dd4bf;--green:#087f78;--brand:#087f78;--brand-2:#0ea5a3;--amber:#d97706;--ink:#102131;--muted:#536779;--line:#d6e0e7;--soft:#f4f7fa;--surface:#fff;--surface-2:#edf3f7;--white:#fff;--focus:#facc15}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,sans-serif;color:var(--ink);background:#fff;font-size:14px;line-height:1.6}a{text-decoration:none;color:inherit}button{font:inherit}img,svg{max-width:100%;display:block}.skip-link{position:fixed;left:14px;top:-80px;z-index:9999;padding:10px 14px;background:#fff;color:#000;border:3px solid var(--focus);border-radius:8px}.skip-link:focus{top:14px}.wrap{width:min(1180px,calc(100% - 36px));margin:auto}
.topbar{background:#07112a;color:#dbeafe;font-size:12px}.topbar .wrap{display:flex;justify-content:space-between;gap:20px;padding:7px 0}.header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);box-shadow:0 6px 22px rgba(15,23,42,.08);backdrop-filter:blur(12px)}.header-row{min-height:72px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:12px;margin-right:auto}.brand-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--sky));color:#fff;font-weight:900;box-shadow:0 10px 25px rgba(29,78,216,.25)}.brand strong{display:block;font-size:15px}.brand span{display:block;color:var(--muted);font-size:11px}.nav{display:flex;align-items:center;gap:16px;font-size:13px;font-weight:700}.nav a:hover{color:var(--blue)}.login-group{display:flex;gap:8px}.login-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border-radius:10px;font-size:12px;font-weight:800;border:1px solid transparent}.login-btn.admin{background:var(--navy);color:#fff}.login-btn.trainer{background:#0369a1;color:#fff}.login-btn.user{background:var(--green);color:#052e16}.menu-btn{display:none;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:9px 12px;font-size:12px}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 20%,rgba(56,189,248,.25),transparent 30%),radial-gradient(circle at 15% 70%,rgba(34,197,94,.18),transparent 32%),linear-gradient(135deg,#07112a,#102454 62%,#123d69);color:#fff;padding:72px 0 58px}.hero-grid{display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:44px}.eyebrow{display:inline-flex;padding:7px 11px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.09);font-size:11px;font-weight:800;color:#dbeafe}.hero h1{font-size:clamp(28px,4vw,46px);line-height:1.12;margin:16px 0}.hero p{font-size:15px;color:#dbeafe;max-width:680px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:11px;font-size:12px;font-weight:900}.btn.primary{background:#22c55e;color:#052e16}.btn.secondary{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);color:#fff}.hero-visual{position:relative;min-height:430px;border:1px solid rgba(255,255,255,.18);border-radius:28px;background:#071421;box-shadow:0 28px 70px rgba(0,0,0,.28);overflow:hidden}.hero-visual>img{width:100%;height:430px;object-fit:cover;object-position:center;filter:saturate(.94) contrast(1.04)}.hero-visual>svg{display:none}.hero-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(2,6,23,.72));pointer-events:none}.hero-login-dock{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hero-login-card{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.95);color:var(--ink);box-shadow:0 12px 28px rgba(2,6,23,.18)}.hero-login-card strong{display:block;font-size:13px}.hero-login-card small{font-size:11px;color:var(--muted)}
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:-24px;position:relative;z-index:3}.fact{background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px;text-align:center;box-shadow:0 13px 34px rgba(15,23,42,.09)}.fact strong{display:block;font-size:22px;color:var(--blue)}.fact span{font-size:11px;color:var(--muted)}
section{padding:64px 0}.section-head{max-width:760px;margin:0 auto 30px;text-align:center}.section-head span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#dbeafe;color:#1e40af;font-size:11px;font-weight:900}.section-head h2,.module-card h3,.feature-box h3,.access-card strong,.cta h2{font-size:16px!important;line-height:1.35}.section-head h2{margin:12px 0 8px}.section-head p{color:var(--muted);margin:0;font-size:13px}
.intro-color{background:linear-gradient(135deg,#f8fafc 0%,#e0f2fe 50%,#ecfdf5 100%)}.split-section{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.media-card{position:relative;min-height:360px;border-radius:24px;overflow:hidden;background:#dbeafe;border:1px solid var(--line);box-shadow:0 20px 52px rgba(15,23,42,.11)}.media-card>img{width:100%;height:360px;object-fit:cover;object-position:center}.media-card>svg{display:none}.split-copy h2{font-size:16px;margin:0 0 12px}.split-copy p{color:var(--muted);font-size:13px}.mini-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.mini-point{padding:12px;border-radius:13px;background:#fff;border:1px solid var(--line);font-size:12px;box-shadow:0 8px 20px rgba(15,23,42,.05)}
.modules{position:relative;overflow:hidden;background:radial-gradient(circle at 10% 15%,rgba(56,189,248,.20),transparent 28%),radial-gradient(circle at 90% 85%,rgba(34,197,94,.16),transparent 30%),linear-gradient(135deg,#07142f 0%,#102454 56%,#0b3b4f 100%);color:#fff}.modules .section-head h2,.modules .section-head p{color:#fff}.modules .section-head span{background:rgba(56,189,248,.16);color:#bae6fd;border:1px solid rgba(125,211,252,.28)}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.module-card{position:relative;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,249,255,.96));border:1px solid rgba(186,230,253,.9);border-radius:18px;padding:20px;box-shadow:0 18px 38px rgba(2,6,23,.22);overflow:hidden;color:var(--ink)}.module-card:nth-child(4),.module-card:nth-child(5){grid-column:span 1}.module-art{height:120px;margin:-20px -20px 16px;background:linear-gradient(135deg,#dbeafe,#cffafe);display:grid;place-items:center;border-bottom:1px solid rgba(125,211,252,.55)}.module-art svg{width:100%;height:120px}.module-number{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--blue);color:#fff;font-size:12px;font-weight:900;margin-bottom:10px}.module-card h3{margin:0 0 8px}.module-card ul{margin:0;padding-left:18px;color:var(--muted);font-size:12px}.module-card li{margin:5px 0}
.learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.feature-box{border-radius:22px;padding:24px;background:linear-gradient(145deg,#07142f,#1e3a8a);color:#fff;box-shadow:0 20px 48px rgba(15,23,42,.18);border:1px solid rgba(125,211,252,.18)}.feature-box.light{background:linear-gradient(145deg,#064e3b,#0f766e);color:#fff;border:1px solid rgba(110,231,183,.35)}.feature-box h3{margin-top:0}.check-list{list-style:none;padding:0;margin:15px 0 0}.check-list li{position:relative;padding:8px 0 8px 26px;border-bottom:1px solid rgba(255,255,255,.13);font-size:12px}.feature-box.light .check-list li{border-color:rgba(255,255,255,.14)}.check-list li:before{content:'✓';position:absolute;left:0;color:#4ade80;font-weight:900}.feature-box.light .check-list li:before{color:#86efac}
.effects-section{background:linear-gradient(135deg,#eef2ff 0%,#f5f3ff 48%,#ecfeff 100%)}.tools{position:relative;overflow:hidden;background:radial-gradient(circle at 85% 20%,rgba(249,115,22,.18),transparent 28%),radial-gradient(circle at 15% 85%,rgba(37,99,235,.14),transparent 30%),linear-gradient(135deg,#fff7ed 0%,#fef3c7 48%,#eff6ff 100%)}.tool-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.tool{padding:14px 10px;border:1px solid rgba(255,255,255,.7);border-radius:14px;text-align:center;background:linear-gradient(145deg,#ffffff,#f8fafc);font-size:12px;font-weight:800;box-shadow:0 12px 26px rgba(15,23,42,.10)}.tool-icon{width:34px;height:34px;margin:0 auto 8px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.22)}
.access{position:relative;overflow:hidden;background:radial-gradient(circle at 12% 18%,rgba(34,197,94,.18),transparent 28%),radial-gradient(circle at 88% 82%,rgba(56,189,248,.20),transparent 32%),linear-gradient(135deg,#052e16 0%,#0f766e 52%,#164e63 100%);color:#fff}.access .section-head h2,.access .section-head p{color:#fff}.access .section-head span{background:rgba(255,255,255,.12);color:#d1fae5;border:1px solid rgba(255,255,255,.2)}.access-photo{margin:0 0 20px;border:1px solid rgba(255,255,255,.25);border-radius:22px;overflow:hidden;box-shadow:0 22px 50px rgba(2,6,23,.28)}.access-photo img{width:100%;height:360px;object-fit:cover;object-position:center}.access-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.access-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:17px;padding:19px;backdrop-filter:blur(8px);box-shadow:0 16px 34px rgba(2,6,23,.22)}.access-card strong{display:block;margin-bottom:7px}.access-card span{font-size:12px;color:#d1fae5}
.cta{background:linear-gradient(135deg,#07112a,#1e3a8a);color:#fff;text-align:center}.cta h2{margin:0 0 10px}.cta p{max-width:720px;margin:0 auto 22px;color:#dbeafe;font-size:13px}.cta-login{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.footer{background:#020617;color:#cbd5e1;padding:32px 0}.footer-row{display:flex;justify-content:space-between;gap:25px;align-items:center}.footer a{color:#fff}.footer small{display:block;color:#94a3b8;margin-top:5px;font-size:11px}
a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.btn:hover,.login-btn:hover,.hero-login-card:hover,.tool:hover,.module-card:hover{transform:translateY(-2px);transition:.2s;box-shadow:0 12px 28px rgba(15,23,42,.16)}
@media(max-width:980px){.nav{display:none;position:absolute;left:18px;right:18px;top:74px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;box-shadow:0 18px 50px rgba(15,23,42,.18);flex-direction:column;align-items:stretch}.nav.open{display:flex}.menu-btn{display:block}.header-row>.login-group{display:none}.hero-grid,.learning-grid,.split-section{grid-template-columns:1fr}.facts{grid-template-columns:repeat(2,1fr)}.module-grid{grid-template-columns:repeat(2,1fr)}.tool-grid{grid-template-columns:repeat(3,1fr)}.access-grid{grid-template-columns:1fr}.hero{padding-top:58px}.hero-visual,.hero-visual>img{min-height:360px;height:360px}}
@media(max-width:640px){.topbar{display:none}.wrap{width:min(100% - 24px,1180px)}.brand span{display:none}.hero{padding:48px 0}.hero h1{font-size:30px}.hero-actions,.cta-login{flex-direction:column}.btn{width:100%}.facts,.module-grid,.tool-grid,.mini-points{grid-template-columns:1fr}.hero-login-dock{grid-template-columns:1fr}.hero-visual,.hero-visual>img{min-height:460px;height:460px}.media-card>img,.access-photo img{height:280px}.footer-row{align-items:flex-start;flex-direction:column}}

/* Profesjonalne powiększanie elementów po najechaniu */
@media (hover:hover) and (pointer:fine){
  .module-card,.feature-box,.tool,.access-card,.mini-point,.fact,.hero-login-card,.media-card,.hero-visual,.btn,.login-btn{
    position:relative;
    transform:translateZ(0) scale(1);
    transform-origin:center;
    will-change:transform,box-shadow,filter;
    transition:transform .34s cubic-bezier(.2,.8,.2,1),box-shadow .34s ease,border-color .34s ease,filter .34s ease;
  }
  .module-card:hover{
    z-index:12;
    transform:translateY(-9px) scale(1.045);
    box-shadow:0 28px 68px rgba(2,6,23,.36);
    border-color:#7dd3fc;
  }
  .module-card:hover .module-art svg{transform:scale(1.07)}
  .module-art svg{transition:transform .45s cubic-bezier(.2,.8,.2,1);transform-origin:center}

  .feature-box:hover{
    z-index:8;
    transform:translateY(-7px) scale(1.035);
    box-shadow:0 30px 70px rgba(15,23,42,.30);
    filter:saturate(1.08);
  }
  .tool:hover{
    z-index:8;
    transform:translateY(-7px) scale(1.085);
    box-shadow:0 22px 48px rgba(15,23,42,.24);
    border-color:#60a5fa;
  }
  .tool:hover .tool-icon{transform:scale(1.16) rotate(-4deg)}
  .tool-icon{transition:transform .34s cubic-bezier(.2,.8,.2,1),filter .34s ease;transform-origin:center}

  .access-card:hover{
    z-index:8;
    transform:translateY(-7px) scale(1.05);
    box-shadow:0 24px 54px rgba(2,6,23,.32);
    border-color:rgba(255,255,255,.72);
    filter:brightness(1.07);
  }
  .mini-point:hover,.fact:hover{
    z-index:7;
    transform:translateY(-5px) scale(1.055);
    box-shadow:0 18px 38px rgba(15,23,42,.18);
    border-color:#93c5fd;
  }
  .hero-login-card:hover{
    z-index:9;
    transform:translateY(-6px) scale(1.055);
    box-shadow:0 22px 48px rgba(2,6,23,.32);
  }
  .media-card:hover,.hero-visual:hover{
    z-index:6;
    transform:translateY(-6px) scale(1.025);
    box-shadow:0 34px 86px rgba(2,6,23,.34);
  }
  .media-card:hover>img,.hero-visual:hover>img,.access-photo:hover img{transform:scale(1.025)}
  .media-card>img,.hero-visual>img,.access-photo img{transition:transform .55s cubic-bezier(.2,.8,.2,1);transform-origin:center}

  .btn:hover,.login-btn:hover{
    transform:translateY(-3px) scale(1.045);
    box-shadow:0 14px 30px rgba(2,6,23,.28);
    filter:brightness(1.08);
  }
  .nav>a{display:inline-block;transition:transform .25s ease,color .25s ease}
  .nav>a:hover{transform:scale(1.08)}
}

/* Analogiczny efekt dla obsługi klawiaturą */
.module-card:focus-within,.feature-box:focus-within,.access-card:focus-within,.hero-visual:focus-within{
  z-index:12;
  transform:translateY(-6px) scale(1.025);
}


/* Pasek dostępności, motyw ciemny, kontrast i język */
.access-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:7px;padding:7px max(20px,calc((100% - 1180px)/2));background:#030b14;color:#fff;font-size:12px;position:relative;z-index:1100}
.access-toolbar span{font-weight:700}.access-toolbar button{min-height:34px;padding:6px 10px;border:1px solid #6f8498;border-radius:7px;background:#132536;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.access-toolbar button:hover,.access-toolbar button:focus-visible,.access-toolbar button[aria-pressed=true]{background:#fff;color:#071421}
body.dark{--ink:#f3f8fb;--muted:#bdcbd6;--line:#31485a;--soft:#0b1724;background:#07111d;color:#f3f8fb;color-scheme:dark}
body.dark .header{background:rgba(7,20,33,.97);border-color:#31485a}body.dark .brand strong,body.dark .nav a{color:#f3f8fb}body.dark .brand span{color:#9fb2c0}
body.dark .intro-color{background:linear-gradient(135deg,#081421 0%,#0d2230 50%,#0d2c28 100%)}body.dark .split-copy p,body.dark .section-head p{color:#bdcbd6}
body.dark .media-card,body.dark .mini-point,body.dark .fact,body.dark .tool{background:#0f2030;color:#f3f8fb;border-color:#31485a}body.dark .fact span,body.dark .module-card ul,body.dark .hero-login-card small,body.dark .access-card span{color:#bdcbd6}
body.dark .effects-section{background:linear-gradient(135deg,#0c1730,#171a37 48%,#0a232b)}body.dark .tools{background:radial-gradient(circle at 85% 20%,rgba(249,115,22,.14),transparent 28%),radial-gradient(circle at 15% 85%,rgba(37,99,235,.16),transparent 30%),linear-gradient(135deg,#24180e 0%,#29220d 48%,#0c1a2c 100%)}body.dark .tool{background:linear-gradient(145deg,#102536,#0b1724)}
body.dark .footer{background:#030b14}
body.contrast{--ink:#fff;--muted:#fff;--line:#fff;background:#000!important;color:#fff!important}
body.contrast *{box-shadow:none!important;text-shadow:none!important}
body.contrast :is(.header,.hero,.intro-color,.modules,.effects-section,.tools,.access,.cta,.footer,.module-card,.feature-box,.tool,.access-card,.mini-point,.fact,.media-card,.hero-visual,.hero-login-card){background:#000!important;color:#fff!important;border-color:#fff!important}
body.contrast :is(a,button){color:#ff0!important;border-color:#ff0!important;text-decoration:underline}
body.contrast :is(.section-head p,.split-copy p,.module-card ul,.fact span,.hero-login-card small,.access-card span){color:#fff!important}
body.contrast :focus-visible{outline-color:#ff0!important}
body.font-large{font-size:16px}body.font-large .section-head h2,body.font-large .module-card h3,body.font-large .feature-box h3,body.font-large .access-card strong,body.font-large .cta h2{font-size:18px!important}body.font-large p,body.font-large li,body.font-large a,body.font-large button,body.font-large span{font-size:14px!important}

body.dark .nav{background:#0f2030;border-color:#31485a}
body.dark .module-card{background:linear-gradient(145deg,#122536,#0d1b2a);color:#f3f8fb;border-color:#3b82a0}
body.dark .module-card h3,body.dark .tool,body.dark .mini-point,body.dark .fact,body.dark .hero-login-card{color:#f3f8fb}
body.dark .module-art{filter:brightness(.82) saturate(.9)}
body.dark .topbar{background:#020812}
body.dark .access-toolbar{background:#020812}
body.contrast .access-toolbar{background:#000!important;border-bottom:2px solid #fff}
body.contrast .access-toolbar button{background:#000!important;color:#ff0!important;border:2px solid #ff0!important}
@media(max-width:640px){.access-toolbar{justify-content:center;flex-wrap:wrap;padding:7px 10px}.access-toolbar span{width:100%;text-align:center}}

/* Spójna typografia i identyfikacja wizualna Platformy 360 */
body{font-size:14px;line-height:1.6}
main :is(h1,h2,h3,h4,h5,h6),footer :is(h1,h2,h3,h4,h5,h6){font-size:16px!important;line-height:1.35;letter-spacing:0}
.hero p,.section-head p,.split-copy p,.cta p{font-size:13px}
.brand-logo{display:block;width:44px;height:44px;flex:0 0 44px;border-radius:14px;box-shadow:0 10px 25px rgba(29,78,216,.25)}
.module-card{padding:0}
.module-link{display:block;height:100%;padding:20px;color:inherit;text-decoration:none}
.module-link .module-art{margin:-20px -20px 16px}
.module-card:nth-child(1) .module-art{background:url('assets/module-1-hero.png') center/cover no-repeat}.module-card:nth-child(2) .module-art{background:url('assets/module-2-hero.png') center/cover no-repeat}.module-card:nth-child(3) .module-art{background:url('assets/module-3-hero.png') center/cover no-repeat}.module-card:nth-child(4) .module-art{background:url('assets/module-4-hero.png') center/cover no-repeat}.module-card:nth-child(5) .module-art{background:url('assets/module-5-hero.png') center/cover no-repeat}.module-card .module-art svg{opacity:0}
.module-link:after{content:'Przejdź do modułu →';display:inline-flex;margin-top:14px;padding:8px 11px;border-radius:9px;background:var(--blue);color:#fff;font-size:12px;font-weight:900}
.module-link:hover:after,.module-link:focus-visible:after{background:var(--navy)}
.footer{padding:44px 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px;padding-bottom:32px}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}.footer-brand img{width:44px;height:44px}.footer-brand strong,.footer-col h2{display:block;margin:0 0 10px;color:#fff;font-size:16px!important}.footer-col a,.footer-col span{display:block;margin:7px 0;color:#cbd5e1;font-size:12px}.footer-col a:hover{color:#67e8f9}.footer-note{max-width:360px;color:#94a3b8;font-size:12px}.footer-bottom{padding:16px 0;border-top:1px solid #26364d;color:#94a3b8;font-size:11px;text-align:center}

/* Paleta zgodna z glowna strona Platformy Komputerowe 360 */
body{background:var(--soft);color:var(--ink)}
.topbar{background:#071421;color:#d8e6ec}
.header{background:rgba(255,255,255,.97);border-color:var(--line);box-shadow:0 10px 32px rgba(7,20,33,.09)}
.brand-mark,.module-number,.tool-icon{background:linear-gradient(135deg,var(--brand),var(--blue))}
.nav a:hover{color:var(--brand)}
.login-btn.admin{background:var(--navy);color:#fff}.login-btn.user,.btn.primary{background:#2dd4bf;color:#063c3a}
.hero{background:radial-gradient(circle at 82% 18%,rgba(45,212,191,.22),transparent 31%),radial-gradient(circle at 16% 76%,rgba(37,99,235,.18),transparent 31%),linear-gradient(125deg,#071421 0%,#0a2633 56%,#0d4d52 100%)}
.hero p,.cta p{color:#d8e6ec}.facts .fact{border-color:var(--line);box-shadow:0 14px 38px rgba(7,20,33,.10)}.fact strong{color:var(--brand)}
.section-head span{background:#d8f4f1;color:#075e59}.intro-color{background:linear-gradient(135deg,#f4f7fa 0%,#e7f2f2 55%,#edf3f7 100%)}
.media-card{background:linear-gradient(135deg,#dcecf0,#e5f7f4)}
.modules{background:radial-gradient(circle at 10% 15%,rgba(45,212,191,.18),transparent 28%),radial-gradient(circle at 90% 85%,rgba(37,99,235,.17),transparent 30%),linear-gradient(135deg,#071421 0%,#0a2633 56%,#0d4d52 100%)}
.modules .section-head span{background:rgba(45,212,191,.14);color:#99f6e4;border-color:rgba(94,234,212,.3)}
.module-card{background:linear-gradient(145deg,#fff,#f3f8fa);border-color:#c8dce2}.module-link:after{background:var(--brand)}.module-link:hover:after,.module-link:focus-visible:after{background:var(--blue)}
.effects-section{background:var(--surface-2)}.feature-box{background:linear-gradient(145deg,#071421,#173e6b)}.feature-box.light{background:linear-gradient(145deg,#087f78,#0a5964)}
.tools{background:radial-gradient(circle at 84% 18%,rgba(217,119,6,.14),transparent 28%),radial-gradient(circle at 14% 86%,rgba(14,165,163,.15),transparent 30%),linear-gradient(135deg,#fff8ed 0%,#f4f7fa 48%,#e8f2f5 100%)}
.access{background:radial-gradient(circle at 12% 18%,rgba(45,212,191,.18),transparent 28%),radial-gradient(circle at 88% 82%,rgba(37,99,235,.18),transparent 32%),linear-gradient(135deg,#071421 0%,#0a5964 52%,#173e6b 100%)}
.cta{background:linear-gradient(120deg,#087f78,#0a5964 56%,#173e6b)}
.footer{background:#06111c}

/* Pomoc techniczna na dole strony */
.support-section{padding:56px 0;background:var(--soft)}
.support-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:center;gap:36px;padding:38px 42px;border-radius:28px;background:linear-gradient(120deg,#087f78,#0a5964 56%,#173e6b);color:#fff;box-shadow:0 22px 58px rgba(7,20,33,.18)}
.support-kicker{display:inline-flex;margin-bottom:10px;padding:6px 10px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.10);color:#ccfbf1;font-size:11px;font-weight:900;letter-spacing:.04em}
.support-panel h2{margin:0 0 10px;font-size:16px!important}.support-panel p{max-width:690px;margin:0;color:#e2f2f2;font-size:13px}.support-availability{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.support-availability span{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.11);font-size:11px;color:#fff}
.support-actions{display:grid;gap:9px}.support-actions :is(a,button){display:flex;align-items:center;justify-content:center;min-height:43px;padding:10px 14px;border:1px solid rgba(255,255,255,.42);border-radius:10px;background:rgba(255,255,255,.09);color:#fff;font:inherit;font-size:12px;font-weight:900;text-align:center;cursor:pointer}.support-actions :is(a,button):first-child{border-color:#fbbf24;background:#fbbf24;color:#362300}.support-actions :is(a,button):hover,.support-actions :is(a,button):focus-visible{transform:translateY(-2px);background:#fff;color:#071421}
.contact-modal{position:fixed;z-index:6000;inset:0;display:none;place-items:center;padding:22px;background:rgba(2,9,16,.8);backdrop-filter:blur(8px)}.contact-modal.open{display:grid}.contact-dialog{position:relative;width:min(760px,96vw);max-height:92vh;overflow:auto;padding:34px;border:1px solid #7b8e9c;border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 35px 120px rgba(0,0,0,.55)}.contact-dialog .support-kicker{background:#d8f4f1;color:#075e59;border-color:#b8e7e2}.contact-dialog h2{margin:0 48px 8px 0;font-size:16px!important}.modal-close{position:absolute;right:18px;top:17px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface-2);color:var(--ink);font-size:24px;cursor:pointer}.contact-intro{margin:0 45px 22px 0;color:var(--muted);font-size:13px}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.contact-form label{display:grid;gap:6px;font-size:12px;font-weight:800}.contact-form :is(input,select,textarea){width:100%;min-height:46px;padding:11px 12px;border:1px solid #8295a4;border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px}.contact-form textarea{min-height:125px;resize:vertical}.contact-form .full{grid-column:1/-1}.contact-form .privacy{display:flex;align-items:flex-start;gap:9px;font-weight:400}.contact-form .privacy input{width:20px;min-height:20px;margin-top:2px;flex:0 0 20px}.contact-form .privacy label{display:block;font-weight:400}.contact-submit{grid-column:1/-1;min-height:50px;border:0;border-radius:10px;background:linear-gradient(90deg,var(--brand),var(--blue));color:#fff;font-weight:900;cursor:pointer}.contact-status{grid-column:1/-1;padding:12px;border-radius:9px;font-weight:800}.contact-status.success{background:#dcfce7;color:#166534}.contact-status.error{background:#fee2e2;color:#991b1b}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.dark .contact-dialog,body.dark .contact-form :is(input,select,textarea){background:#0f2030;color:#f3f8fb;border-color:#64798a}body.dark .modal-close{background:#132536;color:#fff}body.dark .contact-intro{color:#bdcbd6}body.contrast .contact-modal,body.contrast .contact-dialog{background:#000!important;color:#fff!important;border-color:#fff!important}
body.dark .support-section{background:#07111d}body.contrast .support-section,body.contrast .support-panel{background:#000!important;color:#fff!important;border:1px solid #fff!important}
@media(max-width:760px){.support-panel{grid-template-columns:1fr;padding:30px 24px}.support-actions{grid-template-columns:1fr}.contact-dialog{padding:26px 18px}.contact-form{grid-template-columns:1fr}.contact-form .full,.contact-submit{grid-column:auto}}
body.font-large{font-size:16px}body.font-large main :is(h1,h2,h3,h4,h5,h6),body.font-large footer :is(h1,h2,h3,h4,h5,h6),body.font-large .section-head h2,body.font-large .module-card h3,body.font-large .feature-box h3,body.font-large .access-card strong,body.font-large .cta h2{font-size:16px!important}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.footer-grid{grid-template-columns:1fr}}

/* Wysoki kontrast zgodny ze wzorcem Platformy Edukacyjnej AR */
body.contrast{
  --ink:#f0f0f0;
  --muted:#ffda85;
  --line:#ffb347;
  --soft:#1a1a2e;
  --surface:#16213e;
  --surface-2:#0f3460;
  background:#1a1a2e!important;
  color:#f0f0f0!important;
  color-scheme:dark;
}
body.contrast :is(.access-toolbar,.topbar,.header,.hero,.intro-color,.modules,.effects-section,.tools,.access,.support-section,.footer){
  background:#1a1a2e!important;
  color:#f0f0f0!important;
  border-color:#ffb347!important;
}
body.contrast :is(.header,.access-toolbar,.topbar){background:#0f3460!important}
body.contrast :is(.cta,.support-panel){
  background:#0f3460!important;
  color:#fff!important;
  border:1px solid #ffb347!important;
}
body.contrast :is(.module-card,.feature-box,.tool,.access-card,.mini-point,.fact,.media-card,.hero-visual,.hero-login-card,.contact-dialog){
  background:#16213e!important;
  color:#fff!important;
  border:1px solid #ffb347!important;
  box-shadow:none!important;
}
body.contrast :is(.module-card,.tool,.access-card,.mini-point,.fact):nth-child(even){background:#0f3460!important}
body.contrast :is(.module-card,.feature-box,.tool,.access-card,.mini-point,.fact,.hero-login-card,.media-card,.hero-visual):hover{
  background-color:#1e2a78!important;
  border-color:#ffa500!important;
  box-shadow:0 0 14px rgba(255,165,0,.55)!important;
}
body.contrast :is(h1,h2,h3,h4,h5,h6,strong,.brand strong,.footer-brand strong,.footer-col h2){color:#fff!important}
body.contrast :is(p,li,small,.section-head p,.split-copy p,.module-card ul,.fact span,.hero-login-card small,.access-card span,.footer-note,.footer-col span){color:#ffda85!important}
body.contrast :is(.brand span,.eyebrow,.section-head>span,.support-kicker,.support-availability span){
  background:#1e2a78!important;
  color:#fff!important;
  border:1px solid #ffb347!important;
}
body.contrast :is(.module-number,.tool-icon){
  background:#ffa500!important;
  color:#16213e!important;
  border:2px solid #fff!important;
}
body.contrast :is(a,button){
  color:#fff!important;
  border-color:#fff!important;
  text-decoration:none!important;
}
body.contrast :is(.nav>a,.footer a){color:#fff!important}
body.contrast :is(.nav>a,.footer a):hover{color:#ffa500!important}
body.contrast :is(.btn.primary,.login-btn.user,.contact-submit,.support-actions :first-child){
  background:#ffa500!important;
  color:#16213e!important;
  border:2px solid #fff!important;
}
body.contrast .module-link:after{
  background:#ffa500!important;
  color:#16213e!important;
  border:2px solid #fff!important;
}
body.contrast :is(.btn.secondary,.login-btn.admin,.menu-btn){
  background:#0ea5a3!important;
  color:#fff!important;
  border:2px solid #fff!important;
}
body.contrast :is(.access-toolbar button,.support-actions a,.support-actions button){
  background:#1e2a78!important;
  color:#fff!important;
  border:2px solid #ffb347!important;
}
body.contrast :is(.btn,.login-btn,.access-toolbar button,.support-actions a,.support-actions button,.contact-submit):hover,
body.contrast :is(.btn,.login-btn,.access-toolbar button,.support-actions a,.support-actions button,.contact-submit):focus-visible,
body.contrast .module-link:hover:after,
body.contrast .module-link:focus-visible:after{
  background:#ffa500!important;
  color:#16213e!important;
  border-color:#fff!important;
  box-shadow:0 0 12px rgba(255,165,0,.55)!important;
}
body.contrast .contact-modal{background:rgba(26,26,46,.94)!important}
body.contrast .contact-form :is(input,select,textarea){
  background:#1e2a78!important;
  color:#fff!important;
  border:2px solid #ffb347!important;
}
body.contrast .contact-form :is(input,textarea)::placeholder{color:#e5e7eb!important;opacity:1}
body.contrast .contact-form :is(input,select,textarea):focus{border-color:#ffa500!important;outline:2px solid #ffa500!important}
body.contrast .contact-form label,body.contrast .contact-intro{color:#ffda85!important}
body.contrast .modal-close{background:#e21f42!important;color:#fff!important;border:2px solid #fff!important}
body.contrast .contact-status.success{background:#166534!important;color:#fff!important;border:1px solid #86efac!important}
body.contrast .contact-status.error{background:#991b1b!important;color:#fff!important;border:1px solid #fca5a5!important}
body.contrast .footer-bottom{border-color:#ffb347!important;color:#ffda85!important}
body.contrast :is(img,svg,.module-art,.media-card svg,.hero-visual svg){filter:none!important}
body.contrast .module-art{border-color:#ffb347!important}
body.contrast :focus-visible{outline:3px solid #ffa500!important;outline-offset:3px}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

h1,h2,h3,h4,h5,h6{font-size:16px!important;line-height:1.45!important}
.ec-topics{list-style:none;padding:0;margin:16px 0}.ec-topics li{border-bottom:1px solid #d3e1e7;padding:9px 0}.ec-topics a{display:block;font-size:13px;line-height:1.55;color:#123e54}.ec-topics a:hover{text-decoration:underline}.ec-module-body{padding:20px}.ec-module-body>p{font-size:13px;line-height:1.75;color:#465f6d}.ec-module-image{width:100%;height:200px;object-fit:cover;display:block}.ec-module-meta{font-size:12px;color:#456171;margin:0 0 10px}.module-card .ec-open{display:block;text-align:center;background:#0b7777;color:#fff;padding:12px;border-radius:9px;font-size:13px;font-weight:700}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.module-card:last-child{grid-column:auto}.brand-mark{background:#071421!important;color:#2dd4bf!important}.facts{position:relative}.ec-test-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #b6d8d9;border-radius:15px;background:#edf8f8;margin:28px auto}.ec-test-row p{margin:5px 0;font-size:13px}.ec-test-row .btn{background:#087b78;color:#fff}.ec-project{padding:24px 0;border-top:1px solid #b9d2d8;font-size:12px;color:#31515e}.ec-project p{line-height:1.7}.ec-support{padding:25px;background:#eaf4f5;border-radius:16px}.ec-support a{display:inline-block;margin:6px 18px 6px 0;color:#07545a}.dark .ec-module-body>p,.dark .ec-module-meta,.dark .ec-topics a{color:#c4d9e3}.dark .ec-test-row,.dark .ec-support{background:#102936;color:#fff}.dark .ec-support a,.dark .ec-project{color:#c4d9e3}.contrast .ec-module-body p,.contrast .ec-module-meta,.contrast .ec-topics a{color:#ffda85!important}.contrast .ec-test-row,.contrast .ec-support{background:#16213e;color:white}.font-large p,.font-large li,.font-large .ec-topics a{font-size:16px!important}.ec-panel-links{display:flex;gap:8px;flex-wrap:wrap}.header-row{gap:15px}.nav{gap:14px}
@media(max-width:1050px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.module-grid{grid-template-columns:1fr}.ec-test-row{flex-direction:column;align-items:stretch}.hero-login-dock{grid-template-columns:1fr}.hero-visual{min-height:440px}.hero-visual>img{height:440px}.hero-grid{gap:25px}}
.brand>.brand-mark{display:grid;place-items:center;font-size:16px;line-height:1;width:44px;height:44px;flex:0 0 44px}#moduly,#efekty,#pomoc{scroll-margin-top:100px}

.login-btn.user{color:#fff}.module-card{padding:0;display:flex;flex-direction:column}.ec-module-body{display:flex;flex-direction:column;flex:1}.ec-topics{flex:1}.ec-module-image{object-position:center 45%}.hero h1{max-width:520px}.hero .eyebrow{color:#dbeafe}.split-copy>.eyebrow{color:#07575a;background:#d9f0ee;border-color:#a6d6d2}.ec-topics{padding-left:0!important}.brand>span:last-child{display:block}@media(max-width:640px){.brand strong{font-size:13px}.brand>span:last-child>span{display:block}.hero-login-dock{position:relative;left:auto;right:auto;bottom:auto;margin:12px}.hero-visual,.hero-visual>img{height:auto;min-height:0}.hero-visual>img{aspect-ratio:3/2}.hero-visual:after{display:none}}
