/* Original typography, geometry, colors and illustrations remain in the DC templates.
   These rules address accessibility and small-screen interaction only. */
:focus-visible{outline:2px solid #315cff;outline-offset:4px}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button[aria-pressed=true]{border-color:#315cff}
[data-nav-links]{visibility:visible}
.home-cta-mobile{display:none}
.ls-pill{display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:3.75rem;padding:.9rem 1.5rem;border-radius:99px;font-size:1rem;font-weight:600;transition:background .25s,color .25s}
.ls-pill-dark{background:#101112;color:#fff}
.ls-pill-dark:hover{background:#315cff;color:#fff}
button.ls-pill{border:0;cursor:pointer}
.quiz-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.3rem}
.quiz-edit{background:transparent;color:#54565c;border:0;padding:.6rem 0;min-height:2.75rem;text-decoration:underline;font-size:.85rem}
.quiz-answer-summary{margin-top:1.2rem;font-size:.87rem;color:#54565c;max-width:40rem}
.quiz-answer-summary>summary{cursor:pointer;min-height:2.75rem;padding:.6rem 0}
.quiz-answer{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%;border:0;border-top:1px solid #e3e4df;background:none;color:#54565c;text-align:left;padding:.9rem 0;font-size:.85rem;line-height:1.5}
.quiz-answer strong{display:block;color:#101112;font-weight:600}.quiz-answer>span:last-child{color:#315cff;flex:none}
.contact-optional summary{font-size:.9rem;line-height:1.5;color:#c8c9ce;cursor:pointer;min-height:2.75rem;padding:.5rem 0}
.contact-optional summary span{font-size:.8rem;color:#aaaebc}
.contact-optional label{display:grid;gap:.5rem;font:400 .7rem/1.5 'DM Mono',monospace;letter-spacing:.09em;color:#c8c9ce;margin-top:1rem}
.contact-optional input{width:100%;min-height:3.3rem;padding:.85rem 1rem;border-radius:.85rem;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#f4f2ee;font:500 .95rem Manrope,sans-serif}
.contact-optional input:focus{border-color:#8ea5ff;outline:2px solid #8ea5ff;outline-offset:2px}
[data-contact-mount] [hidden]{display:none!important}
#contact-error{margin:0;padding:.85rem 1rem;border-radius:.85rem;background:rgba(255,90,90,.12);border:1px solid rgba(255,120,120,.35);color:#ffb4b4;font-size:.88rem;line-height:1.55}
#contact-form button[type=submit]:hover{background:#315cff!important;color:#fff!important}
#contact-form button:disabled{opacity:.6;cursor:wait}
.contact-confirm{border:1px solid rgba(255,255,255,.16);border-radius:1.5rem;padding:2rem;background:rgba(255,255,255,.045)}
.contact-confirm h3{font-size:1.65rem;font-weight:500;letter-spacing:-.035em;margin:0 0 1rem}
.contact-confirm p{color:#c8c9ce;line-height:1.65}
.contact-confirm button{border:1px solid rgba(255,255,255,.28);border-radius:99px;min-height:3rem;padding:.7rem 1.2rem;font:600 .92rem Manrope,sans-serif;background:transparent;color:#fff;cursor:pointer}
.ls-text-link{display:inline-flex;align-items:center;gap:.7rem;min-height:3.2rem;padding:.5rem 0;border-bottom:1px solid #101112;font-size:.95rem;font-weight:600}
.hero-sales-copy{margin:1.65rem 0 0;max-width:48ch;font-size:clamp(1.02rem,1.2vw,1.2rem);line-height:1.65;color:#54565c}
.hero-sales-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.6rem;margin-top:1.7rem}
.hero-sales-note{font:400 .72rem/1.65 'DM Mono',monospace;color:#65676d;margin:1rem 0 0}
#top{padding-top:clamp(7.5rem,10vw,10rem)!important;padding-bottom:2.5rem!important}
#top h1{font-size:clamp(3rem,5.65vw,6.3rem)!important;margin-top:1.65rem!important}
#top [data-partner]{margin-top:1.7rem!important}
#top [data-partner-text]{font-size:1.05rem!important}
#top [data-partner-logo]{height:26px!important}
#top [data-partner-clear]{padding:13px!important}
#realizacje{padding-top:clamp(4rem,7vw,6rem)!important;padding-bottom:clamp(3rem,5vw,5rem)!important}
#uslugi{padding-top:clamp(3rem,5vw,5rem)!important}
#realizacje [data-head] em{max-width:17ch;display:inline-block}
@media(max-width:860px){
  [data-rail]{display:none!important}
  .home-cta-mobile{display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:3.4rem;border-radius:99px;background:#101112;color:#fff;padding:.9rem 1.2rem;margin-top:1.5rem;font-size:.92rem;font-weight:600}
  .home-cta-mobile:hover{background:#315cff;color:#fff}
  [data-nav-links][style*="pointer-events:none"]{visibility:hidden}
  [data-hero-grid] h1{font-size:clamp(2.6rem,8.9vw,4rem)!important}
  #top{padding-top:7.2rem!important}
  #top h1{font-size:clamp(2.4rem,8.5vw,4rem)!important;margin-top:1.2rem!important}
  .hero-sales-copy{font-size:1rem;line-height:1.6;margin-top:1.2rem}
  .hero-sales-actions{margin-top:1.3rem;gap:.5rem 1.2rem}
  .hero-sales-actions .ls-pill{font-size:.92rem;min-height:3.5rem}
  #top [data-spirit]{width:min(70%,19rem)!important;margin-top:1rem}
  #top [data-partner]{margin-top:0!important}
  [data-tgrid]{grid-template-columns:1fr!important}
  [data-tgrid]>div:first-child{order:1}
  [data-stage]{min-height:15rem!important;order:0}
  [data-stage] [data-spirit]{width:12rem!important;left:77%!important;top:57%!important}
  [data-stage] [data-bubble]{left:5%!important;top:12%!important;max-width:58%!important;font-size:.88rem!important;padding:.8rem!important}
  [data-planhead],[data-planbottom]{grid-template-columns:1fr!important}
  [data-planhead]>div:last-child{display:none}
  [data-tgrid] h2{font-size:1.9rem!important}
  [data-tgrid] button{min-height:2.75rem}
}
@media(max-width:480px){
  [data-tgrid]>div:first-child{padding:1.25rem!important}
  [data-opts]{margin-top:1.2rem!important}
  [data-hero-grid]{min-height:0!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}[data-reveal]{opacity:1!important;transform:none!important}}
@media print{[data-stage],button,[data-toast]{display:none!important}body{background:#fff!important}div[style*="height:100dvh"]{height:auto!important;overflow:visible!important}section{overflow:visible!important}a{color:#101112!important}}

.quiz-quote{background:transparent;color:#101112;border:1px solid #aeb6ce!important}.quiz-quote:hover{background:#101112;color:#fff}

@media(max-width:700px){.ls-original-home [data-spirit-note]{left:50%!important;right:auto!important;transform:translateX(-50%) rotate(-4deg)!important;max-width:calc(100vw - 2.5rem);white-space:normal!important;text-align:center}}

.hero-sales-budget{font:500 .9rem/1.7 Manrope,sans-serif;color:#54565c;margin:1.1rem 0 0}.hero-sales-budget strong{font-weight:650;color:#101112;white-space:nowrap}.hero-sales-budget+.hero-sales-actions{margin-top:1.1rem}

/* The estimate keeps the original conversational layout at a more compact scale. */
[data-quiz-header]{min-height:64px;padding:14px clamp(20px,4vw,48px)!important;gap:14px!important}
[data-quiz-header]{position:sticky;top:0;z-index:20;flex:none}
[data-planhead] h2,[data-tgrid] h2{scroll-margin-top:88px}
[data-quiz-result]{animation:none!important}
.quiz-leading-price{font:600 26px/1.4 'Bricolage Grotesque',Manrope,sans-serif;letter-spacing:-.035em;color:#101112;margin:18px 0 0}
.quiz-leading-price small{display:block;font:400 12px/1.6 Manrope,sans-serif;letter-spacing:0;color:#65676d;margin-top:4px}
[data-quiz-header] a{font-size:13px!important;line-height:1.5;min-height:36px;display:flex;align-items:center}
[data-tgrid]>div:first-child{padding:clamp(24px,3.5vw,48px)!important;gap:26px!important}
[data-tgrid] h2{font-size:clamp(29px,3.1vw,42px)!important;line-height:1.12!important}
[data-opts] button{padding:13px 16px!important;min-height:52px!important;font-size:14px!important;line-height:1.55!important}
[data-stage] [data-bubble]{font-size:15px!important;line-height:1.6!important;padding:16px 18px!important}
[data-quiz-result]{max-width:1280px!important;padding:32px clamp(20px,4vw,48px)!important;box-sizing:border-box}
[data-planhead] h2{font-size:clamp(30px,3.5vw,46px)!important;line-height:1.12!important}
.quiz-estimate-note{font-size:14px;line-height:1.65;color:#54565c;max-width:60ch;margin:14px 0 0}
.quiz-result-actions{gap:12px}
.quiz-result-actions .ls-pill{font-size:14px;min-height:48px;padding:12px 19px;line-height:1.5}
.quiz-result-actions .quiz-edit{font-size:13px}
@media(max-width:860px){
 [data-stage]{min-height:185px!important}
 [data-stage] [data-spirit]{width:145px!important;left:80%!important;top:59%!important}
 [data-stage] [data-bubble]{left:20px!important;top:20px!important;max-width:60%!important;font-size:13px!important;padding:13px!important;box-sizing:border-box}
 [data-tgrid]>div:first-child{padding:24px!important}
 [data-tgrid] h2{font-size:30px!important}
 [data-planhead]{gap:16px!important}
}
@media(max-width:400px){
 [data-quiz-header]{padding:12px 16px!important;gap:10px!important}
 [data-quiz-header]>div{font-size:12px!important;gap:6px!important}
 [data-quiz-header] a{font-size:11px!important}
 [data-tgrid]>div:first-child{padding:22px 20px!important}
 [data-stage] [data-bubble]{max-width:61%!important;left:16px!important}
 [data-stage] [data-spirit]{width:126px!important}
 [data-quiz-result]{padding-inline:20px!important}
 .quiz-result-actions{align-items:stretch;flex-direction:column}
 .quiz-result-actions .ls-pill{font-size:13px;justify-content:center;padding-inline:14px}
 .quiz-result-actions .quiz-edit{align-self:start}
}

.quiz-page-heading{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
