@media screen {
  #top > .section,
  #top > .final-cta {
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
  }
  #top .home-faq .faq {
    max-width: none;
    display: grid;
    gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
  }
  #top .faq-column { min-width: 0; }
  #top .faq-column .faq-group:first-child { margin-top: 0; }
  #zespol .team-card .team-experience { min-height: 0; }
  #jak-testujemy .scope-cards { grid-template-rows: auto; }
  .page-services main,
  .page-contact main,
  main.orion {
    padding-block: clamp(2rem, 4vw, 3.5rem);
  }
  .page-services .service-contact {
    margin-block: clamp(1.5rem, 3vw, 2.5rem) 0;
  }
  .page-services .service-grid .service-card > summary { min-height: 0; }
  .page-services .service-title { margin-top: 1rem; }
  .page-services .service-action { padding-top: 1rem; }
  .page-contact .layout {
    grid-template-areas: 'intro form' 'team form';
    grid-template-rows: auto 1fr;
    row-gap: 2rem;
  }
  .page-contact .intro { grid-area: intro; }
  .page-contact .panel { grid-area: form; min-width: 0; }
  .page-contact .contact-team { grid-area: team; }
  .page-contact .team-card { margin-top: 0; }
  .page-contact .intro .lead { margin-bottom: 0; }
  .report-content main.sheet { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
  .report-content .cover-in { padding-block: 0 1rem; }
  main.orion > section:last-child { margin-bottom: 0; }
  .report-print-view .cover { min-height: 0; }
  .report-print-view .cover-in { padding-block: clamp(2rem, 5vw, 4rem); }
  .report-print-view .cover-main { margin-top: 2rem; }
  .report-print-view .cover-foot { margin-top: 2rem; padding-top: 0; }
  .opt-site-footer .opt-footer-inner { padding-top: clamp(2rem, 3vw, 2.75rem); }
}
@media screen and (min-width: 960px) {
  #top .home-faq .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (min-width: 1000px) {
  #jak-testujemy .scope-cards { grid-template-rows: repeat(3, auto); }
  #jak-testujemy .scope-cards article,
  #jak-testujemy .scope-cards article:last-child { grid-row: span 3; }
}
@media screen and (max-width: 850px) {
  .page-contact .layout { grid-template-areas: 'intro' 'form' 'team'; grid-template-rows: auto; }
  .page-contact .intro, .page-contact .panel { max-width: none; }
}
@media screen and (max-width: 700px) {
  #top > .hero { padding-block: 2.5rem; }
  #top .home-faq .faq { gap: 1.5rem; }
  .opt-site-footer .opt-footer-links { gap: 0; }
  .opt-site-footer .opt-footer-links a { display: flex; align-items: center; min-height: 44px; }
  .opt-site-footer .opt-footer-heading { margin-bottom: .4rem; }
  .page-contact :is(input, select, textarea) { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media screen {
  #oferta .offer-composition { gap: clamp(1.5rem, 3vw, 2.25rem); }
  #oferta .purchase-timeline { padding-top: clamp(1.25rem, 2vw, 1.75rem); }
  .page-services .note { margin-top: 1rem; }
  .report-print-view .ev { max-width: 100%; overflow-x: auto; }
  .report-print-view .ev code { white-space: pre-wrap; overflow-wrap: anywhere; }
}
@media screen and (max-width: 700px) {
  #top .result-controls button { min-width: 44px; min-height: 44px; }
  #top .result-dots { flex-wrap: wrap; }
}
#zespol .team-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
#zespol .team-intro .small { text-transform: uppercase; }
#zespol .team-tenure { margin: .625rem 0 0; }
#zespol .team-years {
  display: block;
  color: #d3ef99;
  font-size: clamp(3rem, 5.4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.055em;
}
#zespol .team-tenure-caption {
  display: block;
  margin-top: .6rem;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}
#zespol .team-intro > p { max-width: 58ch; line-height: 1.65; }
@media (max-width: 760px) {
  #zespol .team-intro { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
.opt-skip {
  position: fixed;
  inset: .5rem auto auto .75rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: .65rem 1rem;
  border-radius: .3rem;
  background: #d4f39e;
  color: #142015;
  font: 700 1rem/1.5 Manrope, sans-serif;
}
.opt-skip:focus { transform: none; }
@media screen and (max-width: 760px) {
  #top .home-faq details, #top .more-examples { padding-block: 0; }
  #top .home-faq summary, #top .more-examples summary {
    min-height: 44px;
    padding-block: .65rem;
    align-items: center;
  }
  #top .home-faq details[open] > p, #top .more-examples[open] > ul { padding-bottom: .75rem; }
}
@media print { .opt-skip { display: none; } }
