:root{
  --bg0:#0b0c10;
  --bg1:#11131a;
  --card:#0f1117cc;
  --stroke:#ffffff1a;
  --text:#eef2ff;
  --muted:#c7cde0cc;
  --muted2:#a9b2ccaa;
  --accent:#7c5cff;
  --accent2:#19d3ff;

  --radius:20px;
  --shadow: 0 22px 60px rgba(0,0,0,.45);
}

@media (prefers-color-scheme: light){
  :root{
    --bg0:#f6f7fb;
    --bg1:#eef1fb;
    --card:#ffffffcc;
    --stroke:#11131a14;
    --text:#0e1220;
    --muted:#2b3553cc;
    --muted2:#2b355399;
    --shadow: 0 18px 46px rgba(10,14,25,.12);
  }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 10% 10%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(800px 500px at 90% 20%, rgba(25,211,255,.14), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  display:grid;
  place-items:center;
  padding:24px;
}

.card{
  width:min(980px, 100%);
  border:1px solid var(--stroke);
  background:var(--card);
  backdrop-filter: blur(10px);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:6px 4px 18px;
  border-bottom:1px solid var(--stroke);
}

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

.mark{
  width:100px;
  height:100px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.5px;
  background:
    linear-gradient(135deg, rgba(124,92,255,.95), rgba(25,211,255,.7));
  color:white;
  box-shadow: 0 12px 26px rgba(124,92,255,.25);
  user-select:none;
}

.mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:12px;
}

.brand-text{ min-width: 0; }

h1{
  margin:0;
  font-size:26px;
  line-height:1.15;
  letter-spacing:.2px;
}

.tagline{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}

.cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  color:var(--text);
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  background: rgba(255,255,255,.04);
}

.btn:hover{ transform: translateY(-1px); border-color: rgba(124,92,255,.35); }
.btn:active{ transform: translateY(0); }

.btn.primary{
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(124,92,255,.95), rgba(25,211,255,.75));
  color:white;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  padding-top:18px;
}

.block{
  grid-column: span 6;
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:16px 16px 14px;
  background: rgba(255,255,255,.03);
}

.block.wide{ grid-column: span 12; }

h2{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:.2px;
}

.list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.list li{ margin:6px 0; }

.contacts{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
  font-size:14px;
}

.contacts li{
  display:flex;
  gap:10px;
  align-items:baseline;
  justify-content:space-between;
  border-bottom:1px dashed rgba(255,255,255,.10);
  padding-bottom:8px;
}

.contacts li:last-child{ border-bottom:none; padding-bottom:0; }

.k{
  color:var(--muted2);
  min-width:72px;
}

a{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px solid rgba(124,92,255,.0);
  transition: border-color .12s ease, color .12s ease;
}

a:hover{
  color: var(--text);
  border-bottom-color: rgba(124,92,255,.55);
}

.about{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:14px;
}

.note{
  margin-top:12px;
  border:1px solid rgba(124,92,255,.25);
  background: rgba(124,92,255,.10);
  padding:12px 12px;
  border-radius:16px;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.note strong{ color:var(--text); }

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.chip{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:12.5px;
  letter-spacing:.15px;
}

.footer{
  margin-top:14px;
  padding:12px 4px 2px;
  color:var(--muted2);
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:13px;
}

.sep{ opacity:.5; }

.muted{ color: var(--muted2); }

/* Доступность: заметный фокус */
:focus-visible{
  outline: 3px solid rgba(124,92,255,.45);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Адаптивность */
@media (max-width: 820px){
  .hero{ flex-direction:column; align-items:flex-start; }
  .cta{ justify-content:flex-start; }
  .block{ grid-column: span 12; }
  .contacts li{ flex-direction:column; align-items:flex-start; }
}

/* Печать (можно распечатать как визитку/лист) */
@media print{
  body{ background:white; padding:0; }
  .card{
    box-shadow:none;
    backdrop-filter:none;
    background:white;
    color:#0e1220;
    border:1px solid #ddd;
  }
  a{ color:#0e1220; }
}
