:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #050507;
  --surface: #0d0d13;
  --surface-2: #14121b;
  --line: rgba(208, 189, 255, 0.14);
  --text: #f8f7fb;
  --soft: #aba5b8;
  --accent: #9b6cff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 85% 0, rgba(100, 39, 154, 0.2), transparent 32%), var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.wiki-header,
main,
footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.wiki-header { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 14px; }
.brand span { display: grid; }
.brand strong { font-size: 16px; }
.brand small { color: var(--soft); }
.wiki-header nav { display: flex; flex-wrap: wrap; gap: 22px; color: var(--soft); font-size: 14px; }
.wiki-header nav a:hover { color: #fff; }

main { display: grid; gap: 24px; padding: 56px 0 90px; }
.hero { display: grid; min-height: 520px; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 52px; }
.eyebrow { color: #ba9aff; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; }
h1 { max-width: 780px; margin: 22px 0 20px; font-size: clamp(44px, 7vw, 82px); line-height: 0.98; letter-spacing: -0.06em; }
h1 em { background: linear-gradient(90deg, #59ddff, #9b6cff); background-clip: text; color: transparent; font-style: normal; }
.hero p { max-width: 650px; color: var(--soft); font-size: 18px; line-height: 1.7; }
.show-chat-mark { width: min(440px, 100%); justify-self: center; filter: drop-shadow(0 32px 55px rgba(126, 66, 223, 0.28)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--line); border-radius: 14px; font-weight: 750; }
.button.primary { border: 0; background: linear-gradient(120deg, #55d9ff, #9b5cff); color: #09070d; }
.button.secondary { background: var(--surface); }

.card,
.team-section,
.support-card { border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(19, 17, 25, 0.96), rgba(10, 10, 14, 0.98)); }
.history-card { display: grid; grid-template-columns: 80px 1fr; gap: 30px; padding: 42px; }
.section-number { color: #9e73f4; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; }
h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.035em; }
.history-card p,
.team-copy p,
.support-card p { color: var(--soft); line-height: 1.72; }

.team-section { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: 44px; padding: 24px; }
.company-logo-card { display: grid; min-height: 390px; place-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; background: #000; }
.company-logo-card img { width: 100%; height: 100%; object-fit: contain; }
.team-copy { align-self: center; padding: 28px 30px 28px 0; }
.team-copy .section-number { display: block; margin-bottom: 18px; }
dl { display: grid; gap: 0; margin: 26px 0 0; }
dl div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
dt { color: var(--soft); }
dd { margin: 0; font-weight: 750; }

.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.install-grid article > span { color: #a87cff; font-size: 11px; font-weight: 900; letter-spacing: 0.18em; }
.install-grid h2 { margin-top: 34px; font-size: 24px; }
.install-grid p { color: var(--soft); line-height: 1.6; }
.install-grid a { color: #72dfff; font-weight: 750; }

.support-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 44px; padding: 42px; }
.support-card .section-number { display: block; margin-bottom: 16px; }
.support-links { display: grid; gap: 10px; }
.support-links a { min-width: 260px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(155, 108, 255, 0.08); font-weight: 750; }

footer { display: flex; min-height: 80px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; }

@media (max-width: 800px) {
  .wiki-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 40px 0; }
  .show-chat-mark { width: min(360px, 84vw); grid-row: 1; }
  .history-card { grid-template-columns: 1fr; padding: 28px; }
  .team-section { grid-template-columns: 1fr; }
  .team-copy { padding: 16px 6px 12px; }
  .company-logo-card { min-height: 300px; }
  .install-grid { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; padding: 28px; }
  .support-links a { min-width: 0; }
}
