:root {
  --ink: #10213d;
  --ink-strong: #07152b;
  --ink-soft: #5c6a7f;
  --blue: #1769e8;
  --blue-dark: #0b4eb9;
  --blue-pale: #eaf2ff;
  --orange: #f27a24;
  --orange-pale: #fff1e6;
  --canvas: #f4f7fb;
  --paper: #ffffff;
  --line: #dfe6f0;
  --line-strong: #cbd6e5;
  --success: #16a36a;
  --shadow-sm: 0 8px 24px rgba(18, 43, 78, .08);
  --shadow-md: 0 24px 60px rgba(18, 43, 78, .13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "HarmonyOS Sans SC", "MiSans", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(23, 105, 232, .08), transparent 30%),
    radial-gradient(circle at 92% 38%, rgba(242, 122, 36, .06), transparent 26%);
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--blue);
}

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

button,
input,
textarea {
  font: inherit;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink-strong);
  border-radius: 9px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(203, 214, 229, .8);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 30px rgba(15, 37, 70, .08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
}

.brand-copy {
  display: block;
  line-height: 1.15;
}

.brand-copy strong {
  display: block;
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.brand-copy small {
  display: block;
  margin-top: 5px;
  color: #718097;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 10px 15px;
  color: #536078;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-pale);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 19px;
  color: #fff;
  background: var(--ink-strong);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 4px;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle span {
  position: relative;
  display: block;
  margin: 0 auto;
}

.nav-toggle span::before {
  top: -6px;
  left: 0;
}

.nav-toggle span::after {
  top: 6px;
  left: 0;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(244, 248, 255, .95)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -320px;
  right: -160px;
  background: radial-gradient(circle, rgba(23, 105, 232, .14), rgba(23, 105, 232, 0) 70%);
}

.hero::after {
  width: 280px;
  height: 280px;
  bottom: -180px;
  left: 38%;
  border: 54px solid rgba(242, 122, 36, .07);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(420px, .93fr);
  align-items: center;
  gap: 62px;
}

.hero-copy,
.hero-visual {
  animation: hero-rise .7s both cubic-bezier(.2, .7, .2, 1);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  animation-delay: .12s;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 7px 11px;
  background: var(--blue-pale);
  border: 1px solid #d8e6ff;
  border-radius: 999px;
}

.eyebrow::before,
.section-kicker::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--orange-pale);
}

.hero h1 {
  margin: 22px 0 22px;
  color: var(--ink-strong);
  font-size: clamp(48px, 4.9vw, 69px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1.08;
}

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

.hero-lede {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button:hover {
  border-color: #aabbd2;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(23, 105, 232, .24);
}

.button-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #2378ef, #0848ad);
  border-color: transparent;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 27px;
  color: #607088;
  font-size: 12px;
  font-weight: 750;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-notes span::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--success);
  border-radius: 50%;
}

.control-panel {
  position: relative;
  z-index: 1;
  order: 1;
  padding: 26px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.control-panel::before {
  position: absolute;
  z-index: -1;
  width: 120px;
  height: 120px;
  top: -24px;
  right: -24px;
  content: "";
  background: var(--orange-pale);
  border-radius: 32px;
  transform: rotate(12deg);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head strong {
  color: var(--ink-strong);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 11px;
  font-weight: 850;
}

.live-state::before {
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22, 163, 106, .1);
  animation: live-pulse 1.8s infinite;
}

.network-map {
  width: 100%;
  min-height: 225px;
  margin: 8px 0 0;
  overflow: visible;
}

.network-map text {
  fill: #718097;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
}

.track {
  fill: none;
  stroke: #cbd9eb;
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.track-acid {
  stroke: var(--blue);
}

.track-amber {
  stroke: var(--orange);
}

.node-ring {
  fill: #fff;
  stroke: #bdd0e8;
  stroke-width: 2;
  filter: drop-shadow(0 8px 12px rgba(20, 58, 106, .1));
}

.node-core {
  fill: var(--blue);
}

.node-core.acid {
  fill: var(--success);
}

.node-core.amber {
  fill: var(--orange);
}

.packet {
  fill: var(--blue);
  filter: drop-shadow(0 0 5px rgba(23, 105, 232, .5));
}

.packet-one {
  offset-path: path("M84 98 L214 28 L338 94");
  animation: packet-flow 4s linear infinite;
}

.packet-two {
  fill: var(--orange);
  offset-path: path("M84 98 L215 174 L338 94");
  animation: packet-flow 4.8s .7s linear infinite;
}

.packet-three {
  fill: var(--success);
  offset-path: path("M214 28 L215 174");
  animation: packet-flow 3.4s 1.2s linear infinite;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.panel-metrics div {
  padding: 13px;
  background: #f6f8fc;
  border: 1px solid #e6ebf3;
  border-radius: 13px;
}

.panel-metrics strong,
.panel-metrics small {
  display: block;
}

.panel-metrics strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.panel-metrics small {
  margin-top: 3px;
  color: #8a96a8;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .06em;
}

.telegram-card {
  position: relative;
  z-index: 2;
  order: 2;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
  padding: 17px 18px;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(42, 171, 238, .28);
  border-radius: 19px;
  box-shadow: 0 18px 45px rgba(18, 58, 95, .14);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.telegram-card::before {
  position: absolute;
  width: 56%;
  height: 3px;
  top: -2px;
  left: 20px;
  content: "";
  background: linear-gradient(90deg, #2aabee, rgba(42, 171, 238, 0));
  border-radius: 999px;
}

.telegram-card:hover {
  border-color: rgba(42, 171, 238, .7);
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(18, 58, 95, .19);
}

.telegram-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #2aabee;
  border-radius: 15px;
  box-shadow: 0 10px 22px rgba(42, 171, 238, .22);
}

.telegram-icon img {
  width: 31px;
  height: 31px;
}

.telegram-copy {
  min-width: 0;
  line-height: 1.35;
}

.telegram-copy small {
  color: #738199;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.telegram-copy strong {
  display: block;
  margin-top: 3px;
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 900;
}

.telegram-copy span {
  display: block;
  margin-top: 2px;
  color: #62718a;
  font-size: 12px;
}

.telegram-action {
  padding: 9px 13px;
  color: #fff;
  background: #229ed9;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.engine-strip {
  color: #fff;
  background: var(--ink-strong);
}

.engine-list {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.engine-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  color: #d9e3f1;
  border-right: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  font-weight: 800;
}

.engine-list span:last-child {
  border-right: 0;
}

.engine-list i {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242, 122, 36, .12);
}

.section {
  padding: 90px 0;
}

.section-muted {
  background: #edf3fa;
  border-block: 1px solid #e1e8f2;
}

.section-tight {
  padding: 62px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 38px;
}

.section-kicker {
  color: var(--orange);
}

.section-kicker::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-pale);
}

.section-title {
  max-width: 790px;
  margin: 12px 0 0;
  color: var(--ink-strong);
  font-size: clamp(32px, 3.2vw, 45px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.24;
}

.section-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 316px;
  padding: 31px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 32px rgba(22, 47, 83, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(.34);
  transform-origin: left;
  transition: transform .25s ease;
}

.service-card::after {
  position: absolute;
  top: 17px;
  right: 22px;
  content: attr(data-index);
  color: #e9eef5;
  font: 900 52px/1 "JetBrains Mono", monospace;
  letter-spacing: -.08em;
}

.service-card:hover {
  border-color: #c6d6ed;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 14px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 28px 0 11px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.45;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.text-link {
  position: absolute;
  bottom: 27px;
  left: 31px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
}

.text-link::after {
  margin-left: 7px;
  content: "→";
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(23, 105, 232, .46), transparent 36%),
    var(--ink-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.flow-step {
  position: relative;
  min-height: 280px;
  padding: 35px 27px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step::after {
  position: absolute;
  width: 34px;
  height: 2px;
  bottom: 30px;
  left: 27px;
  content: "";
  background: var(--orange);
}

.flow-number {
  color: #78aef8;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.flow-step h3 {
  margin: 61px 0 13px;
  font-size: 20px;
}

.flow-step p {
  margin: 0;
  color: #b8c5d8;
  font-size: 13px;
  line-height: 1.85;
}

.promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.265fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 900px;
  margin-inline: auto;
}

.promo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.promo-card img {
  width: 100%;
  height: auto;
  padding: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #eef3f8;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.promo-card:hover img {
  transform: scale(1.035);
}

.promo-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.promo-card figcaption strong {
  font-size: 15px;
}

.promo-card figcaption span {
  color: #8390a3;
  font-size: 9px;
  letter-spacing: .08em;
}

.principles {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 70px;
}

.principle-sticky {
  position: sticky;
  top: 118px;
}

.principle-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.principle-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 27px 30px;
  border-bottom: 1px solid var(--line);
}

.principle-item b {
  color: var(--blue);
  font: 850 13px/1.7 "JetBrains Mono", monospace;
}

.principle-item h3 {
  margin: 0 0 6px;
  color: var(--ink-strong);
  font-size: 17px;
}

.principle-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.notice {
  margin: 27px 0 0;
  padding: 20px 22px;
  background: var(--orange-pale);
  border: 1px solid #ffd9bb;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
}

.principle-list > .notice {
  margin: 24px;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
  color: #a64d0e;
  font-size: 13px;
}

.notice p {
  margin: 0;
  color: #755137;
  font-size: 13px;
  line-height: 1.8;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  color: #fff;
  background:
    radial-gradient(circle at 90% -30%, rgba(255, 255, 255, .28), transparent 40%),
    linear-gradient(135deg, #1769e8, #0a3e91);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 54px rgba(18, 78, 165, .22);
}

.cta-band::before {
  position: absolute;
  width: 150px;
  height: 150px;
  right: 18%;
  bottom: -105px;
  content: "";
  border: 24px solid rgba(242, 122, 36, .5);
  border-radius: 50%;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.35;
}

.cta-band p {
  margin: 8px 0 0;
  color: #dce9ff;
  font-size: 14px;
}

.cta-band .button-primary {
  color: var(--ink-strong);
  background: #fff;
  box-shadow: none;
  white-space: nowrap;
}

.site-footer {
  padding: 62px 0 24px;
  color: #c9d5e6;
  background: var(--ink-strong);
}

.site-footer .brand-copy strong {
  color: #fff;
}

.site-footer .brand-copy small {
  color: #7f91ab;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  padding-bottom: 38px;
}

.footer-copy {
  max-width: 550px;
}

.footer-copy p {
  margin: 18px 0 0;
  color: #8fa0b8;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-content: start;
  gap: 12px 26px;
}

.footer-links a {
  color: #b7c4d6;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: #71839d;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 64px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(37, 120, 239, .48), transparent 34%),
    linear-gradient(135deg, #07152b, #0c2f66);
}

.page-hero::after {
  position: absolute;
  width: 330px;
  height: 330px;
  top: -230px;
  right: 9%;
  content: "";
  border: 58px solid rgba(242, 122, 36, .18);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #95abd0;
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: #fff;
}

.page-hero h1 {
  max-width: 900px;
  margin: 17px 0 13px;
  font-size: clamp(37px, 4.2vw, 54px);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: 1.18;
}

.page-hero p {
  max-width: 800px;
  margin: 0;
  color: #bfcee2;
  font-size: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 28px;
}

.content-grid > *,
.contact-layout > * {
  min-width: 0;
}

body[data-page="services"] .content-grid,
body[data-page="technology"] .content-grid {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

body[data-page="services"] .content-main,
body[data-page="technology"] .content-main {
  grid-row: 2;
  padding-inline: 54px;
}

body[data-page="services"] .content-grid aside,
body[data-page="technology"] .content-grid aside {
  grid-row: 1;
}

body[data-page="services"] .side-card,
body[data-page="technology"] .side-card {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 32px;
  padding: 22px 26px;
}

body[data-page="services"] .side-card strong,
body[data-page="services"] .side-card p,
body[data-page="technology"] .side-card strong,
body[data-page="technology"] .side-card p {
  grid-column: 1;
}

body[data-page="services"] .side-card p,
body[data-page="technology"] .side-card p {
  margin: 6px 0 0;
}

body[data-page="services"] .side-card .button,
body[data-page="technology"] .side-card .button {
  width: auto;
  min-width: 168px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.content-main,
.faq-list {
  padding: 42px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.content-main > :first-child {
  margin-top: 0;
}

.content-main h2 {
  margin: 46px 0 14px;
  color: var(--ink-strong);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.4;
}

.content-main h3 {
  margin: 30px 0 11px;
  color: var(--ink);
  font-size: 18px;
}

.content-main p,
.content-main li {
  color: #52627a;
  font-size: 15px;
  line-height: 1.95;
}

.content-main p {
  margin: 0 0 18px;
}

.content-main ul {
  margin: 14px 0 24px;
  padding-left: 22px;
}

.content-main li + li {
  margin-top: 7px;
}

.data-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 22px 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}

.table-scroll-hint {
  display: none;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--ink-strong);
  background: #edf3fb;
  font-weight: 850;
}

.data-table td {
  color: #5a687d;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.side-card {
  position: sticky;
  top: 108px;
  padding: 27px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.side-card strong {
  display: block;
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1.5;
}

.side-card p {
  margin: 10px 0 21px;
  color: var(--ink-soft);
  font-size: 13px;
}

.side-card .button {
  width: 100%;
}

.faq-list {
  padding-block: 12px;
}

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

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  position: relative;
  padding: 23px 42px 23px 0;
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 2px;
  transition: transform .2s ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 42px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 28px;
}

.contact-info,
.contact-paper {
  min-height: 470px;
  border-radius: var(--radius-lg);
}

.contact-info {
  padding: 46px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(23, 105, 232, .5), transparent 32%),
    var(--ink-strong);
  box-shadow: var(--shadow-md);
}

.contact-info .section-kicker {
  color: #77aef8;
}

.contact-info h2 {
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.35;
}

.contact-info > p {
  margin: 0;
  color: #aebfd5;
}

.contact-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 35px;
}

.contact-points div {
  padding: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
}

.contact-points small,
.contact-points strong {
  display: block;
}

.contact-points small {
  color: #6fa9f5;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: .09em;
}

.contact-points strong {
  margin-top: 8px;
  font-size: 13px;
}

.contact-paper {
  display: grid;
  place-items: center;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.telegram-profile {
  width: 100%;
  text-align: center;
}

.telegram-profile .telegram-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  border-radius: 24px;
}

.telegram-profile .telegram-icon img {
  width: 49px;
  height: 49px;
}

.telegram-profile h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 30px;
}

.telegram-profile .handle {
  margin: 6px 0 0;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 800;
}

.telegram-profile .profile-note {
  margin: 21px auto;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.telegram-button,
.copy-button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.telegram-button {
  color: #fff;
  background: #229ed9;
}

.copy-button {
  color: var(--ink);
  background: #f5f7fa;
  border: 1px solid var(--line);
}

.copy-button.copied {
  color: var(--success);
  background: #eaf9f2;
  border-color: #bce8d4;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(23, 105, 232, .16), transparent 38%),
    var(--canvas);
}

.error-page > div {
  max-width: 620px;
}

.error-code {
  color: var(--blue);
  font: 950 clamp(90px, 18vw, 180px)/.9 "JetBrains Mono", monospace;
  letter-spacing: -.1em;
}

.error-page h1 {
  margin: 25px 0 9px;
  color: var(--ink-strong);
  font-size: 34px;
}

.error-page p {
  margin: 0;
  color: var(--ink-soft);
}

.button-row-center {
  justify-content: center;
}

.lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(4, 13, 28, .9);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
}

.lightbox-close {
  position: fixed;
  z-index: 2;
  width: 44px;
  height: 44px;
  top: 20px;
  right: 20px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

@keyframes packet-flow {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.4vw, 60px);
  }

  .network-map {
    min-height: 200px;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .panel-metrics div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .principles {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    position: relative;
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 5px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav .nav-cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero h1 {
    font-size: clamp(45px, 8vw, 62px);
  }

  .hero-visual {
    max-width: 640px;
  }

  .telegram-card {
    order: 0;
    margin: 0 0 16px;
  }

  .control-panel {
    order: 1;
  }

  .engine-list {
    grid-template-columns: repeat(3, 1fr);
    padding-block: 10px;
  }

  .engine-list span:nth-child(3) {
    border-right: 0;
  }

  .engine-list span {
    min-height: 38px;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 50px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }

  .workflow {
    grid-template-columns: 1fr 1fr;
  }

  .flow-step:nth-child(2) {
    border-right: 0;
  }

  .flow-step:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .principles,
  .content-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .promo-card img {
    height: min(300px, 65vw);
    padding: 10px 12px;
    object-fit: contain;
  }

  .contact-paper {
    order: initial;
  }

  .principle-sticky,
  .side-card {
    position: static;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-grid aside {
    order: initial;
  }

  body[data-page="services"] .content-main,
  body[data-page="technology"] .content-main {
    grid-row: auto;
    padding-inline: 46px;
  }

  body[data-page="services"] .content-grid aside,
  body[data-page="technology"] .content-grid aside {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero {
    padding: 36px 0 42px;
  }

  .hero-grid {
    gap: 28px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: .09em;
  }

  .hero h1 {
    margin: 16px 0;
    font-size: clamp(35px, 9.6vw, 42px);
    line-height: 1.1;
  }

  .hero-lede {
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-notes {
    gap: 8px 12px;
    margin-top: 18px;
  }

  .hero-visual {
    gap: 0;
  }

  .telegram-card {
    grid-template-columns: 48px 1fr auto;
    gap: 11px;
    padding: 14px;
  }

  .telegram-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .telegram-icon img {
    width: 27px;
    height: 27px;
  }

  .telegram-copy small {
    font-size: 8px;
  }

  .telegram-copy strong {
    font-size: 15px;
  }

  .telegram-action {
    padding: 8px 10px;
    font-size: 11px;
  }

  .control-panel {
    padding: 16px 14px 14px;
    border-radius: 22px;
  }

  .network-map {
    min-height: 156px;
  }

  .panel-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .panel-metrics div {
    display: block;
    padding: 9px 7px;
  }

  .panel-metrics strong {
    font-size: 10px;
  }

  .panel-metrics small {
    display: none;
  }

  .engine-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .engine-list span {
    font-size: 11px;
  }

  .section {
    padding: 46px 0;
  }

  .section-tight {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.28;
  }

  .section-intro {
    font-size: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .service-icon svg {
    width: 23px;
    height: 23px;
  }

  .service-card h3 {
    margin: 18px 0 8px;
    font-size: 18px;
  }

  .service-card p {
    line-height: 1.72;
  }

  .text-link {
    position: static;
    display: inline-flex;
    margin-top: 16px;
  }

  .workflow {
    grid-template-columns: 1fr;
    border-radius: 21px;
  }

  .flow-step {
    min-height: 0;
    padding: 20px 21px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .flow-step h3 {
    margin: 11px 0 7px;
    font-size: 18px;
  }

  .flow-step p {
    line-height: 1.7;
  }

  .flow-step::after {
    display: none;
  }

  .promo-grid {
    gap: 16px;
  }

  .promo-card figcaption {
    padding: 15px;
  }

  .promo-card figcaption span {
    display: none;
  }

  .principle-item {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 18px 16px;
  }

  .principles {
    gap: 24px;
  }

  .principle-item h3 {
    font-size: 16px;
  }

  .principle-item p {
    font-size: 13px;
    line-height: 1.7;
  }

  .principle-list > .notice {
    margin: 13px;
  }

  .cta-band {
    gap: 18px;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .cta-band h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .cta-band p {
    font-size: 13px;
    line-height: 1.7;
  }

  .cta-band .button {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .page-hero {
    padding: 42px 0 44px;
  }

  .page-hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .page-hero p {
    font-size: 14px;
  }

  .content-main,
  .faq-list {
    padding: 25px 18px;
    border-radius: 17px;
  }

  body[data-page="services"] .content-main,
  body[data-page="technology"] .content-main {
    padding-inline: 18px;
  }

  .content-main h2 {
    margin-top: 34px;
    font-size: 21px;
  }

  .content-main p,
  .content-main li {
    font-size: 14px;
  }

  .table-scroll-hint {
    position: sticky;
    z-index: 1;
    left: 0;
    width: 100%;
    display: block;
    padding: 8px 11px;
    color: #617189;
    background: #f5f8fc;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    text-align: right;
  }

  .side-card {
    padding: 20px;
  }

  .faq-list {
    padding-block: 5px;
  }

  .faq-list summary {
    padding-block: 20px;
    font-size: 15px;
  }

  .contact-info,
  .contact-paper {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 21px;
  }

  .contact-info h2 {
    font-size: 26px;
  }

  .contact-points {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 24px;
  }

  .contact-points div {
    padding: 14px;
  }

  .telegram-profile .telegram-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 20px;
  }

  .telegram-profile .telegram-icon img {
    width: 41px;
    height: 41px;
  }

  .telegram-profile h2 {
    font-size: 26px;
  }

  .telegram-profile .profile-note {
    margin-block: 16px;
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 18px;
  }

  .site-footer {
    padding: 44px 0 20px;
  }

  .footer-main {
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-copy p {
    margin-top: 14px;
  }

  .footer-bottom {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
