
:root{
  --bg:#0b0c10; --surface:#0f1218; --line:#1a2231;
  --text:#e9ecf2; --muted:#a6adc8;
  --brand:#8fb3ff; --brand2:#66f0a0; --ghost:#2a3146;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 system-ui, Inter, -apple-system, Segoe UI, Arial, sans-serif;scroll-behavior:smooth}
a{color:inherit;text-decoration:none}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(11,12,16,.7);border-bottom:1px solid var(--line);backdrop-filter:blur(6px)}
.header-row{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:12px}
.brand-text{font-weight:800;font-size:22px;letter-spacing:.1px}
.brand .dot{width:15px;height:15px;border-radius:999px;background:linear-gradient(150deg,var(--brand),var(--brand2));box-shadow:0 0 18px rgba(143,179,255,.85),0 0 0 10px rgba(11,12,16,.25);outline:1px solid rgba(143,179,255,.25)}
.nav{display:flex;gap:36px}
.nav a{color:var(--text);opacity:.92;padding:8px 12px;border-radius:10px;transition:background .15s ease,opacity .15s ease}
.nav a:hover{background:#151b2b;opacity:1}

/* hero */
.hero{padding:120px 0 72px;background:radial-gradient(1100px 520px at 70% -10%, rgba(143,179,255,.12), transparent)}
.eyebrow{color:#9aa2bb;letter-spacing:.25em;text-transform:uppercase;font-size:12px;margin:0 0 16px}
h1{font-size:52px;line-height:1.05;margin:0 0 14px;font-weight:800}
.lead{color:var(--muted);max-width:70ch;font-size:18px}
.cta{display:flex;gap:14px;margin-top:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 18px;border-radius:12px;border:1px solid var(--ghost);font-weight:600}
.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#0b0c10;border:none}
.btn.ghost{background:#0f1322;color:var(--text);border-color:#0f1322}

/* sections */
.section{padding:64px 0;border-top:1px solid var(--line)}
h2{font-size:28px;margin:0 0 18px}
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;list-style:none;padding:0;margin:0}
.services li{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px}
.services h3{margin:6px 0 6px;font-size:18px}
.services p{margin:0;color:var(--muted)}

.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;list-style:none;padding:0;margin:0}
.principles li{background:#0d1018;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start}
.principles li span{width:26px;height:26px;border-radius:999px;background:#141824;border:1px solid rgba(255,255,255,.03);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted)}

/* contact */
.contact{display:grid;gap:12px;max-width:600px}
input,textarea{width:100%;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:#0d111a;color:var(--text)}
textarea{min-height:140px;resize:vertical}
.note{color:var(--muted);font-size:13px}
.note a{color:var(--brand)}

/* footer */
footer{border-top:1px solid var(--line);padding:32px 0 64px;color:#9aa2bb}

/* to top */
#toTop{
  position:fixed;right:20px;bottom:24px;width:52px;height:52px;border-radius:999px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  border:1px solid rgba(255,255,255,.2);
  display:grid;place-items:center;color:#0b0c10;font-weight:800;cursor:pointer;
  opacity:0;pointer-events:none;transform:translateY(10px);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
  transition:opacity .25s ease, transform .25s ease, box-shadow .2s ease;
}
#toTop.show{opacity:1;pointer-events:auto;transform:translateY(0)}
#toTop:hover{box-shadow:0 14px 32px rgba(102,240,160,.4)}
#toTop span{transform:translateY(-1px);font-size:20px}

@media (max-width: 980px){
  .nav{gap:20px}
  .services{grid-template-columns:1fr}
  .principles{grid-template-columns:1fr}
  h1{font-size:40px}
  .cta{flex-wrap:wrap}
}

@media (max-width: 980px){
  .header-row{gap:16px}
  .nav{gap:14px;flex-wrap:wrap;justify-content:flex-end}
  .hero{padding:96px 0 56px}
  h1{font-size:38px;line-height:1.08}
  .services{grid-template-columns:1fr}
  .principles{grid-template-columns:1fr}
  .grid-list{display:grid;grid-template-columns:1fr;gap:10px}
}
@media (max-width: 640px){
  .header-row{flex-wrap:wrap;justify-content:space-between}
  .nav{width:100%;justify-content:flex-start}
  .cta{flex-direction:column;align-items:flex-start}
  h1{font-size:32px}
  .hero{padding-top:88px}
  .contact{width:100%}
  #toTop{right:14px;bottom:14px}
}



/* pricing & lang switch */
.lang-switch{
  margin:24px 0 18px;
  display:inline-flex;
  padding:4px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--line);
}
.lang-btn{
  border:0;
  background:transparent;
  color:var(--muted);
  font-size:13px;
  padding:6px 14px;
  border-radius:999px;
  cursor:pointer;
}
.lang-btn.active{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#0b0c10;
  font-weight:600;
}
.pricing{
  margin-top:8px;
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:18px 0 10px;
}
.pricing-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 18px 16px;
}
.pricing-card h4{
  margin:0 0 8px;
  font-size:17px;
}
.pricing-range{
  margin:0 0 10px;
  font-size:14px;
  color:var(--muted);
}
.pricing-card ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
}
.section-separator{
  margin:40px 0 26px;
  border:0;
  border-top:1px solid var(--line);
}
@media (max-width: 980px){
  .pricing-grid{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:18px;
    scrollbar-width:none;
  }
  .nav::-webkit-scrollbar{display:none;}
  .header-row{flex-wrap:nowrap}
}


/* Доступные текстовые ссылки (в абзацах/примечаниях) */
p a, .note a, li a, .prose a, .text a, .content a, a.u-link {
  color: #a9c7ff;                 /* достаточный контраст на тёмном фоне */
  text-decoration: underline;     /* не только цветом */
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

p a:hover, .note a:hover, li a:hover, .prose a:hover, .text a:hover, .content a:hover, a.u-link:hover {
  color: #d2e6ff;
}

p a:focus-visible, .note a:focus-visible, li a:focus-visible,
.prose a:focus-visible, .text a:focus-visible, .content a:focus-visible, a.u-link:focus-visible {
  outline: 2px solid #8fb3ff;     /* явный фокус */
  outline-offset: 3px;
  border-radius: 4px;
}

/* значок для внешних ссылок (доп.признак, не обязателен) */
a.u-link[data-ext="1"]::after {
  content: "↗";
  margin-left: .25em;
  opacity: .7;
  font-size: .9em;
}