@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("./fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("./fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #142b30;
  --teal: #00737e;
  --teal-dark: #005e67;
  --muted: #53676c;
  --line: #dadee3;
  --line-strong: #bdc8cd;
  --surface: #ffffff;
  --soft: #edf1f5;
  --teal-soft: #e2f1f2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.55 "Onest", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

main,
section,
article,
div,
li {
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-weight: 500;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.6px;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.4;
}

p {
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  min-height: 76px;
  margin: 0 auto;
  padding: 18px 28px;
}

.brand,
.footer-brand {
  flex: 0 0 auto;
}

.header-nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.header-nav a,
.footer-nav a {
  min-height: 32px;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

/* Текст по центру строки — как у кнопки языка рядом и как логотип. */
.header-nav a {
  display: inline-flex;
  align-items: center;
}

.header-nav a:hover,
.footer-nav a:hover {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.login-link {
  font-weight: 600;
}

.language-link {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font: inherit;
  font-weight: 700;
  text-underline-offset: 4px;
  cursor: pointer;
}

.language-link:hover {
  text-decoration: underline;
}

/* Скрипт в <head> выбрал русский: английская разметка не показывается, пока main.js не подставит русскую. */
.lang-pending body {
  visibility: hidden;
}

.hero {
  padding-bottom: 56px;
  scroll-margin-top: 24px;
}

/* Имя и назначение видны сразу: проверка бренда Google ищет их на главной глазами. */
.hero-intro {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 28px 8px;
  text-align: center;
}

.hero-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -1px;
  text-wrap: balance;
}

.hero-lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-flow {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px 0;
}

.hero-composer {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 28px -18px rgb(20 43 48 / 45%);
}

.hero-project {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 600;
}

.hero-project::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
  content: "";
}

.hero-question {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.4;
}

.hero-placeholder {
  color: var(--muted);
  font-weight: 400;
}

.hero-caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  background: var(--teal);
  vertical-align: -0.2em;
  animation: hero-blink 1s steps(1) infinite;
}

@keyframes hero-blink {
  50% { opacity: 0; }
}

.hero-send {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}

.hero-motion .hero-composer:not(.is-ready, .is-done) .hero-send {
  background: var(--line);
}

.hero-motion .hero-composer.is-pressed .hero-send {
  background: var(--teal-dark);
  transform: scale(0.88);
}

.hero-stage-scroll {
  overflow-x: auto;
}

.hero-stage {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}

.hero-stage text {
  text-anchor: middle;
}

.hero-stage text.start {
  text-anchor: start;
}

.hero-stage .wire {
  fill: none;
  stroke: #a9bfc3;
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity 0.3s;
}

.hero-stage .wire.dashed {
  stroke-dasharray: 7 6;
}

.hero-stage .wire.live,
.hero-stage .wire.hot,
.hero-stage .wire.hover {
  stroke: var(--teal);
}

.hero-stage .wire.hot,
.hero-stage .wire.hover {
  stroke-width: 3;
}

.hero-stage .tip {
  fill: var(--teal);
}

.hero-stage .body,
.hero-stage .region,
.hero-stage .hub-caption {
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.hero-stage .body {
  transform: scale(0.86);
  transform-box: fill-box;
  transform-origin: center;
}

.hero-stage .on .body,
.hero-stage .region.on,
.hero-stage .hub-caption.on {
  opacity: 1;
  transform: none;
}

.hero-stage .card {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1.5;
  transition: fill 0.2s, stroke 0.2s;
}

.hero-stage .name {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hero-stage .status {
  fill: var(--muted);
  font-size: 12px;
}

.hero-stage .sub {
  fill: var(--muted);
  font-size: 11.5px;
}

.hero-stage .avatar {
  fill: var(--teal-soft);
}

.hero-stage .avatar-letter {
  fill: var(--teal-dark);
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.hero-stage .searching .card {
  stroke: var(--teal);
  stroke-dasharray: 6 5;
  animation: hero-march 0.6s linear infinite;
}

@keyframes hero-march {
  to { stroke-dashoffset: -11; }
}

.hero-stage .found .card {
  stroke: var(--teal);
}

.hero-stage .found .status {
  fill: var(--teal-dark);
  font-weight: 600;
}

.hero-stage .on.empty .body {
  opacity: 0.45;
}

.hero-stage .cited .card,
.hero-stage .hover .card {
  fill: var(--teal-soft);
  stroke: var(--teal);
  stroke-width: 2.5;
}

.hero-stage .region {
  fill: #f6f9fa;
  stroke: var(--line-strong);
  stroke-dasharray: 6 6;
}

.hero-stage .hub-mark {
  fill: var(--teal);
}

.hero-stage .hub-letter {
  fill: #fff;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 600;
}

.hero-stage .hub-ring {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-stage .glow .hub-ring {
  animation: hero-ring 1.6s ease-out infinite;
}

@keyframes hero-ring {
  0% { opacity: 0.7; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.5); }
}

.hero-stage .hub-caption {
  fill: var(--muted);
  font-size: 13px;
}

.hero-answer {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 30px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 40px -28px rgb(20 43 48 / 50%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-motion .hero-answer:not(.is-on) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s 0.35s;
}

.hero-answer-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 14px;
}

.hero-answer-head strong {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.hero-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.hero-answer-title {
  margin: 14px 0 6px;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.hero-answer-title strong {
  font-weight: inherit;
}

.hero-stack {
  display: grid;
}

.hero-stack > * {
  grid-area: 1 / 1;
}

.hero-ghost {
  visibility: hidden;
}

.hero-finding {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.hero-finding:first-child {
  border-top: 0;
}

.hero-finding p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.55;
}

.hero-finding strong {
  font-weight: 650;
}

.hero-cites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-cite {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 12px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: opacity 0.25s, transform 0.25s, background 0.15s, border-color 0.15s;
}

.hero-motion .hero-cite:not(.is-on) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px);
}

.hero-cite img {
  width: 18px;
  height: 18px;
}

.hero-cite .proj {
  color: var(--muted);
  font-weight: 400;
}

.hero-cite .n {
  color: var(--teal);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.hero-cite:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
}

.final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 650;
  text-align: center;
}

.button-primary {
  background: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--teal);
  font-size: 17px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #81aeb4;
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.mail-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}

.recommendation-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
}

.confirm-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--teal-soft);
  color: #40565b;
  font-weight: 600;
}

.confirm-button:disabled {
  cursor: default;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px;
  scroll-margin-top: 24px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-soft {
  border-radius: 24px;
  background: var(--soft);
}

.context-graph {
  position: relative;
}

.context-graph-canvas {
  position: relative;
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.context-stage {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: calc(var(--x) * 1%);
  width: 20.5%;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.context-stage[data-stage="materials"] { --x: 0; }
.context-stage[data-stage="decisions"] { --x: 26.5; }
.context-stage[data-stage="work"] { --x: 53; }
.context-stage[data-stage="results"] { --x: 79.5; }

.context-connections {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.context-connections-mobile {
  display: none;
}

.context-edge {
  fill: none;
  stroke: #52777d;
  stroke-width: 2.5;
  cursor: pointer;
  outline: none;
  pointer-events: stroke;
  vector-effect: non-scaling-stroke;
}

.context-edge-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 32;
  cursor: pointer;
  pointer-events: stroke;
  vector-effect: non-scaling-stroke;
}

.context-edge[data-scope="cross"] {
  stroke: var(--teal);
  stroke-dasharray: 7 5;
}

.context-edge:hover,
.context-edge:focus,
.context-edge[aria-expanded="true"] {
  stroke: var(--ink);
  stroke-width: 5;
  stroke-dasharray: none;
}

.context-node-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.context-node {
  position: absolute;
  z-index: 1;
  top: calc(var(--y) * 1px);
  left: calc(var(--x) * 1%);
  width: 20.5%;
  height: 116px;
  padding: 8px 9px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgb(20 43 48 / 7%);
}

.context-node[data-project="mobile"] {
  border-left-color: #657a92;
}

.context-node[data-node="portal-meeting"] { --x: 0; --y: 70; --mobile-y: 170; }
.context-node[data-node="portal-mail"] { --x: 0; --y: 260; --mobile-y: 30; }
.context-node[data-node="mobile-drive"] { --x: 0; --y: 440; --mobile-y: 310; }
.context-node[data-node="portal-decision"] { --x: 26.5; --y: 70; --mobile-y: 450; }
.context-node[data-node="mobile-data"] { --x: 26.5; --y: 440; --mobile-y: 590; }
.context-node[data-node="mobile-notion"] { --x: 26.5; --y: 260; --mobile-y: 730; }
.context-node[data-node="portal-task"] { --x: 53; --y: 70; --mobile-y: 870; }
.context-node[data-node="mobile-mr"] { --x: 53; --y: 260; --mobile-y: 1010; }
.context-node[data-node="mobile-report"] { --x: 79.5; --y: 440; --mobile-y: 1150; }
.context-node[data-node="portal-launch"] { --x: 79.5; --y: 70; --mobile-y: 1290; }

.context-node-project {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.context-node[data-project="mobile"] .context-node-project {
  color: #435e76;
}

.context-node > img,
.context-node-icons {
  float: left;
  margin: 2px 8px 0 0;
}

.context-node > img {
  width: 28px;
  height: 28px;
}

.context-node-icons {
  display: flex;
  gap: 2px;
}

.context-node-icons img {
  width: 24px;
  height: 24px;
}

.context-node strong,
.context-node-source {
  display: block;
  font-size: 16px;
  line-height: 1.22;
}

.context-node strong {
  font-weight: 650;
}

.context-node-source {
  margin-top: 3px;
  color: var(--muted);
}

.context-graph-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.context-tooltip {
  position: fixed;
  z-index: 50;
  width: max-content;
  max-width: min(340px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 32px rgb(20 43 48 / 20%);
  font-size: 16px;
}

.context-tooltip strong {
  color: var(--teal-dark);
}

.context-tooltip p {
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .context-graph-canvas {
    height: 1420px;
  }

  .context-stage,
  .context-connections-desktop {
    display: none;
  }

  .context-connections-mobile {
    display: block;
  }

  .context-node {
    top: calc(var(--mobile-y) * 1px);
    right: 24px;
    left: 24px;
    width: auto;
  }
}

.card-grid {
  display: grid;
  gap: 20px;
}

.systems-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.case-card,
.channel-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.info-card {
  display: flex;
  flex-direction: column;
}

.info-card p {
  color: var(--muted);
}

.icon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.icon-row .mail-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  padding-top: 16px;
  border-top: 2px solid var(--teal);
}

.step-number {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-weight: 700;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Кнопка справа от заголовка; на телефоне — под шагами. */
.how-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "head cta" "steps steps";
  align-items: end;
  column-gap: 48px;
}

.how-section .section-heading {
  grid-area: head;
}

.how-section h2 {
  margin-bottom: 0;
}

.how-section .steps {
  grid-area: steps;
}

.how-cta {
  grid-area: cta;
  margin-bottom: 34px;
}

.custom-integrations {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px 48px;
  margin-top: 20px;
  padding: 40px;
  border: 1px solid #b5dade;
  border-radius: 16px;
  background: var(--teal-soft);
}

.custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

.custom-integrations h3 {
  margin-bottom: 12px;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.custom-integrations h3 + p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
}

.check-list li::before {
  flex: none;
  width: 6px;
  height: 12px;
  margin: 3px 4px 0 6px;
  border: solid var(--teal);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  content: "";
}

.custom-example {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 40px -28px rgb(20 43 48 / 50%);
}

.custom-example-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-example-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
}

.custom-example-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.custom-example-name strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.custom-example-status {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
}

.custom-example-label {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.custom-methods {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.custom-methods div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
}

.custom-methods div + div {
  border-top: 1px solid var(--line);
}

.custom-methods dt {
  flex: none;
  min-width: 104px;
  color: var(--teal);
}

.custom-methods dd {
  margin: 0;
}

.custom-example-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--teal-soft);
  font-size: 14px;
  line-height: 1.5;
}

.custom-example-note .hero-mark {
  flex: none;
}

.cases-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card h3 {
  color: var(--teal);
}

.case-card p {
  font-size: 18px;
  font-weight: 550;
}

.case-card > span,
.case-card > p:last-child:not(:first-of-type) {
  color: var(--muted);
}

.case-card > span,
.case-card > p:last-child {
  margin-bottom: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.trust-list article {
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
}

.trust-list article:last-child {
  grid-column: 1 / -1;
}

.trust-list h3 {
  color: var(--teal);
}

.trust-list p {
  margin-bottom: 0;
}

.recommendation-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 14px 14px 0;
}

.recommendation-card > div {
  padding: 26px;
}

.recommendation-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.recommendation-action {
  background: var(--soft);
}

.recommendation-action .confirm-button {
  margin-top: 20px;
  background: var(--surface);
}

.channels-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel-card > img,
.channel-symbol {
  margin-bottom: 18px;
}

.channel-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.channel-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--teal);
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 8px;
  color: var(--teal);
  content: "+";
  font-size: 26px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 850px;
  padding: 0 40px 8px 0;
  color: var(--muted);
}

.faq-list details p a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final-cta {
  margin-top: 24px;
  margin-bottom: 72px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.final-cta .eyebrow {
  color: #9bdde1;
}

.final-cta h2 {
  max-width: 800px;
}

.final-cta > p:not(.eyebrow) {
  max-width: 700px;
  color: #d9e5e7;
  font-size: 18px;
}

.final-cta .text-link {
  color: #fff;
  text-decoration-color: #9bdde1;
}

.final-cta a:focus-visible {
  outline-color: #9bdde1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 28px;
}

.footer-nav {
  justify-content: center;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-integrations {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps,
  .channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 16px;
  }

  .site-header {
    gap: 14px;
    min-height: 58px;
    padding: 12px 16px;
  }

  .brand img {
    width: 106px;
  }

  .header-nav {
    gap: 14px;
  }

  .button {
    min-height: 48px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .hero-intro {
    padding: 24px 16px 4px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-flow {
    padding: 12px 16px 0;
  }

  .hero-composer {
    flex-wrap: wrap;
  }

  .hero-question {
    flex-basis: calc(100% - 60px);
    order: 3;
    font-size: 16px;
  }

  .hero-answer {
    padding: 20px 18px 22px;
  }

  .hero-answer-title {
    font-size: 21px;
  }

  .hero-finding p {
    font-size: 16px;
  }

  .hero {
    padding-bottom: 40px;
  }

  .how-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "steps" "cta";
  }

  .how-cta {
    margin: 30px 0 0;
  }

  .custom-integrations {
    padding: 24px 18px;
  }

  .custom-integrations h3 {
    font-size: 22px;
  }

  .section {
    padding: 52px 20px;
    scroll-margin-top: 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .recommendation-card {
    grid-template-columns: 1fr;
  }

  .context-graph-canvas {
    height: 1420px;
  }

  .context-node {
    right: 18px;
    left: 18px;
  }

  .card-grid,
  .trust-list {
    gap: 16px;
  }

  .cases-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list article:last-child {
    grid-column: auto;
  }

  .final-cta {
    margin: 12px 12px 48px;
  }

  .final-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    padding: 26px 20px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .systems-grid,
  .steps,
  .channels-grid {
    grid-template-columns: 1fr;
  }

  .language-options {
    grid-template-columns: 1fr;
  }

  .language-option {
    min-height: 120px;
  }
}

@media (max-width: 380px) {
  .header-nav {
    gap: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Статичные документы: privacy.html и terms.html. */
.policy { max-width: 860px; margin: 0 auto; padding: 24px 28px 72px; }
.policy h1 { margin: 0 0 24px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -0.8px; }
.policy h2 { margin-top: 44px; font-size: clamp(22px, 2.2vw, 28px); }
.policy h3 { margin-top: 32px; }
.policy a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.policy ul, .policy ol { margin: 0 0 16px; padding-left: 24px; }
.policy li { margin-bottom: 8px; }
.policy-table { margin: 0 0 20px; overflow-x: auto; }
.policy table { width: 100%; border-collapse: collapse; font-size: 15px; }
.policy th, .policy td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy th { background: var(--soft); }
@media (max-width: 760px) { .policy { padding: 16px 16px 56px; } }
