:root {
  --page: var(--bg);
  --surface: var(--bg-card);
  --soft: var(--bg-1);
  --text: var(--ink);
  --muted: var(--ink-2);
  --quiet: var(--ink-3);
  --brand: var(--accent);
  --brand-deep: var(--bg-blue);
  --brand-hover: var(--accent-ink);
  --white: #ffffff;
  --white-72: rgba(255, 255, 255, 0.72);
  --white-16: rgba(255, 255, 255, 0.16);
  --white-10: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --container: min(1376px, calc(100vw - 64px));
  --section-space: clamp(52px, 4.8vw, 76px);
}

* { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--brand-deep);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button--compact { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.button--light { background: var(--white); border-color: var(--white); color: var(--brand-deep); }
.button--light:hover { background: var(--soft); border-color: var(--soft); }

.hero {
  display: flex;
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 980px);
  padding: clamp(42px, 4vw, 64px) clamp(32px, 5vw, 78px);
}

.proof-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}
.proof-line > i { width: 4px; height: 4px; background: var(--brand); }
.proof-group { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.proof-logos { display: flex; align-items: center; gap: 10px; height: 34px; }
.proof-logo { position: relative; display: block; height: 34px; overflow: hidden; flex: 0 0 auto; }
.proof-logo img { position: absolute; max-width: none; object-fit: contain; }
.proof-logo--sber { width: 34px; }
.proof-logo--sber img { top: 0; left: 0; width: 205px; height: 34px; }
.proof-logo--vtb { width: 68px; }
.proof-logo--vtb img { position: static; width: 68px; height: 24px; }
.proof-logo--s7 { width: 34px; }
.proof-logo--s7 img { position: static; width: 34px; height: 34px; }
.proof-faces { display: flex; width: 82px; flex: 0 0 82px; }
.proof-faces img { width: 34px; height: 34px; border: 2px solid var(--page); border-radius: 50%; background: var(--soft); object-fit: cover; }
.proof-faces img + img { margin-left: -10px; }

.hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--text);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.94;
}
.hero h1 span { display: block; color: var(--brand); font-style: italic; font-weight: 520; }
.hero__lead { max-width: 780px; margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 1.25vw, 20px); line-height: 1.45; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 26px; }
.text-link { color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: 9px; color: var(--brand); }
.hero__metrics { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 30px 0 0; border-top: 1px solid var(--line); }
.hero__metrics div { padding: 24px 18px 0 0; }
.hero__metrics div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero__metrics dt { color: var(--text); font-size: 20px; font-weight: 700; }
.hero__metrics dd { margin: 3px 0 0; color: var(--quiet); font-size: 12px; }

.section-nav {
  display: flex;
  width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-nav a {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.section-nav a:hover { color: var(--brand); }
.section-nav a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -4px; }

.section { width: var(--container); margin: 0 auto; padding: var(--section-space) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 880px; margin-bottom: clamp(32px, 3.5vw, 46px); }
.section-heading--split { display: grid; grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr); gap: clamp(34px, 5.5vw, 90px); max-width: none; }
.section-heading h2, .contour h2 { margin: 0; color: var(--text); font-size: clamp(40px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.02; }
.section-heading > p:last-child, .section-heading > div > p { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }

.task-router { display: grid; grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr); border: 1px solid var(--line); }
.task-tabs { border-right: 1px solid var(--line); }
.task-tabs button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 16px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.task-tabs button:last-child { border-bottom: 0; }
.task-tabs button span { color: var(--quiet); font-size: 11px; }
.task-tabs button.is-active { background: var(--brand-deep); color: var(--white); }
.task-tabs button.is-active span { color: var(--white-72); }
.task-panels { min-width: 0; }
.task-panel { display: flex; min-height: 400px; padding: clamp(28px, 4vw, 54px); flex-direction: column; justify-content: space-between; }
.task-panel__intro > span { color: var(--brand); font-size: 12px; font-weight: 650; }
.task-panel__intro h3 { max-width: 900px; margin: 16px 0 34px; color: var(--text); font-size: clamp(29px, 2.7vw, 43px); font-weight: 520; letter-spacing: -0.05em; line-height: 1.12; }
.task-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.task-panel__grid > div { padding: 24px 24px 8px 0; }
.task-panel__grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.task-panel__grid small { color: var(--quiet); font-size: 11px; }
.task-panel__grid p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.task-panel__footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.task-panel__footer-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.task-panel__footer-head a { color: var(--brand); font-size: 12px; font-weight: 650; text-decoration: none; }
.task-panel__footer-head span { color: var(--quiet); font-size: 9px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.task-case-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.task-case { display: grid; grid-template-columns: minmax(62px, 86px) minmax(0, 1fr) auto; min-width: 0; min-height: 72px; padding: 13px 15px; align-items: center; gap: 14px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background-color 160ms ease; }
.task-case:hover { background: var(--soft); }
.task-case img { width: auto; max-width: 86px; height: 25px; object-fit: contain; object-position: left center; }
.task-case > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.task-case strong { overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.task-case small { overflow: hidden; color: var(--quiet); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.task-case i { color: var(--brand); font-size: 15px; font-style: normal; }
.task-cases-more { display: flex; width: 100%; min-height: 44px; padding: 0 2px; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 10px; font-weight: 650; cursor: pointer; }
.task-cases-more:hover { color: var(--brand); }
.task-cases-more span { color: var(--brand); font-size: 14px; }
.cases, .team { scroll-margin-top: 72px; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.outputs .section-heading { margin-bottom: clamp(34px, 3vw, 42px); }
.projects-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 0 0 20px; }
.projects-intro > div > span { color: var(--brand); font-size: 10px; font-weight: 650; }
.projects-intro h3 { margin: 8px 0 0; font-size: 30px; font-weight: 550; letter-spacing: -0.045em; line-height: 1.08; }
.projects-intro > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; }
.project-grid article { display: flex; min-height: 270px; padding: 26px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.project-grid article > span { color: var(--brand); font-size: 12px; font-weight: 650; }
.project-icon { display: block; width: 72px; height: 60px; margin: 18px 0 14px; color: var(--brand); flex: 0 0 auto; font-style: normal; }
.project-icon svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-grid h3 { margin: 8px 0 12px; font-size: 26px; font-weight: 650; letter-spacing: -0.045em; line-height: 1.08; }
.project-grid p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.project-grid small { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; }
.project-more-toggle { display: none; }
.project-grid .project-card--accent { background: var(--brand-deep); color: var(--white); }
.project-card--accent > span, .project-card--accent p { color: var(--white-72); }
.project-card--accent .project-icon { color: var(--white); }
.project-card--accent a { margin-top: auto; color: var(--white); font-size: 12px; font-weight: 650; text-decoration: none; }
.contour {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(56px, 8vw, 130px);
  padding: var(--section-space) max(32px, calc((100vw - 1376px) / 2));
  background: var(--brand-deep);
  color: var(--white);
}
.contour h2 { color: var(--white); }
.contour__copy > p { max-width: 680px; margin: 26px 0 0; color: var(--white-72); font-size: 18px; }
.check-list { margin: 42px 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--white-16); font-size: 14px; }
.check-list span { color: var(--white-72); font-size: 10px; }
.contour__diagram { align-self: center; }
.diagram-frame { padding: clamp(24px, 3vw, 44px); background: var(--white); color: var(--text); box-shadow: 0 34px 100px rgba(0, 0, 0, 0.24); }
.diagram-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.diagram-head i { padding: 7px 9px; background: var(--soft); color: var(--brand); font-size: 9px; font-style: normal; }
.diagram-row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: 22px; background: var(--soft); border: 1px solid var(--line); }
.diagram-row > span { color: var(--brand); font-size: 10px; font-weight: 700; }
.diagram-row strong { font-size: 15px; font-weight: 600; }
.diagram-row small { color: var(--quiet); font-size: 10px; }
.diagram-row--security { background: var(--brand); border-color: var(--brand); color: var(--white); }
.diagram-row--security > span, .diagram-row--security small { color: var(--white-72); }
.diagram-connector { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 13px 0; color: var(--quiet); font-size: 9px; }
.diagram-connector i { height: 1px; background: var(--line); }
.diagram-systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.diagram-systems div { min-height: 90px; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
.diagram-systems span { display: block; margin-bottom: 18px; color: var(--brand); font-size: 9px; }
.diagram-systems strong { font-size: 11px; line-height: 1.3; }
.diagram-result { display: grid; grid-template-columns: 90px 1fr; gap: 20px; margin-top: 14px; padding: 22px; background: var(--brand-deep); color: var(--white); }
.diagram-result span { color: var(--white-72); font-size: 10px; }
.diagram-result strong { max-width: 380px; font-size: 14px; }
.contour__diagram > p { max-width: 680px; margin: 20px 0 0; color: var(--white-72); font-size: 12px; }

.method-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-steps li { display: flex; min-height: 280px; padding: 26px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-steps > li > span { color: var(--brand); font-size: 11px; }
.method-steps h3 { min-height: 2.1em; margin: 18px 0 14px; font-size: 23px; font-weight: 550; letter-spacing: -0.04em; line-height: 1.05; }
.method-steps p { margin: 0; color: var(--muted); font-size: 13px; }
.method-steps small { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; }
.method-step-links { display: grid; gap: 8px; }
.method-step-links a { color: var(--brand); font-weight: 650; text-decoration: none; }
.method-step-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.case-catalog-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-bottom: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-view-switch { display: inline-grid; grid-template-columns: 1fr 1fr; width: max-content; border: 1px solid var(--line); background: var(--soft); }
.case-view-switch button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.case-view-switch button + button { border-left: 1px solid var(--line); }
.case-view-switch button.is-active { background: var(--brand-deep); color: var(--white); }
.case-filter-tabs { display: flex; min-width: 0; gap: 0; overflow-x: auto; border-left: 1px solid var(--line); scrollbar-width: none; }
.case-filter-tabs::-webkit-scrollbar { display: none; }
.case-filter-tabs button { display: inline-flex; min-height: 44px; padding: 0 14px; align-items: center; gap: 7px; flex: 0 0 auto; border: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.case-filter-tabs button span { color: var(--quiet); font-size: 12px; }
.case-filter-tabs button:hover { color: var(--brand); }
.case-filter-tabs button.is-active { background: var(--surface); color: var(--brand); box-shadow: inset 0 -2px var(--brand); }
.case-filter-tabs button.is-active span { color: var(--brand); }
.case-count { margin: 0; color: var(--quiet); font-size: 12px; white-space: nowrap; }
.case-count strong { color: var(--text); font-weight: 650; }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.case-card { display: flex; min-width: 0; min-height: 292px; padding: 20px; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.case-card:hover { background: var(--soft); }
.case-card__top { display: flex; min-height: 28px; align-items: center; justify-content: space-between; gap: 14px; }
.case-card__logo { width: auto; max-width: 98px; height: 26px; object-fit: contain; object-position: left center; }
.case-card__logo--mono { filter: grayscale(1) contrast(1.12); }
.case-card__fallback { display: inline-flex; min-width: 34px; min-height: 26px; align-items: center; color: var(--text); font-size: 12px; font-weight: 750; letter-spacing: -0.03em; }
.case-card__top > span:last-child { max-width: 110px; color: var(--quiet); font-size: 12px; text-align: right; white-space: normal; }
.case-card__body { display: flex; min-height: 0; margin: 31px 0 20px; flex: 1; flex-direction: column; }
.case-card__body small { color: var(--brand); font-size: 12px; font-weight: 650; }
.case-card h3 { display: -webkit-box; margin: 11px 0 12px; overflow: hidden; font-size: clamp(19px, 1.45vw, 23px); font-weight: 540; letter-spacing: -0.045em; line-height: 1.08; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.case-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.case-card__bottom { display: flex; min-height: 48px; padding-top: 14px; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.case-card__bottom > div { display: flex; min-width: 0; align-items: baseline; gap: 7px; }
.case-card__bottom strong { color: var(--brand); font-size: 21px; font-weight: 650; letter-spacing: -0.04em; white-space: nowrap; }
.case-card__bottom span { color: var(--quiet); font-size: 12px; white-space: normal; }
.case-card__bottom i { color: var(--brand); font-size: 16px; font-style: normal; }
.case-more { display: flex; width: 100%; min-height: 50px; padding: 0 2px; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.case-more:hover { color: var(--brand); }
.case-more[hidden] { display: none; }
.case-more i { font-size: 15px; font-style: normal; }
.all-cases-link { display: flex; justify-content: space-between; padding: 20px 2px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 650; text-decoration: none; }
.case-noscript { padding: 18px 0; color: var(--muted); font-size: 12px; }
.case-noscript a { color: var(--brand); }

.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.format-grid article { display: flex; min-height: 360px; padding: 26px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.format-grid article > span { color: var(--brand); font-size: 11px; }
.format-grid h3 { margin: 42px 0 15px; font-size: 25px; font-weight: 550; letter-spacing: -0.045em; line-height: 1.1; }
.format-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.format-grid ul { margin: 30px 0; padding: 0; list-style: none; }
.format-grid li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.format-grid a { margin-top: auto; color: var(--brand); font-size: 12px; font-weight: 650; text-decoration: none; }

.team-grid { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.team-grid .person-card { display: grid; grid-template-columns: minmax(220px, 42%) minmax(0, 1fr); }
.team-grid .person-card__body { min-height: 242px; padding: 24px; }
.team-grid .person-card__description { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.team-grid .person-card__category,
.team-grid .person-card__name,
.team-grid .person-card__position { min-height: 0; }
.portrait--mikhail-larkin { --portrait-position: center 8%; }
.portrait--melitina-feigina { --portrait-position: center 12%; }
.speaker-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 48px 0 22px; }
.speaker-heading > div > span { font-size: 25px; font-weight: 600; letter-spacing: -0.04em; }
.speaker-heading p { max-width: 520px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.speaker-heading > p { max-width: 340px; margin: 0; text-align: right; }
.speaker-heading strong { color: var(--text); font-weight: 650; }
.speaker-heading a { display: inline-block; margin-top: 7px; color: var(--brand); font-weight: 650; text-decoration: none; }
.speaker-filters { display: flex; min-width: 0; gap: 0; margin-bottom: 22px; overflow-x: auto; border-left: 1px solid var(--line); scrollbar-width: none; }
.speaker-filters::-webkit-scrollbar { display: none; }
.speaker-filters button { min-height: 44px; padding: 0 14px; flex: 0 0 auto; border: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.speaker-filters button:hover { color: var(--brand); }
.speaker-filters button.is-active { background: var(--surface); color: var(--brand); box-shadow: inset 0 -2px var(--brand); }
.speaker-filters button span { display: inline; min-height: 0; margin-left: 5px; color: var(--quiet); font-weight: 500; }
.speaker-filter-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.speaker-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.speaker-grid article { display: flex; min-width: 0; height: 100%; flex-direction: column; animation: speaker-card-in 220ms ease both; }
.speaker-grid article[hidden] { display: none; }
.speaker-catalog-cta { display: none; }

.portrait--dmitry-tverdokhlebov { --portrait-position: center 12%; }
.portrait--pavel-rozov { --portrait-position: center 12%; }
.portrait--sergey-kobelev { --portrait-position: center 18%; }
.portrait--anna-nikitchenko { --portrait-position: center 10%; }
.portrait--mikhail-puzyrev { --portrait-position: center 12%; background: var(--soft); }
.portrait--sergey-lipchansky { --portrait-position: center 22%; }
.portrait--olga-bolina { --portrait-position: center 12%; }
.portrait--nikita-glukhov { --portrait-position: center 12%; }
.portrait--maxim { --portrait-position: center 14%; }
.portrait--nikita-bruskov { --portrait-position: center 15%; }
.portrait--konstantin-chuikov { --portrait-position: center 13%; }
.portrait--sergey-ris { --portrait-position: center 12%; }
.portrait--stanislav-kireev { --portrait-position: center 10%; }
.portrait--viktor-holostyakov { --portrait-position: 46% 14%; }
.portrait--nikolay-senin { --portrait-position: center 10%; }
.portrait--ilya-golubev { --portrait-position: center 16%; }
.portrait--pavel-mishchenko { --portrait-position: center 18%; background: var(--soft); }
.portrait--roman-buzko { --portrait-position: center 12%; }
.portrait--bayram-annakov { --portrait-position: center 12%; }
.portrait--denis-malikhov { --portrait-position: center; background: var(--brand-deep); }

@keyframes speaker-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.review-grid article { display: flex; min-height: 310px; padding: 26px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-logo { width: auto; max-width: 112px; height: 32px; object-fit: contain; object-position: left center; }
.review-grid blockquote { margin: 28px 0 0; font-size: 20px; font-weight: 450; letter-spacing: -0.025em; line-height: 1.45; }
.review-grid a { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); color: var(--brand); font-size: 10px; font-weight: 650; text-decoration: none; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 1fr 30px; gap: 30px; align-items: center; padding: 26px 0; color: var(--text); font-size: clamp(18px, 2vw, 25px); font-weight: 520; letter-spacing: -0.025em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--brand); font-size: 28px; font-weight: 350; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 820px; margin: -4px 0 28px; color: var(--muted); font-size: 15px; }

.tasks-lab {
  position: relative;
  width: 100%;
  background: var(--page);
}

.tasks-lab__viewport {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: clip;
}

.tasks-lab__frame {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: var(--page);
}

.tasks-layout-switcher {
  position: absolute;
  z-index: 12;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  gap: 7px;
}

.tasks-layout-switcher__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--text) 10%, transparent);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.tasks-layout-switcher__toggle::before {
  position: absolute;
  content: "";
  inset: -8px;
}

.tasks-layout-switcher__toggle span {
  width: 8px;
  height: 8px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

.tasks-layout-switcher.is-collapsed .tasks-layout-switcher__toggle {
  width: 18px;
  height: 18px;
  border: 2px solid var(--surface);
  background: var(--brand);
}

.tasks-layout-switcher.is-collapsed .tasks-layout-switcher__toggle span {
  width: 4px;
  height: 4px;
  border: 0;
  background: var(--surface);
}

.tasks-layout-switcher__panel {
  width: 286px;
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--text) 10%, transparent);
  backdrop-filter: blur(14px);
}

.tasks-layout-switcher__panel > p {
  margin: 0;
  padding: 3px 5px 7px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 650;
}

.tasks-layout-switcher__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

.tasks-layout-switcher__tabs button {
  min-width: 0;
  min-height: 34px;
  padding: 5px 3px;
  border: 0;
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.tasks-layout-switcher__tabs button:hover {
  background: var(--soft);
  color: var(--brand);
}

.tasks-layout-switcher__tabs button.is-active {
  background: var(--brand);
  color: var(--surface);
}

.tasks-layout-switcher__toggle:focus-visible,
.tasks-layout-switcher__tabs button:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

@media (max-width: 620px) {
  .tasks-lab__viewport,
  .tasks-lab__frame {
    min-height: 1040px;
  }

  .tasks-layout-switcher {
    top: 9px;
    right: 9px;
    gap: 5px;
  }

  .tasks-layout-switcher__panel {
    width: min(270px, calc(100vw - 46px));
    padding: 5px;
  }

  .tasks-layout-switcher__tabs button {
    min-height: 32px;
  }
}

@media (max-width: 1180px) {
  :root { --container: min(100% - 48px, 1120px); }
  .hero__copy { padding-inline: 48px; }
  .hero h1 { font-size: clamp(52px, 6.4vw, 72px); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contour { grid-template-columns: 1fr 1fr; padding-inline: max(24px, calc((100vw - 1120px) / 2)); }
  .method-steps { grid-template-columns: repeat(3, 1fr); }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --container: calc(100% - 36px); --section-space: 68px; }
  .section-nav { overflow-x: auto; scrollbar-width: thin; }
  .hero { min-height: auto; }
  .hero__copy { min-height: auto; padding: 64px 24px; }
  .hero h1 { font-size: clamp(52px, 12vw, 72px); }
  .section-heading--split { grid-template-columns: 1fr; gap: 16px; }
  .task-router { grid-template-columns: 1fr; }
  .task-tabs { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .task-tabs button { min-width: 240px; border-right: 1px solid var(--line); border-bottom: 0; }
  .task-panel__grid { grid-template-columns: 1fr; }
  .task-panel__grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .contour { grid-template-columns: 1fr; padding-inline: 18px; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .case-catalog-controls { grid-template-columns: auto minmax(0, 1fr); }
  .case-count { grid-column: 1 / -1; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speaker-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .speaker-heading > p { max-width: 520px; text-align: left; }
  .projects-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid article { min-height: 300px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 36px); --section-space: 46px; }
  .hero__copy { min-height: auto; padding: 48px 18px; }
  .proof-line { margin-bottom: 22px; }
  .proof-line > i { display: none; }
  .proof-line > span:last-child { width: 100%; padding-left: 4px; }
  .hero h1 { font-size: 52px; line-height: 0.98; }
  .hero__lead { margin-top: 22px; font-size: 17px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero__actions .button { width: 100%; }
  .hero__metrics { grid-template-columns: 1fr; margin-top: 32px; }
  .hero__metrics div, .hero__metrics div + div { padding: 13px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section-heading h2, .contour h2 { font-size: 40px; }
  .section-heading > p:last-child, .section-heading > div > p { font-size: 16px; }
  .task-tabs button { min-width: 210px; min-height: 80px; padding: 14px 18px; }
  .task-panel { min-height: auto; padding: 28px 20px; }
  .task-panel__intro h3 { margin-bottom: 32px; font-size: 29px; }
  .task-panel__footer-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .task-case-grid { grid-template-columns: 1fr; }
  .task-case { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .contour { padding-inline: 18px; }
  .contour__diagram { display: none; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li { min-height: 260px; }
  .case-catalog-controls { display: flex; align-items: stretch; padding-block: 14px; flex-direction: column; gap: 12px; }
  .case-view-switch { width: 100%; }
  .case-view-switch button { flex: 1; }
  .case-filter-tabs { width: calc(100% + 14px); margin-right: -14px; padding-right: 14px; border-left: 0; }
  .case-filter-tabs button:first-child { border-left: 1px solid var(--line); }
  .case-count { order: 3; }
  .case-grid, .format-grid, .project-grid, .speaker-grid { grid-template-columns: 1fr; }
  .team-grid { width: 100%; grid-template-columns: 1fr; }
  .team-grid .person-card { display: flex; flex-direction: column; }
  .team-grid .person-card__body { min-height: 178px; padding: 20px; }
  .team-grid .person-card__description { display: none; }
  .project-icon { width: 60px; height: 50px; margin: 16px 0 12px; }
  .project-grid h3 { font-size: 24px; }
  .project-grid .project-card--more { display: none; }
  .project-grid.is-expanded .project-card--more { display: flex; }
  .project-more-toggle { display: flex; min-height: 56px; padding: 0 20px; align-items: center; justify-content: space-between; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
  .project-more-toggle i { color: var(--brand); font-size: 18px; font-style: normal; }
  .case-card { min-height: 276px; }
  .speaker-filters { width: calc(100% + 14px); margin-right: -14px; padding-right: 14px; border-left: 0; }
  .speaker-filters button:first-child { border-left: 1px solid var(--line); }
  .speaker-grid article.is-mobile-overflow { display: none; }
  .speaker-catalog-cta { display: flex; min-height: 56px; padding: 0 2px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 650; text-decoration: none; }
  .speaker-catalog-cta span { color: var(--brand); font-size: 18px; }
  .review-grid blockquote { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Selected consistency canon: shared type, cards and metadata. */
.task-tabs button span,
.task-panel__grid small,
.task-panel__footer-head span,
.task-case small,
.task-cases-more,
.projects-intro > div > span,
.project-grid article > span,
.project-grid small,
.check-list span,
.diagram-head i,
.diagram-row > span,
.diagram-row small,
.diagram-connector,
.diagram-systems span,
.diagram-systems strong,
.diagram-result span,
.method-steps > li > span,
.method-steps small,
.case-card__top > span:last-child,
.case-card__body small,
.case-card__bottom span,
.case-more,
.format-grid article > span,
.person-card__category,
.review-grid a,
.tasks-layout-switcher__panel > p,
.tasks-layout-switcher__tabs button { font-size: 12px; }

.case-card {
  min-height: 356px;
  padding: 26px;
}
.case-card__top { min-height: 46px; align-items: flex-start; }
.case-card__logo { width: 122px; max-width: 122px; height: 40px; }
.case-card__body { margin: 24px 0 20px; }
.case-card h3 { font-size: 23px; }
.case-card__bottom { min-height: 66px; padding-top: 16px; }
