/* ANM Access — wspólny layout i warstwa wizualna */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:280px;background:var(--bg);color:var(--text)}
img,svg{max-width:100%;height:auto}
a{color:var(--gold);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{text-decoration-thickness:.14em}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
[hidden]{display:none!important}
.shell{width:min(1320px,calc(100% - 32px));margin-inline:auto}
.icon{width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.skip-link{position:fixed;z-index:100;top:12px;left:12px;max-width:calc(100vw - 24px);transform:translateY(-180%);padding:.65rem .9rem;border:3px solid var(--focus);border-radius:.5rem;background:var(--surface);color:var(--text);font-weight:700}
.skip-link:focus{transform:none}

/* HEADER */
.site-header{position:relative;z-index:20;background:var(--surface);border-top:4px solid var(--gold);border-bottom:1px solid var(--border)}
.header-primary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:5rem;padding-block:.8rem}
.brand{display:inline-flex;align-items:center;gap:.75rem;min-width:0;color:var(--text);text-decoration:none}
.brand img{width:2.8rem;height:2.8rem;flex:none}
.brand-copy{min-width:0;line-height:1.08}
.brand-copy strong{display:block;font-size:1.08rem;font-weight:650;letter-spacing:.01em}
.brand-copy span{display:block;margin-top:.2rem;color:var(--muted);font-weight:400}
.accessibility-toolbar{margin-left:auto}

.main-nav{background:var(--bg);border-top:1px solid var(--border)}
.nav-shell{display:flex;align-items:center;gap:.75rem}
.main-nav-list{display:flex;align-items:stretch;gap:.2rem;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.main-nav a{position:relative;display:flex;align-items:center;min-height:3.25rem;padding:.7rem .9rem;color:var(--text);font-weight:600;text-decoration:none;border-radius:.35rem}
.main-nav a::after{content:"";position:absolute;left:.9rem;right:.9rem;bottom:.35rem;height:3px;background:transparent}
.main-nav a:hover{background:var(--surface-alt)}
.main-nav a[aria-current="page"]{color:var(--text);background:transparent}
.main-nav a[aria-current="page"]::after{background:var(--gold)}
.nav-toggle{display:none;align-items:center;gap:.5rem;min-height:44px;padding:.55rem .8rem;border:2px solid var(--gold);border-radius:.45rem;background:var(--surface);color:var(--text);font-weight:700}

/* HERO */
main{display:block}
.page-hero{position:relative;overflow:hidden;padding:clamp(3rem,7vw,6.2rem) 0;border-bottom:1px solid var(--border);background:var(--surface)}
.page-hero::after{content:"";position:absolute;inset:auto -12% -52% auto;width:28rem;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--gold) 42%,transparent);border-radius:50%;pointer-events:none}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(22rem,.92fr);gap:clamp(2rem,6vw,5rem);align-items:center}
.hero-copy{position:relative;z-index:1}
.kicker{display:block;min-width:0;max-width:100%;margin:0 0 .9rem;color:var(--gold);font-weight:650;letter-spacing:.055em;text-transform:uppercase;white-space:normal;overflow-wrap:anywhere}
.kicker::before{content:"";display:inline-block;width:1.5rem;height:2px;margin-right:.55rem;vertical-align:middle;background:var(--gold)}
.page-hero h1{max-width:20ch;margin:0 0 1rem}
.hero-lead{max-width:66ch;margin:0;color:var(--text-2)}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.6rem}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:3rem;padding:.65rem 1rem;border:2px solid var(--gold);border-radius:.5rem;font-weight:700;text-decoration:none;text-align:center}
.button-primary{background:var(--gold);color:var(--on-gold)}
.button-secondary{background:var(--surface);color:var(--gold)}
.button:hover{background:var(--text);border-color:var(--text);color:var(--bg)}
.hero-meta{display:flex;gap:.55rem 1rem;flex-wrap:wrap;margin:1.25rem 0 0;padding:0;list-style:none;color:var(--muted)}
.hero-meta li{display:inline-flex;align-items:flex-start;gap:.4rem;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* PANEL PRODUKTU W HERO */
.audit-visual{position:relative;z-index:1;min-width:0;padding:1rem;border:1px solid var(--border);border-radius:1rem;background:var(--bg);box-shadow:0 26px 80px -54px var(--shadow-color);overflow:hidden}
.audit-visual::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,color-mix(in srgb,var(--gold) 8%,transparent),transparent 45%);pointer-events:none}
.audit-visual-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.35rem .2rem 1rem;border-bottom:1px solid var(--border)}
.audit-visual-title{display:flex;align-items:center;gap:.65rem;min-width:0;max-width:100%;font-weight:650;flex-wrap:wrap}
.audit-visual-title>span:last-child{min-width:0;max-width:100%;overflow-wrap:anywhere}
.audit-visual-icon{display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:.55rem;background:var(--gold);color:var(--on-gold)}
.audit-level-badges{display:flex;gap:.35rem;flex-wrap:wrap}
.audit-level-badge{display:inline-grid;place-items:center;min-width:2.2rem;min-height:2.2rem;padding:.2rem .45rem;border:1px solid var(--border);border-radius:.45rem;font-weight:700}
.audit-level-badge:last-child{border:2px solid var(--gold);color:var(--gold)}
.audit-visual-body{position:relative;display:grid;gap:.7rem;padding-top:1rem}
.audit-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.75rem;border:1px solid var(--border);border-radius:.6rem;background:var(--surface)}
.audit-row-icon{display:grid;place-items:center;width:2rem;height:2rem;color:var(--gold)}
.audit-row-copy{min-width:0;max-width:100%}
.audit-row-copy strong{display:block;min-width:0;max-width:100%;font-weight:600;overflow-wrap:anywhere}
.audit-row-copy span{display:block;min-width:0;max-width:100%;color:var(--muted);overflow-wrap:anywhere}
.audit-row-status{font-weight:700;color:var(--gold)}
.progress{height:.35rem;margin-top:.45rem;border-radius:999px;background:var(--surface-alt);overflow:hidden}
.progress>span{display:block;width:var(--progress,0%);height:100%;background:var(--gold);border-radius:inherit}
.scan-line{position:absolute;z-index:3;left:0;right:0;top:0;height:2px;background:var(--gold);box-shadow:0 0 1rem color-mix(in srgb,var(--gold) 55%,transparent);opacity:.7;pointer-events:none}

/* STRIP */
.trust-strip{border-bottom:1px solid var(--border);background:var(--bg)}
.trust-list{display:flex;justify-content:center;gap:.75rem 1.6rem;flex-wrap:wrap;margin:0;padding:1rem 0;list-style:none}
.trust-list li{display:inline-flex;align-items:center;gap:.45rem;color:var(--text-2);font-weight:600}
.trust-list .icon{color:var(--gold)}

/* SECTIONS */
.section{padding:clamp(3rem,6vw,5.5rem) 0}
.section-alt{background:var(--surface);border-block:1px solid var(--border)}
.section-heading{min-width:0;max-width:min(72ch,100%);margin-bottom:2rem;overflow-wrap:anywhere}
.section-heading .kicker{margin-bottom:.65rem}
.section-heading h2{margin:0 0 .75rem}
.section-heading p{margin:0;color:var(--text-2)}
.grid-2,.grid-3,.grid-4{display:grid;gap:1rem}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{position:relative;min-width:0;padding:clamp(18px,2.5vw,28px);border:1px solid var(--border);border-radius:.8rem;background:var(--surface);color:var(--text);box-shadow:0 16px 46px -40px var(--shadow-color);overflow-wrap:anywhere}
.card::before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:var(--gold);border-radius:.8rem 0 0 .8rem}
.card h2,.card h3{margin-top:0}
.card h3{margin-bottom:.55rem}
.card p:last-child{margin-bottom:0}
.icon-box{display:grid;place-items:center;width:2.8rem;height:2.8rem;margin-bottom:1rem;border:1px solid var(--gold);border-radius:.65rem;color:var(--gold);background:color-mix(in srgb,var(--gold) 5%,var(--surface))}
.icon-box .icon{width:1.35rem;height:1.35rem}
.card-link{display:inline-flex;align-items:center;gap:.35rem;margin-top:1rem;font-weight:700}
.card-mark{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;min-height:2.2rem;margin-bottom:.9rem;border-bottom:2px solid var(--gold);color:var(--gold);font-weight:650}
.meta{color:var(--muted)}

/* FEATURE SPLIT */
.feature-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(18rem,.78fr);gap:clamp(1.5rem,5vw,4rem);align-items:start}
.feature-split>*{min-width:0;max-width:100%}
.feature-panel{min-width:0;max-width:100%;padding:clamp(20px,3vw,32px);border:2px solid var(--gold);border-radius:.9rem;background:var(--bg);box-shadow:0 20px 58px -48px var(--shadow-color);overflow-wrap:anywhere}
.feature-panel h3{margin-top:0}
.status-stack{display:grid;gap:.55rem;margin-top:1.1rem}
.status-item{display:flex;align-items:flex-start;gap:.65rem;padding:.65rem .75rem;border:1px solid var(--border);border-radius:.55rem;background:var(--surface)}
.status-item .icon{margin-top:.18rem;color:var(--gold)}
.status-item.danger .icon,.status-item.danger strong{color:var(--danger)}
.status-copy{min-width:0}
.status-copy strong{display:block;max-width:100%;font-weight:650;overflow-wrap:anywhere}
.status-copy span{display:block;max-width:100%;color:var(--muted);overflow-wrap:anywhere}

/* PROCESS */
.process-grid{counter-reset:step;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.process-step{position:relative;min-width:0;padding:1.2rem 1.1rem 1.2rem 1.2rem;border-top:3px solid var(--gold);background:var(--surface)}
.process-step::before{counter-increment:step;content:"0" counter(step);display:block;margin-bottom:.75rem;color:var(--gold);font-weight:700}
.process-step h3{margin:.1rem 0 .5rem}
.process-step p{margin:0;color:var(--text-2);overflow-wrap:anywhere}

/* REPORT */
.report-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(1.5rem,5vw,4rem);align-items:center}
.report-sheet{position:relative;min-width:0;max-width:100%;padding:clamp(16px,2.5vw,24px);border:1px solid var(--border);border-radius:.9rem;background:var(--bg);box-shadow:0 22px 70px -52px var(--shadow-color);overflow-wrap:anywhere}
.report-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;max-width:100%;padding-bottom:14px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.report-sheet-title{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;font-weight:650;flex-wrap:wrap}
.report-lines{display:grid;gap:10px;min-width:0;max-width:100%;padding-top:14px}
.report-line{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;min-width:0;max-width:100%;padding:12px;border-radius:.55rem;background:var(--surface);overflow-wrap:anywhere}
.report-line>*{min-width:0;max-width:100%}
.report-line strong,.report-line span{overflow-wrap:anywhere}
.report-line .icon{margin-top:.15rem;color:var(--gold)}
.report-line strong{display:block;font-weight:600}
.report-line span{display:block;color:var(--muted)}

/* FAQ */
.faq-list{display:grid;gap:.65rem;max-width:58rem}
.faq-list details{border:1px solid var(--border);border-radius:.65rem;background:var(--surface)}
.faq-list summary{cursor:pointer;padding:1rem 1.1rem;font-weight:650}
.faq-list details[open] summary{border-bottom:1px solid var(--border)}
.faq-list details p{margin:0;padding:1rem 1.1rem;color:var(--text-2)}

/* OTHER PAGES */
.hero-frame{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(15rem,.6fr);gap:clamp(1.5rem,5vw,4rem);align-items:end}
.hero-note{padding:1.1rem;border-left:3px solid var(--gold);background:var(--bg)}
.hero-note strong{display:block;margin-bottom:.4rem;font-weight:650}
.hero-note p{margin:0;color:var(--text-2)}
.audit-overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(16rem,.8fr);gap:1.2rem;align-items:start}
.audit-panel,.contact-box{min-width:0;padding:clamp(18px,2.5vw,28px);border:2px solid var(--gold);border-radius:.8rem;background:var(--surface);box-shadow:0 18px 54px -46px var(--shadow-color);overflow-wrap:anywhere}
.audit-panel h2{margin-top:0}
.audit-levels{display:flex;gap:.45rem;flex-wrap:wrap;margin:.9rem 0}
.audit-level{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px 10px;border:2px solid var(--border);border-radius:.45rem;font-weight:800}
.audit-level:last-child{border-color:var(--gold);color:var(--gold)}
.definition-list{display:grid;grid-template-columns:minmax(9rem,.35fr) minmax(0,1fr);gap:.7rem 1rem;margin:0}
.definition-list dt{font-weight:700}
.definition-list dd{margin:0;color:var(--text-2)}
.contact-box address{font-style:normal}
.contact-email{font-size:1.18rem;font-weight:700;overflow-wrap:anywhere}
.split-section{display:flex;align-items:end;justify-content:space-between;gap:2rem}
.split-section .section-heading{margin-bottom:0}

/* CTA */
.final-cta{position:relative;overflow:hidden;border-block:1px solid var(--border);background:var(--surface)}
.final-cta-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:center}
.final-cta h2{margin-top:0}
.final-cta p{margin-bottom:0;color:var(--text-2)}

/* FOOTER */
.site-footer{border-top:1px solid var(--border);background:var(--surface)}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding-block:2.4rem}
.footer-nav{display:flex;gap:.7rem 1rem;flex-wrap:wrap;max-width:34rem;justify-content:flex-end}
.footer-nav a{color:var(--text)}
.footer-copy{max-width:40rem}
.footer-copy p{margin:.35rem 0 0;color:var(--muted)}

/* MOTION */
.motion-ready [data-reveal]{will-change:transform}

/* RWD */
@media(max-width:980px){
  .header-primary{align-items:flex-start;flex-wrap:wrap}
  .accessibility-toolbar{width:100%;margin-left:0;justify-content:flex-start}
  .hero-grid,.report-grid,.feature-split{grid-template-columns:1fr}
  .hero-grid{gap:2rem}
  .audit-visual{max-width:42rem}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-frame{grid-template-columns:1fr}
  .audit-overview{grid-template-columns:1fr}
}
@media(max-width:820px){
  .js .nav-toggle{display:inline-flex;margin:.65rem 0}
  .js .main-nav-list{display:none;width:100%;padding-bottom:.65rem}
  .js .main-nav[data-open="true"] .main-nav-list{display:flex}
  .nav-shell{align-items:flex-start;flex-direction:column}
  .main-nav-list{flex-direction:column;align-items:stretch;width:100%}
  .main-nav a{border-left:4px solid transparent}
  .main-nav a::after{display:none}
  .main-nav a[aria-current="page"]{border-left-color:var(--gold);background:var(--surface-alt)}
}
@media(max-width:730px){
  .shell{width:min(100% - 32px,1180px)}
  .grid-2,.grid-3,.grid-4,.process-grid{grid-template-columns:1fr}
  .final-cta-inner{grid-template-columns:1fr}
  .split-section{align-items:flex-start;flex-direction:column}
  .definition-list{grid-template-columns:1fr;gap:.2rem}
  .definition-list dd{margin-bottom:.8rem}
  .footer-inner{flex-direction:column}
  .footer-nav{justify-content:flex-start}
}
@media(max-width:480px){
  .shell{width:min(100% - 24px,1180px)}
  .hero-actions .button{width:100%}
  .audit-row{grid-template-columns:auto minmax(0,1fr)}
  .audit-row-status{grid-column:2}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .scan-line{display:none}
}

@media(max-width:480px){
  .audit-visual-head{align-items:flex-start;flex-direction:column}
  .audit-level-badges{width:100%}
}
@media(max-width:480px){
  [data-text-size="aaa"] .audit-visual{padding:.65rem}
  [data-text-size="aaa"] .audit-visual-head{align-items:stretch}
  [data-text-size="aaa"] .audit-visual-title{align-items:flex-start;flex-direction:column}
  [data-text-size="aaa"] .audit-level-badges{display:grid;grid-template-columns:1fr}
  [data-text-size="aaa"] .audit-level-badge{width:100%;min-width:0}
  [data-text-size="aaa"] .audit-row{grid-template-columns:1fr}
  [data-text-size="aaa"] .audit-row-icon{width:auto;height:auto;justify-content:start}
  [data-text-size="aaa"] .audit-row-status{grid-column:auto}
}

.report-sheet-head .audit-level-badge{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.faq-list details p{overflow-wrap:anywhere}
@media(max-width:480px){
  [data-text-size="aaa"] .report-sheet-head{align-items:flex-start;flex-direction:column}
  [data-text-size="aaa"] .report-line{grid-template-columns:1fr}
}


/* Hero fotograficzne */
.hero-photo{
  position:relative;
  align-self:stretch;
  min-width:0;
  min-height:30rem;
  margin:0;
  overflow:hidden;
  border-radius:1.6rem;
  background:var(--surface-alt);
  box-shadow:0 28px 90px -58px var(--shadow-color);
}
.hero-photo>img{
  width:100%;
  height:100%;
  min-height:30rem;
  object-fit:cover;
  object-position:center;
  display:block;
}
.hero-photo::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(to top,color-mix(in srgb,var(--text) 25%,transparent),transparent 48%);
  pointer-events:none;
}
.hero-photo-wave{
  position:absolute;
  z-index:2;
  left:-2%;
  bottom:-1px;
  width:104%;
  height:18%;
  display:block;
  color:var(--surface);
  pointer-events:none;
}
.hero-photo-wave path{fill:currentColor}
.hero-photo-badge{
  position:absolute;
  z-index:3;
  left:clamp(14px,2vw,24px);
  right:clamp(14px,2vw,24px);
  bottom:clamp(46px,7vw,76px);
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.15rem .7rem;
  align-items:center;
  max-width:25rem;
  margin:0;
  padding:.8rem .9rem;
  border:1px solid var(--border);
  border-radius:.7rem;
  background:var(--surface);
  color:var(--text);
  box-shadow:0 18px 50px -38px var(--shadow-color);
}
.hero-photo-badge>.icon{grid-row:1 / span 2;color:var(--gold);width:1.5rem;height:1.5rem}
.hero-photo-badge strong{font-weight:650}
.hero-photo-badge span{color:var(--muted)}

/* Fotografie użytkowników */
.people-section{background:var(--bg)}
.people-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(1rem,3vw,2rem);
  align-items:end;
}
.people-photo{
  position:relative;
  min-width:0;
  margin:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:1rem;
  background:var(--surface);
  box-shadow:0 22px 70px -52px var(--shadow-color);
}
.people-photo img{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
.people-photo-tall img{aspect-ratio:4 / 4.6}
.people-photo figcaption{
  display:grid;
  gap:.35rem;
  padding:1rem 1.1rem 1.15rem;
}
.people-photo figcaption strong{font-weight:650}
.people-photo figcaption span{color:var(--text-2)}

@media(max-width:980px){
  .hero-photo{min-height:24rem}
  .hero-photo>img{min-height:24rem}
}
@media(max-width:730px){
  .hero-photo{min-height:20rem;border-radius:1rem}
  .hero-photo>img{min-height:20rem}
  .hero-photo-badge{bottom:38px}
  .people-grid{grid-template-columns:1fr}
  .people-photo-tall img,.people-photo img{aspect-ratio:4 / 3}
}
@media(max-width:480px){
  .hero-photo-badge{grid-template-columns:1fr}
  .hero-photo-badge>.icon{grid-row:auto}
}


/* Górny pasek dostępności + nawigacja */
.site-header{border-top:0;background:var(--surface)}
.accessibility-bar{background:var(--bg);border-bottom:1px solid var(--border)}
.accessibility-bar-inner{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.45rem;
  flex-wrap:wrap;
  padding-block:.5rem;
}
.access-group{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  min-width:0;
  padding:.2rem;
  border:1px solid var(--border);
  border-radius:.6rem;
  background:var(--surface);
}
.access-group-label{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  min-width:0;
  padding:.3rem .45rem;
  color:var(--text-2);
  font-weight:600;
}
.access-group button,.access-tool{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  min-width:44px;
  min-height:44px;
  max-width:100%;
  padding:.4rem .65rem;
  border:2px solid transparent;
  border-radius:.45rem;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-weight:650;
  cursor:pointer;
  overflow-wrap:anywhere;
}
.access-group button:hover,.access-tool:hover{border-color:var(--gold);background:var(--surface-alt)}
.access-group button[aria-pressed="true"],.access-tool[aria-pressed="true"]{
  border-color:var(--gold);
  background:var(--gold);
  color:var(--on-gold);
}
.access-group button:disabled{
  cursor:not-allowed;
  opacity:.58;
}
.access-tool{
  border-color:var(--border);
  background:var(--surface);
}
.access-tool>.icon,.access-group-label>.icon,.access-group button>.icon{width:1.15em;height:1.15em}

.navigation-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem 1.5rem;
  min-height:5.2rem;
  padding-block:.65rem;
}
.navigation-row .brand{flex:0 1 auto}
.navigation-row .main-nav{margin-left:auto;border:0;background:transparent}
.navigation-row .main-nav-list{justify-content:flex-end}
.navigation-row .nav-toggle{margin-left:auto}

@media(max-width:1100px){
  .accessibility-bar-inner{justify-content:flex-start}
  .navigation-row{flex-wrap:wrap}
  .navigation-row .main-nav{width:100%;margin-left:0}
  .navigation-row .main-nav-list{justify-content:flex-start}
}
@media(max-width:820px){
  .accessibility-bar-inner{align-items:stretch;flex-direction:column}
  .access-group,.access-tool{width:100%}
  .access-group{flex-wrap:wrap}
  .access-group-label{flex:1 1 100%}
  .access-group button{flex:1 1 0}
  .access-tool{justify-content:flex-start}
  .navigation-row{min-height:4.6rem}
  .navigation-row .main-nav{width:100%}
}


/* Strona główna — pełnoszerokie hero fotograficzne */
.home-hero{
  padding:clamp(2.6rem,5vw,4.8rem) 0 0;
  background:var(--surface);
  border-bottom:0;
}
.home-hero::after{display:none}
.home-hero-shell{
  width:min(1320px,calc(100% - 32px));
  display:grid;
  gap:clamp(1.8rem,4vw,3rem);
}
.home-hero-copy{
  width:min(100%,56rem);
  padding-inline:0;
}
.home-hero-copy h1{
  max-width:17ch;
}
.home-hero-copy .hero-lead{
  max-width:64ch;
}
.home-hero .hero-photo-wide{
  width:100%;
  min-height:0;
  height:auto;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  overflow:hidden;
}
.home-hero .hero-photo-wide::before{display:none}
.home-hero .hero-photo-wide>img{
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:16 / 7;
  object-fit:cover;
  object-position:center;
}
.home-hero .hero-photo-wave{
  bottom:-1px;
  height:18%;
  color:var(--surface);
}

@media(max-width:730px){
  .home-hero{
    padding-top:2rem;
  }
  .home-hero-shell{
    width:min(100% - 32px,1180px);
    gap:1.4rem;
  }
  .home-hero .hero-photo-wide{
    margin-inline:calc((100vw - 100%)/-2);
    width:100vw;
  }
  .home-hero .hero-photo-wide>img{
    aspect-ratio:4 / 3;
  }
}
@media(max-width:480px){
  .home-hero-shell{
    width:min(100% - 24px,1180px);
  }
}


/* =========================================================
   2026 visual refresh — nowoczesny interfejs bez utraty WCAG
   ========================================================= */

body{
  background:var(--bg);
  color:var(--text);
  letter-spacing:-.006em;
}
.shell{width:min(1320px,calc(100% - 40px))}
.section{padding:clamp(4.5rem,7vw,7.5rem) 0}
.section-alt{background:var(--surface-alt)}
.section-heading{max-width:52rem;margin-bottom:clamp(1.8rem,3vw,2.8rem)}
.section-heading h2{
  max-width:22ch;
  margin:.35rem 0 .8rem;
  line-height:1.12;
  letter-spacing:-.03em;
}
.section-heading p{color:var(--text-2)}
.kicker{
  color:var(--gold);
  letter-spacing:.08em;
  font-size:.86em;
  font-weight:700;
}
.kicker::before{
  width:1rem;
  height:3px;
  border-radius:999px;
}

/* Pasek dostępności: pełne cele dotykowe, ale wizualnie lekki */
.accessibility-bar{
  background:color-mix(in srgb,var(--surface) 86%,var(--surface-alt));
  border-bottom:1px solid color-mix(in srgb,var(--border) 42%,transparent);
}
.accessibility-bar-inner{
  min-height:3.4rem;
  padding-block:.3rem;
  gap:.2rem .55rem;
  justify-content:space-between;
}
.access-group{
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
  gap:.08rem;
}
.access-group-label{
  width:44px;
  min-width:44px;
  min-height:44px;
  padding:0;
  justify-content:center;
  font-size:0;
  color:var(--muted);
}
.access-group-label .icon{width:1.2rem;height:1.2rem}
.access-group button,.access-tool{
  min-width:44px;
  min-height:44px;
  padding:.45rem .62rem;
  border:1px solid transparent;
  border-radius:.65rem;
  font-size:.9rem;
  font-weight:650;
}
.access-tool{
  border-color:transparent;
  background:transparent;
}
.access-group button:hover,.access-tool:hover{
  border-color:color-mix(in srgb,var(--gold) 48%,var(--border));
  background:var(--surface-alt);
}
.access-group button[aria-pressed="true"],.access-tool[aria-pressed="true"]{
  border-color:var(--gold);
  background:var(--gold);
  color:var(--on-gold);
}
.language-switcher,.text-size-switcher{
  border-right:1px solid color-mix(in srgb,var(--border) 45%,transparent);
  padding-right:.5rem;
}
[data-read-page]{
  margin-left:auto;
  border:1px solid color-mix(in srgb,var(--border) 55%,transparent);
  background:var(--surface);
}

/* Nawigacja */
.site-header{
  background:color-mix(in srgb,var(--surface) 96%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--border) 35%,transparent);
}
.navigation-row{
  min-height:5.3rem;
  padding-block:.55rem;
}
.brand{gap:.8rem}
.brand img{
  width:3rem;
  height:3rem;
  border-radius:.8rem;
}
.brand-copy strong{font-size:1.04rem;letter-spacing:-.02em}
.brand-copy span{font-size:.82rem;margin-top:.12rem}
.navigation-row .main-nav-list{gap:.15rem}
.main-nav a{
  min-height:44px;
  padding:.6rem .8rem;
  border-radius:.7rem;
  font-size:.94rem;
}
.main-nav a::after{
  left:.8rem;
  right:.8rem;
  bottom:.25rem;
  height:2px;
  border-radius:999px;
}
.main-nav a:hover{background:var(--surface-alt)}

/* HERO: zdjęcie widoczne od pierwszego ekranu, pełna szerokość */
.home-hero{
  position:relative;
  isolation:isolate;
  display:grid;
  align-items:center;
  min-height:clamp(34rem,68vh,43rem);
  padding:0;
  overflow:hidden;
  background:var(--surface);
}
.home-hero::after{display:none}
.home-hero::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:
    linear-gradient(90deg,
      var(--surface) 0%,
      color-mix(in srgb,var(--surface) 96%,transparent) 31%,
      color-mix(in srgb,var(--surface) 78%,transparent) 48%,
      color-mix(in srgb,var(--surface) 18%,transparent) 73%,
      transparent 100%);
  pointer-events:none;
}
.home-hero-shell{
  width:min(1320px,calc(100% - 40px));
  min-height:inherit;
  display:flex;
  align-items:center;
  gap:0;
}
.home-hero-copy{
  position:relative;
  z-index:3;
  width:min(100%,42rem);
  padding:clamp(3.5rem,7vw,6.5rem) 0 clamp(5rem,8vw,7rem);
}
.home-hero-copy h1{
  max-width:18ch;
  margin:.25rem 0 1.15rem;
  font-size:2.15rem;
  line-height:1.07;
  letter-spacing:-.045em;
}
.home-hero-copy .hero-lead{
  max-width:58ch;
  font-size:1.04rem;
  line-height:1.7;
}
.home-hero .hero-photo-wide{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  border:0;
  border-radius:0;
  background:var(--surface-alt);
  box-shadow:none;
}
.home-hero .hero-photo-wide::before{display:none}
.home-hero .hero-photo-wide>img{
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
}
.home-hero .hero-photo-wave{
  z-index:2;
  bottom:-1px;
  height:10%;
  color:var(--bg);
}
.hero-actions{gap:.65rem;margin-top:1.55rem}
.button{
  min-height:3.25rem;
  padding:.72rem 1.08rem;
  border-radius:.8rem;
  border-width:1px;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease;
}
.button:hover{transform:translateY(-1px)}
.button-primary{box-shadow:0 14px 34px -24px var(--shadow-color)}
.button-secondary{
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  backdrop-filter:blur(8px);
}
.hero-meta{
  gap:.65rem 1.15rem;
  margin-top:1.35rem;
  font-size:.9rem;
  color:var(--text-2);
}
.hero-meta .icon{color:var(--gold)}

.trust-strip{
  border:0;
  background:var(--bg);
}
.trust-list{
  min-height:5.2rem;
  gap:1rem 2rem;
  border-bottom:1px solid color-mix(in srgb,var(--border) 30%,transparent);
}
.trust-list li{font-weight:600;color:var(--text-2)}
.trust-list .icon{color:var(--gold)}

/* Karty i sekcje: mniej ramek, więcej hierarchii */
.grid-2,.grid-3,.grid-4{gap:1rem}
.card{
  padding:clamp(1.25rem,2.4vw,1.7rem);
  border:1px solid color-mix(in srgb,var(--border) 28%,transparent);
  border-radius:1.15rem;
  background:var(--surface);
  box-shadow:0 20px 55px -48px var(--shadow-color);
}
.card::before{display:none}
.card h3{letter-spacing:-.02em}
.card p{color:var(--text-2)}
.icon-box{
  width:3rem;
  height:3rem;
  border:0;
  border-radius:.9rem;
  background:color-mix(in srgb,var(--gold) 10%,var(--surface))!important;
}
.people-grid{gap:1.2rem}
.people-photo{
  border:0;
  border-radius:1.25rem;
  box-shadow:0 26px 70px -54px var(--shadow-color);
}
.people-photo figcaption{padding:1.15rem 1.25rem 1.35rem}
.feature-panel,.audit-panel,.contact-box,.report-sheet{
  border:1px solid color-mix(in srgb,var(--border) 30%,transparent);
  border-radius:1.2rem;
  background:var(--surface);
  box-shadow:0 22px 64px -52px var(--shadow-color);
}
.status-item,.report-line{
  border:0;
  border-radius:.8rem;
  background:var(--surface-alt);
}
.process-grid{gap:.8rem}
.process-step{
  border:0;
  border-radius:1rem;
  padding:1.35rem;
  background:var(--surface);
  box-shadow:inset 0 3px 0 var(--gold);
}
.faq-list{max-width:64rem}
.faq-list details{
  border:1px solid color-mix(in srgb,var(--border) 30%,transparent);
  border-radius:.9rem;
  overflow:hidden;
}
.final-cta{
  border:0;
  background:var(--surface-alt);
}

/* Desktop: pasek ma pozostać w jednym rzędzie */
@media(min-width:1101px){
  .accessibility-bar-inner{flex-wrap:nowrap}
}
@media(max-width:1100px){
  .accessibility-bar-inner{justify-content:flex-start}
  [data-read-page]{margin-left:0}
}

/* Mobile hero: tekst na czystym tle, duże zdjęcie bez problemu z kontrastem */
@media(max-width:820px){
  .navigation-row{min-height:4.7rem}
  .home-hero{
    display:block;
    min-height:0;
    background:var(--surface);
  }
  .home-hero::before{display:none}
  .home-hero-shell{
    width:min(100% - 32px,1320px);
    display:block;
    min-height:0;
  }
  .home-hero-copy{
    width:100%;
    padding:3rem 0 2rem;
  }
  .home-hero-copy h1{
    max-width:20ch;
    font-size:1.9rem;
  }
  .home-hero .hero-photo-wide{
    position:relative;
    width:100vw;
    height:auto;
    margin-left:calc(50% - 50vw);
  }
  .home-hero .hero-photo-wide>img{
    height:auto;
    aspect-ratio:4 / 3;
  }
  .home-hero .hero-photo-wave{height:14%}
}
@media(max-width:730px){
  .shell{width:min(100% - 28px,1320px)}
  .home-hero-shell{width:min(100% - 28px,1320px)}
  .section{padding:4rem 0}
}
@media(max-width:480px){
  .shell,.home-hero-shell{width:min(100% - 22px,1320px)}
  .accessibility-bar-inner{gap:.15rem}
  .access-group,.access-tool{width:auto}
  .access-group-label{flex:0 0 44px}
  .access-group button{flex:0 0 auto}
  [data-read-page]{width:100%;justify-content:center}
  .home-hero-copy h1{font-size:1.72rem}
}


/* Skalowanie nagłówka przy A / AA / AAA
   Kontrolki pozostają >=44px, ale typografia nagłówka jest celowo
   mniejsza od tekstu głównego, aby 200% zachowało czytelny układ. */
.accessibility-bar-inner{
  align-items:center;
  justify-content:center;
  column-gap:10px;
  row-gap:8px;
}
.accessibility-bar :where(.access-group button,.access-tool){
  min-width:44px;
  min-height:44px;
  padding:6px 10px;
  font-size:.72rem;
  font-weight:500;
  line-height:1.25;
  letter-spacing:0;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  max-width:none;
}
.accessibility-bar .access-group-label{
  width:44px;
  min-width:44px;
  min-height:44px;
  flex:0 0 44px;
}
.accessibility-bar .access-group{
  flex:0 0 auto;
  min-width:max-content;
}
.language-switcher,.text-size-switcher{
  padding-right:8px;
}
[data-read-page]{
  margin-left:0;
}

.navigation-row .brand-copy strong{
  font-size:.82rem;
  font-weight:600;
  line-height:1.15;
}
.navigation-row .brand-copy span{
  font-size:.68rem;
  font-weight:400;
  line-height:1.3;
}
.navigation-row .main-nav a{
  font-size:.76rem;
  font-weight:500;
  line-height:1.25;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
}

/* 150% i 200%: grupy schodzą w dół w całości zamiast łamać słowa. */
html[data-text-size="aa"] .accessibility-bar-inner,
html[data-text-size="aaa"] .accessibility-bar-inner{
  justify-content:flex-start;
  flex-wrap:wrap;
}
html[data-text-size="aaa"] .accessibility-bar :where(.access-group button,.access-tool){
  font-size:.68rem;
  padding-inline:9px;
}
html[data-text-size="aaa"] .accessibility-bar .access-group{
  min-width:max-content;
}
html[data-text-size="aaa"] .navigation-row{
  align-items:center;
  flex-wrap:wrap;
  row-gap:8px;
}
html[data-text-size="aaa"] .navigation-row .brand-copy strong{
  font-size:.72rem;
}
html[data-text-size="aaa"] .navigation-row .brand-copy span{
  font-size:.6rem;
}
html[data-text-size="aaa"] .navigation-row .main-nav{
  flex:1 1 100%;
  width:100%;
  margin-left:0;
}
html[data-text-size="aaa"] .navigation-row .main-nav-list{
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:4px 8px;
}
html[data-text-size="aaa"] .navigation-row .main-nav a{
  font-size:.68rem;
  padding:8px 10px;
}

@media(max-width:820px){
  .accessibility-bar-inner{
    flex-direction:row;
    align-items:center;
  }
  .accessibility-bar .access-group,
  .accessibility-bar .access-tool{
    width:auto;
  }
  .accessibility-bar .access-group{
    flex-wrap:nowrap;
  }
  .accessibility-bar .access-group-label{
    flex:0 0 44px;
  }
  .accessibility-bar .access-group button{
    flex:0 0 auto;
  }
  [data-read-page]{
    width:auto;
    justify-content:center;
  }
}
@media(max-width:560px){
  .accessibility-bar-inner{
    justify-content:flex-start;
  }
  .accessibility-bar :where(.access-group button,.access-tool){
    font-size:.7rem;
  }
  [data-read-page]{
    width:100%;
  }
}


/* Finalna typografia nagłówka: lekka i niezależna od presetów A/AA/AAA. */
.accessibility-bar :where(.access-group button,.access-tool){
  font-size:16px;
  font-weight:400;
  line-height:1.3;
}
.accessibility-bar .access-group-label{
  font-size:0;
  font-weight:400;
}
.navigation-row .brand-copy strong{
  font-size:18px;
  font-weight:400;
  line-height:1.2;
}
.navigation-row .brand-copy span{
  font-size:16px;
  font-weight:400;
  line-height:1.3;
}
.navigation-row .main-nav a{
  font-size:17px;
  font-weight:400;
  line-height:1.3;
}

/* Presety A/AA/AAA zmieniają treść strony, nie interfejs sterujący. */
html[data-text-size="aa"] .accessibility-bar :where(.access-group button,.access-tool),
html[data-text-size="aaa"] .accessibility-bar :where(.access-group button,.access-tool){
  font-size:16px;
  font-weight:400;
}
html[data-text-size="aa"] .navigation-row .brand-copy strong,
html[data-text-size="aaa"] .navigation-row .brand-copy strong{
  font-size:18px;
  font-weight:400;
}
html[data-text-size="aa"] .navigation-row .brand-copy span,
html[data-text-size="aaa"] .navigation-row .brand-copy span{
  font-size:16px;
  font-weight:400;
}
html[data-text-size="aa"] .navigation-row .main-nav a,
html[data-text-size="aaa"] .navigation-row .main-nav a{
  font-size:17px;
  font-weight:400;
}


/* Etykiety nad sekcjami — bez dekoracyjnych kresek, mniejsze i lżejsze. */
.kicker{
  margin-bottom:.65rem;
  font-size:.72rem!important;
  font-weight:500;
  line-height:1.35;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.kicker::before{
  content:none!important;
  display:none!important;
}
html[data-text-size="aa"] .kicker,
html[data-text-size="aaa"] .kicker{
  font-size:.72rem!important;
  font-weight:500;
}


/* Lekka typografia górnej nawigacji — finalne nadpisanie starych wag. */
.accessibility-bar .access-group button,
.accessibility-bar .access-tool{
  font-weight:350!important;
}
.accessibility-bar .access-group button[aria-pressed="true"],
.accessibility-bar .access-tool[aria-pressed="true"]{
  font-weight:400!important;
}
.accessibility-bar .access-group-label{
  font-weight:350!important;
}
.navigation-row .brand-copy strong,
.navigation-row .brand-copy span,
.navigation-row .main-nav a{
  font-weight:350!important;
}
.navigation-row .main-nav a[aria-current="page"]{
  font-weight:400!important;
}
html[data-text-size="aa"] .accessibility-bar .access-group button,
html[data-text-size="aaa"] .accessibility-bar .access-group button,
html[data-text-size="aa"] .accessibility-bar .access-tool,
html[data-text-size="aaa"] .accessibility-bar .access-tool,
html[data-text-size="aa"] .navigation-row .main-nav a,
html[data-text-size="aaa"] .navigation-row .main-nav a{
  font-weight:350!important;
}


/* Hero — delikatnie oddalone zdjęcie i lżejsza warstwa pod tekstem. */
.home-hero::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb,var(--surface) 96%,transparent) 0%,
      color-mix(in srgb,var(--surface) 90%,transparent) 20%,
      color-mix(in srgb,var(--surface) 62%,transparent) 38%,
      color-mix(in srgb,var(--surface) 20%,transparent) 58%,
      transparent 74%
    );
  pointer-events:none;
}
.home-hero-copy{
  width:min(100%,38rem);
}
.home-hero .hero-photo-wide>img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:right center;
  transform:scale(.90);
  transform-origin:center right;
}
@media(max-width:820px){
  .home-hero-copy{width:100%}
  .home-hero .hero-photo-wide>img{
    transform:none;
    object-position:center;
  }
}


/* Hero — węższy blok tekstowy, bardziej pionowy układ. */
.home-hero-copy{
  width:min(100%,34rem);
}
.home-hero-copy h1{
  max-width:11ch;
}
.home-hero-copy .hero-lead{
  max-width:34ch;
}
@media(max-width:820px){
  .home-hero-copy{
    width:100%;
  }
  .home-hero-copy h1{
    max-width:18ch;
  }
  .home-hero-copy .hero-lead{
    max-width:52ch;
  }
}


/* Właściwe logo ANM Collective w nagłówku. */
.brand .brand-logo{
  display:block;
  width:auto;
  height:52px;
  max-width:min(220px,42vw);
  object-fit:contain;
  border-radius:0;
}
@media(max-width:730px){
  .brand .brand-logo{
    height:46px;
    max-width:min(190px,52vw);
  }
}






/* Po co audyt — pięć konkretnych argumentów bezpośrednio pod hero. */
.home-audit-why{
  padding:clamp(42px,5vw,72px) 0;
  border-bottom:1px solid var(--border);
  overflow:clip;
}
.home-audit-why-heading{
  max-width:760px;
  margin-bottom:clamp(26px,4vw,42px);
}
.home-audit-why-heading h2{
  max-width:20ch;
  font-size:1.5556rem;
}
.home-audit-why-cards{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  margin-top:40px;
}
.home-audit-why-card{
  position:relative;
  min-width:0;
  padding:56px 20px 26px;
  border:1px solid color-mix(in srgb,var(--border) 40%,transparent);
  border-radius:20px;
  background:var(--surface);
  text-align:center;
  box-shadow:0 8px 24px color-mix(in srgb,var(--shadow-color) 40%,transparent);
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.home-audit-why-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 32px var(--shadow-color);
  border-color:color-mix(in srgb,var(--gold) 50%,var(--border));
}
.home-audit-why-card .icon-box{
  position:absolute;
  top:-36px;
  left:50%;
  transform:translateX(-50%);
  width:72px;
  height:72px;
  margin:0;
  border:none;
  border-radius:50%;
  background:var(--gold) !important;
  color:var(--on-gold) !important;
  box-shadow:0 8px 24px color-mix(in srgb,var(--gold) 40%,transparent);
  z-index:2;
  opacity:1 !important;
}
.home-audit-why-card .icon-box .icon {
  width:32px;
  height:32px;
}
html[data-contrast="high"] .home-audit-why-card {
  background:var(--bg) !important;
  border:2px solid var(--text) !important;
}
html[data-contrast="high"] .home-audit-why-card .icon-box {
  background:var(--bg) !important;
  border:2px solid var(--text) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}
.home-audit-why-card h3{
  margin:0 0 10px;
  font-size:1.15rem;
}
.home-audit-why-card p{
  margin:0;
  color:var(--text2);
  font-size:0.95rem;
}
@media(max-width:1100px){
  .home-audit-why-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .home-audit-why-card:last-child{
    grid-column:1 / -1;
  }
}
@media(max-width:620px){
  .home-audit-why{
    padding:34px 0;
  }
  .home-audit-why-cards{
    grid-template-columns:1fr;
  }
  .home-audit-why-card:last-child{
    grid-column:auto;
  }
}

/* Osobny, mocny CTA sprzedażowy oparty na danych WebAIM 2026. */
.home-numbers-cta{
  padding:clamp(34px,5vw,70px) 0;
}
.home-numbers-cta-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  overflow:hidden;
  border-radius:28px;
  background:var(--promo-bg);
  color:var(--promo-text);
  box-shadow:0 26px 70px color-mix(in srgb,var(--text) 16%,transparent);
}
.home-numbers-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:clamp(34px,5vw,68px);
}
.home-numbers-copy .kicker{
  color:var(--promo-text);
  opacity:.82;
}
.home-numbers-copy h2{
  max-width:18ch;
  margin:0;
  color:var(--promo-text);
}
.home-numbers-copy h2 span{
  display:block;
  margin-bottom:.06em;
  font-size:clamp(3.8rem,7vw,7rem);
  line-height:.88;
  letter-spacing:-.045em;
  font-weight:650;
  color:var(--promo-text);
}
.home-numbers-copy>p:not(.kicker):not(.home-numbers-source){
  max-width:54ch;
  margin:1.15rem 0 0;
  color:var(--promo-text);
}
.home-numbers-copy strong{
  font-weight:650;
}
.home-numbers-source{
  margin:1rem 0 0;
  font-size:.78rem;
  color:var(--promo-text);
  opacity:.82;
}
.home-numbers-source a{
  color:inherit;
  text-underline-offset:.18em;
}
.home-numbers-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  margin-top:1.45rem;
  padding:12px 21px;
  border:2px solid var(--promo-text);
  border-radius:999px;
  background:var(--promo-text);
  color:var(--promo-bg);
  font-weight:650;
  text-decoration:none;
}
.home-numbers-button:hover,
.home-numbers-button:focus-visible{
  background:transparent;
  color:var(--promo-text);
}
.home-numbers-photo{
  min-height:100%;
  margin:0;
  background:var(--surface);
}
.home-numbers-photo img{
  display:block;
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  object-position:center;
}
@media(max-width:900px){
  .home-numbers-cta-grid{
    grid-template-columns:1fr;
  }
  .home-numbers-photo img{
    min-height:300px;
    max-height:460px;
  }
}
@media(max-width:560px){
  .home-numbers-cta{
    padding:28px 0 36px;
  }
  .home-numbers-cta-grid{
    border-radius:20px;
  }
  .home-numbers-copy{
    padding:28px 22px 30px;
  }
  .home-numbers-photo img{
    min-height:240px;
  }
}


/* Czym jest WCAG — editorial, bez kafelków. */
.wcag-explainer{
  padding-block:clamp(58px,7vw,100px);
}
.wcag-explainer-grid{
  display:grid;
  grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);
  gap:clamp(42px,7vw,96px);
  align-items:start;
}
.wcag-explainer-intro{
  position:relative;
  min-width:0;
}
.wcag-mark{
  margin:.25rem 0 1.1rem;
  font-size:clamp(3.8rem,7.5vw,7.4rem);
  font-weight:650;
  line-height:.82;
  letter-spacing:-.055em;
  color:var(--gold);
}
.wcag-mark span{
  display:block;
  font-size:.43em;
  margin-top:.2em;
  letter-spacing:-.03em;
}
.wcag-explainer-intro h2{
  max-width:16ch;
  margin:0 0 1rem;
}
.wcag-explainer-intro>p:not(.kicker):not(.wcag-mark){
  max-width:48ch;
  margin:0;
  color:var(--text2);
}
.wcag-principles{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin-top:1.55rem;
  padding-top:1.25rem;
  border-top:1px solid var(--border);
}
.wcag-principles span{
  position:relative;
  padding-left:14px;
  font-size:.86rem;
  font-weight:500;
  color:var(--text2);
}
.wcag-principles span::before{
  content:"";
  position:absolute;
  left:0;
  top:.58em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--gold);
}
.wcag-explainer-list{
  border-top:1px solid var(--border);
}
.wcag-explainer-row{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:clamp(18px,3vw,34px);
  padding:clamp(28px,4vw,42px) 0;
  border-bottom:1px solid var(--border);
}
.wcag-row-number{
  font-size:1rem;
  font-weight:600;
  line-height:1.2;
  color:var(--gold);
}
.wcag-explainer-row h3{
  margin:0 0 .65rem;
  font-size:1.22rem;
  font-weight:550;
}
.wcag-explainer-row p{
  max-width:62ch;
  margin:0;
  color:var(--text2);
}
@media(max-width:900px){
  .wcag-explainer-grid{
    grid-template-columns:1fr;
    gap:38px;
  }
  .wcag-explainer-intro h2{
    max-width:22ch;
  }
  .wcag-mark{
    font-size:clamp(3.6rem,16vw,6rem);
  }
}
@media(max-width:560px){
  .wcag-explainer{
    padding-block:44px;
  }
  .wcag-explainer-row{
    grid-template-columns:44px minmax(0,1fr);
    gap:14px;
    padding:26px 0;
  }
  .wcag-explainer-row h3{
    font-size:1.08rem;
  }
}



/* Praktyczny audyt — zaokrąglone zdjęcie i wyraźne kafelki w osobnym stylu. */
.practical-audit{
  padding-block:clamp(64px,8vw,112px);
}
.practical-audit-grid{
  display:grid;
  grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);
  gap:clamp(42px,6vw,86px);
  align-items:start;
}
.practical-audit-photo{
  position:sticky;
  top:28px;
  margin:0;
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 24px 54px color-mix(in srgb,var(--text) 12%,transparent);
}
.practical-audit-photo img{
  display:block;
  width:100%;
  min-height:620px;
  aspect-ratio:4 / 5;
  object-fit:cover;
  object-position:center;
}
.practical-audit-copy{
  min-width:0;
}
.practical-audit-copy .section-heading{
  max-width:720px;
  margin-bottom:clamp(28px,4vw,42px);
}
.practical-audit-copy .section-heading h2{
  max-width:20ch;
}
.practical-audit-copy .section-heading p{
  max-width:58ch;
}
.practical-audit-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.practical-audit-card{
  position:relative;
  min-width:0;
  min-height:230px;
  padding:24px 22px 26px;
  border:1px solid color-mix(in srgb,var(--gold) 24%,var(--border));
  border-radius:22px;
  background:color-mix(in srgb,var(--surface) 82%,var(--surface-alt));
  box-shadow:0 12px 30px color-mix(in srgb,var(--text) 5%,transparent);
}
.practical-audit-card:nth-child(2),
.practical-audit-card:nth-child(5){
  background:var(--surface-alt);
}
.practical-audit-card:nth-child(4){
  background:color-mix(in srgb,var(--gold) 7%,var(--surface));
}
.practical-audit-index{
  display:block;
  margin-bottom:18px;
  color:var(--gold);
  font-size:.78rem;
  font-weight:650;
  letter-spacing:.08em;
}
.practical-audit-card h3{
  margin:0 0 10px;
  max-width:20ch;
  font-size:1.08rem;
  font-weight:600;
  line-height:1.25;
}
.practical-audit-card p{
  margin:0;
  color:var(--text-2);
  line-height:1.55;
}
.practical-audit-card:focus-within{
  outline:3px solid var(--focus);
  outline-offset:4px;
}
@media(max-width:1040px){
  .practical-audit-grid{
    grid-template-columns:1fr;
    gap:38px;
  }
  .practical-audit-photo{
    position:relative;
    top:auto;
    max-width:760px;
  }
  .practical-audit-photo img{
    min-height:0;
    aspect-ratio:16 / 9;
  }
  .practical-audit-copy .section-heading h2{
    max-width:22ch;
  }
}
@media(max-width:680px){
  .practical-audit{
    padding-block:48px;
  }
  .practical-audit-photo{
    border-radius:22px;
  }
  .practical-audit-photo img{
    aspect-ratio:4 / 3;
  }
  .practical-audit-cards{
    grid-template-columns:1fr;
    gap:14px;
  }
  .practical-audit-card{
    min-height:0;
    padding:21px 18px 22px;
    border-radius:18px;
  }
}


/* Zakres audytu WCAG 2.2 — sześć równych, wyraźnych kafelków. */
.audit-benefits{
  padding-block:clamp(68px,8vw,116px);
  background:var(--surface-alt);
}
.audit-benefits-heading{
  max-width:860px;
  margin-bottom:clamp(34px,5vw,54px);
}
.audit-benefits-heading h2{
  max-width:23ch;
}
.audit-benefits-heading p{
  max-width:64ch;
}
.audit-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.audit-benefit-card{
  position:relative;
  overflow:hidden;
  min-width:0;
  min-height:340px;
  padding:32px 28px 32px;
  border:1px solid color-mix(in srgb,var(--gold) 15%,var(--border));
  border-radius:18px;
  background:color-mix(in srgb,var(--gold) 10%,var(--surface));
  box-shadow:0 18px 44px -22px color-mix(in srgb,var(--gold) 15%,transparent);
  transition:transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.audit-benefit-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 56px -24px color-mix(in srgb,var(--gold) 25%,transparent);
  border-color:color-mix(in srgb,var(--gold) 40%,var(--border));
}
.audit-benefit-card::before{
  content:"";
  position:absolute;
  top:12%;
  right:32%;
  width:140px;
  height:140px;
  border-radius:50%;
  background:transparent;
  border:1.5px solid color-mix(in srgb,var(--gold) 15%,transparent);
  pointer-events:none;
}
.audit-benefit-card::after{
  content:"";
  position:absolute;
  bottom:0;
  right:0;
  width:65px;
  height:65px;
  border-top-left-radius:100%;
  background:var(--gold);
  pointer-events:none;
}
.audit-benefit-card > * {
  position:relative;
  z-index:1;
}
.audit-benefit-card:nth-child(even),
.audit-benefit-card-docs,
.audit-benefit-card-result{
  background:color-mix(in srgb,var(--gold) 10%,var(--surface));
  color:inherit;
  border-color:color-mix(in srgb,var(--gold) 15%,var(--border));
}
.audit-benefit-card-result h3,
.audit-benefit-card-result p,
.audit-benefit-card-result .audit-benefit-no,
.audit-benefit-card-result .audit-benefit-icon{
  color:inherit;
}
.audit-benefit-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:clamp(26px,4vw,44px);
}
.audit-benefit-no{
  display:inline-flex;
  align-items:center;
  color:var(--gold);
  font-size:.85rem;
  font-weight:750;
  letter-spacing:.05em;
}
.audit-benefit-icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:color-mix(in srgb,var(--surface) 55%,transparent);
  color:var(--gold);
}
.audit-benefit-icon .icon{
  width:26px;
  height:26px;
}
html[data-contrast="high"] .audit-benefit-card {
  background:var(--bg) !important;
  border-width:2px !important;
}
html[data-contrast="high"] .audit-benefit-card::before,
html[data-contrast="high"] .audit-benefit-card::after {
  display:none !important;
}
html[data-contrast="high"] .audit-benefit-no,
html[data-contrast="high"] .audit-benefit-icon {
  color:var(--text) !important;
}
html[data-contrast="high"] .audit-benefit-icon {
  background:transparent !important;
  border:2px solid var(--text) !important;
}
.audit-benefit-card h3{
  max-width:20ch;
  margin:0 0 12px;
  font-size:1.18rem;
  font-weight:600;
  line-height:1.25;
}
.audit-benefit-card p{
  margin:0;
  color:var(--text-2);
  line-height:1.58;
}
.audit-benefits-note{
  max-width:72ch;
  margin:26px 0 0;
  color:var(--muted);
  font-size:.86rem;
}
@media(max-width:980px){
  .audit-benefits-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px){
  .audit-benefits{
    padding-block:48px;
  }
  .audit-benefits-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .audit-benefit-card{
    min-height:0;
    padding:22px 19px 24px;
    border-radius:18px;
  }
  .audit-benefit-top{
    margin-bottom:28px;
  }
}


/* =========================================================
   Baza wiedzy — artykuły
   ========================================================= */
.knowledge-feature{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:clamp(30px,5vw,68px);
  align-items:center;
  padding:clamp(20px,3vw,34px);
  border-radius:28px;
  background:var(--surface);
  box-shadow:0 18px 48px color-mix(in srgb,var(--text) 7%,transparent);
}
.knowledge-feature figure{margin:0;overflow:hidden;border-radius:22px}
.knowledge-feature img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.knowledge-feature h3{margin:.35rem 0 1rem;max-width:22ch;font-size:1.5rem;line-height:1.18}
.knowledge-feature p:not(.kicker){max-width:54ch;color:var(--text-2)}
.knowledge-feature .button{margin-top:1rem}
.knowledge-feature + .knowledge-feature{margin-top:clamp(28px,4vw,48px)}

.article-hero{
  position:relative;
  isolation:isolate;
  min-height:clamp(38rem,72vh,48rem);
  overflow:hidden;
  background:var(--surface);
}
.article-hero-shell{
  position:relative;
  min-height:inherit;
  display:flex;
  align-items:center;
}
.article-hero-copy{
  position:relative;
  z-index:3;
  width:min(100%,42rem);
  padding:clamp(4rem,7vw,7rem) 0 clamp(6rem,9vw,8rem);
}
.article-hero-copy h1{
  max-width:15ch;
  margin:.25rem 0 1.2rem;
  font-size:clamp(2.15rem,4.4vw,4.4rem);
  line-height:1.02;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}
.article-hero-lead{
  max-width:48ch;
  margin:0;
  color:var(--text-2);
  font-size:1.08rem;
  line-height:1.68;
}
.article-meta{
  margin:1.2rem 0 0;
  color:var(--muted);
  font-size:.84rem;
}
.article-hero-photo{
  position:absolute;
  z-index:0;
  inset:0;
  margin:0;
}
.article-hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--surface) 98%,transparent) 0%,
    color-mix(in srgb,var(--surface) 94%,transparent) 24%,
    color-mix(in srgb,var(--surface) 72%,transparent) 44%,
    color-mix(in srgb,var(--surface) 22%,transparent) 67%,
    transparent 84%);
}
.article-hero-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.article-hero-wave{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:-1px;
  width:100%;
  height:16%;
  color:var(--bg);
  fill:currentColor;
}

.article-page{background:var(--bg)}
.article-shell{width:min(1120px,calc(100% - 40px));padding-block:clamp(56px,7vw,96px)}
.article-opening{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:clamp(28px,5vw,64px);
  align-items:start;
  margin-bottom:clamp(72px,9vw,124px);
}
.article-summary{
  padding:clamp(28px,4vw,46px);
  border-radius:26px;
  background:var(--surface-alt);
}
.article-summary h2{max-width:21ch;margin:.3rem 0 1.3rem}
.article-summary ul{display:grid;gap:.8rem;margin:0;padding-left:1.2rem}
.article-summary li{padding-left:.25rem}
.article-toc{
  padding-top:14px;
}
.article-toc>strong{display:block;margin-bottom:1rem}
.article-toc ol{display:grid;gap:.75rem;margin:0;padding-left:1.25rem}
.article-toc a{color:var(--text);text-decoration-color:var(--gold)}

.article-section{
  margin:0 calc((100vw - min(1120px,calc(100vw - 40px)))/-2);
  padding:clamp(66px,8vw,112px) max(20px,calc((100vw - 1120px)/2));
}
.article-section-tinted{background:var(--surface-alt)}
.article-copy{width:min(100%,760px);margin-inline:auto}
.article-copy h2{max-width:24ch;margin:.35rem 0 1.15rem;line-height:1.1}
.article-copy h3{margin:2rem 0 .8rem;font-size:1.18rem}
.article-copy p{margin:0 0 1.15rem}
.article-copy ul,.article-copy ol{display:grid;gap:.6rem;margin:1rem 0 1.5rem;padding-left:1.35rem}
.article-copy strong{font-weight:650}

.article-figure{
  width:min(100%,980px);
  margin:clamp(36px,5vw,58px) auto 0;
}
.article-figure img{
  display:block;
  width:100%;
  max-height:640px;
  object-fit:cover;
  border-radius:26px;
}
.article-figure figcaption,
.article-gallery figcaption{
  margin-top:.75rem;
  color:var(--muted);
  font-size:.84rem;
  line-height:1.5;
}
.article-gallery{
  width:min(100%,1040px);
  margin:clamp(36px,5vw,58px) auto 0;
}
.article-gallery-two{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.article-gallery figure{margin:0}
.article-gallery img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:22px;
}

.article-compare{
  width:min(100%,980px);
  margin:clamp(34px,5vw,52px) auto 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.article-compare section{
  padding:clamp(26px,4vw,38px);
  border-radius:24px;
  background:var(--surface);
}
.article-compare section>span{display:block;margin-bottom:2.4rem;color:var(--gold);font-weight:650}
.article-compare h3{margin:0 0 .9rem}
.article-compare p{margin:0 0 .85rem;color:var(--text-2)}

.article-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:2rem 0;
}
.article-checklist>div,
.article-impact>div{
  display:grid;
  gap:.35rem;
  padding:20px;
  border-radius:18px;
  background:var(--surface);
}
.article-checklist span,
.article-impact span{color:var(--text-2)}
.article-note{
  margin:2rem 0 0;
  padding:22px 24px;
  border-left:5px solid var(--gold);
  border-radius:0 18px 18px 0;
  background:color-mix(in srgb,var(--gold) 7%,var(--surface));
}
.article-note p{margin:.4rem 0 0}

.article-impact{
  display:grid;
  gap:12px;
  margin-top:2rem;
}
.article-penalties{
  width:min(100%,980px);
  margin:clamp(34px,5vw,52px) auto 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.article-penalties section{
  padding:clamp(28px,4vw,40px);
  border-radius:24px;
  background:var(--surface);
}
.article-penalties section:last-child{
  background:var(--promo-bg);
  color:var(--promo-text);
}
.article-penalties section:last-child p,
.article-penalties section:last-child span{color:inherit}
.article-penalties span{display:block;margin-bottom:2.4rem;color:var(--gold);font-size:.82rem;font-weight:650;text-transform:uppercase;letter-spacing:.06em}
.article-penalties h3{margin:0 0 1rem;line-height:1.16}
.article-penalties p{color:var(--text-2)}

.article-steps{counter-reset:article-step;list-style:none!important;padding:0!important}
.article-steps li{
  counter-increment:article-step;
  position:relative;
  padding:1.1rem 0 1.1rem 3.2rem;
  border-bottom:1px solid var(--border);
}
.article-steps li::before{
  content:counter(article-step,decimal-leading-zero);
  position:absolute;
  left:0;
  top:1.15rem;
  color:var(--gold);
  font-size:.78rem;
  font-weight:650;
}

.article-sources ul{gap:.9rem}
.article-sources a{overflow-wrap:anywhere}
.article-end{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:clamp(60px,8vw,100px);
  padding:clamp(30px,5vw,48px);
  border-radius:28px;
  background:var(--promo-bg);
  color:var(--promo-text);
}
.article-end h2{max-width:22ch;margin:.35rem 0 .8rem}
.article-end p:not(.kicker){max-width:55ch;margin:0}
.article-end .kicker{color:inherit}
.article-end .button-primary{flex:none;background:var(--promo-text);border-color:var(--promo-text);color:var(--promo-bg)}

@media(max-width:900px){
  .knowledge-feature,
  .article-opening,
  .article-compare,
  .article-penalties{
    grid-template-columns:1fr;
  }
  .article-hero{min-height:0}
  .article-hero-shell{display:block}
  .article-hero-copy{width:100%;padding:3.2rem 0 2.4rem}
  .article-hero-copy h1{max-width:18ch;font-size:2rem}
  .article-hero-photo{position:relative;width:100vw;height:auto;margin-left:calc(50% - 50vw)}
  .article-hero-photo::after{display:none}
  .article-hero-photo img{height:auto;aspect-ratio:16/10}
  .article-hero-wave{height:14%}
  .article-toc{padding:0}
  .article-compare section>span,
  .article-penalties span{margin-bottom:1.4rem}
}
@media(max-width:700px){
  .article-shell{width:min(100% - 28px,1120px)}
  .article-gallery-two,
  .article-checklist{grid-template-columns:1fr}
  .article-section{
    margin:0 calc((100vw - (100vw - 28px))/-2);
    padding-inline:14px;
  }
  .article-figure img,
  .article-gallery img{border-radius:18px}
  .article-end{align-items:flex-start;flex-direction:column;border-radius:22px}
}
@media(max-width:480px){
  .article-shell{width:min(100% - 22px,1120px)}
  .article-section{
    margin:0 calc((100vw - (100vw - 22px))/-2);
    padding-inline:11px;
  }
  .article-summary{padding:22px 18px;border-radius:20px}
}


/* Artykuły: bezpieczny reflow przy 200% / 320 CSS px. */
.article-page :where(
  .article-copy,
  .article-summary,
  .article-toc,
  .article-compare,
  .article-compare section,
  .article-checklist,
  .article-checklist > div,
  .article-note,
  .article-impact,
  .article-impact > div,
  .article-penalties,
  .article-penalties section,
  .article-end,
  h2,
  h3,
  p,
  li,
  strong,
  span,
  a
){
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  white-space:normal;
}
.article-copy ul,
.article-copy ol{
  padding-left:28px;
}
@media(max-width:480px){
  .article-copy ul,
  .article-copy ol{
    padding-left:22px;
  }
}


/* Hero artykułu — tekst zostaje w siatce, zdjęcie dochodzi do prawej krawędzi ekranu. */
@media(min-width:901px){
  .article-hero-photo{
    left:0;
    right:auto;
    width:calc(100vw - max(20px, (100vw - 1320px) / 2));
  }
  .article-hero-photo img{
    object-position:right center;
  }
}

/* 2026-09-25 — final: czysty artykuł, bez ramek i bez cropowania hero */
/* Jasny artykuł: biała powierzchnia, czarny tekst, bordowe akcenty. */
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-page,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-section,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-section-tinted,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-summary,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-compare section,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-checklist>div,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-impact>div,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-note,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-penalties section,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-end{
  background:var(--theme-light-surface);
}

/* Bez dodatkowych ramek/kart, których nie było w założeniu. */
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-summary{
  width:min(100%,420px);
  padding:22px 24px;
  border:0;
  border-radius:0;
  box-shadow:none;
}
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-opening{
  grid-template-columns:minmax(0,420px) minmax(260px,1fr);
}

/* Zachowujemy tylko bordowe akcenty tam, gdzie już są semantyczne. */
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-note{
  border-left-color:var(--theme-light-gold);
}
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-penalties section:last-child,
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-end{
  color:var(--theme-light-text);
}
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-end .kicker{
  color:var(--theme-light-gold);
}
html:not([data-theme="dark"]):not([data-theme="reading"]) .article-end .button-primary{
  background:var(--theme-light-gold);
  border-color:var(--theme-light-gold);
  color:var(--theme-light-surface);
}

@media(max-width:900px){
  .article-opening{
    grid-template-columns:1fr;
  }
  html:not([data-theme="dark"]):not([data-theme="reading"]) .article-summary{
    width:100%;
  }
}



/* =========================================================
   WZORZEC HERO ANM ACCESS — STRONA GLOWNA
   Ten układ jest wzorem do skopiowania 1:1 na kolejne strony.
   ========================================================= */
.home-hero{
  --hero-fog:var(--theme-light-surface);
  --hero-wave:var(--theme-light-surface);
  position:relative;
  isolation:isolate;
  display:grid;
  align-items:center;
  min-height:clamp(560px,68vh,700px);
  padding:0;
  overflow:hidden;
  background:var(--theme-light-surface);
}
html[data-theme="dark"] .home-hero{
  --hero-fog:var(--theme-dark-bg);
  --hero-wave:var(--theme-dark-bg);
  background:var(--theme-dark-bg);
}
html[data-theme="reading"] .home-hero{
  --hero-fog:var(--theme-reading-bg);
  --hero-wave:var(--theme-reading-bg);
  background:var(--theme-reading-bg);
}
html[data-contrast="high"] .home-hero{
  --hero-fog:var(--theme-light-surface);
  --hero-wave:var(--theme-light-surface);
  background:var(--theme-light-surface);
  color:var(--high-contrast-text);
}

.home-hero::after{display:none}
.home-hero::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(
    90deg,
    var(--hero-fog) 0%,
    color-mix(in srgb,var(--hero-fog) 92%,transparent) 24%,
    color-mix(in srgb,var(--hero-fog) 58%,transparent) 38%,
    color-mix(in srgb,var(--hero-fog) 14%,transparent) 50%,
    transparent 60%
  );
  pointer-events:none;
}

.home-hero-shell{
  position:static;
  width:min(1320px,calc(100% - 40px));
  min-height:inherit;
  display:flex;
  align-items:center;
  margin-inline:auto;
}

.home-hero-copy{
  position:relative;
  z-index:3;
  width:min(100%,700px);
  padding:clamp(64px,7vw,92px) 0 clamp(92px,9vw,120px);
}
.home-hero-copy h1{
  max-width:24ch;
  margin:.25rem 0 1rem;
  font-size:30px;
  line-height:1.12;
  letter-spacing:-.025em;
}
.home-hero-copy .hero-lead{
  max-width:38ch;
  margin:0;
  font-size:1rem;
  line-height:1.65;
}
.home-hero .hero-meta{
  margin-top:1.25rem;
  gap:.55rem 1rem;
}

.home-hero .hero-photo-wide{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:transparent;
  box-shadow:none;
}
.home-hero .hero-photo-wide::before{display:none}
.home-hero .hero-photo-wide>img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:72% 16%;
  transform:scale(1.04);
  transform-origin:center right;
}
.home-hero .hero-photo-wave{
  display:block;
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:-1px;
  width:100%;
  height:12%;
  color:var(--hero-wave);
}

/* Kontrast: bez przygaszonych powierzchni, czarny + bordo na bieli. */
html[data-contrast="high"] .home-hero-copy,
html[data-contrast="high"] .home-hero-copy .hero-lead,
html[data-contrast="high"] .home-hero .hero-meta{
  color:var(--high-contrast-text);
}
html[data-contrast="high"] .home-hero .kicker,
html[data-contrast="high"] .home-hero .hero-meta .icon{
  color:var(--theme-light-gold);
}

/* Ten sam schemat także na mniejszych ekranach: zdjęcie nadal jest tłem hero. */
@media(max-width:820px){
  .home-hero{
    display:grid;
    min-height:620px;
  }
  .home-hero::before{
    display:block;
    background:linear-gradient(
      90deg,
      var(--hero-fog) 0%,
      color-mix(in srgb,var(--hero-fog) 94%,transparent) 48%,
      color-mix(in srgb,var(--hero-fog) 66%,transparent) 68%,
      color-mix(in srgb,var(--hero-fog) 18%,transparent) 88%,
      transparent 100%
    );
  }
  .home-hero-shell{
    width:min(100% - 32px,1320px);
    min-height:inherit;
    display:flex;
    align-items:flex-start;
  }
  .home-hero-copy{
    width:min(100%,34rem);
    padding:48px 0 120px;
  }
  .home-hero-copy h1{
    max-width:20ch;
    font-size:30px;
  }
  .home-hero-copy .hero-lead{
    max-width:34ch;
  }
  .home-hero .hero-photo-wide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
  }
  .home-hero .hero-photo-wide>img{
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:68% center;
    transform:none;
  }
  .home-hero .hero-photo-wave{height:10%}
}
@media(max-width:480px){
  .home-hero-shell{width:min(100% - 22px,1320px)}
  .home-hero-copy{padding-top:40px}
  .home-hero-copy h1{font-size:30px}
}


/* =========================================================
   HOME — najnowsze artykuly
   ========================================================= */
.home-latest-articles{
  background:var(--bg);
}
.home-articles-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(20px,3vw,32px);
  margin-top:clamp(30px,4vw,48px);
}
.home-article-card{
  display:grid;
  grid-template-rows:auto 1fr;
  min-width:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--border) 28%,transparent);
  border-radius:24px;
  background:var(--surface);
  box-shadow:0 18px 48px -40px var(--shadow-color);
}
.home-article-card figure{
  margin:0;
  overflow:hidden;
  background:var(--surface);
}
.home-article-card img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.home-article-card-body{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:clamp(22px,3vw,30px);
}
.home-article-card-body h3{
  margin:.3rem 0 .85rem;
  max-width:24ch;
  font-size:1.35rem;
  line-height:1.2;
}
.home-article-card-body>p:not(.kicker){
  margin:0;
  color:var(--text-2);
}
.home-article-card .button{
  margin-top:auto;
  padding-top:.7rem;
  transform:translateY(1rem);
}
html[data-contrast="high"] .home-article-card{
  background:var(--theme-light-surface);
  border:2px solid var(--high-contrast-text);
  box-shadow:none;
}
@media(max-width:820px){
  .home-articles-grid{
    grid-template-columns:1fr;
  }
}


/* Accessibility corrections: resilient text, named controls and pointer targets. */
:where(a, button, summary, input, select, textarea){scroll-margin-block:1rem}
.home-article-card-body,.home-article-card-body>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.home-article-card{grid-template-columns:minmax(0,1fr)}
.home-numbers-copy,.home-numbers-copy>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.footer-nav a,.article-toc a,.glossary-index a{
  display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:6px 4px;
}
.footer-nav{gap:8px 16px}
.accessibility-bar .access-group{
  min-width:0;max-width:100%;flex:0 1 auto;flex-wrap:wrap;
}
.accessibility-bar :where(.access-group button,.access-tool){
  max-width:100%;white-space:normal;overflow-wrap:anywhere;
}
html[data-text-size="aaa"] .accessibility-bar .access-group{min-width:0}
.accessibility-bar-inner{flex-wrap:wrap}
/* An opaque backing keeps the text contrast independent of the photograph. */
.home-hero-copy{background:transparent;box-shadow:none}
.home-hero-copy>:where(h1,p,ul){
  width:fit-content;background:var(--bg);box-shadow:0 0 10px 8px var(--bg);
}
html[data-contrast="high"] .home-hero-copy{background:var(--surface)}
.simple-summary{padding-block:2rem;border-bottom:1px solid var(--border)}
.simple-summary .shell{max-width:900px}
.simple-summary h2{margin-top:0}
.simple-summary li{margin-block:.55rem}
.term-link{text-decoration-style:dotted}
.glossary-list{max-width:75ch}
.glossary-list dt{font-weight:650;margin-top:1.5rem;scroll-margin-top:1rem}
.glossary-list dd{margin:.35rem 0 1rem}
.glossary-index{display:flex;flex-wrap:wrap;gap:8px 16px;margin-block:1.5rem}
@media(max-width:900px){
 html:not([data-theme="dark"]):not([data-theme="reading"]) .article-opening{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation:none!important;transition:none!important}
}
/* Definitions stay legible on promotional panels as well as ordinary surfaces. */
.term-link{color:inherit}
/* Long definitions and the decorative WCAG mark also fit at 200% / 320 px. */
.glossary-list :where(dt,dd){min-width:0;max-width:100%;overflow-wrap:anywhere}
.wcag-mark{font-size:min(5rem,20vw);overflow-wrap:anywhere}

/* The full button and its focus outline stay inside the article card at 200%. */
.home-article-card .button{transform:none}

/* Focus must contrast with promotional panels, including reading mode. */
.home-numbers-cta-grid,.article-end,.article-penalties section:last-child{
  --focus-on-surface:var(--promo-text);
}
html:not([data-theme="dark"]):not([data-theme="reading"]) :where(.article-end,.article-penalties section:last-child){
  --focus-on-surface:var(--focus);
}

/* A working, local-only examplenstration of clear form instructions and recovery. */
.form-showcase{background:var(--surface-alt);border-block:1px solid var(--border)}
.form-showcase-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(24px,5vw,72px);align-items:start}
.form-showcase-grid>*{min-width:0;overflow-wrap:anywhere}
.form-showcase-intro h2{max-width:18ch}
.form-showcase-intro li{margin-block:1rem}
.accessible-example{padding:clamp(16px,3vw,36px);border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text)}
.example-field{margin-block:1.6rem}
.example-field label{display:block;font-weight:700;margin-bottom:.5rem}
.example-field :where(input,select,textarea){display:block;width:100%;min-width:0;max-width:100%;min-height:48px;padding:.8rem;border:2px solid var(--border);border-radius:8px;font:inherit;line-height:1.5;box-sizing:border-box}
.example-field textarea{resize:vertical}
.example-field .field-hint{margin:.4rem 0 .7rem}
.example-field [aria-invalid="true"]{border-color:var(--danger)}
.field-error{color:var(--danger);font-weight:700;margin-top:.6rem}
.form-errors{border:3px solid var(--danger);padding:1rem;border-radius:8px;margin-block:1rem}
.form-errors h3{margin-top:0}
.form-errors a{display:inline-block;min-height:44px;padding-block:.5rem}
.accessible-example .button{white-space:normal;max-width:100%;height:auto;min-height:48px}
.form-result:not(:empty){border-inline-start:4px solid var(--gold);padding:1rem;margin-top:1.5rem}
@media(max-width:760px){.form-showcase-grid{grid-template-columns:minmax(0,1fr)}}
