/*
 * Shared type scale and components for every live page (loaded last).
 * One headline size, one lead paragraph, one kicker style, one CTA shape
 * and one footer, so the subpages read as one site on phones and desktops.
 */

/* ---------- All widths ---------- */
body.home-premium{font-family:"DM Sans",Arial,sans-serif}

/* Header stays pinned on every page, privacy included. */
body.privacy-page header{position:fixed}

/* Full-screen contact layout can scroll down to the shared footer. */
body.contact-page{overflow-x:hidden;overflow-y:auto}

/* Footer shared by all pages. */
.site-footer{
  position:relative;
  z-index:5;
  border-top:1px solid #ffffff14;
  background:#090a0b;
  color:#c9cbca;
  font-family:"DM Sans",Arial,sans-serif;
  scroll-snap-align:end;
}
.site-footer-inner{
  width:min(1220px,calc(100% - 64px));
  margin:auto;
  padding:28px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 32px;
  flex-wrap:wrap;
}
.site-footer-links{display:flex;flex-wrap:wrap;gap:0 28px}
.site-footer-links a{min-height:44px;display:flex;align-items:center;color:#c9cbca;font-size:13px;text-decoration:none;transition:color .2s}
.site-footer-links a:hover,.site-footer-links a:focus-visible{color:#d9b756}
.site-footer-copy{margin:0;color:#7d8080;font-size:12px}

/* ---------- Tablet and desktop (681px+) ---------- */
@media (min-width: 681px) {
  body.home-premium main h1{
    font-family:Manrope,Arial,sans-serif;
    font-weight:800;
    line-height:.94;
    letter-spacing:-.065em;
  }

  /* Lead paragraph under a headline. */
  body.home-premium main :is(h1,h2) + p{
    font-family:"DM Sans",Arial,sans-serif;
    font-weight:400;
    font-size:15px;
    line-height:1.7;
  }
  body.privacy-page main p{font-family:"DM Sans",Arial,sans-serif;font-weight:400;font-size:15px;line-height:1.75}

  /* Kicker above headlines. */
  body.home-premium :is(.scene-kicker,.zoom-kicker,.stone-kicker,.brand-kicker,.product-kicker){
    display:inline-block;
    min-height:0;
    padding:8px 12px;
    font:800 11px/1.4 Manrope,Arial,sans-serif;
    letter-spacing:.2em;
    text-transform:uppercase;
  }

  /* Primary CTAs: rectangular, Manrope 13px. */
  body.home-premium :is(.scene-button,.world-actions>a,.zoom-actions>a,.stone-button,.brand-button,.product-actions>a,.privacy-return>a,.contact-submit){
    border-radius:0;
    font-family:Manrope,Arial,sans-serif;
    font-size:13px;
    letter-spacing:.02em;
  }

  /* Privacy content and footer sit on the same grid as the header bar (84vw). */
  body.privacy-page .privacy-main{width:84vw;padding-inline:18px;box-sizing:border-box}
  .site-footer-inner{width:84vw;padding-inline:18px;box-sizing:border-box}
}

/* Tablet: one headline step between phone and desktop. */
@media (min-width: 681px) and (max-width: 1024px) {
  body.home-premium main h1{font-size:56px}
  body.product-page main h1{font-size:46px}
  /* Document pages start under the logo, like the header bar. */
  body.product-page .product-main{padding-inline:calc(8vw + 18px)}
  /* Two columns do not fit the narrower privacy grid, so it stacks like on phones. */
  body.privacy-page .privacy-main{grid-template-columns:1fr;gap:20px}
  body.privacy-page .privacy-hero{position:relative;top:auto}
}
/* Product keeps two columns above 800px; let them shrink so they fit the inset. */
@media (min-width: 801px) and (max-width: 1024px) {
  body.product-page .product-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px}
}
/* Contact stacks to one column up to 920px; only then can it take the wider inset. */
@media (min-width: 681px) and (max-width: 920px) {
  body.contact-page .contact-stage{padding-inline:calc(8vw + 18px)}
}

/* Desktop. */
@media (min-width: 1025px) {
  body.home-premium main h1{font-size:clamp(60px,5.6vw,88px)}
  body.product-page main h1{font-size:clamp(48px,4.4vw,68px)}
}

@media (min-width: 681px) and (max-height: 780px) {
  body.home-premium main :is(h1,h2) + p{font-size:14px;line-height:1.6}
}
@media (min-width: 1025px) and (max-height: 780px) {
  body.home-premium main h1{font-size:clamp(56px,5vw,76px)}
  body.product-page main h1{font-size:clamp(44px,4vw,60px)}
}

/* ---------- Hamburger menu (<=920px, where the desktop nav is hidden) ---------- */
@media (max-width: 920px) {
  /* Mobile menu: legal link reachable from every page. */
  body.home-premium .mobile-menu-foot>a.mobile-legal{
    grid-column:1/-1;
    min-height:44px;
    height:44px;
    background:none;
    box-shadow:none;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border:0;
    color:#9a9d9c;
    font:500 12px "DM Sans",Arial,sans-serif;
  }
  .mobile-contact small{font-size:11px}
}

/* ---------- Mobile ---------- */
@media (max-width: 680px) {
  /* Headline: same size, weight and tracking on every page. */
  body.home-premium main h1{
    font-family:Manrope,Arial,sans-serif;
    font-weight:800;
    font-size:clamp(40px,12.5vw,48px);
    line-height:.98;
    letter-spacing:-.055em;
  }
  /* Product names are long, so the product card keeps a smaller step of the same scale. */
  body.product-page main h1{font-size:clamp(34px,10.5vw,40px)}

  /* Lead paragraph under a headline. */
  body.home-premium main :is(h1,h2) + p{
    font-family:"DM Sans",Arial,sans-serif;
    font-weight:400;
    font-size:15px;
    line-height:1.6;
  }
  body.privacy-page main p{font-family:"DM Sans",Arial,sans-serif;font-weight:400;font-size:15px;line-height:1.7}

  /* Kicker above headlines: "CAPITAL STONE · TEMAT" or "0N · TEMAT". */
  body.home-premium :is(.scene-kicker,.zoom-kicker,.stone-kicker,.brand-kicker,.product-kicker){
    display:inline-block;
    min-height:0;
    padding:8px 11px;
    font:800 11px/1.4 Manrope,Arial,sans-serif;
    letter-spacing:.14em;
    text-transform:uppercase;
  }

  /* Home chapter rail: readable numbers. */
  .chapter-rail span{font-size:11px}

  /* Primary CTAs: rectangular, Manrope 13px on every page. */
  body.home-premium :is(.scene-button,.world-actions>a,.zoom-actions>a,.mobile-panel-action,.stone-button,.brand-button,.product-actions>a,.privacy-return>a,.contact-submit){
    border-radius:0;
    font-family:Manrope,Arial,sans-serif;
    font-size:13px;
    letter-spacing:.02em;
  }
  .contact-submit-row p span{font-size:11px}
  .contact-submit-row p strong{font-size:12px}
  .contact-meta{display:none}

  /* Compact two-column footer. */
  .site-footer-inner{
    width:auto;
    display:block;
    padding:32px 24px calc(28px + env(safe-area-inset-bottom));
  }
  .site-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
  .site-footer-copy{margin-top:16px}
}

@media (max-width: 680px) and (max-height: 740px) {
  body.home-premium main h1{font-size:clamp(38px,11vw,48px)}
  body.home-premium main :is(h1,h2) + p{font-size:14px;line-height:1.5}
}

@media (max-width: 360px) {
  body.home-premium main h1{font-size:40px}
  body.product-page main h1{font-size:34px}
}

/* ---------- Stopka z danymi firmy (v2) ---------- */
.site-footer-inner{display:block;padding:64px 0 0}
.site-footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)) minmax(0,1fr);gap:40px 36px;padding-bottom:48px}
.site-footer-brand p{margin:20px 0 0;max-width:30ch;color:#8f9392;font-size:13.5px;line-height:1.7}
.site-footer-logo{display:inline-flex}
.site-footer-logo img{width:190px;height:auto}
.site-footer-col{font-style:normal;display:flex;flex-direction:column;align-items:flex-start}
.site-footer-label{margin-bottom:14px;color:#d9b756;font:800 10.5px/1.4 Manrope,Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase}
.site-footer-col p{margin:0;color:#e2e0d9;font-size:14px;line-height:1.75}
.site-footer-col small{margin-top:6px;color:#7d8080;font-size:12px;line-height:1.5}
.site-footer-col a{color:#e2e0d9;text-decoration:none;transition:color .2s}
.site-footer-col a:hover,.site-footer-col a:focus-visible{color:#d9b756}
.site-footer .site-footer-links{display:flex;flex-direction:column;gap:0}
.site-footer .site-footer-links a{min-height:32px;font-size:14px;color:#c9cbca}
.site-footer-bottom{display:flex;align-items:center;gap:8px 28px;flex-wrap:wrap;padding:20px 0 24px;border-top:1px solid #ffffff12}
.site-footer-bottom p{margin:0}
.site-footer-legal{color:#6f7372;font-size:12px;letter-spacing:.02em}
.site-footer-bottom a{margin-left:auto;min-height:44px;display:flex;align-items:center;color:#9da09f;font-size:12px;text-decoration:none}
.site-footer-bottom a:hover,.site-footer-bottom a:focus-visible{color:#d9b756}
@media (max-width:1100px){.site-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-footer-brand{grid-column:1/-1}}
@media (max-width:680px){
  .site-footer-inner{width:auto;padding:48px 20px env(safe-area-inset-bottom)}
  .site-footer-grid{grid-template-columns:1fr 1fr;gap:32px 20px;padding-bottom:36px}
  .site-footer .site-footer-links{display:flex;grid-column:1/-1}
  .site-footer-bottom{flex-direction:column;align-items:flex-start;gap:6px}
  .site-footer-bottom a{margin-left:0}
}

/* ---------- FAQ (widoczne dla ludzi, botów i wyszukiwarek AI) ---------- */
.site-faq{position:relative;z-index:5;background:#0c0d0e;color:#e9e6dd;border-top:1px solid #ffffff12;font-family:"DM Sans",Arial,sans-serif;scroll-snap-align:start}
.site-faq-inner{width:min(1220px,calc(100% - 32px));margin:auto;padding:72px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:32px 64px}
.site-faq-head span{display:inline-block;padding:8px 12px;border:1px solid #d6b45a55;color:#d9b756;font:800 11px/1.4 Manrope,Arial,sans-serif;letter-spacing:.2em}
.site-faq-head h2{margin:18px 0 0;font:800 clamp(30px,3.4vw,46px)/1 Manrope,Arial,sans-serif;letter-spacing:-.05em;color:#f5f2eb}
.site-faq-list details{border-bottom:1px solid #ffffff17}
.site-faq-list details:first-child{border-top:1px solid #ffffff17}
.site-faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding:20px 0}
.site-faq-list summary::-webkit-details-marker{display:none}
.site-faq-list summary::after{content:"+";flex:none;width:28px;height:28px;display:grid;place-items:center;border:1px solid #d6b45a66;color:#d9b756;font:600 16px/1 Manrope,Arial,sans-serif;transition:background .2s,color .2s}
.site-faq-list details[open] summary::after{content:"−";background:#d9b756;color:#0c0d0e}
.site-faq-list summary:focus-visible{outline:2px solid #d9b756;outline-offset:4px}
.site-faq-list h3{margin:0;font:700 17px/1.35 Manrope,Arial,sans-serif;color:#f5f2eb;letter-spacing:-.01em}
.site-faq-list p{margin:0 0 22px;max-width:68ch;font-size:15px;line-height:1.7;color:#b4b6b5}
@media (min-width:681px){.site-faq-inner{width:84vw;padding-inline:18px;box-sizing:border-box}}
@media (max-width:860px){.site-faq-inner{grid-template-columns:1fr;padding:56px 0}}
