:root {
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --text: #17202e;
  --muted: #55617a;
  --line: #dde4ef;
  --blue: #2f6fb5;
  --blue-dark: #245a94;
  --orange: #e87722;
  --card: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161f;
    --bg-alt: #171e2a;
    --text: #e8edf6;
    --muted: #9aa7bd;
    --line: #263145;
    --blue: #5b9be0;
    --blue-dark: #7cb1ee;
    --card: #1b2433;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
a {
  color: var(--blue);
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
nav a:hover {
  color: var(--text);
}

/* buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--blue-dark);
  color: #fff;
}
nav a.btn {
  color: #fff;
}
.btn.small {
  padding: 8px 16px;
  font-size: 15px;
}

/* hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.2;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
}
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
}
.hero-icon {
  width: 200px;
  height: 200px;
  border-radius: 44px;
  box-shadow: 0 20px 50px rgba(47, 111, 181, 0.3);
  justify-self: center;
}

/* screenshots */
.shot {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 40px auto 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(23, 32, 46, 0.18);
}
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a {
  color: var(--muted);
}
.feature-hero {
  padding-top: 40px;
}
.points,
.steps {
  padding-left: 22px;
  margin: 0 0 36px;
}
.points li,
.steps li {
  margin-bottom: 10px;
}
.steps li::marker {
  color: var(--blue);
  font-weight: 700;
}
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
a.card .more {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}
.foot-features {
  margin: 0 0 14px;
  line-height: 1.9;
}
.foot-features a {
  white-space: nowrap;
}

/* sections */
.section {
  padding: 64px 0;
}
.section.alt {
  background: var(--bg-alt);
}
.cta {
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.card h3 {
  border-left: 4px solid var(--orange);
  padding-left: 12px;
}

/* faq */
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
details p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* doc pages */
.doc h1 {
  font-size: 36px;
}
.doc p {
  color: var(--muted);
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-icon {
    display: none;
  }
  .shot {
    margin-top: 28px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  nav a:not(.btn):not(.lang) {
    display: none;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .section {
    padding: 48px 0;
  }
}
