@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap');

:root {
  --bg: #0b1020;
  --surface: #121a31;
  --surface-soft: #17213f;
  --text: #eaf0ff;
  --muted: #afbddf;
  --line: #2a3a6a;
  --accent: #36e4b2;
  --accent-strong: #1dd39f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Mulish', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
body.is-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.sp-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sp-section { padding: 64px 0; }

.sp-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 16, 32, 0.94);
  border-bottom: 1px solid var(--line);
}
.sp-top__bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.sp-brand img { width: 154px; height: auto; }
.sp-nav__list {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.sp-nav__list a {
  font-size: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.sp-nav__list a:hover { border-color: var(--accent); }
.sp-actions { display: flex; align-items: center; gap: 10px; }
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}
.sp-btn:hover { border-color: var(--accent); }
.sp-btn--accent {
  background: var(--accent);
  color: #091026;
  border-color: var(--accent);
}
.sp-btn--accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }

.sp-burger {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

.sp-hero { padding: 30px 0 54px; }
.sp-hero__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.sp-hero__media img { width: 100%; min-height: 360px; object-fit: cover; }
.sp-hero__content {
  position: absolute;
  inset: auto auto 34px 34px;
  width: min(620px, calc(100% - 52px));
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid rgba(234, 240, 255, 0.14);
  border-radius: 18px;
  padding: 24px;
}
h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.2; }
h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.25; }
h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; }
h4 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
p { margin: 0 0 14px; color: var(--muted); }

.sp-grid,
.sp-cardrow,
.sp-faq,
.sp-foot__grid,
.sp-mini,
.sp-doc {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.sp-card,
.sp-faq__item,
.sp-doc__block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.sp-grid .sp-card { flex: 1 1 270px; }
.sp-cardrow .sp-card { flex: 1 1 230px; }
ul { margin: 0; padding-left: 18px; color: var(--muted); }
li { margin-bottom: 8px; }

.sp-faq__item { flex: 1 1 100%; padding: 0; overflow: hidden; }
.sp-faq__trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 18px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.sp-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  padding: 0 20px;
}
.sp-faq__panel p { margin-bottom: 18px; }

.sp-foot {
  padding: 54px 0 30px;
  border-top: 1px solid var(--line);
  background: #070b17;
}
.sp-foot__grid > div { flex: 1 1 210px; }
.sp-foot__icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sp-foot__icons img { width: 38px; height: 38px; object-fit: contain; }
.sp-foot__copy {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  z-index: 25;
}
.sp-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .sp-burger { display: inline-flex; align-items: center; justify-content: center; }
  .sp-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(330px, 92vw);
    background: #0f1630;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: .24s;
    z-index: 28;
    padding: 90px 24px 24px;
  }
  .sp-nav.is-open { transform: translateX(0); }
  .sp-nav__list { flex-direction: column; gap: 18px; }
  .sp-hero__content { position: static; width: 100%; border-radius: 0; border: 0; }
}

@media (max-width: 760px) {
  .sp-top__bar { min-height: 70px; }
  .sp-actions .sp-btn { padding: 9px 12px; font-size: 12px; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .sp-section { padding: 52px 0; }
}
