@media (max-width: 680px) {
  .ratings,
  .profession {
    padding: 30px 0;
  }
}

/* Audience: compact photo cards, 2 cards in the first row and 3 in the second */
.audience-list{
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:18px;
}
.audience-list article,
.audience-list article:nth-child(even){
  display:flex;
  grid-column:span 6;
  grid-template-columns:none;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
  border-radius:18px;
}
.audience-list article:nth-child(n+3){grid-column:span 4}
.audience-list article:nth-child(even) .role-photo{order:0}
.audience-list .role-photo{
  width:100%;
  min-height:0;
  aspect-ratio:16/8.7;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}
.audience-list .role-1{background-image:url('assets/audience-career-v2.png');background-position:center 40%}
.audience-list .role-2{background-image:url('assets/audience-leader-v2.png');background-position:center 38%}
.audience-list .role-3{background-image:url('assets/audience-developer-v3.png');background-position:center 38%}
.audience-list .role-4{background-image:url('assets/audience-automation-v2.png');background-position:center 38%}
.audience-list .role-5{background-image:url('assets/audience-ai-user-v3.png');background-position:center 40%}
.audience-list article>div:last-child{
  align-self:stretch;
  flex:1;
  padding:24px 26px 28px;
}
.audience-list h3{
  margin:0 0 12px;
  color:var(--accent);
  font-size:22px;
  line-height:1.18;
}
.audience-list p{
  margin:0;
  font-size:15px;
  line-height:1.55;
}
.audience-action{
  display:flex;
  justify-content:center;
  margin-top:30px;
}
.audience-action .button{width:250px}

@media(max-width:1100px){
  .audience-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audience-list article,
  .audience-list article:nth-child(n+3){grid-column:span 1}
  .audience-list article:last-child{grid-column:1/-1}
}

@media(max-width:680px){
  .audience-list{grid-template-columns:1fr;gap:14px}
  .audience-list article,
  .audience-list article:nth-child(n+3),
  .audience-list article:last-child{grid-column:1}
  .audience-list .role-photo{min-height:0;aspect-ratio:16/10}
  .audience-list article>div:last-child{padding:21px 20px 24px}
  .audience-list h3{font-size:21px}
  .audience-action{margin-top:24px}
  .audience-action .button{width:100%}
}

/* Tariff and consultation widgets. */
body.modal-open{overflow:hidden}
.widget-modal-backdrop{
  position:fixed;
  z-index:9998;
  inset:0;
  opacity:0;
  background:rgba(7,12,24,.72);
  backdrop-filter:blur(6px);
  transition:opacity .2s ease;
}
.widget-modal-backdrop.is-open{opacity:1}
.widget-modal{
  position:fixed;
  z-index:9999;
  top:50%;
  left:50%;
  width:min(620px,calc(100% - 28px));
  max-height:calc(100svh - 28px);
  overflow:auto;
  opacity:0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 34px 90px rgba(0,0,0,.32);
  transform:translate(-50%,-47%) scale(.98);
  transition:opacity .2s ease,transform .2s ease;
}
.widget-modal.is-open{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
.widget-modal-close{
  position:sticky;
  z-index:3;
  top:14px;
  float:right;
  width:42px;
  height:42px;
  margin:14px 14px -56px 0;
  border:0;
  border-radius:50%;
  color:#fff;
  background:var(--accent);
  cursor:pointer;
  font:400 28px/1 Manrope,sans-serif;
}
.widget-modal-body{
  min-height:220px;
  padding:28px;
}
.widget-modal-body iframe{max-width:100%}

@media(max-width:680px){
  .widget-modal{width:calc(100% - 16px);max-height:calc(100svh - 16px);border-radius:16px}
  .widget-modal-body{padding:16px}
}

/* Final rhythm pass: more breathing room in the opening screen without extra empty height. */
@media(min-width:1101px){
  .hero:not(.final-hero){min-height:920px}
  .hero:not(.final-hero) .hero-layout{
    padding-top:28px;
    padding-bottom:32px;
  }
}
.hero:not(.final-hero) .hero-lead{
  margin-top:38px;
  margin-bottom:40px;
  font-size:19px;
  line-height:1.65;
}
.hero:not(.final-hero) .stream{
  margin-top:36px;
  margin-bottom:24px;
}
.hero:not(.final-hero) .glossary-note{margin-top:18px}

@media(max-width:1100px){
  .hero:not(.final-hero) .hero-lead{margin-top:32px;margin-bottom:34px;font-size:18px}
  .hero:not(.final-hero) .stream{margin-top:30px;margin-bottom:22px}
}

@media(max-width:680px){
  .hero:not(.final-hero) .hero-layout{padding-top:68px}
  .hero:not(.final-hero) .hero-lead{font-size:16px;line-height:1.6}
}

/* Expandable glossary at the end of the page. */
.glossary-section{
  padding:38px 0 46px;
  color:#fff;
  background:#080a0f;
}
.glossary-accordion{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:#11141b;
}
.glossary-accordion summary{
  display:flex;
  min-height:98px;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 32px;
  cursor:pointer;
  list-style:none;
}
.glossary-accordion summary::-webkit-details-marker{display:none}
.glossary-heading{
  display:flex;
  align-items:center;
  gap:18px;
  color:#fff;
  font-size:24px;
  font-weight:800;
  letter-spacing:-.035em;
}
.glossary-heading em{
  display:inline-flex;
  min-height:34px;
  align-items:center;
  padding:0 14px;
  border:1px solid rgba(81,132,255,.38);
  border-radius:999px;
  color:#7ca0ff;
  background:rgba(36,87,245,.11);
  font-size:12px;
  font-style:normal;
  letter-spacing:.08em;
}
.glossary-accordion summary>i{
  position:relative;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
}
.glossary-accordion summary>i::before,
.glossary-accordion summary>i::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:2px;
  border-radius:2px;
  background:#8f98aa;
  transform:translate(-50%,-50%);
  transition:transform .25s ease;
}
.glossary-accordion summary>i::after{transform:translate(-50%,-50%) rotate(90deg)}
.glossary-accordion[open] summary>i::after{transform:translate(-50%,-50%) rotate(0)}
.glossary-accordion[open] summary{border-bottom:1px solid rgba(255,255,255,.1)}
.glossary-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 50px;
  padding:18px 44px 38px;
}
.glossary-list p{
  margin:0;
  padding:18px 0;
  border-bottom:1px solid rgba(255,255,255,.09);
  color:#aeb7c7;
  font-size:15px;
  line-height:1.6;
}
.glossary-list strong{color:#fff;font-weight:750}

@media(max-width:680px){
  .glossary-section{padding:28px 0 34px}
  .glossary-accordion{border-radius:18px}
  .glossary-accordion summary{min-height:86px;padding:18px 18px}
  .glossary-heading{display:block;font-size:21px}
  .glossary-heading em{min-height:28px;margin-top:8px;padding:0 11px;font-size:10px}
  .glossary-accordion summary>i{width:38px;height:38px;flex-basis:38px}
  .glossary-list{grid-template-columns:1fr;padding:8px 20px 28px}
  .glossary-list p{padding:16px 0;font-size:14px}
}

/* Mobile layout repair and persistent tariff CTA. */
.mobile-sticky-cta{display:none}
@media(max-width:680px){
  body{padding-bottom:76px}
  .hero:not(.final-hero) .hero-layout{
    gap:18px;
    padding-top:32px;
    padding-bottom:20px;
  }
  .hero:not(.final-hero) .hero-lead{
    margin-top:24px;
    margin-bottom:26px;
  }
  .hero:not(.final-hero) .hero-points{gap:8px}
  .hero:not(.final-hero) .stream{
    margin-top:24px;
    margin-bottom:16px;
  }
  .hero:not(.final-hero) .glossary-note{margin-top:12px}

  .hero:not(.final-hero) .hero-visual{
    left:50%;
    width:500px;
    height:472px;
    min-height:472px;
    margin:0 0 0 -250px;
    overflow:visible;
    transform:scale(.72);
    transform-origin:top center;
  }
  .hero:not(.final-hero) .career-sheet{
    width:488px;
    height:610px;
    min-height:610px;
    left:6px;
  }
  .final-hero .hero-visual{
    left:50%;
    width:500px;
    height:472px;
    min-height:472px;
    margin-left:-250px;
    transform:scale(.72);
    transform-origin:top center;
  }
  .final-hero .career-sheet{
    width:488px;
    height:610px;
    min-height:610px;
    left:6px;
  }

  .team-head{display:block}
  .team-controls{margin-top:18px}
  .team-controls button{width:42px;height:42px}

  .audience-section .container{width:calc(100% - 20px)}
  .audience-list,
  .audience-list article{
    width:100%;
    max-width:none;
  }

  body .button,
  body .hero-actions .button,
  body .section-button,
  body .profession-button{
    width:100%;
    max-width:none;
  }

  .mobile-sticky-cta{
    position:fixed;
    z-index:9990;
    right:10px;
    bottom:10px;
    left:10px;
    display:flex;
    min-height:56px;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    color:#fff;
    background:var(--accent);
    box-shadow:0 14px 34px rgba(36,87,245,.34);
    font-size:16px;
    font-weight:800;
    text-decoration:none;
  }
  body.modal-open .mobile-sticky-cta{display:none}
}

/* Consultation banner adapted from the reference site to the project palette. */
.consultation-section{
  padding:40px 0;
  background:#fff;
}
.consultation-box{
  position:relative;
  display:flex;
  min-height:260px;
  align-items:center;
  overflow:visible;
  padding:42px 54px 42px 38%;
  border-radius:22px;
  background:var(--accent);
  box-shadow:0 22px 54px rgba(36,87,245,.18);
}
.consultation-manager{
  position:absolute;
  bottom:0;
  left:2.5%;
  width:31%;
  max-width:420px;
  max-height:330px;
  object-fit:contain;
  object-position:bottom;
}
.consultation-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.consultation-content h2{
  max-width:none;
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(30px,3vw,46px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.consultation-content p{
  margin:0 0 26px;
  color:rgba(255,255,255,.9);
  font-size:17px;
  line-height:1.55;
}
.consultation-button{
  width:250px;
  color:var(--accent);
  border-color:#fff;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,37,107,.18);
}
.consultation-button:hover{
  color:var(--accent-dark);
  background:#f7f9ff;
}

@media(max-width:760px){
  .consultation-section{padding:30px 0}
  .consultation-box{
    min-height:0;
    flex-direction:column;
    align-items:center;
    padding:32px 20px 300px;
    border-radius:18px;
  }
  .consultation-manager{
    left:50%;
    width:250px;
    max-width:72%;
    max-height:275px;
    transform:translateX(-50%);
  }
  .consultation-content{align-items:center}
  .consultation-content h2,
  .consultation-content p{text-align:center}
  .consultation-content h2{font-size:32px}
  .consultation-content p{font-size:15px}
  .consultation-button{width:100%}
}

/* Final CTA mirrors the opening screen and uses the exact brief copy. */
.final-hero{
  min-height:auto;
  border-top:1px solid var(--line);
}
.final-hero .hero-layout{
  min-height:680px;
  padding-top:34px;
  padding-bottom:34px;
}
.final-hero .hero-visual{
  min-height:620px;
  transform:scale(.82);
  transform-origin:center;
}
.final-title{
  max-width:820px;
  color:var(--ink);
  font-size:clamp(48px,4.65vw,68px);
  line-height:.98;
  letter-spacing:-.058em;
  font-weight:800;
}
.final-title .title-main,
.final-title .title-rest{display:block}
.final-title .title-rest{color:var(--ink)}
.final-title .title-main em{
  color:var(--accent);
  font-style:normal;
}
.final-title .title-main small{
  color:var(--ink);
  font:inherit;
}
.final-hero .hero-lead{
  max-width:660px;
  margin-bottom:30px;
  font-size:clamp(17px,1.35vw,21px);
}

@media(max-width:1100px){
  .final-hero .hero-layout{min-height:0;gap:16px;padding-top:48px;padding-bottom:34px}
  .final-hero .hero-visual{min-height:575px;transform:scale(.82);transform-origin:top center}
}

@media(max-width:680px){
  .final-title{font-size:clamp(39px,11vw,48px)}
  .final-hero .hero-layout{gap:8px;padding-top:44px;padding-bottom:0}
  .final-hero .hero-visual{min-height:500px;transform:scale(.82);transform-origin:top center}
}

/* Первый экран: более свободный ритм, 3D-иконки и карьерная фотосцена. */
.hero-layout {
  grid-template-columns: minmax(610px, 1.16fr) minmax(400px, .84fr);
  gap: clamp(30px, 3vw, 54px);
}

.hero-copy {
  max-width: 820px;
}

.hero h1 {
  position: relative;
  z-index: 5;
  width: min(920px, 72vw);
  max-width: 920px;
  font-size: clamp(56px, 4.8vw, 76px);
  line-height: .96;
}

.hero h1 .title-main,
.hero h1 .title-rest {
  display: block;
  color: var(--ink);
}

.hero h1 .title-main {
  white-space: normal;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero h1 small {
  display: block;
  color: var(--ink);
  font: inherit;
}

.hero-lead strong {
  color: var(--accent);
  font-weight: 800;
}

.hero-lead {
  margin-top: 30px;
  margin-bottom: 34px;
}

.hero-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-points article {
  min-height: 104px;
  grid-template-columns: 62px 1fr;
  gap: 19px;
  padding: 9px 20px 9px 9px;
}

.point-icon {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  background-color: #f5f7fb;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 92% 92%;
  box-shadow: inset 0 0 0 1px #e2e7f0;
}

.hero-points article:nth-child(1) .point-icon { background-image: url('assets/hero-icon-skills.png'); }
.hero-points article:nth-child(2) .point-icon { background-image: url('assets/hero-icon-project.png'); }
.hero-points article:nth-child(3) .point-icon { background-image: url('assets/hero-icon-interview.png'); }
.hero-points article:nth-child(4) .point-icon { background-image: url('assets/hero-icon-career.png'); }

.point-icon svg { display: none; }

.hero-points p {
  font-size: 18px;
  line-height: 1.48;
  font-weight: 400;
}

.why-list p {
  color: var(--ink);
}

.price span {
  font-size: 16px;
  line-height: 1.45;
}

.stream {
  margin-top: 28px;
  margin-bottom: 20px;
}

.glossary-note {
  margin-top: 16px;
}

.ratings {
  position: relative;
  z-index: 8;
  margin-top: -18px;
  padding: 22px 0 28px;
  border: 0;
  background: #f3f5f8;
}

.rating-row { gap: 12px; }

.rating-card {
  min-height: 84px;
  grid-template-columns: minmax(74px, 1fr) auto;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(210,219,232,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 32px rgba(30,49,84,.07);
}

.rating-card img { max-width: 104px; max-height: 29px; }
.rating-card div { text-align: right; }
.rating-card strong { color: var(--accent); font-size: 16px; }
.rating-card span { margin-top: 2px; font-size: 10px; }

.profession { overflow: hidden; background: linear-gradient(180deg,#fff 0%,#f7f9fd 100%); }

.profession-heading {
  display: block;
  max-width: 1180px;
}

.profession-heading h2 {
  max-width: none;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(46px,5vw,72px);
}

.profession-heading > p:last-child {
  max-width: 1340px;
  margin: 30px 0 0;
  font-size: clamp(17px,1.45vw,21px);
  line-height: 1.62;
}

.profession-heading > p:last-child strong { color: var(--accent); font-weight: 800; }

.process {
  position: relative;
  grid-template-columns: 1fr 58px 1fr 58px 1fr 58px 1fr;
  margin-top: 56px;
}

.process article {
  display: flex;
  min-height: 242px;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 20px 16px;
  border: 1px solid rgba(202,214,231,.82);
  border-radius: 20px;
  background: linear-gradient(145deg,rgba(255,255,255,.92),rgba(235,241,250,.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95),0 18px 45px rgba(31,54,91,.1);
  backdrop-filter: blur(16px);
}

.process-icon {
  width: 100%;
  height: 168px;
  flex: 0 0 168px;
  margin: -7px 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.process article:nth-of-type(1) .process-icon { background-image: url('assets/process-icon-audit-cut.png'); }
.process article:nth-of-type(2) .process-icon { background-image: url('assets/process-icon-solution-cut.png'); }
.process article:nth-of-type(3) .process-icon { background-image: url('assets/process-icon-launch-cut.png'); }
.process article:nth-of-type(4) .process-icon { background-image: url('assets/process-icon-effect-cut.png'); }

.process article h3 {
  position: static;
  display: grid;
  min-height: 48px;
  flex: 1;
  margin: 0;
  place-items: center;
  text-align: center;
  font-size: 20px;
}

.process .process-result {
  color: var(--ink);
  border-color: rgba(36,87,245,.32);
  background: linear-gradient(145deg,rgba(255,255,255,.95),rgba(220,230,255,.82));
  box-shadow: inset 0 1px 0 #fff,0 22px 50px rgba(36,87,245,.16);
}

.process-arrow { margin-inline: 9px; background: linear-gradient(90deg,#b9c7da,var(--accent)); }
.process-arrow::after { border-color: var(--accent); }

/* Программа: тарифные модули и раскрытое содержание. */
.program-section .section-head {
  display: block;
}

.program-section .section-head p {
  max-width: none;
  margin: 12px 0 0;
}

.accordion .career {
  border-color: #cbd8ff;
  background: var(--accent-soft);
}

.accordion .career summary em {
  color: var(--accent);
  background: #fff;
  box-shadow: inset 0 0 0 1px #c9d6ff;
}

.accordion .vip {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 14px 34px rgba(36,87,245,.14);
}

.accordion .vip summary {
  color: #fff;
  background: var(--accent);
}

.accordion .vip summary span,
.accordion .vip summary::after { color: #fff; }

.accordion .vip summary em {
  color: var(--accent);
  background: #fff;
}

.accordion .vip .module-body { background: #fff; }

.accordion .module-body > p {
  width: 100%;
  max-width: none;
}

/* Проекты: законченные интерфейсные мокапы и текст внутри карточки. */
.project-slider {
  grid-auto-columns: minmax(330px,32%);
  gap: 18px;
  padding: 6px 2px 18px;
}

.project-slider article {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d7deea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(5,13,31,.2);
}

.project-slider article > p {
  display: flex;
  min-height: 122px;
  flex: 1;
  align-items: flex-start;
  margin: 0;
  padding: 20px 22px 22px;
  border-top: 1px solid #e1e6ee;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.project-mock {
  position: relative;
  height: 286px;
  flex: 0 0 286px;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(145deg,#f8faff,#e8eef8);
}

.project-mock::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6cfdd;
  box-shadow: 13px 0 #c6cfdd,26px 0 #c6cfdd;
}

.chat-mock::before {
  inset: 34px 24px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(25,42,76,.1);
}
.chat-mock i { left: 44px; top: 54px; width: 38px; height: 38px; }
.chat-mock i::after { content:"AI"; display:grid; height:100%; place-items:center; color:#fff; font-size:11px; font-style:normal; font-weight:800; }
.chat-mock b { top: 61px; left: 94px; right: 112px; height: 9px; background:#172033; }
.chat-mock b::after { content:"ИИ-ассистент"; position:absolute; top:14px; left:0; color:#7a8494; font-size:8px; white-space:nowrap; }
.chat-mock span { left: 48px; right: 105px; top: 116px; height: 36px; border-radius:10px 10px 10px 3px; background:#e9edf4; box-shadow:none; }
.chat-mock span::after { content:"задача отдела"; position:absolute; left:12px; top:11px; color:#536073; font-size:8px; font-style:normal; }
.chat-mock span:last-child { left:105px; right:47px; top:168px; background:#dce6ff; border-radius:10px 10px 3px 10px; }
.chat-mock span:last-child::after { content:"ИИ-решение"; color:var(--accent); }

.voice-mock::before {
  content:"Мультимодальность";
  position:absolute;
  inset:35px 24px 22px;
  padding:18px;
  border:1px solid #d8e0eb;
  border-radius:12px;
  color:#172033;
  background:#fff;
  box-shadow:0 10px 28px rgba(25,42,76,.1);
  font-size:11px;
  font-weight:800;
}
.voice-mock i { width:66px; height:66px; background:#dfe8ff; box-shadow:0 0 0 10px rgba(36,87,245,.08); }
.voice-mock i::after { content:"AI"; display:grid; height:100%; place-items:center; color:var(--accent); font-style:normal; font-weight:800; }
.voice-mock b { z-index:2; width:6px; height:32px; margin-top:30px; }
.voice-mock b:nth-of-type(2),.voice-mock b:nth-of-type(4){height:54px}

.flow-mock { gap:8px; padding:38px 18px 10px; }
.flow-mock::before { content:"n8n · автоматизация · CRM"; position:absolute; top:48px; left:28px; color:#536073; font-size:10px; font-weight:800; }
.flow-mock i { position:relative; z-index:2; display:grid; width:72px; height:62px; place-items:center; border:1px solid #cfd8e7; border-radius:12px; box-shadow:0 8px 22px rgba(30,50,88,.1); }
.flow-mock i::after { color:#172033; font-size:9px; font-style:normal; font-weight:800; }
.flow-mock i:nth-of-type(1)::after{content:"заявка"}.flow-mock i:nth-of-type(2)::after{content:"n8n"}.flow-mock i:nth-of-type(3)::after{content:"Bitrix24"}
.flow-mock i:nth-of-type(2){color:#fff;background:var(--accent);border-color:var(--accent)}
.flow-mock i:nth-of-type(2)::after{color:#fff}
.flow-mock span { width:26px; background:var(--accent); }

.rag-mock::before { content:"RAG · база знаний"; position:absolute; top:45px; left:34px; color:#172033; font-size:11px; font-weight:800; }
.rag-mock b { width:132px; height:48px; padding:0 12px; }
.rag-mock b::after { position:absolute; left:13px; top:16px; color:#637084; font-size:8px; font-weight:700; }
.rag-mock b:nth-child(1)::after{content:"регламенты"}.rag-mock b:nth-child(2)::after{content:"база товаров"}.rag-mock b:nth-child(3)::after{content:"инструкции"}
.rag-mock i { right:42px; top:84px; width:84px; height:84px; border-width:16px; background:#fff; box-shadow:0 10px 28px rgba(36,87,245,.16); }
.rag-mock i::after { content:"AI"; display:grid; height:100%; place-items:center; color:var(--accent); font-size:16px; font-style:normal; font-weight:800; }

.agent-mock { grid-template-columns:repeat(2,72px); gap:34px 46px; padding-top:28px; }
.agent-mock::before { content:"ИИ-агент"; position:absolute; top:44px; left:28px; color:#172033; font-size:11px; font-weight:800; }
.agent-mock i { display:grid; width:72px; height:64px; place-items:center; color:#fff; box-shadow:0 0 0 7px #e7edff,0 12px 26px rgba(36,87,245,.18); }
.agent-mock i::after { font-size:10px; font-style:normal; font-weight:800; }
.agent-mock i:nth-child(1)::after{content:"MCP"}.agent-mock i:nth-child(2)::after{content:"API"}.agent-mock i:nth-child(3)::after{content:"CRM"}.agent-mock i:nth-child(4)::after{content:"n8n"}

.server-mock b { inset:44px 34px 26px; border-radius:13px; box-shadow:0 14px 34px rgba(8,17,36,.28); }
.server-mock b::before { content:"сервер"; position:absolute; left:20px; top:17px; color:#fff; font-size:10px; font-weight:800; }
.server-mock span { left:58px; right:58px; top:91px; display:flex; height:32px; align-items:center; padding-left:38px; border-radius:8px; color:#dce4f2; background:#29364d; box-shadow:none; font-size:8px; font-style:normal; }
.server-mock span::before { content:""; position:absolute; left:12px; width:12px; height:12px; border-radius:50%; background:#5d6d86; }
.server-mock span:nth-of-type(1)::after{content:"Telegram"}.server-mock span:nth-of-type(2){top:132px}.server-mock span:nth-of-type(2)::after{content:"сайт"}.server-mock span:nth-of-type(3){top:173px}.server-mock span:nth-of-type(3)::after{content:"логи"}
.server-mock span:nth-of-type(2)::before{background:var(--accent)}

.final-mock { padding-top:28px; }
.final-mock::before { content:"Итоговый проект"; position:absolute; top:44px; left:28px; color:#172033; font-size:11px; font-weight:800; }
.final-mock i { width:76px; height:76px; box-shadow:0 12px 28px rgba(36,87,245,.22); }
.final-mock span { width:190px; height:9px; margin-top:18px; background:#cfd7e4; }
.final-mock span:last-child { width:140px; background:#dfe7f5; }

.metric-mock { gap:12px; padding:62px 28px 34px; }
.metric-mock::before { content:"было → стало"; position:absolute; top:45px; left:28px; color:#172033; font-size:11px; font-weight:800; }
.metric-mock b { width:34px; border-radius:7px 7px 2px 2px; box-shadow:0 7px 16px rgba(36,87,245,.12); }

.other-projects .project-mock { background:linear-gradient(145deg,#f8faff,#e8eef8); }
.other-projects .project-mock strong { color:var(--accent); }

.assistant-ui,.multimodal-ui,.deploy-ui,.project-ui,.faq-ui,.metrics-ui,.mcp-ui { padding:38px 22px 18px; }
.project-mock b,.project-mock strong { color:var(--ink); }
.ui-top { display:flex; height:42px; align-items:center; justify-content:space-between; padding:0 13px; border:1px solid #d7dfeb; border-radius:10px 10px 0 0; background:#fff; font-size:10px; }
.ui-top i { display:grid; width:25px; height:25px; place-items:center; border-radius:7px; color:#fff; background:var(--accent); font-size:8px; font-style:normal; font-weight:800; }

.assistant-ui { display:grid; grid-template-columns:62px 1fr; grid-template-rows:42px 1fr; gap:0; }
.assistant-ui .ui-top { grid-column:1/-1; }
.ui-side { display:grid; align-content:start; gap:13px; padding:18px 13px; border:1px solid #d7dfeb; border-top:0; border-radius:0 0 0 10px; background:#f4f7fb; }
.ui-side span { width:33px; height:7px; border-radius:5px; background:#cfd7e4; }
.ui-side span:first-child { background:var(--accent); }
.ui-dialog { position:relative; display:flex; flex-direction:column; gap:13px; padding:18px 15px 42px; border:1px solid #d7dfeb; border-top:0; border-left:0; border-radius:0 0 10px 0; background:#fff; }
.ui-dialog span { max-width:78%; padding:10px 12px; border-radius:10px 10px 10px 3px; color:#596577; background:#edf1f6; font-size:8px; }
.ui-dialog span:nth-child(2) { align-self:flex-end; color:var(--accent); background:#e1e9ff; border-radius:10px 10px 3px 10px; }
.ui-dialog em { position:absolute; right:15px; bottom:15px; left:15px; height:20px; border:1px solid #dce3ed; border-radius:7px; }
.ui-dialog em::after { content:"→"; position:absolute; right:4px; top:2px; display:grid; width:16px; height:16px; place-items:center; border-radius:5px; color:#fff; background:var(--accent); font-size:9px; font-style:normal; }

.multimodal-ui .media-inputs { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px; }
.media-inputs span { display:grid; min-height:66px; place-items:end center; padding:9px 4px; border:1px solid #d7dfeb; border-radius:10px; color:#5d687a; background:#fff; font-size:8px; font-weight:700; }
.media-inputs span::before { content:""; width:25px; height:25px; margin-bottom:5px; border-radius:8px; background:#dce6ff; box-shadow:inset 0 0 0 7px var(--accent); }
.media-result { display:grid; grid-template-columns:38px 1fr; grid-template-rows:repeat(2,8px); gap:9px 12px; align-items:center; margin-top:12px; padding:12px; border:1px solid #cbd8ff; border-radius:10px; background:#eef3ff; }
.media-result i { grid-row:1/3; width:38px; height:38px; border-radius:10px; background:var(--accent); }
.media-result b { border-radius:5px; background:#9fb4ed; }
.media-result b:last-child { width:65%; }

.mcp-ui { position:relative; }
.mcp-hub { position:absolute; left:50%; top:50%; z-index:3; display:grid; width:78px; height:78px; place-items:center; border-radius:22px; color:#fff; background:var(--accent); box-shadow:0 14px 30px rgba(36,87,245,.28),0 0 0 10px #dfe8ff; transform:translate(-50%,-42%); font-size:10px; font-weight:800; }
.mcp-ui span { position:absolute; z-index:2; display:grid; width:66px; height:46px; place-items:center; border:1px solid #d2dbe8; border-radius:10px; color:var(--ink); background:#fff; box-shadow:0 8px 20px rgba(30,48,82,.1); font-size:9px; font-weight:800; }
.mcp-ui span:nth-of-type(1){left:30px;top:58px}.mcp-ui span:nth-of-type(2){right:30px;top:58px}.mcp-ui span:nth-of-type(3){left:30px;bottom:30px}.mcp-ui span:nth-of-type(4){right:30px;bottom:30px}
.mcp-ui i { position:absolute; z-index:1; width:80px; height:1px; background:var(--accent); transform-origin:left center; }
.mcp-ui i:nth-of-type(1){left:80px;top:101px;transform:rotate(24deg)}.mcp-ui i:nth-of-type(2){right:80px;top:101px;transform:rotate(156deg);transform-origin:right center}.mcp-ui i:nth-of-type(3){left:80px;bottom:73px;transform:rotate(-24deg)}.mcp-ui i:nth-of-type(4){right:80px;bottom:73px;transform:rotate(204deg);transform-origin:right center}

.deploy-ui .ui-top i { color:#27b36a; background:#e8f8ef; }
.deploy-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:11px; }
.deploy-stats span { position:relative; padding:27px 6px 8px; border:1px solid #d7dfeb; border-radius:9px; color:#586578; background:#fff; font-size:8px; text-align:center; }
.deploy-stats span::before { content:""; position:absolute; top:10px; left:50%; width:8px; height:8px; border-radius:50%; background:#28bc73; transform:translateX(-50%); box-shadow:0 0 0 4px #e2f7ec; }
.deploy-lines { display:grid; gap:8px; margin-top:12px; padding:12px; border-radius:10px; background:#172033; }
.deploy-lines i { height:7px; border-radius:6px; background:#3d4b64; }
.deploy-lines i:nth-child(2){width:82%;background:var(--accent)}.deploy-lines i:nth-child(3){width:61%}

.project-status { position:relative; padding:16px 14px 13px 54px; border:1px solid #d7dfeb; border-top:0; border-radius:0 0 10px 10px; background:#fff; }
.project-status::before { content:"AI"; position:absolute; left:13px; top:15px; display:grid; width:30px; height:30px; place-items:center; border-radius:9px; color:#fff; background:var(--accent); font-size:9px; font-weight:800; }
.project-status strong { display:block; margin-bottom:10px; font-size:10px; }
.project-status span { display:block; position:relative; margin:7px 0; padding-left:16px; color:#667286; font-size:8px; }
.project-status span::before { content:"✓"; position:absolute; left:0; color:var(--accent); font-weight:800; }
.project-progress { height:6px; margin-top:12px; overflow:hidden; border-radius:6px; background:#dce3ee; }
.project-progress i { display:block; width:82%; height:100%; background:var(--accent); }

.faq-ui { display:grid; grid-template-columns:1.15fr .85fr; gap:10px; }
.site-preview { padding:15px; border:1px solid #d7dfeb; border-radius:11px; background:#fff; }
.site-preview b { display:block; margin-bottom:25px; font-size:10px; }
.site-preview span { display:block; width:90%; height:8px; margin:11px 0; border-radius:6px; background:#dce3ec; }
.site-preview span:nth-child(3){width:72%}.site-preview span:nth-child(4){width:82%;background:#dce6ff}
.faq-chat { align-self:end; margin-left:-35px; padding:13px; border:1px solid #cbd8ff; border-radius:13px; background:#fff; box-shadow:0 14px 30px rgba(31,52,91,.17); }
.faq-chat strong { display:grid; width:30px; height:30px; margin-bottom:12px; place-items:center; border-radius:9px; color:#fff; background:var(--accent); font-size:9px; }
.faq-chat span { display:block; margin-top:8px; padding:8px; border-radius:8px; color:#667286; background:#edf1f6; font-size:7px; }
.faq-chat span:last-child { color:var(--accent); background:#e2eaff; }

.metrics-ui .metric-kpi { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:11px; }
.metric-kpi span { height:44px; border:1px solid #d7dfeb; border-radius:9px; background:#fff; }
.metric-kpi span::before { content:""; display:block; width:38%; height:8px; margin:9px 0 5px 9px; border-radius:5px; background:#cfd7e4; }
.metric-kpi span::after { content:""; display:block; width:65%; height:11px; margin-left:9px; border-radius:5px; background:#8eabfa; }
.metric-chart { display:flex; height:100px; align-items:flex-end; gap:9px; margin-top:12px; padding:12px 13px 0; border-left:1px solid #cfd7e4; border-bottom:1px solid #cfd7e4; }
.metric-chart i { flex:1; height:28%; border-radius:5px 5px 0 0; background:#cfd9f7; }
.metric-chart i:nth-child(2){height:42%}.metric-chart i:nth-child(3){height:58%;background:#8da9f8}.metric-chart i:nth-child(4){height:75%;background:var(--accent)}.metric-chart i:nth-child(5){height:92%;background:var(--accent)}

.crm-ui,.rag-ui,.inbox-ui,.onboarding-ui,.analytics-ui,.insights-ui,.company-project-ui { padding:38px 22px 18px; }
.crm-request { position:relative; margin-top:11px; padding:13px 92px 13px 14px; border:1px solid #d7dfeb; border-radius:10px; color:var(--ink); background:#fff; }
.crm-request strong,.crm-request span { display:block; }
.crm-request strong { font-size:10px; }
.crm-request span { margin-top:5px; color:#697587; font-size:8px; }
.crm-request em { position:absolute; right:10px; top:50%; padding:6px 8px; border-radius:6px; color:var(--accent); background:#e4ebff; transform:translateY(-50%); font-size:7px; font-style:normal; font-weight:800; }
.crm-route { display:grid; grid-template-columns:1fr 18px 1fr 18px 1fr; align-items:center; gap:4px; margin-top:12px; }
.crm-route span { display:grid; height:48px; place-items:center; border:1px solid #d7dfeb; border-radius:9px; color:var(--ink); background:#fff; font-size:8px; font-weight:800; }
.crm-route span:nth-of-type(2) { color:#fff; border-color:var(--accent); background:var(--accent); }
.crm-route i { color:var(--accent); font-size:11px; font-style:normal; text-align:center; }

.rag-search { position:relative; margin-top:11px; padding:10px 36px 10px 12px; border:1px solid #d7dfeb; border-radius:9px; color:#687487; background:#fff; font-size:8px; }
.rag-search::after { content:"⌕"; position:absolute; right:8px; top:5px; display:grid; width:22px; height:22px; place-items:center; border-radius:6px; color:#fff; background:var(--accent); font-size:13px; }
.rag-docs { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:9px; }
.rag-docs span { min-height:45px; padding:9px 6px; border:1px solid #d7dfeb; border-radius:8px; color:#627083; background:#fff; font-size:7px; text-align:center; }
.rag-docs span::before { content:""; display:block; width:17px; height:14px; margin:0 auto 5px; border-radius:3px; background:#dce6ff; box-shadow:inset 0 0 0 4px var(--accent); }
.rag-answer { display:grid; grid-template-columns:30px 1fr; gap:9px; align-items:center; margin-top:9px; padding:8px; border-radius:9px; background:#e7edff; }
.rag-answer b { display:grid; width:30px; height:30px; place-items:center; border-radius:8px; color:#fff; background:var(--accent); font-size:8px; }
.rag-answer span { color:#45536a; font-size:8px; }

.mcp-ui svg { position:absolute; inset:28px 18px 8px; width:calc(100% - 36px); height:calc(100% - 36px); overflow:visible; }
.mcp-ui svg path { fill:none; stroke:var(--accent); stroke-width:1.5; marker-end:url(#mcp-arrow); }
.mcp-ui svg marker path { fill:var(--accent); stroke:none; }

.deploy-ui .ui-top i { color:var(--accent); background:#e4ebff; }
.deploy-stats span::before { background:var(--accent); box-shadow:0 0 0 4px #e4ebff; }
.deploy-log { display:grid; gap:7px; margin-top:11px; padding:10px; border-radius:9px; background:#172033; }
.deploy-log span { position:relative; padding:5px 6px 5px 19px; color:#dbe3ef; font-size:7px; }
.deploy-log span::before { content:"✓"; position:absolute; left:3px; color:#77a0ff; font-weight:800; }

.site-preview span { width:auto; height:auto; margin:9px 0; padding:7px 8px; color:#647185; background:#edf1f6; font-size:7px; }
.site-preview span:nth-child(3){width:auto}.site-preview span:nth-child(4){width:auto;color:var(--accent);background:#dce6ff}

.metric-kpi span { height:auto; min-height:49px; padding:8px 9px; }
.metric-kpi span::before,.metric-kpi span::after { display:none; }
.metric-kpi b,.metric-kpi em { display:block; }
.metric-kpi b { color:var(--accent); font-size:9px; }
.metric-kpi em { margin-top:5px; color:#697588; font-size:7px; font-style:normal; }

.inbox-list { display:grid; gap:7px; margin-top:11px; }
.inbox-list span { position:relative; display:grid; grid-template-columns:1fr auto; gap:8px; padding:10px 11px 10px 25px; border:1px solid #d7dfeb; border-radius:9px; background:#fff; }
.inbox-list span::before { content:""; position:absolute; left:9px; top:13px; width:7px; height:7px; border-radius:50%; background:var(--accent); }
.inbox-list b { font-size:8px; }.inbox-list em { color:#748094; font-size:7px; font-style:normal; }
.inbox-reply { position:relative; margin-top:9px; padding:9px 36px 9px 11px; border:1px solid #cbd8ff; border-radius:9px; color:#5b6880; background:#eef3ff; font-size:8px; }
.inbox-reply i { position:absolute; right:8px; top:5px; display:grid; width:22px; height:22px; place-items:center; border-radius:6px; color:#fff; background:var(--accent); font-style:normal; }

.learning-nav { display:flex; gap:6px; margin-top:10px; }
.learning-nav span { padding:7px 8px; border-radius:7px; color:#607087; background:#e8edf5; font-size:7px; }
.learning-nav span:first-child { color:#fff; background:var(--accent); }
.learning-card { position:relative; margin-top:11px; padding:14px; border:1px solid #d7dfeb; border-radius:10px; background:#fff; }
.learning-card strong,.learning-card span { display:block; }.learning-card strong{font-size:10px}.learning-card span{margin-top:8px;color:#697588;font-size:8px}.learning-card em{display:block;width:100%;height:7px;margin-top:18px;border-radius:6px;background:linear-gradient(90deg,var(--accent) 72%,#dce3ee 72%)}

.analytics-kpi { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:10px; }
.analytics-kpi span { padding:9px 5px; border:1px solid #d7dfeb; border-radius:8px; color:#526078; background:#fff; font-size:7px; text-align:center; }
.analytics-table { position:absolute; left:22px; top:134px; width:42%; padding:10px; border:1px solid #d7dfeb; border-radius:9px; background:#fff; }
.analytics-table span { display:block; height:7px; margin:8px 0; border-radius:5px; background:#dbe2ec; }.analytics-table span:nth-child(2){background:#adc0f4}.analytics-table span:nth-child(4){width:70%}
.analytics-chart { position:absolute; right:23px; top:139px; display:flex; width:43%; height:77px; align-items:flex-end; gap:7px; padding:8px; border-left:1px solid #cfd7e4; border-bottom:1px solid #cfd7e4; }
.analytics-chart i { flex:1; height:32%; border-radius:4px 4px 0 0; background:#cbd7f8; }.analytics-chart i:nth-child(2){height:48%}.analytics-chart i:nth-child(3){height:70%;background:#86a4f7}.analytics-chart i:nth-child(4){height:92%;background:var(--accent)}

.review-card,.meeting-card { position:absolute; top:91px; bottom:25px; width:calc(50% - 27px); padding:13px; border:1px solid #d7dfeb; border-radius:10px; background:#fff; }
.review-card{left:22px}.meeting-card{right:22px}.review-card strong,.meeting-card strong,.review-card span,.meeting-card span{display:block}.review-card strong,.meeting-card strong{font-size:9px}.review-card span,.meeting-card span{margin-top:7px;color:#6c7889;font-size:7px}.review-card em{display:block;margin-top:22px;padding:7px;border-radius:7px;color:var(--accent);background:#e3eaff;font-size:7px;font-style:normal;text-align:center}.meeting-card i{display:inline-block;width:5px;margin:30px 2px 0;border-radius:4px;background:var(--accent)}.meeting-card i:nth-of-type(1){height:18px}.meeting-card i:nth-of-type(2){height:30px}.meeting-card i:nth-of-type(3){height:22px}.meeting-card i:nth-of-type(4){height:36px}

.company-flow { display:grid; grid-template-columns:1fr 16px 1fr 16px 1fr; align-items:center; gap:3px; margin-top:13px; }
.company-flow span { display:grid; min-height:52px; place-items:center; padding:5px; border:1px solid #d7dfeb; border-radius:9px; color:#56647a; background:#fff; font-size:7px; text-align:center; }.company-flow span:nth-of-type(2){color:#fff;border-color:var(--accent);background:var(--accent)}.company-flow i{color:var(--accent);font-size:10px;font-style:normal;text-align:center}
.company-result { position:relative; margin-top:13px; padding:12px 43px 12px 13px; border:1px solid #cbd8ff; border-radius:9px; background:#eef3ff; }.company-result strong,.company-result span{display:block}.company-result strong{font-size:9px}.company-result span{margin-top:5px;color:#687589;font-size:7px}.company-result em{position:absolute;right:11px;top:50%;display:grid;width:26px;height:26px;place-items:center;border-radius:50%;color:#fff;background:var(--accent);transform:translateY(-50%);font-style:normal;font-weight:800}

/* Инструменты: локальные логотипы сервисов и единая система иконок. */
.tool-groups { grid-template-columns:repeat(12,1fr); gap:12px; }
.tool-groups article { min-height:168px; padding:21px; border:1px solid #d8e0ec; border-radius:18px; background:linear-gradient(145deg,#fff,#f2f5fb); box-shadow:0 16px 38px rgba(30,49,84,.08); }
.tool-groups article::before { display:none; }
.tool-groups article:nth-child(1),
.tool-groups article:nth-child(2),
.tool-groups article:nth-child(3),
.tool-groups article:nth-child(5) { grid-column:span 3; }
.tool-groups article:nth-child(4),
.tool-groups article:nth-child(6),
.tool-groups article:nth-child(7) { grid-column:span 4; }
.tool-groups article:nth-child(1) { order:1; }
.tool-groups article:nth-child(2) { order:2; }
.tool-groups article:nth-child(3) { order:3; }
.tool-groups article:nth-child(5) { order:4; }
.tool-groups article:nth-child(4) { order:5; }
.tool-groups article:nth-child(6) { order:6; }
.tool-groups article:nth-child(7) { order:7; }
.tool-groups h3 { margin-bottom:16px; font-size:20px; }
.tool-list { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.tool-chip { display:inline-flex; min-height:44px; align-items:center; gap:7px; padding:5px 10px 5px 6px; border:1px solid #d8e0ec; border-radius:999px; color:#263247; background:rgba(255,255,255,.92); box-shadow:0 8px 20px rgba(30,49,84,.07); font-size:11px; font-weight:700; }
.tool-chip > i { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; overflow:hidden; border-radius:50%; color:var(--accent); background:#f1f4fa; font-style:normal; font-weight:800; }
.tool-chip img { width:20px; height:20px; object-fit:contain; }
.tool-chip.brand-only { width:50px; height:50px; min-height:50px; justify-content:center; padding:0; border-radius:50%; }
.tool-chip.brand-only > i { width:46px; height:46px; flex-basis:46px; background:#fff; }
.tool-chip.brand-only img { display:block; width:34px; height:34px; object-fit:contain; object-position:center; }
.tool-chip.brand-only img[src*="tool-logos-user"] { width:42px; height:42px; object-fit:contain; object-position:center; }
.tool-chip .text-logo { color:#fff; background:var(--accent); font-size:9px; letter-spacing:-.02em; }
.tool-chip .brand-giga { background:linear-gradient(135deg,#00a67e,#2f6bff); }
.tool-chip .brand-yandex { background:#fc3f1d; }
.tool-chip .brand-bitrix { background:#2fc7f7; }
.tool-chip .line-icon { position:relative; overflow:visible; background:#e5ecff; box-shadow:inset 0 0 0 1px #cbd8ff; }
.line-icon.checkmark::before { content:"✓"; font-size:16px; font-weight:800; }
.line-icon.agent::before { content:"AI"; font-size:10px; font-weight:800; }
.line-icon.speed::before { content:"↗"; font-size:18px; font-weight:800; }
.line-icon.audit::before { content:"⌕"; font-size:21px; font-weight:800; }
.line-icon.document::before { content:""; width:15px; height:19px; border:2px solid var(--accent); border-radius:3px; }
.line-icon.document::after { content:""; position:absolute; width:8px; height:2px; background:var(--accent); box-shadow:0 5px var(--accent); }
.line-icon.server::before { content:""; width:18px; height:5px; border:2px solid var(--accent); border-radius:3px; box-shadow:0 7px 0 -2px #e5ecff,0 7px 0 0 var(--accent),0 14px 0 -2px #e5ecff,0 14px 0 0 var(--accent); }
.line-icon.logs::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); box-shadow:8px 0 var(--accent),-8px 0 var(--accent); }
.line-icon.nodes::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:10px 8px var(--accent),-10px 8px var(--accent); }
.line-icon.team::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:9px 3px #7d9cf7,-9px 3px #7d9cf7; }
.line-icon.team::after { content:""; position:absolute; bottom:7px; width:22px; height:8px; border-radius:9px 9px 4px 4px; background:var(--accent); }
.line-icon.chart::before { content:""; width:5px; height:9px; align-self:end; margin-bottom:8px; background:#a9bcf4; box-shadow:7px -5px #7799f7,14px -12px var(--accent); }
.tool-chip img[src*="tool-logos-user"] { width:27px; height:27px; }
.tool-chip .fun-icon { position:relative; overflow:hidden; color:#fff; background:linear-gradient(145deg,#20b8f6 0%,#2457f5 62%,#1639b9 100%); box-shadow:0 6px 14px rgba(36,87,245,.25); }
.fun-icon::before,.fun-icon::after { position:absolute; }
.fun-icon.widget::before { content:"✦"; font-size:17px; }.fun-icon.widget::after { content:""; width:19px; height:13px; border:1.5px solid rgba(255,255,255,.75); border-radius:4px; }
.fun-icon.vibe::before { content:"</>"; font-size:9px; font-weight:800; }.fun-icon.vibe::after { content:"✦"; right:4px; top:2px; color:#8ee8ff; font-size:8px; }
.fun-icon.vector::before { content:""; width:7px; height:7px; border-radius:50%; background:#fff; box-shadow:10px 7px #9de8ff,-10px 7px #9de8ff,0 14px #fff; }
.fun-icon.docs::before { content:""; width:15px; height:19px; border:2px solid #fff; border-radius:4px; transform:rotate(-5deg); }.fun-icon.docs::after { content:""; width:8px; height:2px; background:#fff; box-shadow:0 5px #fff; }
.fun-icon.quality::before { content:"✓"; font-size:18px; font-weight:800; }.fun-icon.quality::after { content:""; width:23px; height:23px; border:1px solid rgba(255,255,255,.45); border-radius:50%; }
.fun-icon.skills::before { content:"✦"; font-size:17px; }.fun-icon.skills::after { content:"AI"; right:3px; bottom:2px; font-size:6px; font-weight:800; }
.fun-icon.autonomous::before { content:"AI"; z-index:1; font-size:9px; font-weight:800; }.fun-icon.autonomous::after { content:""; width:23px; height:13px; border:1px solid rgba(255,255,255,.75); border-radius:50%; transform:rotate(-25deg); }
.fun-icon.server-fun::before { content:""; width:18px; height:5px; border:1.5px solid #fff; border-radius:3px; box-shadow:0 7px 0 -1px #2457f5,0 7px 0 0 #fff,0 14px 0 -1px #2457f5,0 14px 0 0 #fff; }
.fun-icon.logging::before { content:""; width:23px; height:12px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:skewY(-24deg); }.fun-icon.logging::after { content:"●"; right:4px; top:5px; color:#9de8ff; font-size:8px; }
.fun-icon.abtest::before { content:"A/B"; font-size:9px; font-weight:800; }.fun-icon.abtest::after { content:""; top:7px; bottom:7px; left:50%; width:1px; background:rgba(255,255,255,.4); }
.fun-icon.handoff::before { content:"→"; font-size:18px; font-weight:800; }.fun-icon.handoff::after { content:"● ●"; bottom:3px; font-size:6px; letter-spacing:4px; }
.fun-icon.audit-fun::before { content:"⌕"; font-size:22px; font-weight:800; }.fun-icon.audit-fun::after { content:"✓"; right:4px; bottom:2px; color:#9de8ff; font-size:8px; font-weight:800; }
.fun-icon.spec::before { content:"ТЗ"; z-index:1; font-size:8px; font-weight:800; }.fun-icon.spec::after { content:""; width:20px; height:24px; border:1px solid rgba(255,255,255,.55); border-radius:4px; }
.fun-icon.estimate::before { content:"↗"; font-size:19px; font-weight:800; }.fun-icon.estimate::after { content:"₽"; right:4px; bottom:2px; color:#9de8ff; font-size:8px; font-weight:800; }
.fun-icon.effect::before { content:"▂▅▇"; bottom:7px; font-size:11px; letter-spacing:-1px; }.fun-icon.effect::after { content:"↗"; right:4px; top:2px; color:#9de8ff; font-size:9px; font-weight:800; }

/* На малом размере составные детали терялись — оставляем чистые цельные знаки. */
.tool-chip .fun-icon::before {
  position:static;
  display:grid;
  width:auto;
  height:auto;
  margin:0;
  place-items:center;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  transform:none;
  color:#fff;
  line-height:1;
  letter-spacing:0;
}
.tool-chip .fun-icon::after { content:none !important; display:none !important; }
.fun-icon.widget::before { content:"✦"; font-size:17px; }
.fun-icon.vibe::before { content:"</>"; font-size:9px; font-weight:800; }
.fun-icon.vector::before { content:"•••"; font-size:13px; letter-spacing:1px; }
.fun-icon.docs::before { content:"▤"; font-size:18px; }
.fun-icon.quality::before { content:"✓"; font-size:18px; font-weight:800; }
.fun-icon.skills::before { content:"✦"; font-size:17px; }
.fun-icon.autonomous::before { content:"AI"; font-size:9px; font-weight:800; }
.fun-icon.server-fun::before { content:"▤"; font-size:18px; }
.fun-icon.logging::before { content:"⌁"; font-size:21px; font-weight:800; }
.fun-icon.abtest::before { content:"A/B"; font-size:8px; font-weight:800; }
.fun-icon.handoff::before { content:"→"; font-size:19px; font-weight:800; }
.fun-icon.audit-fun::before { content:"⌕"; font-size:21px; font-weight:800; }
.fun-icon.spec::before { content:"ТЗ"; font-size:8px; font-weight:800; }
.fun-icon.estimate::before { content:"↗"; font-size:19px; font-weight:800; }
.fun-icon.effect::before { content:"▥"; font-size:18px; }

/* Crisp, optically aligned pictograms for the compact tool chips. */
.tool-chip .fun-icon::before {
  content:"" !important;
  width:18px;
  height:18px;
  background:#fff;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
}
.fun-icon.widget::before { -webkit-mask-image:url("assets/icons/widget.svg"); mask-image:url("assets/icons/widget.svg"); }
.fun-icon.vibe::before { -webkit-mask-image:url("assets/icons/code.svg"); mask-image:url("assets/icons/code.svg"); }
.fun-icon.vector::before { -webkit-mask-image:url("assets/icons/vector.svg"); mask-image:url("assets/icons/vector.svg"); }
.fun-icon.docs::before { -webkit-mask-image:url("assets/icons/document.svg"); mask-image:url("assets/icons/document.svg"); }
.fun-icon.quality::before { -webkit-mask-image:url("assets/icons/quality.svg"); mask-image:url("assets/icons/quality.svg"); }
.fun-icon.skills::before { -webkit-mask-image:url("assets/icons/spark.svg"); mask-image:url("assets/icons/spark.svg"); }
.fun-icon.autonomous::before { -webkit-mask-image:url("assets/icons/agent.svg"); mask-image:url("assets/icons/agent.svg"); }
.fun-icon.server-fun::before { -webkit-mask-image:url("assets/icons/server.svg"); mask-image:url("assets/icons/server.svg"); }
.fun-icon.logging::before { -webkit-mask-image:url("assets/icons/chart.svg"); mask-image:url("assets/icons/chart.svg"); }
.fun-icon.abtest::before { -webkit-mask-image:url("assets/icons/split.svg"); mask-image:url("assets/icons/split.svg"); }
.fun-icon.handoff::before { -webkit-mask-image:url("assets/icons/handoff.svg"); mask-image:url("assets/icons/handoff.svg"); }
.fun-icon.audit-fun::before { -webkit-mask-image:url("assets/icons/audit.svg"); mask-image:url("assets/icons/audit.svg"); }
.fun-icon.spec::before { -webkit-mask-image:url("assets/icons/spec.svg"); mask-image:url("assets/icons/spec.svg"); }
.fun-icon.estimate::before { -webkit-mask-image:url("assets/icons/estimate.svg"); mask-image:url("assets/icons/estimate.svg"); }
.fun-icon.effect::before { -webkit-mask-image:url("assets/icons/effect.svg"); mask-image:url("assets/icons/effect.svg"); }
.tool-chip .fun-icon::before,.tool-chip .fun-icon::after { display:none !important; }
.tool-chip .fun-icon > img { width:18px; height:18px; object-fit:contain; display:block; }


@media (max-width:1100px) {
  .tool-groups { grid-template-columns:repeat(2,1fr); }
  .tool-groups article,
  .tool-groups article:nth-child(n) { grid-column:auto; }
}

@media (max-width:680px) {
  .tool-groups { grid-template-columns:1fr; }
  .tool-groups article,
  .tool-groups article:nth-child(n) { grid-column:auto; }
  .tool-groups article { min-height:0; padding:21px; }
  .tool-chip { font-size:11px; }
}

/* Course outcomes: sticky heading + concise resume and larger check markers. */
.outcome-sticky { position:sticky; top:30px; }
.outcome-sticky h2 { margin:0 0 28px; font-size:clamp(42px,4.15vw,64px); line-height:.98; }
.outcome-sticky .resume-card {
  position:relative;
  top:auto;
  min-height:0;
  display:flex;
  align-items:center;
  gap:20px;
  padding:20px;
}
.resume-photo {
  width:96px;
  height:96px;
  flex:0 0 96px;
  border-radius:50%;
  background-image:url('assets/resume-ai-engineer.png');
  background-size:cover;
  background-position:center 18%;
  background-repeat:no-repeat;
}
.outcome-sticky .resume-top {
  display:block;
  padding:0;
  border:0;
  font-size:30px;
}
.outcome-sticky .resume-top strong { color:var(--accent); }
.outcome-grid > div:last-child article { padding-left:58px; }
.outcome-grid > div:last-child article::before {
  content:"✓";
  display:grid;
  left:-19px;
  top:0;
  width:38px;
  height:38px;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--accent);
  box-shadow:0 8px 20px rgba(36,87,245,.24);
  font-size:18px;
  font-weight:800;
}
.outcome-grid > div:last-child article+article::before { top:25px; }
@media (max-width:1100px) {
  .outcome-sticky { position:relative; top:0; }
}
@media (max-width:680px) {
  .outcome-sticky h2 { margin-bottom:24px; font-size:40px; }
  .outcome-sticky .resume-card { padding:12px; }
  .resume-photo { width:76px; height:76px; flex-basis:76px; }
  .outcome-sticky .resume-top { padding:18px 5px 6px; font-size:25px; }
  .outcome-grid > div:last-child { padding-left:18px; }
  .outcome-grid > div:last-child article { padding-left:44px; }
  .outcome-grid > div:last-child article::before { left:-16px; width:31px; height:31px; font-size:15px; }
}

/* Full course team in a horizontally controlled slider. */
.team-section { overflow:hidden; }
.team-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.team-head h2 { margin-bottom:0; }
.team-controls { display:flex; gap:8px; }
.team-controls button {
  display:grid;
  width:48px;
  height:48px;
  place-items:center;
  border:1px solid #cbd5e4;
  border-radius:50%;
  color:#fff;
  background:var(--accent);
  font:inherit;
  font-size:20px;
  cursor:pointer;
}
.team-slider {
  display:grid;
  grid-auto-columns:calc((100% - 28px)/3);
  grid-auto-flow:column;
  align-items:start;
  gap:14px;
  margin-top:40px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.team-slider::-webkit-scrollbar { display:none; }
.team-slider article {
  position:relative;
  display:flex;
  height:860px;
  flex-direction:column;
  overflow:hidden;
  scroll-snap-align:start;
  border:1px solid #dce2ea;
  border-radius:16px;
  background:#fff;
}
.team-slider img { width:100%; flex:0 0 auto; aspect-ratio:1.5; object-fit:cover; object-position:center top; background:#e5e7eb; }
.team-slider article>p,.team-slider article>h3,.team-slider article>ul { margin-left:24px; margin-right:24px; }
.team-slider article>p { margin-top:22px; margin-bottom:7px; color:var(--accent); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.team-slider article>h3 { margin-top:0; font-size:25px; }
.team-slider ul { padding-left:18px; margin-bottom:26px; color:var(--muted); }
.team-slider li { margin:9px 0; line-height:1.45; }
.team-slider li::first-line { color:var(--accent); font-weight:750; }
.team-slider li:nth-child(n+5) { display:none; }
.team-slider article.is-expanded { height:auto; min-height:860px; }
.team-slider article.is-expanded li:nth-child(n+5) { display:list-item; }
.team-teaser {
  position:absolute;
  left:24px;
  width:calc(100% - 48px);
  margin:0 !important;
  padding-left:18px !important;
  overflow:hidden;
  pointer-events:none;
}
.team-teaser li:first-child { margin-top:0; }
.team-teaser::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:58px;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.82) 52%,#fff 92%);
  font-size:0;
}
.team-slider article.is-expanded .team-teaser { display:none; }
.team-more {
  position:absolute;
  top:785px;
  left:24px;
  width:calc(100% - 48px);
  min-height:46px;
  margin:0;
  border:1px solid #cbd5e4;
  border-radius:8px;
  color:var(--accent);
  background:#f5f8ff;
  font:inherit;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.team-more:hover { background:var(--accent-soft); }
.team-slider article.is-expanded .team-more {
  position:static;
  margin:20px 24px 24px;
}
@media (max-width:1100px) {
  .team-slider { grid-auto-columns:calc((100% - 14px)/2); }
}
@media (max-width:680px) {
  .team-head { align-items:center; }
  .team-controls button { width:42px; height:42px; }
  .team-slider { grid-auto-columns:88%; margin-top:28px; }
  .team-slider article { height:890px; }
  .team-slider article.is-expanded { min-height:890px; }
  .team-more { top:818px; }
}

/* Tariffs: aligned headers, badges and equal-height cards. */
.tariff-grid { align-items:stretch; padding-top:18px; }
.tariff-grid>article { position:relative; min-height:720px; padding:30px 28px 28px; }
.tariff-grid .recommended {
  color:#fff;
  border-color:var(--accent);
  background:var(--accent);
  box-shadow:0 24px 60px rgba(36,87,245,.24);
  transform:none;
}
.recommended-label {
  position:absolute;
  top:-17px;
  left:28px;
  display:flex;
  height:34px;
  align-items:center;
  padding:0 15px;
  border:2px solid var(--accent);
  border-radius:999px;
  color:var(--accent);
  background:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.tariff-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.tariff-top>div { min-width:0; }
.tariff-grid .tariff-top h3 { min-height:0; margin:0; font-size:24px; }
.tariff-top p { min-height:42px; margin:7px 0 0; color:var(--muted); font-size:16px; line-height:1.4; font-weight:650; }
.tariff-top>strong {
  display:flex;
  min-width:max-content;
  height:34px;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  color:var(--accent);
  background:var(--accent-soft);
  font-size:13px;
}
.tariff-grid>article>ul { margin-top:14px; }
.tariff-grid li { padding-left:22px; }
.tariff-grid li::before {
  content:"";
  left:2px;
  top:17px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
}
.tariff-grid .recommended .tariff-top p,.tariff-grid .recommended li,.tariff-grid .recommended .price span { color:rgba(255,255,255,.84); }
.tariff-grid .recommended .tariff-top>strong { color:var(--accent); background:#fff; }
.tariff-grid .recommended li { border-color:rgba(255,255,255,.2); }
.tariff-grid .recommended li::before { background:#fff; }
.tariff-grid .recommended .button { color:var(--accent); background:#fff; border-color:#fff; }
@media (max-width:1100px) { .tariff-grid>article { min-height:auto; } }

.hero-visual {
  min-height: 700px;
}

.career-sheet {
  width: min(520px, 96%);
  height: 780px;
  min-height: 780px;
  top: 12px;
  left: 2%;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 36px 90px rgba(27, 42, 78, .2);
  transform: rotate(1.2deg);
}

.career-sheet > * { display: flex; }

.career-sheet .sheet-top {
  justify-content: flex-start;
}

.career-sheet .sheet-top strong {
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
}

.hiring-board {
  position: relative;
  display: block !important;
  height: 670px;
  padding: 24px;
  background-image: linear-gradient(rgba(36,87,245,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(36,87,245,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.resume-preview,
.interview-preview,
.team-preview,
.offer-preview {
  position: absolute;
  border: 1px solid #d8e0eb;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(27,42,78,.12);
}

.resume-preview {
  width: 240px;
  height: 300px;
  left: 28px;
  top: 28px;
  padding: 21px;
  transform: rotate(-3deg);
  animation: card-float-a 6s ease-in-out infinite;
}

.resume-preview > span,
.interview-preview > span,
.offer-preview > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.resume-person {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: repeat(2, 12px);
  gap: 9px 14px;
  align-items: center;
  margin: 24px 0 30px;
}

.resume-person i {
  display: grid;
  width: 58px;
  height: 58px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.resume-person b { color: #657084; font-size: 8px; font-weight: 700; line-height: 1.2; }
.resume-person b:first-of-type { color: #1d2635; font-size: 11px; }
.resume-skills { display: grid; gap: 16px; }
.resume-skills i { display: flex; min-height: 24px; align-items: center; padding: 5px 7px 5px 28px; border-radius: 6px; color: #465064; background: #edf1f6; position: relative; font-size: 8px; font-style: normal; font-weight: 700; line-height: 1.2; }
.resume-skills i::before { content: "✓"; display: grid; position: absolute; left: 5px; top: 4px; width: 16px; height: 16px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 8px; font-style: normal; }

.interview-preview {
  width: 245px;
  height: 155px;
  right: 26px;
  top: 48px;
  padding: 20px;
  transform: rotate(3deg);
  animation: card-float-b 7s ease-in-out infinite;
}

.interview-people { display: flex; gap: 7px; margin-top: 20px; }
.interview-people figure { width: 48px; margin: 0; text-align: center; }
.interview-people i { display: block; width: 42px; height: 42px; margin: 0 auto 5px; border: 3px solid #fff; border-radius: 50%; background-image: url('assets/business-headshots.png'); background-size: 600% 200%; background-position: 5% 0; background-repeat: no-repeat; box-shadow: 0 0 0 1px #d3dbe7; }
.interview-people figure:nth-child(2) i { background-position: 35% 0; }
.interview-people figure:nth-child(3) i { background-position: 65% 0; }
.interview-people small { display: block; color: #6b7483; font-size: 7px; font-weight: 700; white-space: nowrap; }
.interview-preview > b { position: absolute; right: 18px; bottom: 21px; display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); }

.team-preview {
  width: 270px;
  min-height: 120px;
  right: 35px;
  top: 238px;
  padding: 21px;
  transform: rotate(-2deg);
  animation: card-float-a 7.5s ease-in-out -2s infinite;
}

.team-avatars { display: flex; margin-bottom: 18px; }
.team-avatars i { width: 45px; height: 45px; margin-right: -8px; border: 3px solid #fff; border-radius: 50%; background-image: url('assets/business-headshots.png'); background-size: 600% 200%; background-position: 5% 100%; background-repeat: no-repeat; box-shadow: 0 0 0 1px #d6deea; animation: avatar-pop 5s ease-in-out infinite; }
.team-avatars i:nth-child(2){background-position:35% 100%;animation-delay:-.4s}.team-avatars i:nth-child(3){background-position:65% 100%;animation-delay:-.8s}.team-avatars i:nth-child(4){background-position:95% 100%;animation-delay:-1.2s}
.team-preview strong { font-size: 14px; }

.career-extra {
  position: absolute;
  right: 28px;
  top: 405px;
  display: grid;
  width: 225px;
  gap: 9px;
}

.career-extra div {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px 10px 16px;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  color: #172033;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(27,42,78,.1);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.career-extra div:nth-child(2) { transform: translateX(-18px); }
.career-extra i { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 12px; font-style: normal; }

.offer-preview {
  display: flex;
  width: 220px;
  height: 112px;
  left: 58px;
  bottom: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: rotate(2deg);
  animation: card-float-b 6.5s ease-in-out -1s infinite;
}

.offer-preview > span { color: #fff; font-size: 18px; }
.offer-preview > strong { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--accent); background: #fff; font-size: 22px; }
.offer-preview > strong,.interview-preview > b { animation: check-pulse 2.8s ease-in-out infinite; }

.career-path {
  display: flex !important;
  gap: 9px;
  padding: 0 24px 22px;
}

.career-path span { padding: 8px 12px; border-radius: 6px; color: #465064; background: #eef1f5; font-size: 11px; font-weight: 800; }

@keyframes card-float-a { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-7px) rotate(-2deg)} }
@keyframes card-float-b { 0%,100%{transform:translateY(0) rotate(2deg)} 50%{transform:translateY(7px) rotate(3deg)} }
@keyframes check-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.3)} 50%{box-shadow:0 0 0 9px rgba(255,255,255,0)} }
@keyframes avatar-pop { 0%,70%,100%{transform:translateY(0)} 82%{transform:translateY(-4px)} }

.career-sheet .sheet-profile {
  display: grid;
  padding: 25px 28px;
}

.profile-copy h3 {
  color: var(--ink);
  font-size: 24px;
}

.profile-copy p {
  margin: 4px 0 0;
  color: #687181;
  font-size: 13px;
}

.sheet-flow {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr;
  align-items: center;
  gap: 7px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
}

.sheet-flow > div {
  min-height: 82px;
  padding: 12px 10px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
}

.sheet-flow > div:last-child {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.sheet-flow span,
.sheet-flow strong {
  display: block;
}

.sheet-flow span {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
}

.sheet-flow > div:last-child span { color: #fff; opacity: .7; }
.sheet-flow strong { font-size: 10px; line-height: 1.15; }
.sheet-flow i { height: 1px; background: #adb7c6; position: relative; }
.sheet-flow i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #adb7c6; border-right: 1px solid #adb7c6; transform: rotate(45deg); }

.sheet-bottom {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 22px;
}

.sheet-bottom > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 17px;
  border-radius: 10px;
  color: #fff;
  background: #111827;
}

.sheet-bottom > div:first-child span { font-size: 10px; opacity: .65; }
.sheet-bottom > div:first-child strong { margin-top: 7px; font-size: 17px; line-height: 1.15; }

.career-sheet .sheet-chart {
  display: flex;
  height: 176px;
  margin: 0;
  padding: 24px 18px 0;
}

.career-sheet .sheet-footer {
  display: flex;
  padding: 0 22px 22px;
}

.career-sheet .sheet-footer span:nth-child(2) {
  color: #374151;
  background: #eef1f5;
}

.career-sheet .sheet-footer span:last-child {
  color: #374151;
  background: #eef1f5;
}

.hero-visual .mini-card {
  display: none;
}

.orbit-one {
  width: 610px;
  height: 610px;
  top: 76px;
  left: -28px;
}

.orbit-two {
  width: 420px;
  height: 420px;
  top: 160px;
  left: 58px;
}

@media (min-width: 1101px) and (max-height: 950px) {
  .hero h1 {
    font-size: clamp(58px, 4.55vw, 70px);
  }
  .hero-lead {
    margin-top: 24px;
    margin-bottom: 25px;
  }
  .hero-points p {
    font-size: 17px;
    line-height: 1.48;
    font-weight: 400;
  }
  .hero-points {
    gap: 9px;
  }
  .hero-points article {
    min-height: 90px;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 8px 17px 8px 8px;
  }
  .point-icon {
    width: 52px;
    height: 52px;
  }
  .stream {
    margin-top: 21px;
    margin-bottom: 15px;
  }
  .glossary-note {
    margin-top: 12px;
  }
  .hero-visual {
    min-height: 660px;
    transform: translateY(-12px) scale(.96);
  }
  .career-sheet {
    height: 700px;
    min-height: 700px;
    top: 8px;
  }
  .hiring-board { height: 590px; }
  .career-extra { top: 375px; }
  .offer-preview { bottom: 18px; }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .hero-layout { padding-top: 22px; padding-bottom: 24px; }
  .hero .eyebrow { margin-bottom: 9px; }
  .hero h1 { font-size: clamp(54px, 4.15vw, 62px); line-height: .92; }
  .hero-lead { margin-top: 16px; margin-bottom: 17px; font-size: 14px; line-height: 1.43; }
  .hero-points { gap: 6px; }
  .hero-points article { min-height: 80px; grid-template-columns: 44px 1fr; gap: 13px; padding: 7px 13px 7px 7px; }
  .point-icon { width: 44px; height: 44px; border-radius: 9px; }
  .hero-points p { font-size: 15px; line-height: 1.38; font-weight: 400; }
  .stream { margin-top: 13px; margin-bottom: 10px; font-size: 13px; }
  .hero .button { min-height: 50px; }
  .glossary-note { margin-top: 8px; font-size: 9px; }
  .hero-visual { min-height: 590px; transform: translateY(-18px) scale(.94); }
  .career-sheet { height: 650px; min-height: 650px; top: 0; }
  .hiring-board { height: 540px; }
  .career-extra { top: 355px; }
  .offer-preview { width: 190px; height: 96px; left: 45px; bottom: 15px; }
}

@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .hero h1 { width: 100%; }
  .hero h1 .title-main { white-space: normal; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .profession-heading h2 { white-space: normal; }
  .process { grid-template-columns: repeat(2,1fr); gap: 18px; }
}

@media (max-width: 680px) {
  .hero h1 { font-size: clamp(40px, 11.5vw, 52px); }
  .hero-lead { margin-top: 26px; margin-bottom: 28px; }
  .hero-points p { font-size: 16px; line-height: 1.55; font-weight: 400; }
  .hero-points { gap: 10px; }
  .hero-points article { grid-template-columns: 54px 1fr; gap: 13px; min-height: 74px; padding: 9px 12px 9px 9px; }
  .point-icon { width: 54px; height: 54px; }
  .stream { margin-top: 23px; margin-bottom: 17px; }
  .hero-visual { min-height: 570px; }
  .career-sheet { width: calc(100% - 12px); height: 610px; min-height: 610px; top: 18px; left: 6px; }
  .hiring-board { height: 500px; }
  .career-extra { top: 335px; right: 18px; width: 205px; }
  .offer-preview { width: 180px; height: 92px; left: 34px; bottom: 14px; }
  .orbit-one { width: 440px; height: 440px; top: 62px; left: -28px; }
  .orbit-two { width: 300px; height: 300px; top: 140px; left: 26px; }
  .ratings { margin-top: -10px; padding: 18px 0 20px; }
  .rating-card { min-height: 78px; }
  .profession-heading > p:last-child { margin-top: 22px; font-size: 16px; }
  .process { grid-template-columns: 1fr; margin-top: 36px; }
  .process article { min-height: 224px; }
  .process-icon { height: 150px; flex-basis: 150px; }
}

/* October content and hierarchy adjustments. */
.hero:not(.final-hero) .hero-lead-first {
  margin-bottom: 0;
}

.hero:not(.final-hero) .hero-lead-second {
  margin-top: 0;
}

@media (min-width: 681px) {
  .why-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .why-list article,
  .why-list article:nth-child(even) {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 30px 24px;
    border-right: 0;
  }

  .why-list article:nth-child(-n+2) { grid-column: span 3; }
  .why-list article:nth-child(n+3) { grid-column: span 2; }
  .why-list article:nth-child(1),
  .why-list article:nth-child(3),
  .why-list article:nth-child(4) { border-right: 1px solid #cfd6e0; }
}

.projects-section .slider-controls button {
  border-color: #fff;
  color: var(--accent);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  font-size: 24px;
  font-weight: 700;
}

.tariff-grid .recommended {
  color: var(--ink);
  border: 2px solid var(--accent);
  background: #eef4ff;
  box-shadow: 0 20px 50px rgba(36,87,245,.15);
}

.tariff-grid .recommended .tariff-top p,
.tariff-grid .recommended li,
.tariff-grid .recommended .price span { color: var(--muted); }
.tariff-grid .recommended .tariff-top>strong { color: var(--accent); background: #fff; }
.tariff-grid .recommended li { border-color: rgba(154,166,185,.25); }
.tariff-grid .recommended li::before { background: var(--accent); }
.tariff-grid .recommended .button { color: #fff; background: var(--accent); border-color: var(--accent); }

.tariff-grid .featured-vip {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 24px 60px rgba(36,87,245,.26);
}

.tariff-grid .featured-vip .tariff-top p,
.tariff-grid .featured-vip li,
.tariff-grid .featured-vip .price span { color: rgba(255,255,255,.86); }
.tariff-grid .featured-vip .tariff-top>strong { color: var(--accent); background: #fff; }
.tariff-grid .featured-vip li { border-color: rgba(255,255,255,.22); }
.tariff-grid .featured-vip li::before { background: #fff; }
.tariff-grid .featured-vip .price s { color: rgba(255,255,255,.62); }
.tariff-grid .featured-vip .button { color: var(--accent); background: #fff; border-color: #fff; }

.vip-label {
  position: absolute;
  top: -17px;
  left: 28px;
  display: flex;
  height: 34px;
  align-items: center;
  padding: 0 15px;
  border: 2px solid #22a559;
  border-radius: 999px;
  color: #fff;
  background: #22a559;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(34,165,89,.24);
}

@media (prefers-reduced-motion: reduce) {
  .resume-preview,
  .interview-preview,
  .team-preview,
  .career-extra,
  .offer-preview,
  .team-avatars i,
  .offer-preview > strong,
  .interview-preview > b {
    animation: none !important;
  }
}

/* Hero title: two desktop lines at the shared section-heading scale. */
@media (min-width:1101px) {
  .hero h1 {
    width:min(920px,72vw);
    font-size:clamp(44px,5vw,68px);
    line-height:1;
  }
  .hero h1 .title-main { white-space:nowrap; }
  .hero h1 small { display:inline; }
}
@media (max-width:1100px) {
  .hero h1 { font-size:clamp(38px,11vw,48px); line-height:1; }
  .hero h1 small { display:inline; }
}

/* Internship: compact editorial hierarchy and a distinct result card. */
@media (min-width:1101px) {
  .internship-section h2 { white-space:nowrap; font-size:clamp(42px,4vw,62px); }
}
.internship-section .section-lead {
  max-width:1040px;
  margin-top:-18px;
  line-height:1.55;
}
.internship-section .stats article:last-child span { max-width:330px; }
.internship-section .partner-marquee {
  margin:24px 0;
  padding:18px 0;
  border:0;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
}
.internship-section .partner-track {
  display:flex;
  width:max-content;
  padding:0;
  animation:partnerCards 48s linear infinite;
}
.internship-section .partner-set {
  display:flex;
  align-items:center;
  gap:14px;
  padding-right:14px;
}
.partner-logo,.partner-name {
  display:flex;
  align-items:center;
  justify-content:center;
  height:86px;
  flex:0 0 auto;
  padding:12px 24px;
  border:1px solid #d7dfec;
  border-radius:16px;
  background:#fff;
  box-shadow:0 9px 24px rgba(35,53,89,.07);
}
.partner-name {
  width:220px;
  color:var(--ink);
  font-size:16px;
  font-weight:750;
  white-space:normal;
  text-align:center;
  line-height:1.25;
}
.partner-logo,.partner-logo-wide,.partner-logo-square { width:220px; }
.partner-logo-square { padding:10px 24px; }
.partner-logo img { display:block; width:100%; height:100%; object-fit:contain; }
@keyframes partnerCards { to { transform:translateX(-50%); } }
.partner-marquee:hover .partner-track { animation-play-state:paused; }
.internship-result {
  display:flex;
  align-items:center;
  gap:22px;
  min-height:112px;
  padding:16px 28px 16px 18px;
  border:1px solid rgba(36,87,245,.22);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(230,237,255,.92));
  box-shadow:0 18px 42px rgba(36,87,245,.10);
}
.internship-result img {
  width:80px;
  height:80px;
  flex:0 0 80px;
  object-fit:contain;
}
.internship-result .result-line {
  margin:0;
  font-size:20px;
  line-height:1.45;
}
@media (max-width:680px) {
  .internship-section .section-lead { margin-top:-10px; font-size:16px; }
  .internship-result { gap:14px; min-height:96px; padding:14px; }
  .internship-result img { width:62px; height:62px; flex-basis:62px; }
  .internship-result .result-line { font-size:16px; }
  .partner-logo,.partner-name { height:72px; padding:10px 18px; border-radius:14px; }
  .partner-logo,.partner-logo-wide,.partner-logo-square,.partner-name { width:180px; }
  .partner-logo-square { padding:8px 18px; }
  .partner-name { min-width:0; font-size:14px; }
}

/* Keep these mobile repairs last so component media rules cannot override them. */
@media(max-width:680px){
  .team-head{display:block}
  .team-controls{margin-top:18px}
  .team-controls button{width:42px;height:42px}

  .audience-list{
    width:100%;
    grid-template-columns:minmax(0,1fr)!important;
  }
  .audience-list article,
  .audience-list article:nth-child(n+3),
  .audience-list article:last-child{
    width:100%;
    max-width:none;
    grid-column:1/-1!important;
  }
}

/* Standard Zerocoder course footer. */
.site-footer{
  padding:82px 0 30px;
  color:rgba(255,255,255,.72);
  background:#111;
  font-size:15px;
}
.site-footer__container{
  width:min(1440px,calc(100% - 48px));
  margin:0 auto;
}
.site-footer__top{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:52px;
  padding-bottom:46px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.site-footer__brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:22px;
}
.site-footer__logo{display:inline-flex}
.site-footer__logo img{display:block;width:auto;height:36px;max-width:220px}
.site-footer__address{color:rgba(255,255,255,.56);font-size:13px;line-height:1.5}
.site-footer__badges{
  display:flex;
  width:max-content;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
}
.site-footer__badges img{display:block;width:auto;height:40px;max-width:112px;object-fit:contain}
.site-footer__badges img:first-child{height:48px}
.site-footer__col h4{
  margin:0 0 16px;
  color:rgba(255,255,255,.46);
  font-size:13px;
  font-weight:500;
}
.site-footer__col ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.site-footer__col a{color:#fff;text-decoration:none}
.site-footer__col a:hover{color:#7ca0ff;text-decoration:underline}
.site-footer__contacts{display:flex;flex-direction:column;gap:24px}
.site-footer__contacts h4{margin-bottom:5px}
.site-footer__contact{font-size:22px;font-weight:700;letter-spacing:-.02em}
.site-footer__socials{display:flex;gap:12px;margin-top:7px}
.site-footer__social{
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  transition:transform .2s ease;
}
.site-footer__social:hover{transform:translateY(-2px) scale(1.05)}
.site-footer__social svg{width:22px;height:22px}
.site-footer__social img{width:100%;height:100%;object-fit:cover}
.site-footer__social--tg{background:#2aabee}
.site-footer__social--wa{background:#25d366}
.site-footer__social--yt{background:#f00}
.site-footer__bottom{
  display:flex;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  padding-top:28px;
  color:rgba(255,255,255,.45);
  font-size:13px;
}
.site-footer__legal{display:flex;gap:42px;flex-wrap:wrap}

@media(max-width:959px){
  .site-footer__top{grid-template-columns:repeat(2,1fr);gap:40px}
}
@media(max-width:639px){
  .site-footer{padding:58px 0 28px}
  .site-footer__container{width:calc(100% - 32px)}
  .site-footer__top{grid-template-columns:1fr;gap:38px;padding-bottom:36px}
  .site-footer__bottom{display:grid;gap:14px}
  .site-footer__legal{gap:18px}
}
