:root {
  color-scheme: dark;
  --bg: #020613;
  --panel: rgba(9, 18, 38, 0.88);
  --panel-strong: rgba(13, 24, 49, 0.96);
  --line: rgba(170, 188, 255, 0.16);
  --line-strong: rgba(103, 231, 143, 0.42);
  --text: #f7fbff;
  --muted: #b9c4d9;
  --soft: #8390aa;
  --green: #55f28b;
  --purple: #8d55ff;
  --purple-2: #c47dff;
  --blue: #2278ff;
  --cyan: #38d9ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 68% 8%, rgba(129, 71, 255, 0.22), transparent 31rem),
    radial-gradient(circle at 26% 38%, rgba(46, 240, 134, 0.12), transparent 28rem),
    linear-gradient(180deg, #030717 0%, #061023 48%, #020613 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), transparent 82%);
}

.site-watermark {
  position: fixed;
  left: 50%;
  top: 52%;
  width: min(720px, 74vw);
  transform: translate(-50%, -50%);
  opacity: 0.045;
  filter: grayscale(1) brightness(1.7);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); line-height: 1.68; margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
section { padding: 44px 24px; }
.wrap { width: min(var(--max), calc(100vw - 48px)); margin: 0 auto; }
.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-kicker {
  width: 30px;
  height: 4px;
  background: var(--green);
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 0 18px rgba(85, 242, 139, 0.65);
}
.section-head { margin-bottom: 24px; max-width: 720px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.08; }
.section-head p { margin-top: 12px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--green);
  color: #03110a;
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #fff; }
:focus-visible { outline: 3px solid rgba(85, 242, 139, 0.9); outline-offset: 4px; border-radius: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 19, 0.82);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
}
.brand img { width: 58px; height: 38px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.14rem; letter-spacing: 0.06em; }
.brand small { color: var(--muted); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #d9e1ef;
  font-size: 0.92rem;
}
.cloud-link { color: #63a0ff; display: inline-flex; align-items: center; gap: 7px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.34); }
.btn-primary { background: linear-gradient(135deg, #7339ef, #a64eff); box-shadow: 0 16px 34px rgba(141, 85, 255, 0.28); }
.btn-outline { border-color: rgba(85, 242, 139, 0.48); background: rgba(4, 24, 22, 0.4); }
.btn-green { color: #07130d; background: var(--green); border-color: var(--green); }
.icon-arrow { width: 18px; height: 18px; }

.hero { padding-top: 64px; }
.hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 34px;
}
.hero-copy h1 {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(2.45rem, 5.3vw, 5rem);
  line-height: 1.05;
}
.hero-copy p { max-width: 600px; margin-top: 22px; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art {
  min-height: 450px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  width: min(590px, 100%);
  aspect-ratio: 1.55;
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(85,242,139,0.22), transparent 10%),
    radial-gradient(circle at 50% 44%, rgba(141,85,255,0.28), transparent 35%),
    radial-gradient(circle at 50% 70%, rgba(34,120,255,0.16), transparent 48%);
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  inset: 8% 2%;
  border: 1px solid rgba(125, 96, 255, 0.42);
  border-radius: 50%;
}
.orbit::after { inset: 20% 12%; border-color: rgba(85, 242, 139, 0.28); transform: rotate(-10deg); }
.shield-core {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  width: 126px;
  height: 144px;
  border: 2px solid var(--green);
  clip-path: polygon(50% 0, 93% 16%, 83% 78%, 50% 100%, 17% 78%, 7% 16%);
  background: rgba(7, 38, 36, 0.64);
  box-shadow: 0 0 46px rgba(85, 242, 139, 0.38);
}
.shield-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 42px;
  height: 32px;
  transform: translate(-50%, -50%);
  border: 3px solid #caffdf;
  border-radius: 6px;
}
.shield-core::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 26px;
  height: 22px;
  transform: translate(-50%, -50%);
  border: 3px solid #caffdf;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.tower, .rack, .cloud {
  position: absolute;
  border: 1px solid rgba(178, 157, 255, 0.38);
  background: rgba(21, 16, 51, 0.54);
  box-shadow: inset 0 0 30px rgba(141,85,255,0.16);
}
.tower { left: 4%; bottom: 7%; width: 116px; height: 180px; clip-path: polygon(0 20%, 46% 0, 100% 24%, 100% 100%, 0 100%); }
.rack { right: 5%; bottom: 9%; width: 116px; height: 164px; border-radius: 8px; }
.rack i { display: block; height: 16px; margin: 22px; border-radius: 20px; background: linear-gradient(90deg, rgba(85,242,139,0.7), rgba(141,85,255,0.4)); }
.cloud { left: 41%; top: 2%; width: 150px; height: 68px; border-radius: 60px; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; border: inherit; }
.cloud::before { width: 76px; height: 76px; left: 18px; top: -34px; }
.cloud::after { width: 88px; height: 88px; right: 12px; top: -42px; }
.node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.n1 { left: 31%; top: 33%; } .n2 { right: 28%; top: 30%; } .n3 { left: 47%; bottom: 24%; } .n4 { right: 14%; bottom: 38%; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card, .product-card, .faq-card, .client-card, .mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(13,24,49,0.92), rgba(7,14,31,0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.service-card {
  min-height: 168px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 26px;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
  will-change: transform;
}
.service-card.featured { border-color: rgba(141,85,255,0.5); box-shadow: inset 0 -7px 0 rgba(141,85,255,0.76); }
.service-card:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(85, 242, 139, 0.42);
  background: linear-gradient(145deg, rgba(17,30,62,0.96), rgba(8,17,38,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 42px rgba(0,0,0,0.25);
}
.service-card.featured:hover {
  border-color: rgba(196, 125, 255, 0.72);
  box-shadow: inset 0 -7px 0 rgba(141,85,255,0.86), 0 20px 42px rgba(0,0,0,0.25);
}
.card-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--green);
  background: rgba(85,242,139,0.08);
}
.card-icon.purple { color: var(--purple-2); background: rgba(141,85,255,0.12); }
.card-icon.blue { color: #7db5ff; background: rgba(34,120,255,0.12); }
.card-icon svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform 240ms ease, filter 240ms ease; }
.service-card:hover .card-icon svg { transform: scale(1.08); filter: drop-shadow(0 0 14px currentColor); }
.service-card h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.service-card p { font-size: 0.94rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.product-card {
  min-height: 236px;
  position: relative;
  overflow: hidden;
  padding: 24px;
}
.product-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(85,242,139,0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141,85,255,0.24), transparent 58%);
}
.product-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197,211,255,0.38);
  border-radius: 50%;
  color: #dfe8ff;
  font-size: 0.82rem;
}
.product-card h3 { margin-top: 20px; font-size: 1.08rem; }
.product-card p { margin-top: 8px; font-size: 0.93rem; max-width: 88%; }
.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
}

.custom-dev {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(141,85,255,0.46);
  border-radius: 12px;
  padding: 34px;
  background:
    radial-gradient(circle at 12% 20%, rgba(85,242,139,0.14), transparent 16rem),
    radial-gradient(circle at 86% 58%, rgba(141,85,255,0.28), transparent 18rem),
    linear-gradient(145deg, rgba(9,18,42,0.94), rgba(5,11,28,0.92));
  box-shadow: 0 22px 60px rgba(0,0,0,0.2);
}
.custom-dev-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  line-height: 1.04;
  max-width: 680px;
}
.custom-dev-copy p { margin-top: 16px; max-width: 700px; }
.custom-dev-panel {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  background: rgba(7,14,31,0.74);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.custom-dev-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(85,242,139,0.42);
  box-shadow: 0 20px 42px rgba(0,0,0,0.24);
}
.custom-dev-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--green);
  background: rgba(85,242,139,0.08);
  margin-bottom: 20px;
}
.custom-dev-icon svg { width: 56px; height: 56px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.custom-dev-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.custom-dev-columns h3 { font-size: 1rem; margin-bottom: 10px; }
.custom-dev-columns ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.72; }

.converze-band {
  border: 1px solid rgba(34,120,255,0.58);
  border-radius: 12px;
  padding: 32px;
  background:
    radial-gradient(circle at 72% 50%, rgba(56,217,255,0.22), transparent 28rem),
    linear-gradient(135deg, rgba(5,54,138,0.9), rgba(5,18,54,0.9));
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(20, 105, 255, 0.16);
}
.converze-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.converze-item {
  min-height: 152px;
  display: grid;
  place-items: center;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding: 20px;
}
.converze-item svg { width: 64px; height: 64px; stroke: #e7f1ff; fill: none; stroke-width: 1.45; filter: drop-shadow(0 0 14px rgba(255,255,255,0.25)); }
.converze-item strong { display: block; margin-top: 12px; }

.clients-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.client-card {
  height: 88px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.045);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
  position: relative;
  cursor: pointer;
  appearance: none;
  font: inherit;
  color: inherit;
}
.client-card:hover,
.client-card:focus-visible,
.client-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(85,242,139,0.46);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.24);
  z-index: 4;
}
.client-card.is-active { border-color: rgba(196,125,255,0.72); box-shadow: 0 0 0 1px rgba(196,125,255,0.18), 0 16px 34px rgba(0,0,0,0.28); }
.client-card img,
.client-logo {
  max-height: 58px;
  max-width: 124px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.86;
  transition: transform 240ms ease, filter 240ms ease, opacity 240ms ease;
}
.client-card:hover img,
.client-card:focus-visible img,
.client-card.is-active img {
  transform: scale(1.08);
  filter: none;
  opacity: 1;
}
.client-card.ats img,
.client-card .logo-ats {
  max-width: 110px;
  max-height: 38px;
  filter: none;
  background: #fff;
  border-radius: 5px;
  padding: 5px;
}
.client-card .logo-jf { max-width: 118px; max-height: 70px; }
.client-card .logo-neguev { max-width: 132px; max-height: 54px; }
.client-card .logo-innova { max-width: 110px; max-height: 50px; }
.client-card .logo-qoculos { max-width: 78px; max-height: 66px; }
.client-card .logo-sistema { max-width: 78px; max-height: 64px; }
.client-card .logo-rp { max-width: 88px; max-height: 64px; }
.client-card .logo-condominio { max-width: 58px; max-height: 66px; }
.client-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(5px);
  width: max-content;
  max-width: 210px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 10, 25, 0.98);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.client-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -4px) rotate(45deg);
  background: rgba(4, 10, 25, 0.98);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client-card:hover .client-tooltip,
.client-card:focus-visible .client-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.case-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: stretch;
}
.case-metric, .case-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8,17,38,0.82);
  padding: 28px;
}
.client-story { transition: opacity 220ms ease, transform 220ms ease; }
.client-story.is-changing { opacity: 0; transform: translateY(6px); }
.client-story.is-simple {
  display: block;
}
.client-story.is-simple .case-metric {
  display: none;
}
.client-story.is-simple .case-copy {
  max-width: 920px;
  margin: 0 auto;
}
.metric-line { display: inline-flex; align-items: center; justify-content: flex-start; gap: clamp(10px, 1.6vw, 18px); margin-top: 18px; }
.metric-line strong { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; color: var(--green); }
.metric-line span { color: var(--purple-2); font-weight: 900; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1; }
.case-metric .story-source { display: block; margin-top: 18px; color: var(--green); font-weight: 900; }
.case-copy h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.case-copy p { margin-top: 14px; }
.case-copy .id { margin-top: 18px; color: var(--text); font-weight: 800; }

.faq-cta { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 24px; align-items: stretch; }
.faq-list { display: grid; gap: 8px; }
.faq-card { overflow: hidden; }
.faq-card summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  cursor: pointer;
  color: #e8eefb;
  list-style: none;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { content: "+"; color: var(--text); font-size: 1.25rem; }
.faq-card[open] summary::after { content: "-"; }
.faq-card p { padding: 0 16px 16px; font-size: 0.94rem; }
.cta-panel {
  min-height: 240px;
  border: 1px solid rgba(141,85,255,0.48);
  border-radius: 12px;
  padding: 38px 42px;
  background:
    radial-gradient(circle at 82% 46%, rgba(141,85,255,0.34), transparent 13rem),
    linear-gradient(135deg, rgba(32,20,83,0.95), rgba(7,14,31,0.9));
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -30px;
  width: 170px;
  height: 170px;
  border: 2px solid rgba(85,242,139,0.35);
  transform: rotate(-26deg);
  border-radius: 46% 54% 48% 52%;
}
.cta-panel h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.04; max-width: 520px; }
.cta-panel p { margin: 14px 0 24px; max-width: 560px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px 18px;
  background: rgba(2,6,19,0.86);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer h2, .footer h3 { font-size: 0.88rem; text-transform: uppercase; color: #dfe8ff; margin-bottom: 12px; }
.footer p, .footer a { color: var(--muted); font-size: 0.9rem; }
.footer a { display: block; margin: 7px 0; }
.footer-brand img { width: 190px; max-height: 58px; object-fit: contain; margin-bottom: 14px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; margin: 0; transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease; }
.socials a:hover { transform: translateY(-2px); border-color: rgba(85,242,139,0.5); background: rgba(85,242,139,0.08); color: var(--green); }
.socials a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; color: var(--soft); font-size: 0.82rem; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

.landing-hero { padding-top: 70px; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr); gap: 28px; align-items: center; }
.landing-hero h1 { margin-top: 14px; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1.04; }
.landing-hero p { margin-top: 18px; font-size: 1.1rem; max-width: 760px; }
.abstract-panel {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 44%, rgba(85,242,139,0.22), transparent 6rem),
    radial-gradient(circle at 52% 55%, rgba(141,85,255,0.28), transparent 13rem),
    rgba(8,17,38,0.76);
  display: grid;
  place-items: center;
}
.abstract-panel svg { width: 210px; max-width: 74%; stroke: #dfe8ff; fill: none; stroke-width: 1.4; filter: drop-shadow(0 0 24px rgba(141,85,255,0.42)); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-card { padding: 22px; }
.mini-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.mini-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.wide-card { grid-column: span 2; }

.legal-header {
  padding: 30px 24px 18px;
}
.legal-nav {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 14, 31, 0.7);
  padding: 12px 16px;
}
.legal-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(85, 242, 139, 0.48);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  background: rgba(4, 24, 22, 0.4);
}
.legal-hero {
  padding-top: 22px;
  padding-bottom: 20px;
}
.legal-hero h1 {
  max-width: 920px;
  margin-top: 12px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1.05;
}
.legal-hero p {
  max-width: 760px;
  margin-top: 16px;
  font-size: 1.08rem;
}
.updated-at {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(85, 242, 139, 0.32);
  border-radius: 999px;
  color: var(--green);
  background: rgba(85, 242, 139, 0.08);
  font-weight: 800;
  font-size: 0.9rem;
}
.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.legal-index {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 17, 38, 0.82);
  padding: 18px;
}
.legal-index summary {
  list-style: none;
  cursor: default;
  color: var(--text);
  font-weight: 900;
}
.legal-index summary::-webkit-details-marker { display: none; }
.legal-index ol {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}
.legal-index a {
  display: inline-block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 5px 0;
}
.legal-index a:hover { color: var(--green); }
.legal-document {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(8, 17, 38, 0.93), rgba(5, 11, 25, 0.9));
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}
.legal-document section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(170, 188, 255, 0.12);
}
.legal-document section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-document h2 {
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.22;
  margin-bottom: 12px;
}
.legal-document p + p { margin-top: 12px; }
.legal-document ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}
.legal-document a {
  color: var(--green);
  font-weight: 800;
}
.legal-contact {
  border: 1px solid rgba(85, 242, 139, 0.28);
  border-radius: 12px;
  padding: 22px;
  background: rgba(85, 242, 139, 0.06);
}
.legal-contact h2 { margin-bottom: 8px; }
.legal-contact .contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.legal-contact .contact-lines a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 980px) {
  .hero-grid, .converze-band, .case-grid, .faq-cta, .landing-grid, .custom-dev { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .service-grid, .product-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-row { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .converze-item:first-child { border-left: 0; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4,10,25,0.98);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
}

@media (max-width: 760px) {
  section { padding: 34px 18px; }
  .wrap { width: min(100%, calc(100vw - 32px)); }
  .nav { min-height: 64px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4,10,25,0.98);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .brand strong { font-size: 1rem; }
  .hero { padding-top: 34px; }
  .hero-grid { min-height: auto; }
  .hero-actions, .legal-links, .footer-bottom { flex-direction: column; }
  .btn { width: 100%; }
  .hero-art { min-height: 290px; }
  .tower, .rack { opacity: 0.7; transform: scale(0.82); }
  .cloud { transform: scale(0.78); }
  .service-grid, .product-grid, .content-grid, .converze-products, .footer-grid, .custom-dev-columns { grid-template-columns: 1fr; }
  .custom-dev { padding: 24px; }
  .clients-row {
    display: flex;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-snap-type: x proximity;
  }
  .client-card {
    flex: 0 0 138px;
    min-width: 138px;
    height: 88px;
    scroll-snap-align: start;
  }
  .client-tooltip {
    display: none;
  }
  .service-card { grid-template-columns: 1fr; }
  .converze-item { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .client-card { height: 86px; }
  .wide-card { grid-column: auto; }
  .site-watermark { width: 92vw; opacity: 0.04; }
  .legal-header { padding: 18px 16px 6px; }
  .legal-nav {
    min-height: auto;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .legal-nav .brand {
    min-width: 0;
    width: 100%;
  }
  .legal-back {
    width: 100%;
  }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index { position: static; padding: 0; overflow: hidden; }
  .legal-index summary {
    cursor: pointer;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }
  .legal-index summary::after { content: "+"; font-size: 1.2rem; }
  .legal-index[open] summary::after { content: "-"; }
  .legal-index ol { padding: 0 18px 16px 36px; }
  .legal-document { padding: 22px; }
  .legal-contact .contact-lines { flex-direction: column; }
}

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