:root{
  --violet: 108 75 244;
  --violet-2: 139 107 255;
  --ink: #1c1a2b;
  --ink-soft: #6b6880;
  --line: #e9e5f7;
  --surface-2: #f4f2fd;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(58, 36, 140, 0.10);
}
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ margin:0; padding:0; }
body{
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(60% 40% at 85% 0%, rgba(139,107,255,.24), transparent 70%),
    radial-gradient(55% 36% at 10% 6%, rgba(108,75,244,.16), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, rgba(70,206,180,.12), transparent 70%),
    #f7f5ff;
  -webkit-tap-highlight-color: transparent;
}
.wrap{ max-width: 560px; margin: 0 auto; padding: 16px 16px calc(30px + env(safe-area-inset-bottom)); }

/* header */
header{ display:flex; align-items:center; gap:11px; margin-bottom: 16px; }
.mark{ width:44px; height:44px; border-radius:15px; background:#fff; box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none; }
.mark img{ width:100%; height:100%; object-fit:contain; }
.who{ display:flex; flex-direction:column; line-height:1.25; }
.who strong{ font-size:.95rem; }
.who span{ font-size:.74rem; color: var(--ink-soft); }
.top-link{
  margin-inline-start:auto; text-decoration:none; font-size:.78rem; font-weight:800;
  color: rgb(var(--violet)); background:#fff; border:1px solid var(--line);
  padding: 8px 14px; border-radius:999px; box-shadow: 0 4px 14px rgba(58,36,140,.07);
}

/* hero */
.hero{
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 22px 18px 18px;
  margin-bottom: 20px;
}
h1{
  font-size: 1.62rem; line-height:1.35; margin:0 0 10px; letter-spacing:-0.015em;
}
h1 br + *{ display:inline; }
.lead{ margin:0; font-size:.93rem; line-height:1.85; color:#3b3850; }
.cta{ display:flex; gap:9px; margin:16px 0 14px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  text-decoration:none; border:0; cursor:pointer;
  font: inherit; font-size:.9rem; font-weight:800;
  padding: 13px 18px; border-radius: 16px;
  color:#fff; background: linear-gradient(135deg, rgb(var(--violet)), rgb(var(--violet-2)));
  box-shadow: 0 10px 22px rgba(108,75,244,.28);
  flex:1;
}
.btn.ghost{ background:#fff; color: rgb(var(--violet)); border:1px solid var(--line); box-shadow: 0 6px 16px rgba(58,36,140,.07); }
.btn.small{ flex:none; padding: 11px 16px; font-size:.82rem; border-radius:14px; margin-top:12px; }
.btn.wide{ width:100%; margin-top:14px; }
.btn:active{ transform: scale(.99); }
.facts{ list-style:none; display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; }
.facts li{
  font-size:.72rem; font-weight:700; color: var(--ink-soft);
  background: var(--surface-2); border-radius:999px; padding: 6px 11px;
}

/* sections */
.sec-title{
  font-size:.82rem; font-weight:800; letter-spacing:.02em; color: var(--ink-soft);
  margin: 22px 4px 10px;
}
.card{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 12px;
}
.card h3{ font-size:1.02rem; margin:0 0 6px; }
.card p{ margin:0; font-size:.88rem; line-height:1.8; color:#3b3850; }
.p-head{ display:flex; align-items:center; gap:9px; margin-bottom:6px; }
.p-ico{ font-size:1.05rem; line-height:1; }
.tags{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:11px 0 0; padding:0; }
.tags li{
  font-size:.72rem; font-weight:700; color: rgb(var(--violet));
  background: rgba(108,75,244,.09); border-radius:999px; padding: 5px 10px;
}
.tags.big li{ font-size:.78rem; padding: 7px 12px; }
.muted{ color: var(--ink-soft) !important; font-size:.78rem !important; }

/* placeholders — clearly marked, not broken */
.empty{
  border: 1.5px dashed #d6cdf5;
  background: rgba(255,255,255,.55);
  box-shadow:none;
}
.ph-tag{
  display:inline-block; font-size:.66rem; font-weight:800; letter-spacing:.02em;
  color: #8a7ad6; background:#f1edff; border-radius:999px; padding: 4px 9px; margin-bottom:8px;
}
.ph-line{ display:inline-block; margin-top:10px; font-size:.78rem; font-weight:700; color:#8a7ad6; }

/* contact rows */
.contact .row{ display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding: 13px 14px; border-radius:16px; margin-bottom:10px; }
.contact .row .ph-tag{ align-self:center; margin:0; }
.contact .row .row-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; }
.contact .row strong{ font-size:.9rem; }

/* footer */
footer{
  margin-top: 22px; text-align:center; font-size:.72rem; color: var(--ink-soft);
  display:flex; justify-content:center; gap:6px; flex-wrap:wrap;
}

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