:root {
  color-scheme: dark;
  --bg: #0e2230;
  --deep: #0a1b27;
  --surface: #132d3b;
  --raised: #193746;
  --text: #f1f7f9;
  --muted: #b3c7d0;
  --accent: #55cddd;
  --line: #31505e;
  --ink: #172936;
  --radius: 16px;
  --glass-border: #9bd2df4a;
  --glass-face: linear-gradient(147deg, #315e7066, #14344499 61%, #102838cc);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box }
body {
  margin: 0;
  min-width: 320px;
  font-size: 1rem;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 62rem 42rem at 93% 12rem, #1b6a8066, transparent 82%),
    radial-gradient(ellipse 58rem 48rem at 3% 42%, #25708355, transparent 85%),
    radial-gradient(ellipse 56rem 45rem at 89% 76%, #344d6c57, transparent 84%),
    linear-gradient(160deg, #102b39, #0d2130 42%, #101f30 73%, #0b2330);
}
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }
button, summary, select { cursor: pointer }
:focus-visible { outline: 2px solid #9deaf3; outline-offset: 4px }
[hidden] { display: none !important }
h1, h2, h3, p, figure, dl, dd { margin: 0 }
h1, h2, h3 { line-height: 1.15; text-wrap: balance }
h1 { font-size: clamp(2.55rem, 5.05vw, 4.75rem); letter-spacing: -.059em; font-weight: 720 }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.04em; font-weight: 680 }
h3 { font-size: 1.2rem; letter-spacing: -.017em; font-weight: 650 }
p { color: var(--muted); text-wrap: pretty }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip { position: fixed; top: 10px; left: 10px; padding: 10px 16px; z-index: 5; background: var(--surface); border-radius: 7px }
.site-header { border-bottom: 1px solid #c9f4fa25; position: relative; z-index: 2; background: #10263491; backdrop-filter: blur(16px) }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 750; letter-spacing: -.045em; line-height: 1 }
.brand-mark {
  display: block;
  width: 40px;
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #c9f4fa44;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(.5px) scale(1.1);
}
.site-nav {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  color: #d0e4e9;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: .01em;
}
.site-nav > a { padding: 11px 3px }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--accent) }
summary::-webkit-details-marker { display: none }
.header-actions { display: flex; gap: 9px; white-space: nowrap }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 13px 19px; min-height: 48px; line-height: 1.25; border-radius: 8px; border: 1px solid transparent; font-size: .9rem; font-weight: 650; text-align: center; transition: background-color .15s, border-color .15s, color .15s }
.button--primary { background: var(--accent); color: #0a2530 }
.button--primary:hover { background: #8fe2eb }
.button--outline { background: #a9e8f109; color: var(--text); border-color: #5b8290 }
.button--outline:hover { background: #a9e8f11a; border-color: #b0e4eb }
.header-actions .button { min-height: 41px; padding: 10px 13px; font-size: .9rem }
.menu-toggle { display: none }
.home-hero { background: radial-gradient(ellipse 650px 490px at 68% 51%, #3594a61a, transparent 82%) }

.hero-copy { padding-top: clamp(42px, 5.2vw, 70px); text-align: center }
.hero-copy h1 span { color: var(--accent) }
.hero-copy p, .page-hero p { max-width: 620px; margin-top: 22px; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.56 }
.hero-copy p { margin-inline: auto }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px }
.hero-copy .hero-actions { justify-content: center }
.play { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50% }
.play::before { content: ""; width: 0; height: 0; border-left: 4px solid currentColor; border-top: 3px solid transparent; border-bottom: 3px solid transparent; margin-left: 1px }
.demo-figure { width: 100%; margin-inline: auto; scroll-margin-top: 24px }
.demo-figure--laptop { width: min(100%, 1200px); margin-top: 34px }
.demo-frame { position: relative; width: 100%; background: #081822; padding: 8px; border: 1px solid #557583; border-radius: 13px; box-shadow: 0 23px 65px #030f175e }
.demo-figure--laptop .demo-frame { width: 95%; margin-inline: auto; padding: 8px 8px 11px; border-radius: 17px 17px 6px 6px }
.laptop-base { width: 100%; height: 12px; margin-top: -1px; border-radius: 4% 4% 42% 42% / 20% 20% 77% 77%; position: relative; background: linear-gradient(#c6d6db, #809ba7 34%, #4a6573 81%, #324e5d) }
.laptop-base::after { position: absolute; content: ""; left: 42%; top: 0; width: 16%; height: 5px; border-radius: 0 0 8px 8px; background: #7895a2 }
.demo-figure figcaption { color: var(--muted); font-size: .875rem; text-align: center; margin-top: 13px }
.demo-figure--laptop figcaption { display: grid; gap: 3px; margin-top: 18px }
.demo-figure--laptop figcaption strong { color: var(--text); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 650 }
.dashboard { color-scheme: light; display: grid; grid-template-columns: 175px minmax(0, 1fr); border-radius: 7px; overflow: hidden; color: var(--ink); background: #f3f7f8 }
.dash-sidebar { background: #102632; padding: 21px 13px; color: #edf6f8 }
.dash-brand { display: flex; gap: 7px; align-items: center; font-size: .95rem; font-weight: 750; margin: 0 6px 18px }
.dash-brand span { color: var(--accent); font-size: 1.3rem; line-height: 1 }
.dash-nav { display: grid; gap: 4px }
.dash-tab { display: flex; align-items: center; gap: 10px; padding: 10px 10px; text-align: left; border-radius: 6px; border: 0; background: transparent; color: #d6eaf0; font-size: .875rem }
.dash-tab[aria-pressed="true"], .dash-tab:hover { background: #1f4658; color: #fff }
.dash-icon { display: inline-block; position: relative; width: 11px; height: 11px; border: 1px solid #68d2e0; border-radius: 2px; flex: none }
.dash-icon::after { position: absolute; content: ""; inset: 3px 2px; border-top: 1px solid #68d2e0; border-bottom: 1px solid #68d2e0 }
.dash-icon--competition::after { inset: 1px 2px; border: 0; background: linear-gradient(90deg, #68d2e0 1px, transparent 1px) 0 0 / 3px 100% }
.dash-icon--overview::after { inset: 3px 0; border-color: #68d2e0 }
.dash-main { padding: clamp(15px, 2vw, 28px); min-width: 0 }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-bottom: 13px }
.dash-head h2 { font-size: clamp(1.08rem, 1.6vw, 1.32rem); font-weight: 750; letter-spacing: -.02em; text-wrap: initial }
.dash-period { position: relative; flex: none }
.dash-period::after { content: ""; position: absolute; pointer-events: none; right: 12px; top: calc(50% - 4px); width: 6px; height: 6px; transform: rotate(45deg); border-right: 1.5px solid #547482; border-bottom: 1.5px solid #547482 }
.dash-period select { appearance: none; padding: 8px 26px 8px 10px; max-width: 100%; border: 1px solid #d8e5ea; border-radius: 6px; background: #fff; color: #3b5967; font-size: .8rem }
.dash-main :focus-visible { outline-color: #087e90 }
.dash-content { min-height: 289px }
.dash-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 11px }
.metric { padding: 15px; border: 1px solid #d8e5ea; border-radius: 10px; background: #fff; min-width: 0 }
.metric h3, .dash-label { margin-bottom: 10px; color: #3b5967; font-size: .875rem; line-height: 1.3; font-weight: 620; text-wrap: initial }
.index-value { font-size: clamp(1.85rem, 3.25vw, 2.55rem); letter-spacing: -.055em; font-weight: 750; line-height: 1.22 }
.index-value small { color: #506b7a; font-size: .875rem; font-weight: 550; letter-spacing: 0 }
.delta { margin-left: 7px; background: #e6f7ef; color: #23664f; font-size: .78rem; letter-spacing: 0; padding: 4px 6px; border-radius: 5px; vertical-align: middle }
.competitor { display: grid; grid-template-columns: 1.5em 6.5em minmax(0, 1fr); gap: 8px; align-items: center; font-size: .8rem; line-height: 1.3; color: #425e6c; margin-top: 8px }
.competitor strong { color: var(--ink) }
.bar { display: block; height: 7px; border-radius: 10px; background: #e5edf1; overflow: hidden }
.bar > span { display: block; height: inherit; width: var(--value); background: #158b9d; border-radius: inherit }
.competitor:not(:first-of-type) .bar > span { background: #aec3cc }
.plot { display: block; width: 100%; height: 105px }
.metric--plot, .metric--donut { min-height: 153px }
.donut-wrap { display: flex; align-items: center; gap: 13px }
.donut { flex: none; width: 88px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#69c7aa 0 var(--positive), #b9cbd4 var(--positive) var(--neutral), #ed97aa var(--neutral) 100%); display: grid; place-items: center }
.donut > div { display: grid; place-content: center; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #fff; text-align: center; font-size: .95rem; font-weight: 750; line-height: 1.1 }
.donut small { color: #506b7a; font-size: .66rem; font-weight: 550 }
.legend { list-style: none; padding: 0; margin: 0; color: #3b5967; font-size: .74rem; display: grid; gap: 5px }
.legend li { display: flex; align-items: center; gap: 5px }
.legend li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--dot) }
.legend li:nth-child(1) { --dot: #69c7aa }
.legend li:nth-child(2) { --dot: #b9cbd4 }
.legend li:nth-child(3) { --dot: #ed97aa }
.dash-list { display: grid; gap: 9px }
.dash-row { padding: 12px 13px; border: 1px solid #d8e5ea; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px }
.dash-row > div { min-width: 0 }
.dash-row p { color: #3b5967; font-size: .85rem; margin-top: 3px }
.dash-row strong { font-size: .9rem }
.dash-chip { border: 1px solid #d9e8ed; border-radius: 20px; background: #eaf5f7; color: #286174; padding: 4px 8px; font-weight: 600; font-size: .75rem; line-height: 1.2; text-align: center; flex: none }
.dash-chip--green { background: #eaf7f1; color: #2e6c54; border-color: #dbefe5 }
.dash-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px }
.dash-filter button { background: #fff; border: 1px solid #d8e5ea; border-radius: 6px; padding: 5px 8px; color: #3b5967; font-size: .8125rem }
.dash-filter button[aria-pressed="true"], .dash-filter button:hover { background: #e1f3f6; color: #166071; border-color: #a4d4db }
.dash-note { margin-top: 9px; color: #4f6a7a; font-size: .8125rem }
.report-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px }
.report-metrics strong { display: block; font-size: 1.55rem; line-height: 1.15 }
.report-metrics .metric { padding: 10px 12px }
.report-metrics .dash-label { margin-bottom: 4px }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 25px 0 0; border-top: 1px solid var(--line); margin: 33px auto 0; width: min(100%, 900px); text-align: center }
.trust li + li { border-left: 1px solid var(--line) }
.trust strong { display: block; font-size: 1rem }
.trust span { display: block; color: var(--muted); font-size: .875rem }
.section { padding-top: clamp(50px, 7vw, 93px) }
.section-heading { margin-bottom: 25px }
.section-heading p { margin-top: 9px; max-width: 650px }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px) }
.work-card {
  display: flex;
  flex-direction: column;
  padding: clamp(19px, 2.3vw, 31px);
  border: 1px solid var(--glass-border);
  border-radius: 23px;
  background: radial-gradient(ellipse at 22% 0%, #a6f5ff19, transparent 61%), var(--glass-face);
  box-shadow: inset 0 1px #e1fcff25, 0 12px 30px #05121d30;
}
.work-card h3 { text-wrap: pretty }
.access-grid p { margin: 10px 0 16px }
.work-card p { margin: 10px 0 19px }
.work-card dl { margin-top: auto; min-height: 4.65rem }
.work-card dt { color: var(--accent); font-weight: 650; font-size: .875rem }
.work-card dd { color: var(--text); margin-top: 3px }
.text-link { margin-top: auto }
.text-link { color: var(--accent); font-weight: 600; font-size: .9rem }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px }
.industries { display: grid; grid-template-columns: minmax(220px, .68fr) 1fr; min-height: 239px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) }
.industry-options { display: grid; align-content: start; padding: 9px; border-right: 1px solid var(--line) }
.industry-options button { color: var(--text); text-align: left; background: transparent; padding: 10px 14px; border: 1px solid transparent; border-radius: 6px }
.industry-options button[aria-pressed="true"], .industry-options button:hover { color: #dbf7fa; background: #55cddd1b; border-color: #55cddd32 }
.industry-panel { align-self: center; padding: 23px 30px }
.industry-panel p { margin-top: 9px }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 17px 0 0 }
.pills li { color: #d6e9ed; font-size: .875rem; border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px }
.offer { margin-top: 17px; padding-left: 12px; border-left: 2px solid var(--accent); color: #b0eaf0; font-size: .9rem }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 23px; color: var(--muted); font-size: .875rem }
.crumbs a:hover { color: var(--accent) }
.crumbs > :not(:first-child)::before { display: inline-block; content: "/"; margin-right: 12px; color: #7897a5 }
.page-hero { padding-top: clamp(35px, 5.3vw, 68px) }
.page-hero-copy h1 { max-width: 820px }
.page-hero--analysis { display: grid; grid-template-columns: 1fr minmax(250px, .37fr); gap: 23px; align-items: end }
.hero-facts { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 7px 19px; margin-bottom: 3px }
.hero-facts div { padding: 12px 0 }
.hero-facts div + div { border-top: 1px solid var(--line) }
.hero-facts dt { color: var(--muted); font-size: .875rem }
.hero-facts dd { font-weight: 630 }
.section--demo { padding-top: clamp(35px, 5vw, 61px) }
.section--demo .dash-content { min-height: 300px }
.screen-description { display: grid; grid-template-columns: minmax(180px, .46fr) 1fr; gap: 15px; padding: 22px 0 0; max-width: 960px; margin-inline: auto }
.index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px }
.index-grid > div, .steps li, .access-grid article { padding: 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px }
.index-grid dt { color: #d4f0f3; font-weight: 650 }
.index-grid dd { margin-top: 6px; color: var(--muted) }
.steps, .access-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; gap: 12px; list-style: none }
.steps li { border-top-color: #53a9b8 }
.steps p { margin-top: 10px }
.access-grid { grid-template-columns: 1fr 1fr }
.access-grid article { padding: 24px }
.faq-list { border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line); padding: 0 4px }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; list-style: none; min-height: 56px; padding: 12px 0; font-weight: 630 }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem }
.faq details[open] summary::after { content: "−" }
.faq p { padding: 0 0 15px; max-width: 760px }
.related-action { margin-top: 18px }
.request-section { padding-top: clamp(53px, 7vw, 91px); padding-bottom: clamp(50px, 6.5vw, 89px); scroll-margin-top: 14px }
.request-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 68px); padding: clamp(22px, 3.7vw, 53px); background: linear-gradient(130deg, #193646, #122a39 78%); border: 1px solid var(--line); border-radius: var(--radius) }
.request-intro p { margin: 15px 0 }
.request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.request-form label { display: block; font-size: .875rem; color: #e0f1f4 }
.request-form .full { grid-column: 1 / -1 }
.request-form input, .request-form select, .request-form textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; min-height: 42px; background: #0e2330; border: 1px solid #486b7a; border-radius: 6px; color: var(--text) }
.request-form textarea { resize: vertical }
.request-form input::placeholder { color: #a0b9c5 }
.optional { color: var(--muted) }
.form-actions, .draft-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.form-actions p, .form-status { font-size: .875rem }
.draft { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line) }
.form-status:empty { display: none }
.site-footer { border-top: 1px solid var(--line); background: #08192375 }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 9px 22px; padding-block: 17px; color: var(--muted); font-size: .8125rem }
.footer-wordmark { color: var(--text); font-weight: 700 }
.footer-inner nav, .footer-inner address { display: flex; flex-wrap: wrap; gap: 5px 15px; font-style: normal }
.footer-inner a:hover { color: var(--accent) }
@media (max-width: 1120px) {
  .container { width: calc(100% - 48px) }
  .header-inner { gap: 14px }
  .header-actions .button { padding-inline: 9px }

}
@media (max-width: 985px) {
  .header-inner { justify-content: space-between; min-height: 70px }
  .brand-mark { width: 36px }
  .header-actions { display: none }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); padding: 8px 11px }
  .menu-icon { width: 13px; height: 9px; border-top: 1px solid; border-bottom: 1px solid }
  .site-nav { display: none; position: absolute; top: calc(100% + 5px); right: 24px; left: 24px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); box-shadow: 0 18px 35px #04101875 }
  .site-nav[data-open] { display: grid; justify-content: stretch; gap: 0 }
  .site-nav > a { padding: 9px 0 }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px) }
  h1 { letter-spacing: -.045em }
  .desktop-break { display: none }
  .hero-copy { padding-top: 37px }
  .demo-figure--laptop { margin-top: 28px }
  .demo-figure--laptop .demo-frame { width: 96%; padding: 5px 5px 7px; border-radius: 10px 10px 4px 4px }
  .demo-frame { padding: 5px }
  .laptop-base { height: 8px }
  .dashboard { grid-template-columns: 1fr }
  .dash-sidebar { padding: 8px }
  .dash-brand { display: none }
  .dash-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px }
  .dash-tab { justify-content: center; gap: 3px; padding: 8px 2px; font-size: .75rem }
  .dash-icon { display: none }
  .dash-main { padding: 11px }
  .index-grid, .steps { grid-template-columns: repeat(2, 1fr) }
  .work-grid { grid-template-columns: 1fr }
  .work-card dl { min-height: 0 }

  .page-hero--analysis, .request-card, .screen-description { grid-template-columns: 1fr }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 10px }
  .hero-facts div { padding: 10px 7px }
  .hero-facts div + div { border-top: 0; border-left: 1px solid var(--line) }
}
@media (max-width: 490px) {
  .site-nav { right: 16px; left: 16px }
  .hero-actions { gap: 8px }
  .hero-copy .hero-actions { flex-direction: column-reverse; align-items: stretch; width: min(100%, 320px); margin-inline: auto }
  .trust { margin-top: 22px; padding-top: 17px }
  .trust li { padding-inline: 4px }
  .trust strong, .trust span { font-size: .82rem }
  .dash-head { gap: 5px; min-height: 34px }
  .dash-head h2 { font-size: .95rem }
  .dash-period select { font-size: .72rem; padding-left: 6px; padding-right: 20px }
  .dash-period::after { right: 8px }
  .dash-content, .section--demo .dash-content { min-height: 275px }
  .dash-grid { gap: 6px; grid-template-columns: 1fr 1fr }
  .metric { padding: 8px }
  .metric h3, .dash-label { font-size: .75rem }
  .metric--plot, .metric--donut { min-height: 148px }
  .competitor { grid-template-columns: 1.4em 1fr; gap: 3px; margin-top: 6px; font-size: .71rem }
  .competitor .bar { grid-column: 1 / -1; height: 4px }
  .donut-wrap { flex-direction: column; align-items: flex-start; gap: 5px }
  .donut { width: 58px; align-self: center }
  .donut > div { font-size: .7rem }
  .donut small { font-size: .57rem }
  .legend { font-size: .66rem; gap: 1px }
  .legend li::before { width: 5px; height: 5px }
  .plot { height: 90px }
  .dash-row { flex-wrap: wrap; gap: 5px; padding: 8px }
  .report-metrics .metric { padding: 8px }
  .report-metrics strong { font-size: 1.2rem }
  .industries, .steps, .access-grid { grid-template-columns: 1fr }
  .industry-options { border-right: 0; border-bottom: 1px solid var(--line); padding: 6px }
  .industry-panel { padding: 15px }
  .hero-facts { grid-template-columns: 1fr }
  .hero-facts div + div { border-left: 0; border-top: 1px solid var(--line) }
  .request-form { grid-template-columns: 1fr }
  .request-card { padding: 17px }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important } }
.review-draft { margin-top: 5px; color: #166071; font-size: .8125rem }
.review-draft summary { width: fit-content; text-decoration: underline; text-underline-offset: 3px }
.review-draft p { max-width: 510px }
.mobile-actions { display: none }
@media (max-width: 985px) {
  .site-nav[data-open] .mobile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; white-space: normal }
  .mobile-actions .button { padding: 9px 12px; min-height: 40px }
  .mobile-actions .button--primary:hover { color: #0a2530 }
}

body:has(.video-dialog[open]) { overflow: hidden }
.video-dialog {
  width: min(980px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--deep);
  box-shadow: 0 24px 82px #030f17a0;
}
.video-dialog::backdrop { background: #040f18c9 }
.video-dialog-surface { padding: clamp(8px, 1.4vw, 16px) }
.video-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 2px 10px }
.video-dialog-header h2 { font-size: 1.1rem; letter-spacing: -.015em }
.video-close { padding: 7px 12px; color: var(--text); border: 1px solid var(--line); border-radius: 7px; background: var(--surface) }
.video-close:hover { background: var(--raised) }
.video-dialog video { display: block; width: 100%; max-height: calc(100dvh - 110px); aspect-ratio: 16 / 9; object-fit: contain; background: #081823; border-radius: 7px }
@media (min-width: 1000px) {
  .demo-figure--laptop .dashboard { grid-template-columns: 195px minmax(0, 1fr) }
  .demo-figure--laptop .dash-tab { font-size: .94rem; padding-block: 12px }
  .demo-figure--laptop .dash-head h2 { font-size: 1.44rem }
  .demo-figure--laptop .dash-content { min-height: 320px }
  .demo-figure--laptop .metric { padding: 18px }
  .demo-figure--laptop .metric h3 { font-size: .95rem }
  .demo-figure--laptop .competitor { font-size: .875rem }
  .demo-figure--laptop .plot { height: 120px }
  .demo-figure--laptop .donut { width: 100px }
  .demo-figure--laptop .legend { font-size: .82rem }
}

.services-hero { padding-top: clamp(34px, 4.7vw, 61px) }
.service-catalog { padding-top: clamp(27px, 4vw, 48px) }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.service-card:focus-within { border-color: #68b3be }
.service-card-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(18px, 2vw, 24px) }
.service-card h2, .service-card h3 { font-size: clamp(1.2rem, 1.8vw, 1.48rem); letter-spacing: -.025em; text-wrap: pretty }
.service-card p { margin-top: 10px }
.service-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: auto; padding-top: 18px }
.service-card-links .text-link { padding-block: 4px }
.service-visual {
  min-height: 132px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  color: #8ae5ed;
  background: radial-gradient(ellipse at 90% 0%, #135e6c5e, transparent 76%), #102633;
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, #9cdeed0c 1px, transparent 1px), linear-gradient(#9cdeed0c 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
}
.diagram-panel {
  width: min(152px, 72%);
  min-height: 68px;
  padding: 12px;
  border: 1px solid #4c8090;
  border-radius: 9px;
  background: #163743;
  box-shadow: 0 9px 22px #05182166;
}
.diagram-bars { display: grid; align-content: center; gap: 7px }
.diagram-bars i { display: block; height: 5px; border-radius: 8px; background: #315967 }
.diagram-bars i::before { display: block; content: ""; width: var(--value); height: 100%; border-radius: inherit; background: #60d2df }
.diagram-bars i:nth-child(2)::before { background: #429caa }
.diagram-bars i:nth-child(3)::before { background: #347f90 }
.diagram-stars { display: grid; align-content: center; gap: 5px; color: #a1ecf2; line-height: 1; letter-spacing: .105em; text-align: center }
.diagram-stars i, .diagram-video span, .diagram-profile span { display: block; width: 68%; height: 4px; background: #4b8190; border-radius: 8px; justify-self: center }
.diagram-stars i:last-child { width: 47%; background: #315967 }
.diagram-search i { position: relative; margin-left: 10px; height: 4px }
.diagram-search i::after { content: ""; position: absolute; top: 0; left: -10px; width: 4px; height: 4px; border-radius: 50%; background: #7ce0ea }
.diagram-pulse { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: end; height: 70px; gap: 4px }
.diagram-pulse i { height: var(--value); border-radius: 4px 4px 1px 1px; background: linear-gradient(#75dfe8, #2a7c8a) }
.diagram-flow { display: flex; align-items: center; gap: 12px }
.diagram-flow i, .diagram-team i, .diagram-network i { display: block; position: relative; width: 36px; height: 33px; border: 1px solid #4c8090; border-radius: 6px; background: #163743 }
.diagram-flow i::before { content: ""; position: absolute; inset: 10px; border: 1px solid #7ce0ea; border-radius: 3px }
.diagram-flow i:nth-child(2)::before { border-radius: 50% }
.diagram-flow i:last-child { background: #227382; border-color: #7ce0ea }
.diagram-flow i:last-child::before { inset: 9px 12px 12px; border-width: 0 2px 2px 0; border-radius: 0; transform: rotate(43deg) }
.diagram-flow i + i::after { content: ""; position: absolute; top: 15px; left: -13px; width: 12px; border-top: 1px solid #57a6b6 }
.diagram-video, .diagram-profile { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 9px }
.diagram-video i, .diagram-profile i { display: grid; place-items: center; width: 34px; aspect-ratio: 1; background: #237082; border-radius: 6px }
.diagram-video i::after { content: ""; border-left: 8px solid #b4f1f5; border-block: 5px solid transparent; margin-left: 2px }
.diagram-video span, .diagram-profile span { position: relative; justify-self: start; margin-top: -8px }
.diagram-video span::after, .diagram-profile span::after { content: ""; position: absolute; top: 8px; width: 74%; height: inherit; border-radius: inherit; background: #315967 }
.diagram-profile i { border-radius: 50%; position: relative }
.diagram-profile i::before, .diagram-team i::before { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 8px; height: 8px; border-radius: 50%; background: #8be4ec }
.diagram-profile i::after, .diagram-team i::after { content: ""; position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 15px; height: 8px; border-radius: 7px 7px 3px 3px; background: #8be4ec }
.diagram-team { display: flex; align-items: end; gap: 6px }
.diagram-team i { width: 35px; height: 38px }
.diagram-team i:nth-child(2) { height: 48px; background: #227382; border-color: #7ce0ea }
.diagram-team i::before, .diagram-team i::after { top: auto; bottom: 18px }
.diagram-team i::after { bottom: 8px }
.diagram-network { display: grid; grid-template-columns: repeat(2, 46px); gap: 5px }
.diagram-network i { display: grid; place-items: center; width: 46px; height: 29px }
.diagram-network i::before { content: ""; width: 19px; height: 4px; border-radius: 6px; background: #429caa }
.diagram-network i:first-child { background: #227382; border-color: #7ce0ea }
.diagram-network i:first-child::before { background: #9ceaf0 }
@media (max-width: 880px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 570px) {
  .service-grid { grid-template-columns: minmax(0, 1fr) }
}

.contact-section { padding-top: clamp(28px, 4vw, 46px); padding-bottom: clamp(52px, 7vw, 90px) }
.contact-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 3.3vw, 46px);
  padding: clamp(23px, 4.1vw, 54px);
  border: 1px solid var(--glass-border);
  border-radius: 27px;
  background: radial-gradient(ellipse at 5% 4%, #7ad6e326, transparent 58%), var(--glass-face);
  box-shadow: inset 0 1px #d3faff34, 0 18px 45px #06162459;
}
.contact-details h2 { font-size: clamp(1.4rem, 2.5vw, 2rem) }
.contact-list { display: grid; gap: 15px; margin-top: 24px; font-style: normal }
.contact-entry { display: flex; align-items: center; gap: 13px; width: fit-content }
.contact-entry small, .contact-entry strong { display: block }
.contact-entry small { color: var(--muted); font-size: .875rem }
.contact-entry strong { color: var(--text); font-size: clamp(1.09rem, 1.6vw, 1.3rem); line-height: 1.3; font-weight: 680; overflow-wrap: anywhere }
a.contact-entry:hover strong { color: #a1eaf1; text-decoration: underline; text-underline-offset: .23em }
.contact-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  border: 1px solid #9edfdf4d;
  border-radius: 13px;
  background: linear-gradient(145deg, #86dae02d, #3479872e);
  box-shadow: inset 0 1px #e3ffff20;
  color: #a0e9ef;
}
.contact-icon--phone::before { content: "☎︎"; font-family: "Segoe UI Symbol", "DejaVu Sans", sans-serif; font-variant-emoji: text; font-size: 1.23rem; line-height: 1 }
.contact-icon--mail::before { content: ""; position: absolute; width: 17px; height: 13px; border: 1.5px solid; border-radius: 3px }
.contact-icon--mail::after { content: ""; position: absolute; top: 12px; width: 8px; height: 8px; rotate: 45deg; border: solid; border-width: 0 1.5px 1.5px 0 }
.contact-icon--hours::before { content: ""; position: absolute; width: 17px; height: 17px; border: 1.5px solid; border-radius: 50% }
.contact-icon--hours::after { content: ""; position: absolute; top: 13px; left: 17px; width: 5px; height: 6px; border: solid; border-width: 0 0 1.5px 1.5px }
.contact-company {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 224px;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 36px);
  border: 1px solid #99d9e23b;
  border-radius: 21px;
  background: radial-gradient(ellipse at 81% 34%, #297e9570, transparent 72%), linear-gradient(147deg, #183d4e, #102635);
}
.contact-company-copy { width: 70%; min-width: 0 }
.contact-company h2 { font-size: 1.35rem; letter-spacing: -.02em }
.contact-company p { margin-top: 9px; color: var(--text); font-weight: 630 }
.registration-details { display: grid; gap: 4px; margin-top: 13px; font-variant-numeric: tabular-nums }
.registration-details div { display: flex; flex-wrap: wrap; column-gap: 9px }
.registration-details dt { color: var(--muted); width: 2.75rem }
.registration-details dd { color: var(--text) }
.contact-drops { position: absolute; z-index: -1; inset: 0; pointer-events: none }
.contact-drops i {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid #a9e9f67a;
  background:
    radial-gradient(ellipse at 30% 16%, #ecfdff8a, transparent 37%),
    radial-gradient(ellipse at 73% 82%, #66becb6b, transparent 49%),
    linear-gradient(146deg, #61b7cb56, #183d5a14 63%, #84d3df60);
  box-shadow: inset 0 1px 2px #e5faff61, inset 0 -6px 13px #76d5e743, 0 12px 26px #071e2e59;
}
.contact-drops i:nth-child(1) { top: 20%; right: 5%; width: min(34%, 153px); border-radius: 45% 54% 57% 52% / 43% 54% 50% 59%; rotate: -28deg }
.contact-drops i:nth-child(2) { top: 12%; right: 32%; width: 8%; border-radius: 47% 54% 52% 50% }
.contact-drops i:nth-child(3) { bottom: 14%; right: 6%; width: 10%; border-radius: 54% 56% 45% 48%; rotate: 22deg }
@media (max-width: 720px) {
  .contact-surface { grid-template-columns: minmax(0, 1fr) }
  .contact-company { min-height: 174px }
  .contact-drops i:nth-child(1) { width: min(31%, 120px) }
}

.section--directory { padding-top: clamp(29px, 4vw, 50px) }
.page-cases .section--directory, .page-articles .section--directory { padding-bottom: clamp(55px, 8vw, 104px) }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 24px) }
.editorial-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--glass-face);
  border: 1px solid var(--glass-border);
  border-radius: 21px;
  box-shadow: 0 12px 29px #04111b40;
}
.editorial-card img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--raised) }
.page-cases .editorial-card img { aspect-ratio: 5 / 3; object-position: center 38% }
.editorial-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2vw, 25px) }
.editorial-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 13px; margin-bottom: 12px; font-size: .8125rem; color: var(--muted) }
.editorial-meta span { color: #9deaf3; font-weight: 650 }
.editorial-copy h2, .editorial-copy h3 { font-size: clamp(1.2rem, 1.65vw, 1.49rem); letter-spacing: -.025em; text-wrap: pretty }
.editorial-copy p { margin: 11px 0 14px }
.editorial-copy a { align-self: start; margin-top: auto; padding-block: 6px; text-decoration: underline; text-underline-offset: .22em }
.editorial-copy a:hover { color: #b9f1f5 }

.price-note { margin-bottom: 13px; color: var(--muted); font-size: .9rem }
.price-note strong { color: var(--text); font-weight: 650 }
.price-surface { border: 1px solid var(--glass-border); border-radius: 21px; overflow: hidden; background: var(--glass-face); box-shadow: 0 12px 30px #05121d30 }
.price-table { width: 100%; border-collapse: collapse; text-align: left }
.price-table th, .price-table td { padding: 14px clamp(14px, 2vw, 25px); vertical-align: middle }
.price-table thead { background: #09233070; color: #d3e8ee; font-size: .875rem }
.price-group th { border-top: 1px solid var(--line); background: #4a8b9b27; color: #a7eaf0; font-size: .875rem; letter-spacing: .02em }
.price-row + .price-row { border-top: 1px solid #6fa4ad30 }
.price-row:hover { background: #85cbd808 }
.price-row th { width: 29%; font-size: 1rem; line-height: 1.4 }
.price-scope { color: var(--muted) }
.price-amount { white-space: nowrap }
.price-amount strong, .price-amount span { display: block }
.price-amount strong { font-size: 1.15rem; font-variant-numeric: tabular-nums }
.price-amount span { color: var(--muted); font-size: .8125rem }
.price-action { text-align: right }

@media (max-width: 890px) {
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 630px) {
  .editorial-grid { grid-template-columns: minmax(0, 1fr) }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
  .price-table tbody { display: block }
  .price-table .price-group { display: block }
  .price-group th { display: block; padding: 9px 14px }
  .price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 5px 13px; padding: 13px 14px }
  .price-row th, .price-row td { width: auto; padding: 0 }
  .price-row th { grid-column: 1; grid-row: 1 }
  .price-amount { grid-column: 2; grid-row: 1 / 3; text-align: right }
  .price-scope { grid-column: 1; grid-row: 2; font-size: .875rem }
  .price-action { grid-column: 1 / -1; text-align: left }
  .price-action a { display: inline-block; padding-block: 7px }
}

.material { padding-block: clamp(29px, 4vw, 60px) clamp(45px, 7vw, 86px) }
.material-header {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(270px, 1fr);
  gap: clamp(25px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(28px, 5vw, 57px);
}
.material-intro h1 {
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  letter-spacing: -.043em;
  line-height: 1.09;
  text-wrap: pretty;
}
.material-intro .editorial-meta { margin-bottom: 14px }
.material-intro > p { margin-top: 16px; max-width: 570px; font-size: clamp(1rem, 1.46vw, 1.12rem) }
.material-actions { margin-top: 23px }
.material-cover, .material-graphic {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background-color: var(--surface);
  box-shadow: 0 16px 36px #05121ca0;
}
.material-cover img { display: block; width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: cover }
.page-case-detail .material-cover img { aspect-ratio: 5 / 3; object-position: center 38% }
.material-cover--service {
  background: radial-gradient(ellipse at 68% 18%, #3d8b9c55, transparent 85%), #123140;
  padding: clamp(12px, 1.7vw, 20px);
}
.material-cover--service img { max-height: 280px; aspect-ratio: auto; object-fit: contain; border-radius: 12px }
.material-graphic { min-height: clamp(146px, 22vw, 238px) }
.material-graphic > div { scale: 1.3 }
.material-layout {
  display: grid;
  grid-template-columns: minmax(200px, .39fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(23px, 4vw, 44px);
}
.material-contents {
  padding: 20px 22px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass-face);
}
.material-contents p { color: var(--text); font-size: .9rem; font-weight: 650 }
.material-contents ul { display: grid; gap: 8px; padding-left: 17px; margin: 11px 0 0; color: #9deaf3; font-size: .9rem }
.material-contents a:hover { text-decoration: underline; text-underline-offset: 3px }
.material-body { max-width: 740px }
.material-section { scroll-margin-top: 20px }
.material-section + .material-section { margin-top: clamp(24px, 4vw, 40px) }
.material-section h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.025em }
.material-section p { margin-top: 9px; line-height: 1.75 }
.page-service-detail .material-section p + p { margin-top: 13px }
.material-points { display: grid; gap: 8px; margin: 13px 0 0; padding-left: 1.4em; color: var(--muted); line-height: 1.65 }
.material-points li::marker { color: var(--accent) }
.material-body--article { max-width: 700px; font-size: clamp(1.0625rem, 1.6vw, 1.125rem); line-height: 1.75 }
.material-body--article p, .material-body--article li { color: #dce9ed }
.material-prologue > p:first-child { color: var(--text); font-size: 1.1em }
.material-body--article :is(.material-prologue, .material-section, .material-conclusion) > * + * { margin-top: 1em }
.material-body--article .material-section { margin-top: clamp(32px, 5vw, 48px) }
.material-body--article .material-section h3 { margin-top: 1.5em; text-wrap: pretty }
.material-body--article .material-section h3 + :is(p, ol) { margin-top: .45em }
.material-body--article .material-section h4 { margin-bottom: 0 }
.material-body--article .material-section h4 + ul { margin-top: .45em }
.material-conclusion { margin-top: clamp(32px, 5vw, 48px); padding-top: 24px; border-top: 1px solid var(--line) }
.material-body--article ol { margin-bottom: 0; padding-left: 1.65em }
.material-body--article li + li { margin-top: .7em }
.material-body--article li::marker { content: counter(list-item) ") "; color: var(--accent); font-weight: 650 }
.material-body--article :is(p, li, figcaption) a { color: #9deaf3; text-decoration: underline; text-underline-offset: .18em }
.material-body--article :is(p, li, figcaption) a:hover { color: var(--text) }
.material-body--article figure { max-width: 620px; margin-inline: auto }
.material-body--article figure img { display: block; width: 100%; height: auto; border: 1px solid var(--glass-border); border-radius: var(--radius) }
.material-body--article figcaption { margin-top: 8px; text-align: center; font-size: .875rem }
.material-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px }
.page-service-detail .material { padding-bottom: 0 }
@media (max-width: 760px) {
  .material-header, .material-layout { grid-template-columns: minmax(0, 1fr) }
  .material-cover { max-width: 540px }
  .material-contents { max-width: 540px }
}

/* ===== Этап 2: главная, каркас, подвал ===== */
.eyebrow { color: var(--accent); font-weight: 650; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(36px, 5vw, 64px) }
.hero-split .hero-copy { padding-top: 0 }
.hero-copy--left { text-align: left }
.hero-copy--left h1 { font-size: clamp(2.4rem, 4.4vw, 4.1rem) }
.hero-copy--left p:not(.eyebrow) { margin-inline: 0 }
.hero-copy--left .hero-actions { justify-content: flex-start }

.stream { border: 1px solid var(--glass-border); background: var(--glass-face); border-radius: 20px; padding: 16px; box-shadow: 0 30px 60px #04111a66 }
.stream-head { display: flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 650; color: #d4f0f3; padding: 2px 4px 12px }
.stream-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd49a; box-shadow: 0 0 0 0 #5fd49a99; animation: pulse 2s infinite }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #5fd49a00 } 100% { box-shadow: 0 0 0 0 #5fd49a00 } }
.stream-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; min-height: 372px; align-content: start; overflow: hidden }
.stream-card { background: #f4f9fa; color: var(--ink); border-radius: 12px; padding: 11px 13px; border-left: 4px solid #9fb3bc; transition: transform .45s ease, opacity .45s ease }
.stream-card--neg { border-left-color: #e0707a }
.stream-card--pos { border-left-color: #43b98a }
.stream-card--neu { border-left-color: #c5a94f }
.stream-card.is-new { opacity: 0; transform: translateY(-14px) }
.stream-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem }
.stream-meta > span { color: #e5a22a; letter-spacing: 1px }
.stream-off { color: #ccd8dd }
.stream-card p { color: #2b3f4b; font-size: .9rem; margin: 3px 0 7px; line-height: 1.4 }
.stream-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: .72rem; font-weight: 650 }
.stream-tags span { padding: 2px 8px; border-radius: 99px; background: #e4eef1; color: #33505e }
.stream-card--neg .stream-tone { background: #fde4e6; color: #a8323d }
.stream-card--pos .stream-tone { background: #dcf3e8; color: #1f7a54 }
.stream-card--neu .stream-tone { background: #f6eed2; color: #7a6216 }
.stream-card .stream-tone { opacity: 1; transition: opacity .4s ease .5s }
.stream-card.is-new .stream-tone, .stream-card.is-new .stream-status { opacity: 0 }
.stream figcaption { color: var(--muted); font-size: .78rem; padding: 12px 4px 2px }

.trust--four { grid-template-columns: repeat(4, 1fr); width: min(100%, 1040px) }

.demo-text { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px }
.demo-text dt { color: #d4f0f3; font-weight: 650 }
.demo-text dd { margin: 4px 0 0; color: var(--muted); font-size: .9rem }

.section-heading--row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap }

.index-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center }
.index-feature-copy > p { margin-top: 12px }
.index-list { columns: 2; gap: 24px; padding-left: 1.2em; margin: 20px 0 6px; color: #d4f0f3 }
.index-list li { margin-bottom: 6px; break-inside: avoid }
.index-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 16px }
.radar { display: block; width: 100%; height: auto; max-height: 420px }
.radar text { fill: var(--muted); font-size: 11.5px; font-family: inherit }
.radar-ring { fill: none; stroke: #31505e }
.radar-axis { stroke: #31505e }
.radar-a { fill: #55cddd38; stroke: #55cddd; stroke-width: 2.5 }
.radar-b { fill: none; stroke: #9fb3bc; stroke-width: 1.5 }
.radar-c { fill: none; stroke: #6d8794; stroke-width: 1.5; stroke-dasharray: 5 4 }
.index-figure figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .82rem; color: var(--muted) }
.key::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 7px; vertical-align: middle; border-radius: 2px }
.key--a::before { background: #55cddd }
.key--b::before { background: #9fb3bc }
.key--c::before { background: repeating-linear-gradient(90deg, #6d8794 0 5px, transparent 5px 9px) }
.key-note { opacity: .75 }

.complex-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.complex-grid a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, background .2s }
.complex-grid a:hover { border-color: #68b3be; background: #132d3b99 }
.complex-grid strong { display: block; margin-bottom: 4px }
.complex-grid span { color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }

.timeline { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; position: relative; border-top: 2px solid var(--line) }
.timeline li { position: relative; padding-top: 6px }
.timeline li::before { content: ""; position: absolute; top: -33px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent) }
.timeline-year { display: block; font-size: 1.6rem; font-weight: 720; letter-spacing: -.03em; color: var(--accent) }
.timeline h3 { margin-top: 4px; font-size: 1.05rem }
.timeline p { margin-top: 6px; font-size: .9rem }

.steps--five { grid-template-columns: repeat(5, 1fr); counter-reset: step }
.steps--five li { counter-increment: step }
.steps--five li h3::before { content: counter(step) ". "; color: var(--accent) }

.index-grid--two { grid-template-columns: repeat(2, 1fr) }
.about-facts { max-width: 760px }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 28px; padding-block: 38px 24px; font-size: .875rem }
.footer-about p { margin: 10px 0 12px; font-size: .875rem; max-width: 320px }
.footer-about address { display: grid; gap: 4px; font-style: normal; color: var(--muted) }
.footer-col { display: grid; align-content: start; gap: 7px }
.footer-col p { color: var(--text); font-weight: 650; margin-bottom: 4px }
.footer-col a, .footer-about a { color: var(--muted) }
.footer-col a:hover, .footer-about a:hover { color: var(--accent) }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem }
.footer-since { color: #b0eaf0 }

@media (max-width: 1120px) {
  .demo-text { grid-template-columns: repeat(2, 1fr) }
  .steps--five { grid-template-columns: repeat(3, 1fr) }
  .footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 985px) {
  .hero-split, .index-feature { grid-template-columns: 1fr }
  .hero-copy--left { text-align: center }
  .hero-copy--left p:not(.eyebrow) { margin-inline: auto }
  .hero-copy--left .hero-actions { justify-content: center }
  .stream { max-width: 560px; margin-inline: auto; width: 100% }
  .complex-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 720px) {
  .trust--four { grid-template-columns: 1fr 1fr; row-gap: 14px }
  .trust--four li:nth-child(3) { border-left: 0 }
  .demo-text, .steps--five, .complex-grid, .index-grid--two, .footer-grid { grid-template-columns: 1fr }
  .stream-list { min-height: 330px }
  .index-list { columns: 1 }
}
@media (prefers-reduced-motion: reduce) { .stream-dot { animation: none } }
@media (max-width: 490px) { .hero-copy--left .hero-actions { flex-direction: column } }

/* ===== Этап 3: экраны кабинета ===== */
.screen { margin: 0 }
.screen-frame { border-radius: 14px; overflow: hidden; background: #f2f6f8; border: 1px solid #3c5c6a; box-shadow: 0 24px 60px #02101866 }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0f2531; border-bottom: 1px solid #2a4654 }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3d5967 }
.screen-bar b { margin-left: 8px; font-size: .74rem; font-weight: 600; color: #9fc3cc }
.screen img { display: block; width: 100%; height: auto }
.screen figcaption { color: var(--muted); font-size: .86rem; margin-top: 10px; line-height: 1.45 }
.material-section .screen { margin-top: 22px }
.material-header .screen { align-self: center; max-width: 560px; width: 100% }
.material-header .screen .screen-frame { max-height: 520px; overflow: hidden; position: relative }
.material-header .screen .screen-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(#f2f6f800, #f2f6f8) }
.screen-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start }
@media (max-width: 860px) { .screen-pair { grid-template-columns: 1fr } }

/* ===== Этап 4: кейсы, отрасли, методика ===== */
.card-visual { aspect-ratio: 2 / 1; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #1d4656, #0f2531 70%); border-bottom: 1px solid var(--line) }
.card-visual--hero { aspect-ratio: auto; min-height: 280px; border: 1px solid var(--line); border-radius: var(--radius) }
.case-metric { text-align: center; padding: 20px }
.case-metric strong { display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 760; letter-spacing: -.04em; color: #7fe0ea; line-height: 1 }
.case-metric span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; max-width: 300px }
.pills--hero, .pills--card { justify-content: center; max-width: 420px; margin: auto }
.pills--hero { padding: 30px }
.method-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius) }
.method-table { width: 100%; border-collapse: collapse; font-size: .95rem }
.method-table th, .method-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top }
.method-table thead th { color: var(--muted); font-weight: 600; font-size: .85rem }
.method-table tbody th { white-space: nowrap }
.method-table td:nth-child(2) { font-weight: 700; color: var(--accent); white-space: nowrap }
.method-table tr:last-child > * { border-bottom: 0 }
.method-note { color: var(--muted) }
.material-graphic .card-visual--hero { border: 0; background: none; min-height: 0; border-radius: 0 }
.method-table thead th:nth-child(2) { white-space: nowrap }
.method-text { max-width: 820px }
.method-text p + p { margin-top: 14px }

/* ===== Этап 5: статьи из блога ===== */
.legacy { max-width: 820px; padding-bottom: 40px }
.legacy-header { padding-top: 24px }
.legacy-header h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 10px; text-wrap: balance }
.legacy-header .editorial-meta a { color: var(--accent) }
.legacy-header .editorial-meta { display: flex; flex-wrap: wrap; gap: 6px 14px }
.legacy-cover { margin: 26px 0 0 }
.legacy-cover img { width: 100%; height: auto; border-radius: var(--radius); display: block }
.legacy-body { margin-top: 28px; font-size: 1.06rem; line-height: 1.7; color: #dbe8ec }
.legacy-body > * + * { margin-top: 1em }
.legacy-body h2, .legacy-body h3, .legacy-body h4 { margin-top: 1.6em; line-height: 1.25; color: var(--text) }
.legacy-body h2 { font-size: 1.6rem } .legacy-body h3 { font-size: 1.3rem }
.legacy-body ul, .legacy-body ol { padding-left: 1.3em }
.legacy-body li + li { margin-top: .4em }
.legacy-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px }
.legacy-body img { max-width: 100%; height: auto; border-radius: 10px; background: #fff1 }
.legacy-body figure { margin: 1.4em 0 }
.legacy-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: #cfe4ea; font-style: italic }
.legacy-body table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto }
.legacy-body td, .legacy-body th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top }
.legacy-tags { margin-top: 30px }
.legacy-tags a, .legacy-cats a { color: inherit }
.legacy-cats { margin-bottom: 22px }
.legacy-cats span { opacity: .6; margin-left: 4px }
.legacy-cta { margin-top: 36px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #132d3b80; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between }
.legacy-cta p { margin: 0; max-width: 460px }
.legacy-related { margin-top: 40px }
.legacy-related h2 { font-size: 1.4rem; margin-bottom: 10px }
.post-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line) }
.post-list a { display: flex; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding: 14px 4px; border-bottom: 1px solid var(--line) }
.post-list a:hover .post-row-title { color: var(--accent) }
.post-row-title { font-weight: 600; max-width: 760px }
.post-row-meta { color: var(--muted); font-size: .86rem; white-space: nowrap }
@media (max-width: 720px) { .post-row-meta { white-space: normal } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); flex-direction: row !important }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent) }
.consent a { color: var(--accent); text-decoration: underline }
.form-success { padding: 18px 20px; border: 1px solid #43b98a; border-radius: 12px; background: #43b98a1a }
.form-success h3 { margin-bottom: 6px }
.footer-bottom a { color: var(--muted) }
.consent[hidden] { display: none !important }

/* Шапка: 7 пунктов меню не помещаются рядом с кнопками на средних экранах */
@media (max-width: 1480px) and (min-width: 1321px) {
  .site-nav { font-size: .95rem; gap: 2px }
  .header-inner { gap: 18px }
}
@media (max-width: 1320px) {
  .header-inner { justify-content: space-between; min-height: 70px }
  .header-actions { display: none }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); padding: 8px 11px }
  .menu-icon { width: 13px; height: 9px; border-top: 1px solid; border-bottom: 1px solid }
  .site-nav { display: none; position: absolute; top: calc(100% + 5px); right: 24px; left: 24px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); box-shadow: 0 18px 35px #04101875 }
  .site-nav[data-open] { display: grid; justify-content: stretch; gap: 0 }
  .site-nav > a { padding: 9px 0 }
  .site-nav[data-open] .mobile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; white-space: normal }
  .mobile-actions .button { padding: 9px 12px; min-height: 40px }
}

/* ===== Анимированные схемы ===== */
.scheme-section { margin: 8px 0 34px }
.scheme { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(ellipse at 20% 0%, #1d4656aa, transparent 60%), #0f2531; padding: clamp(18px, 3vw, 32px); overflow: hidden }
.scheme figcaption { margin-top: 18px; color: var(--muted); font-size: .88rem; max-width: 760px }
.scheme-stage { position: relative }
.material-section .scheme, .material-section .kpis { margin-top: 22px }

/* базовое появление */
[data-animate] .sc-sources li, [data-animate] .sc-steps li, [data-animate] .sc-src li, [data-animate] .sc-plat li, [data-animate] .sc-t, .kpis[data-animate] .kpi { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 140ms) }
.is-on .sc-sources li, .is-on .sc-steps li, .is-on .sc-src li, .is-on .sc-plat li, .is-on .sc-t, .kpis.is-on .kpi { opacity: 1; transform: none }

/* 1. Поток */
.scheme--stream .scheme-stage { display: grid; grid-template-columns: minmax(130px, .7fr) 60px 2fr; gap: 14px; align-items: center }
.sc-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.sc-sources li { padding: 8px 12px; border: 1px solid #3c5c6a; border-radius: 10px; background: #132d3b; font-size: .86rem; font-weight: 600 }
.sc-pipe { display: grid; gap: 10px }
.sc-pipe span { height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); background-size: 32px 2px; opacity: .6 }
.is-on .sc-pipe span { animation: pipe 1s linear infinite }
@keyframes pipe { to { background-position: 32px 0 } }
.sc-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.sc-lane { display: grid; align-content: start; gap: 7px; padding: 10px; border-radius: 12px; background: #0b1f2a; border: 1px solid #23414e; min-height: 150px }
.sc-lane b { font-size: .8rem; color: var(--muted); font-weight: 650 }
.sc-lane i { font-style: normal; font-size: .8rem; padding: 7px 9px; border-radius: 8px; background: #f4f9fa; color: #20343f; border-left: 3px solid #9fb3bc; opacity: 0; transform: translateX(-24px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(600ms + var(--i) * 320ms) }
.sc-lane--pos i { border-left-color: #43b98a } .sc-lane--neg i { border-left-color: #e0707a } .sc-lane--neu i { border-left-color: #c5a94f }
.is-on .sc-lane i { opacity: 1; transform: none }
.sc-alert { grid-column: 3; justify-self: end; font-size: .82rem; padding: 7px 12px; border-radius: 99px; background: #e0707a22; color: #ffb4ba; border: 1px solid #e0707a66; opacity: 0; transition: opacity .4s ease 2.6s }
.is-on .sc-alert { opacity: 1; animation: ring .6s ease 2.8s 2 }
@keyframes ring { 50% { transform: scale(1.06) } }

/* 2. Шаги */
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; position: relative; z-index: 1 }
.sc-steps li { display: grid; gap: 4px; justify-items: start; padding: 14px; border-radius: 12px; background: #0b1f2a; border: 1px solid #23414e; transition: opacity .5s ease, transform .5s ease, border-color .4s ease, background .4s ease; transition-delay: calc(var(--i) * 450ms) }
.is-on .sc-steps li { border-color: #55cddd88; background: #12323f }
.sc-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #0a2530; font-weight: 750; font-size: .9rem }
.sc-steps b { margin-top: 6px } .sc-steps small { color: var(--muted) }
.sc-progress { height: 3px; border-radius: 3px; background: #23414e; margin-top: 16px; overflow: hidden }
.sc-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #8fe2eb); transition: width 1.9s ease .2s }
.is-on .sc-progress span { width: 100% }

/* 3. Выдача */
.sc-search { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 99px; background: #f4f9fa; color: #20343f; font-size: .92rem; max-width: 520px; margin-bottom: 14px }
.sc-serp { list-style: none; margin: 0; padding: 0; position: relative; height: calc(var(--n) * 50px); max-width: 620px }
.sc-r { position: absolute; left: 0; right: 0; top: calc((var(--a) - 1) * 50px); height: 42px; display: flex; gap: 10px; align-items: center; padding: 0 14px; border-radius: 10px; background: #0b1f2a; border: 1px solid #23414e; font-size: .9rem; transition: top 1.2s cubic-bezier(.6, 0, .2, 1) .5s }
.is-on .sc-r { top: calc((var(--b) - 1) * 50px) }
.sc-r i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #9fb3bc }
.sc-r--neg i { background: #e0707a } .sc-r--pos i { background: #43b98a } .sc-r--own i { background: var(--accent) }
.sc-r--neg { border-color: #e0707a55; transition: top 1.2s cubic-bezier(.6, 0, .2, 1) .5s, opacity .6s ease 1.7s }
.is-on .sc-r--neg { opacity: .55 }

/* 4. Нейросеть */
.sc-q { justify-self: end; margin-left: auto; width: fit-content; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--accent); color: #0a2530; font-weight: 600 }
.sc-a { margin-top: 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; max-width: 760px }
.sc-ai { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #23414e; font-size: .78rem; font-weight: 750 }
.sc-a p { margin: 0; padding: 12px 16px; border-radius: 4px 14px 14px 14px; background: #0b1f2a; border: 1px solid #23414e; line-height: 1.6; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s steps(40) .3s }
.is-on .sc-a p { clip-path: inset(0 0 0 0) }
.sc-a mark { background: transparent; color: #0a2530; padding: 1px 4px; border-radius: 4px; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 100%; background-repeat: no-repeat; color: inherit; transition: background-size .5s ease 2s, color .3s ease 2.1s }
.is-on .sc-a mark { background-size: 100% 100%; color: #0a2530 }
.sc-src { grid-column: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px }
.sc-src li { font-size: .78rem; padding: 4px 9px; border-radius: 99px; border: 1px solid #3c5c6a; color: var(--muted); transition-delay: calc(2.3s + var(--i) * 150ms) }

/* 5. Столбики */
.sc-title { display: block; margin-bottom: 14px }
.sc-bars { display: flex; gap: clamp(10px, 3vw, 28px); align-items: end; height: 190px; padding-bottom: 4px; border-bottom: 1px solid #3c5c6a }
.sc-bar { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 8px; height: 100%; text-align: center }
.sc-cols { display: flex; gap: 6px; align-items: end; justify-content: center; height: 100% }
.sc-col { width: min(30px, 40%); height: 0; border-radius: 6px 6px 0 0; transition: height 1s cubic-bezier(.3, .7, .3, 1); transition-delay: calc(var(--i) * 150ms) }
.sc-col--a { background: #5f7e8b } .sc-col--b { background: linear-gradient(#8fe2eb, var(--accent)); transition-delay: calc(400ms + var(--i) * 150ms) }
.is-on .sc-col { height: var(--h) }
.sc-bar small { color: var(--muted); font-size: .78rem }
.sc-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .82rem; color: var(--muted) }
.sc-k::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px }
.sc-k--a::before { background: #5f7e8b } .sc-k--b::before { background: var(--accent) }

/* 6. Хаб */
.sc-hub { position: relative; height: 300px; max-width: 560px; margin: 0 auto }
.sc-core { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #55cddd55, #12323f); border: 2px solid var(--accent); font-weight: 750 }
.sc-sat { position: absolute; left: 50%; top: 50%; padding: 8px 13px; border-radius: 99px; background: #0b1f2a; border: 1px solid #3c5c6a; font-size: .86rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%) rotate(calc(360deg / var(--n) * var(--i))) translate(0) rotate(calc(-360deg / var(--n) * var(--i))); opacity: 0; transition: transform .9s cubic-bezier(.3, .8, .3, 1), opacity .5s ease, border-color .4s; transition-delay: calc(var(--i) * 120ms) }
.is-on .sc-sat { opacity: 1; border-color: #55cddd88; transform: translate(-50%, -50%) rotate(calc(360deg / var(--n) * var(--i))) translate(clamp(115px, 22vw, 190px)) rotate(calc(-360deg / var(--n) * var(--i))) }

/* 7. Радар соцмедиа */
.sc-sweep { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: repeating-radial-gradient(circle, #23414e 0 1px, transparent 1px 40px), #0b1f2a; border: 1px solid #3c5c6a }
.sc-beam { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #55cddd55, transparent 60deg); opacity: 0 }
.is-on .sc-beam { opacity: 1; animation: sweep 4s linear infinite }
@keyframes sweep { to { transform: rotate(360deg) } }
.sc-center { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 99px; background: var(--accent); color: #0a2530; font-weight: 750; font-size: .85rem }
.sc-ping { position: absolute; left: 50%; top: 50%; font-size: .74rem; padding: 4px 8px; border-radius: 99px; background: #132d3b; border: 1px solid #55cddd77; white-space: nowrap; transform: translate(-50%, -50%) rotate(calc(360deg / var(--n) * var(--i))) translate(clamp(95px, 30vw, 130px)) rotate(calc(-360deg / var(--n) * var(--i))); opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i) * 4000ms / var(--n)) }
.is-on .sc-ping { opacity: 1 }

/* Кейсы: сравнение и цифры */
.sc-compare { display: grid; gap: 12px; max-width: 720px }
.sc-crow { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 52px; gap: 12px; align-items: center; font-size: .92rem }
.sc-track { height: 14px; border-radius: 99px; background: #0b1f2a; overflow: hidden; border: 1px solid #23414e }
.sc-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: #6d8794; transition: width 1.2s cubic-bezier(.3, .7, .3, 1); transition-delay: calc(var(--i) * 200ms) }
.is-me .sc-track i { background: linear-gradient(90deg, var(--accent), #8fe2eb) }
.is-on .sc-track i { width: var(--v) }
.sc-crow b { text-align: right; font-variant-numeric: tabular-nums }
.is-me span, .is-me b { color: var(--accent); font-weight: 700 }
.kpis { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px }
.kpi { padding: 16px; border-radius: 14px; background: #0f2531; border: 1px solid var(--line) }
.kpi strong { display: block; font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.1 }
.kpi span { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem }
.kpi--good strong { color: #6fdcb0 } .kpi--bad strong { color: #ff9aa2 }

/* Отрасли */
.sc-ind { display: grid; gap: 16px }
.sc-plat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.sc-plat li { padding: 7px 12px; border-radius: 99px; border: 1px solid #3c5c6a; background: #132d3b; font-size: .84rem; font-weight: 600 }
.sc-themes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.sc-t { padding: 8px 12px; border-radius: 12px 12px 12px 3px; font-size: .84rem; background: #f4f9fa; color: #20343f; border-left: 4px solid #9fb3bc; transition-delay: calc(500ms + var(--i) * 220ms) }
.sc-t--pos { border-left-color: #43b98a } .sc-t--neg { border-left-color: #e0707a } .sc-t--neu { border-left-color: #c5a94f }
.material-graphic .scheme--industry { border: 0; background: none; padding: 10px }
.material-graphic .scheme--industry figcaption { display: none }

@media (max-width: 720px) {
  .scheme--stream .scheme-stage { grid-template-columns: 1fr }
  .sc-pipe { display: none }
  .sc-lanes { grid-template-columns: 1fr }
  .sc-lane { min-height: 0 }
  .sc-alert { grid-column: 1 }
  .sc-hub { height: 260px }
  .sc-crow { grid-template-columns: 1fr 52px; } .sc-crow span { grid-column: 1 / -1 }
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] *, .kpis[data-animate] .kpi { transition: none !important; animation: none !important }
}

/* Шапка: если пункты меню не помещаются при любом шрифте и масштабе — сворачиваем меню (класс ставит site.js) */
.header-actions { flex-shrink: 0 }
.site-header.is-compact .header-inner { justify-content: space-between; min-height: 70px }
.site-header.is-compact .header-actions { display: none }
.site-header.is-compact .menu-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); padding: 8px 11px }
.site-header.is-compact .menu-icon { width: 13px; height: 9px; border-top: 1px solid; border-bottom: 1px solid }
.site-header.is-compact .site-nav { display: none; position: absolute; top: calc(100% + 5px); right: 24px; left: 24px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); box-shadow: 0 18px 35px #04101875 }
.site-header.is-compact .site-nav[data-open] { display: grid; justify-content: stretch; gap: 0 }
.site-header.is-compact .site-nav > a { padding: 9px 0 }
.site-header.is-compact .site-nav[data-open] .mobile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; white-space: normal }
.site-header.is-compact .mobile-actions .button { padding: 9px 12px; min-height: 40px }
/* На широких экранах при свёрнутом меню кнопки «Войти» и «Получить анализ» остаются в шапке */
@media (min-width: 1321px) {
  .site-header.is-compact .header-actions { display: flex; margin-left: auto }
  .site-header.is-compact .menu-toggle { order: 3 }
  .site-header.is-compact .site-nav { left: auto; width: 280px; right: max(24px, calc((100vw - 1200px) / 2)) }
  .site-header.is-compact .site-nav[data-open] .mobile-actions { display: none }
}

/* Статьи блога: как страницы услуг — оглавление и кнопка слева, текст справа */
.legacy { max-width: none }
.legacy-header { max-width: 980px }
.legacy-layout { margin-top: 26px }
.legacy-side { display: grid; gap: 16px; position: sticky; top: 20px }
.legacy-side .legacy-cta { margin: 0; padding: 20px 22px; border: 1px solid var(--glass-border); border-radius: var(--radius); background: var(--glass-face); display: grid; gap: 14px; justify-items: start }
.legacy-side .legacy-cta p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0 }
.legacy-main { max-width: 820px; min-width: 0 }
.legacy-main .legacy-body { margin-top: 0 }
.legacy-main .legacy-cover { margin: 0 0 24px }
.legacy-body h2[id] { scroll-margin-top: 20px }
@media (max-width: 760px) { .legacy-side { position: static } }
.legacy > .legacy-body { max-width: 820px }
@media (max-width: 760px) {
  .legacy-side { display: contents }
  .legacy-side .material-contents { order: 0 }
  .legacy-main { order: 1 }
  .legacy-side .legacy-cta { order: 2 }
}

/* Статьи v2: оглавление в шапке справа, текст на всю ширину колонки */
.material-layout--wide { display: block }
.material-layout--wide .material-body--article { max-width: 1000px }
.legacy-head { border-bottom: 1px solid var(--line); margin-bottom: clamp(23px, 4vw, 44px); align-items: start }
.legacy-head .legacy-header { padding-top: 0; max-width: none }
.legacy-head .legacy-side { position: static; align-self: center }
.legacy-main { max-width: 1000px }
.legacy-main .legacy-cover { max-width: 760px }
@media (max-width: 760px) { .legacy-side { display: grid } }
.legacy-head { padding-top: 28px }
.legacy-main, .material-layout--wide .material-body--article { max-width: 1060px }

/* О нас: фото команды рядом с текстом */
.page-hero--about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center }
.page-hero--about .page-hero-copy p + p { margin-top: 14px }
.about-team { margin: 0 }
.about-team img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff1 }
.about-team figcaption { margin-top: 10px; color: var(--muted); font-size: .85rem }
@media (max-width: 860px) { .page-hero--about { grid-template-columns: 1fr } }
