/* AIprawnik v9.2 — final professional typography and mobile layout. */
:root{--v92-ink:#13213a;--v92-muted:#617087;--v92-line:#dce3ed;--v92-soft:#f6f8fb;--v92-blue:#3157d5;--v92-green:#178566}
body{font-size:16px;line-height:1.6;text-rendering:optimizeLegibility}
main h1{letter-spacing:-.035em}
main h2{letter-spacing:-.025em}

/* Public pages: restrained headings instead of oversized marketing type. */
.knowledge-hero-v7 h1,.service-landing-v85 h1,.project-page-v75 h1,.standard-page-v75 h1{font-size:clamp(34px,4vw,48px)!important;line-height:1.08!important}
.knowledge-section-v7 h2,.knowledge-intro-v7 h2,.service-landing-v85 h2{font-size:clamp(25px,2.8vw,34px)!important;line-height:1.18!important}
.knowledge-card-v7 h2{font-size:20px!important;line-height:1.28!important}

/* Legal journal: compact editorial column and conventional hierarchy. */
.article-page-v56{max-width:1120px!important;padding-bottom:72px!important}
.article-page-v56>article>header{margin:18px 0 28px!important;padding:42px 46px 38px!important;border-radius:22px!important;box-shadow:0 14px 38px rgba(15,34,66,.07)!important}
.article-page-v56 h1{max-width:850px!important;margin:16px 0 18px!important;font-size:clamp(36px,4.5vw,52px)!important;line-height:1.08!important;letter-spacing:-.035em!important}
.article-lead-v56{max-width:820px!important;font-size:17px!important;line-height:1.68!important}
.article-journal-layout-v82{grid-template-columns:220px minmax(0,760px)!important;justify-content:center!important;gap:38px!important}
.article-body-v82>section:not(.article-checklist-v56):not(.article-sources-v62):not(.article-related-v75){margin-bottom:30px!important;padding-bottom:28px!important}
.article-body-v82>section:not(.article-checklist-v56):not(.article-sources-v62):not(.article-related-v75)>h2{margin-bottom:15px!important;font-size:clamp(25px,2.7vw,32px)!important;line-height:1.2!important;letter-spacing:-.025em!important}
.article-body-v82 p,.article-body-v82 p:first-of-type{max-width:760px!important;font-size:16px!important;line-height:1.76!important}
.article-checklist-v56,.legal-bases-v82,.article-sources-v62{margin:34px 0!important;padding:28px!important;border-radius:18px!important}
.article-checklist-v56 h2,.article-sources-v62 h2,.article-cta-v56 h2{font-size:27px!important}
.article-related-v75>div:first-child h2{font-size:29px!important}
.article-related-v75 article{min-height:190px!important;padding:18px!important}
.article-cta-v56{margin-top:38px!important;padding:28px 30px!important;border-radius:18px!important}

/* Included lawyer-review screen. */
.included-lawyer-graphic-v92{display:block;width:100%;max-width:520px;height:auto;margin:0 0 20px;border-radius:18px}
.lawyer-return-copy h1{font-size:clamp(32px,4vw,44px)!important;line-height:1.08!important;letter-spacing:-1.5px!important}
.lawyer-return-copy>p{font-size:15px!important;line-height:1.65!important}

@media(max-width:760px){
  body{font-size:15px}
  .shell,.container,.page-shell{padding-left:14px!important;padding-right:14px!important}
  main h1{font-size:30px!important;line-height:1.1!important;letter-spacing:-1px!important}
  main h2{font-size:23px!important;line-height:1.2!important}
  main h3{font-size:18px!important;line-height:1.25!important}

  /* Homepage: premium two-column selector instead of nine cramped miniatures. */
  .service-grid-premium-v9{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:8px!important}
  .service-grid-premium-v9>label{min-width:0!important;min-height:82px!important;padding:0!important;border:1px solid var(--v92-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 12px rgba(21,39,74,.045)!important;overflow:hidden!important}
  .service-grid-premium-v9>label:nth-child(9){grid-column:1/-1!important;min-height:68px!important}
  .service-grid-premium-v9>label>b{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;width:100%!important;height:100%!important;padding:12px!important;border:0!important;border-radius:inherit!important;text-align:left!important}
  .service-grid-premium-v9>label b>span:first-child,.service-grid-premium-v9 .service-icon-v9{width:34px!important;height:34px!important;margin:0!important;border-radius:10px!important}
  .service-grid-premium-v9>label b>span:last-child,.service-grid-premium-v9>label b{font-size:12.5px!important;line-height:1.18!important;letter-spacing:-.1px!important;word-break:normal!important;overflow-wrap:anywhere!important}
  .service-grid-premium-v9>label small{display:none!important}
  .service-grid-premium-v9>label:has(input:checked){border-color:#6681e8!important;background:#f5f7ff!important;box-shadow:0 0 0 2px rgba(49,87,213,.12)!important}
  .form-premium-v9,.analysis-card-v9,.form-card-v73{border-radius:18px!important;padding:16px!important;box-shadow:0 12px 34px rgba(22,42,78,.07)!important}
  .form-premium-v9 textarea,.form-card-v73 textarea{min-height:190px!important;font-size:16px!important;line-height:1.55!important;border-radius:14px!important}
  .hero-points-v73{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .hero-points-v73>span{min-height:42px!important;padding:8px 9px!important;font-size:10.5px!important;line-height:1.25!important}
  .hero-points-v73>span>i{position:static!important;flex:0 0 auto!important}

  /* Articles: readable, not poster-like. */
  .article-page-v56{padding-bottom:54px!important}
  .article-page-v56>article>header{margin:10px 0 20px!important;padding:26px 18px 24px!important;border-radius:17px!important}
  .article-page-v56 h1{font-size:30px!important;line-height:1.12!important;letter-spacing:-.7px!important}
  .article-lead-v56{font-size:15.5px!important;line-height:1.65!important}
  .article-journal-layout-v82{grid-template-columns:1fr!important;gap:20px!important}
  .article-toc-v82{padding:15px!important;border-radius:14px!important}
  .article-body-v82>section:not(.article-checklist-v56):not(.article-sources-v62):not(.article-related-v75)>h2{font-size:23px!important;line-height:1.22!important}
  .article-body-v82 p,.article-body-v82 p:first-of-type{font-size:15.5px!important;line-height:1.72!important}
  .article-checklist-v56,.legal-bases-v82,.article-sources-v62{padding:20px 17px!important;border-radius:15px!important}
  .article-checklist-v56 h2,.article-sources-v62 h2,.article-cta-v56 h2{font-size:23px!important}
  .article-cta-v56{padding:22px 18px!important}

  .lawyer-return-page{padding:12px!important;align-items:start!important}
  .lawyer-return-card{margin-top:10px!important;border-radius:20px!important}
  .lawyer-return-visual{min-height:150px!important}
  .lawyer-return-copy{padding:22px 18px 26px!important}
  .lawyer-return-copy h1{font-size:29px!important;line-height:1.12!important;letter-spacing:-.8px!important}
  .included-lawyer-graphic-v92{margin-bottom:14px;border-radius:14px}
}

@media(max-width:380px){
  .service-grid-premium-v9{grid-template-columns:1fr!important}
  .service-grid-premium-v9>label:nth-child(9){grid-column:auto!important}
  .service-grid-premium-v9>label{min-height:64px!important}
}
