.site-header .brand > div > p:first-child {
  max-width: 710px;
  margin: 0;
  color: inherit;
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.lab-ai-page {
  background: #f4f8fa;
  color: #18364b;
  line-height: 1.6;
}

.lab-ai-page * { box-sizing: border-box; }
.lab-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.lab-ai-page h1, .lab-ai-page h2, .lab-ai-page h3 { color: #102f43; line-height: 1.16; letter-spacing: -.03em; }
.lab-ai-page h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); }
.lab-ai-page h3 { margin: 0; }
.lab-eyebrow { margin: 0 0 10px; color: #176f98; font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.lab-hero {
  overflow: hidden;
  padding: 27px 0 76px;
  background: radial-gradient(circle at 86% 20%, rgba(49, 159, 211, .34), transparent 33%), linear-gradient(125deg, #071725, #0d3554 64%, #176299);
  color: #fff;
}

.lab-crumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 48px; color: #bed9e8; font-size: 13px; }
.lab-crumbs a { color: inherit; text-underline-offset: 4px; }
.lab-hero .lab-eyebrow { color: #9beaff; }
.lab-hero h1 { max-width: 940px; margin: 0 0 20px; color: #fff; font-size: clamp(38px, 5.6vw, 68px); }
.lab-hero-lead { max-width: 880px; margin: 0; color: #d8eaf3; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.lab-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 20px;
  border: 1px solid #55d5ff;
  border-radius: 13px;
  background: linear-gradient(105deg, #1675b5, #1ea7da);
  box-shadow: 0 12px 26px rgba(7, 28, 46, .25);
  color: #fff;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.lab-button:hover, .lab-button:focus-visible { transform: translateY(-2px); box-shadow: 0 17px 30px rgba(7, 28, 46, .32); }

.lab-checklist { padding-block: 64px; scroll-margin-top: 130px; }
.lab-checklist-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.lab-checklist-heading > div:first-child { max-width: 790px; }
.lab-checklist-heading p:last-child { margin: 14px 0 0; color: #5a7383; font-size: 17px; }
.lab-checklist-status { display: grid; flex: 0 0 auto; min-width: 148px; place-items: center; padding: 16px; border: 1px solid #cce1eb; border-radius: 18px; background: #fff; }
.lab-checklist-status strong { color: #116d9c; font-size: 32px; line-height: 1; }
.lab-checklist-status span { margin-top: 5px; color: #627887; font-size: 12px; }
.lab-checklist-actions { display: flex; align-items: center; gap: 14px; margin: 26px 0; }
.lab-checklist-actions .lab-button { margin: 0; }
.lab-button-pdf svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lab-clear { border: 0; background: transparent; color: #176f98; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.lab-clear:disabled { opacity: .42; cursor: default; }
.lab-check-groups { display: grid; gap: 18px; }
.lab-check-group { overflow: hidden; border: 1px solid #d5e4eb; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(8, 29, 44, .045); break-inside: avoid; }
.lab-check-group > header { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid #dce9ef; background: linear-gradient(110deg, #edf8fc, #fff); }
.lab-check-group > header > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #176f98; color: #fff; font-size: 13px; font-weight: 900; }
.lab-check-group > header h3 { font-size: 21px; }
.lab-check-group > header small { color: #6c8290; white-space: nowrap; }
.lab-check-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lab-check-item { position: relative; display: grid; grid-template-columns: 24px 31px 1fr; gap: 10px; align-items: start; min-height: 66px; padding: 15px 20px; border-bottom: 1px solid #edf2f5; color: #294758; cursor: pointer; transition: background .16s; }
.lab-check-item:nth-child(odd) { border-right: 1px solid #edf2f5; }
.lab-check-item:hover { background: #f2fbfe; }
.lab-check-item:has(input:checked) { background: #e8f7fc; color: #123e57; }
.lab-check-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lab-check-box { display: grid; width: 22px; height: 22px; place-items: center; margin-top: 1px; border: 1.5px solid #85a9ba; border-radius: 6px; background: #fff; }
.lab-check-item input:checked + .lab-check-box { border-color: #1380b3; background: #1380b3; }
.lab-check-item input:checked + .lab-check-box::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 900; line-height: 1; }
.lab-check-item input:focus-visible + .lab-check-box { outline: 3px solid rgba(25, 141, 188, .34); outline-offset: 3px; }
.lab-check-number { color: #1680ac; font-size: 12px; font-weight: 900; line-height: 23px; }

.lab-contact { padding: 62px 0; background: linear-gradient(125deg, #071725, #0d3554 62%, #164f7b); color: #fff; }
.lab-contact-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); gap: 48px; align-items: start; }
.lab-contact .lab-eyebrow { color: #9beaff; }
.lab-contact h2 { color: #fff; }
.lab-contact-layout > div > p:last-child { max-width: 570px; color: #c5dbe7; font-size: 17px; }
.lab-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 25px; border: 1px solid rgba(155, 234, 255, .36); border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.lab-contact-form label { display: grid; gap: 6px; color: #fff; font-size: 13px; font-weight: 800; }
.lab-contact-form label:first-child, .lab-contact-message, .lab-consent, .lab-form-notice { grid-column: 1 / -1; }
.lab-contact-form input, .lab-contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(155, 234, 255, .55); border-radius: 11px; outline: none; background: #f8fcfe; color: #08131f; font: inherit; }
.lab-contact-form input:focus, .lab-contact-form textarea:focus { border-color: #55d5ff; box-shadow: 0 0 0 3px rgba(85, 213, 255, .2); }
.lab-contact-form textarea { min-height: 105px; resize: vertical; }
.lab-consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 9px !important; color: #c5dbe7 !important; font-size: 12px !important; font-weight: 500 !important; }
.lab-consent input { width: 17px; height: 17px; margin: 2px 0 0; }
.lab-consent a { color: #9beaff; }
.lab-submit { align-self: start; justify-self: start; margin: 0; }
.lab-submit:disabled { opacity: .62; cursor: wait; }
.lab-form-notice { margin: 0; color: #bdd2df; font-size: 12px; }

.lab-related { padding-block: 62px 72px; }
.lab-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.lab-related-controls { display: flex; gap: 8px; }
.lab-related-controls[hidden] { display: none; }
.lab-related-controls button { width: 48px; height: 48px; border: 1px solid #b9d2df; border-radius: 50%; background: #fff; color: #154863; font-size: 24px; cursor: pointer; }
.lab-related-controls button:disabled { opacity: .35; cursor: default; }
.lab-related-track { display: flex; gap: 20px; overflow-x: auto; padding: 4px 3px 20px; scroll-snap-type: x mandatory; scrollbar-color: #8dbdd2 #e8f3f8; scrollbar-width: thin; }
.lab-related-card { display: flex; flex: 0 0 calc((100% - 40px) / 3); min-width: 0; min-height: 290px; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid #d4e3eb; border-radius: 22px; background: #fff; color: inherit; text-decoration: none; scroll-snap-align: start; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lab-related-card:hover { transform: translateY(-3px); border-color: #4faacf; box-shadow: 0 10px 24px rgba(17, 54, 74, .08); }
.lab-related-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: #e6f4fa; color: #14688f; }
.lab-related-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lab-related-card h3 { margin: 20px 0 12px; font-size: 22px; }
.lab-related-card p { margin: 0 0 22px; color: #4a6576; font-size: 15px; }
.lab-related-more { display: flex; width: 100%; justify-content: space-between; gap: 16px; margin-top: auto; color: #166b94; font-weight: 800; }
.lab-ai-page :focus-visible { outline: 3px solid #198dbc; outline-offset: 4px; }

.lab-twin-definition { padding-block: 64px 30px; }
.lab-twin-definition > div { max-width: 920px; }
.lab-twin-intro { margin: 14px 0; color: #426174; font-size: 19px; line-height: 1.7; }
.lab-twin-definition > div > p:last-child { color: #5a7383; }
.lab-twin-figure { overflow: hidden; margin: 34px 0 0; border: 1px solid #bed7e3; border-radius: 24px; background: #0d3554; box-shadow: 0 18px 44px rgba(8, 29, 44, .14); }
.lab-twin-figure img { display: block; width: 100%; height: auto; aspect-ratio: 2056 / 765; object-fit: cover; }
.lab-twin-figure figcaption { padding: 12px 18px; color: #d9edf7; background: #0d3554; font-size: 13px; }
.lab-twin-section { padding-block: 55px; }
.lab-twin-card-grid, .lab-twin-challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.lab-twin-card-grid article, .lab-twin-challenge-grid article { min-height: 210px; padding: 25px; border: 1px solid #d5e4eb; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(8, 29, 44, .05); }
.lab-twin-card-grid article > span, .lab-twin-challenge-grid article > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #e5f5fa; color: #146f99; font-size: 12px; font-weight: 900; }
.lab-twin-card-grid h3, .lab-twin-challenge-grid h3 { margin: 18px 0 9px; font-size: 20px; }
.lab-twin-card-grid p, .lab-twin-challenge-grid p { margin: 0; color: #587080; font-size: 15px; }
.lab-twin-band { padding: 58px 0; background: linear-gradient(135deg, #e5f4f9, #f8fcfd); }
.lab-twin-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.lab-twin-steps li { padding: 22px; border-top: 3px solid #42abd4; border-radius: 0 0 17px 17px; background: #fff; box-shadow: 0 8px 22px rgba(8, 29, 44, .06); }
.lab-twin-steps b { display: block; margin-bottom: 15px; color: #1580ad; font-size: 13px; letter-spacing: .1em; }
.lab-twin-steps h3 { margin-bottom: 8px; font-size: 19px; }
.lab-twin-steps p { margin: 0; color: #587080; font-size: 14px; }
.lab-twin-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: start; }
.lab-twin-list, .lab-twin-not ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.lab-twin-list li, .lab-twin-not li { position: relative; padding: 14px 16px 14px 42px; border: 1px solid #dbe8ee; border-radius: 13px; background: #fff; }
.lab-twin-list li::before { content: "✓"; position: absolute; left: 16px; color: #1680ac; font-weight: 900; }
.lab-twin-not { padding: 29px; border: 1px solid #c7dce6; border-radius: 22px; background: #eaf5f8; }
.lab-twin-not li { border-color: rgba(23, 111, 152, .14); background: rgba(255, 255, 255, .7); }
.lab-twin-not li::before { content: "—"; position: absolute; left: 16px; color: #557786; font-weight: 900; }
.lab-twin-challenge-grid article { border-top: 3px solid #176f98; }
.lab-twin-cta { padding: 58px 0; background: linear-gradient(125deg, #071725, #0d3554 62%, #164f7b); color: #fff; }
.lab-twin-cta .lab-container { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.lab-twin-cta .lab-eyebrow { color: #9beaff; }
.lab-twin-cta h2 { color: #fff; }
.lab-twin-cta p:last-child { max-width: 760px; margin-bottom: 0; color: #c5dbe7; }
.lab-twin-cta .lab-button { flex: 0 0 auto; margin: 0; }

@media (max-width: 950px) {
  .lab-contact-layout { grid-template-columns: 1fr; }
  .lab-related-card { flex-basis: 46%; }
}

@media (max-width: 760px) {
  .lab-checklist-heading { align-items: start; flex-direction: column; gap: 20px; }
  .lab-checklist-status { display: flex; min-width: 0; gap: 8px; padding: 12px 15px; }
  .lab-checklist-status strong { font-size: 23px; }
  .lab-checklist-status span { margin: 0; }
  .lab-check-items { grid-template-columns: 1fr; }
  .lab-check-item:nth-child(odd) { border-right: 0; }
  .lab-contact-form { grid-template-columns: 1fr; }
  .lab-contact-form label { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .lab-container { width: calc(100% - 32px); }
  .lab-hero { padding-bottom: 49px; }
  .lab-crumbs { margin-bottom: 32px; font-size: 12px; }
  .lab-checklist { padding-block: 42px; }
  .lab-checklist-actions { align-items: stretch; flex-direction: column; }
  .lab-button-pdf { width: 100%; }
  .lab-check-group > header { grid-template-columns: 38px 1fr; padding: 17px; }
  .lab-check-group > header > span { width: 38px; height: 38px; }
  .lab-check-group > header small { grid-column: 2; }
  .lab-check-item { grid-template-columns: 23px 27px 1fr; padding: 14px 15px; }
  .lab-contact { padding-block: 44px; }
  .lab-contact-form { padding: 20px 17px; }
  .lab-related { padding-block: 44px 54px; }
  .lab-related-card { flex-basis: 87%; min-height: 260px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .lab-ai-page * { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 950px) {
  .lab-twin-card-grid, .lab-twin-challenge-grid, .lab-twin-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-twin-two-columns { grid-template-columns: 1fr; }
  .lab-twin-cta .lab-container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .lab-twin-definition { padding-block: 42px 18px; }
  .lab-twin-section { padding-block: 40px; }
  .lab-twin-card-grid, .lab-twin-challenge-grid, .lab-twin-steps { grid-template-columns: 1fr; }
  .lab-twin-card-grid article, .lab-twin-challenge-grid article { min-height: 0; padding: 21px; }
  .lab-twin-figure { margin-top: 25px; border-radius: 17px; }
  .lab-twin-figure img { aspect-ratio: 1.55 / 1; }
  .lab-twin-not { padding: 22px; }
  .lab-twin-cta { padding-block: 44px; }
  .lab-twin-cta .lab-button { width: 100%; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff !important; }
  body > :not(.lab-ai-page), .site-header, .site-footer, .cab-mobile-bottom-nav, .cab-page-loader, .lab-hero, .lab-contact, .lab-related, .lab-checklist-actions { display: none !important; }
  .lab-ai-page { background: #fff; color: #111; }
  .lab-checklist { width: 100%; padding: 0; }
  .lab-checklist::before { content: 'ЦАБ · Чек-лист: исследования с ИИ-агентами'; display: block; margin-bottom: 7mm; color: #102f43; font-size: 18pt; font-weight: 800; }
  .lab-checklist-heading { display: block; margin-bottom: 6mm; }
  .lab-checklist-heading h2 { font-size: 16pt; }
  .lab-checklist-heading p, .lab-eyebrow, .lab-checklist-status { display: none; }
  .lab-check-groups { gap: 5mm; }
  .lab-check-group { border: 1px solid #9dadb5; border-radius: 0; box-shadow: none; break-inside: avoid; }
  .lab-check-group > header { grid-template-columns: 9mm 1fr; padding: 3mm 4mm; background: #eef4f6 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .lab-check-group > header > span { width: 8mm; height: 8mm; border-radius: 2mm; background: #176f98 !important; color: #fff !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .lab-check-group > header h3 { font-size: 12pt; }
  .lab-check-group > header small { display: none; }
  .lab-check-items { grid-template-columns: 1fr 1fr; }
  .lab-check-item { min-height: 0; grid-template-columns: 5mm 7mm 1fr; gap: 2mm; padding: 2.2mm 3mm; color: #111; font-size: 8.5pt; line-height: 1.32; break-inside: avoid; }
  .lab-check-item:has(input:checked) { background: #e5f5fa !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .lab-check-box { width: 4.5mm; height: 4.5mm; border-color: #526a75; border-radius: 1mm; }
  .lab-check-item input:checked + .lab-check-box { border-color: #176f98; background: #176f98 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .lab-check-number { color: #176f98; font-size: 8pt; line-height: 4.5mm; }
}
