:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #eef4ff;
  --text: #172033;
  --muted: #56647a;
  --primary: #0a2540;
  --primary-2: #113b67;
  --accent: #2f6fed;
  --border: #dfe7f3;
  --shadow: 0 14px 40px rgba(10, 37, 64, 0.08);
  --radius: 18px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223, 231, 243, 0.9);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.96rem;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover { color: var(--primary); }

.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  padding: 78px 0 68px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #bcd2ff;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 900px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  color: var(--primary);
}

h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.15rem;
}

.hero p {
  color: rgba(255,255,255,0.88);
  max-width: 820px;
  font-size: 1.08rem;
  margin: 0 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button-primary { background: #fff; color: var(--primary); }
.button-primary:hover { text-decoration: none; transform: translateY(-1px); }
.button-dark { background: var(--primary); color: #fff; }
.button-dark:hover { text-decoration: none; background: var(--primary-2); }

.section { padding: 70px 0; }
.section-alt { background: #fff; }

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading .kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.section-heading p,
.card p,
.card li,
.lead {
  color: var(--muted);
}

.lead {
  font-size: 1.05rem;
  max-width: 820px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card p { margin: 0; }
.card ul { margin: 0; padding-left: 20px; }

.example {
  background: var(--surface-alt);
  border: 1px solid #d9e6ff;
  border-radius: 18px;
  padding: 24px;
}

.example strong { color: var(--primary); }

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.screenshot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screenshot img,
.screenshot video {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border);
}

.screenshot video {
  background: var(--primary);
}

.video-showcase {
  margin-top: 24px;
}

.screenshot div { padding: 16px 18px 18px; }
.screenshot p { margin: 0; color: var(--muted); }

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.related a:hover {
  text-decoration: none;
  border-color: #bfd0eb;
}

.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 24px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.86); margin: 0; }

footer {
  text-align: center;
  font-size: 14px;
  padding: 28px 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #fff;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav { display: none; }
  .section { padding: 54px 0; }
  .hero { padding: 62px 0 54px; }
}
