:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f6f8fb;
  --c-bg-dark: #0e1326;
  --c-text: #0e1326;
  --c-text-mute: #5a6378;
  --c-text-inv: #e7ebf4;
  --c-border: #e6e8ee;
  --c-border-2: #d4d8e2;
  --c-primary: #2563eb;
  --c-primary-hover: #1d4ed8;
  --c-primary-soft: #eaf1ff;
  --c-accent: #10b981;
  --c-warn: #f59e0b;
  --c-danger: #ef4444;
  --c-purple: #7c3aed;
  --sh-sm: 0 1px 2px rgba(14, 19, 38, 0.05);
  --sh-md: 0 8px 28px rgba(14, 19, 38, 0.08);
  --sh-lg: 0 24px 60px rgba(14, 19, 38, 0.12);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --container: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-inv); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-primary-soft);
  margin-bottom: 16px;
}
.section__title { font-size: 38px; line-height: 1.15; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; }
.section__lead { font-size: 18px; color: var(--c-text-mute); margin: 0; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--c-primary-hover); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-border-2); }
.btn--ghost:hover { background: var(--c-bg-alt); }
.btn--white { background: #fff; color: var(--c-text); }
.btn--white:hover { background: #f1f3f8; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: 0 1px 0 rgba(14, 19, 38, 0.02); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand__logo { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 15px; color: var(--c-text-mute); font-weight: 500; transition: color 0.15s; }
.nav__link:hover, .nav__link.is-active { color: var(--c-text); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  cursor: pointer;
}
.header__burger svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 40;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__link { padding: 14px 16px; border-radius: var(--r-md); font-weight: 500; font-size: 16px; }
.mobile-menu__link:hover { background: var(--c-bg-alt); }
.mobile-menu__divider { height: 1px; background: var(--c-border); margin: 12px 0; }

@media (max-width: 900px) {
  .nav, .header__actions .btn--primary, .header__actions .nav__link { display: none; }
  .header__burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .section { padding: 64px 0; }
  .section__title { font-size: 28px; }
}

.hero { position: relative; padding: 80px 0 64px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.10), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero__title { font-size: 54px; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 20px; }
.hero__lead { font-size: 19px; color: var(--c-text-mute); margin: 0 0 32px; max-width: 540px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { margin-top: 24px; font-size: 13px; color: var(--c-text-mute); display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta-item { display: flex; align-items: center; gap: 6px; }
.hero__meta svg { color: var(--c-accent); width: 16px; height: 16px; }
.hero__visual { position: relative; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 34px; }
}

.trust { padding: 40px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: #fff; }
.trust__label { text-align: center; font-size: 12px; font-weight: 600; color: var(--c-text-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; opacity: 0.7; }
.trust__logo { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #8a93a8; display: flex; align-items: center; gap: 8px; }
.trust__logo svg { width: 22px; height: 22px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--c-border-2); }
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title { font-size: 18px; margin: 0 0 8px; }
.feature__text { color: var(--c-text-mute); font-size: 15px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--c-border); }
.step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step__title { font-size: 18px; margin: 0 0 8px; }
.step__text { color: var(--c-text-mute); margin: 0; font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--c-text-mute); font-size: 14px; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
}
.testimonial__quote { font-size: 16px; line-height: 1.55; margin: 0 0 24px; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.testimonial__name { font-weight: 600; font-size: 14px; }
.testimonial__role { font-size: 13px; color: var(--c-text-mute); }

.cta-banner {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 64px;
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 20%, rgba(255, 255, 255, 0.15), transparent); }
.cta-banner__title { font-size: 34px; margin: 0 0 12px; position: relative; }
.cta-banner__lead { font-size: 18px; opacity: 0.92; margin: 0 0 32px; position: relative; }
.cta-banner__actions { display: flex; gap: 12px; justify-content: center; position: relative; flex-wrap: wrap; }
@media (max-width: 900px) { .cta-banner { padding: 40px 24px; } .cta-banner__title { font-size: 26px; } }

.faq { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__item:first-child { border-top: 1px solid var(--c-border); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 17px;
  color: var(--c-text);
}
.faq__q .icon { width: 24px; height: 24px; transition: transform 0.2s; flex-shrink: 0; }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--c-text-mute); }
.faq__item.is-open .faq__a { max-height: 500px; padding-bottom: 24px; }
.faq__a p { margin-top: 0; }

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: var(--c-bg-alt);
  border-radius: 999px;
  margin-bottom: 48px;
  border: 1px solid var(--c-border);
}
.pricing-toggle__btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-text-mute);
  transition: all 0.15s;
}
.pricing-toggle__btn.is-active { background: #fff; color: var(--c-text); box-shadow: var(--sh-sm); }
.pricing-toggle__badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  margin-left: 6px;
  font-weight: 700;
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; position: relative; }
.plan--featured { border-color: var(--c-primary); box-shadow: var(--sh-md); }
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan__name { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.plan__pitch { color: var(--c-text-mute); font-size: 14px; margin: 0 0 24px; min-height: 40px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan__price-num { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; }
.plan__price-currency { font-size: 20px; font-weight: 600; }
.plan__price-period { color: var(--c-text-mute); font-size: 14px; }
.plan__price-note { color: var(--c-text-mute); font-size: 13px; margin-bottom: 20px; min-height: 18px; }
.plan__cta { margin-bottom: 24px; }
.plan__features { display: flex; flex-direction: column; gap: 12px; }
.plan__feature { display: flex; gap: 10px; font-size: 14px; color: var(--c-text-mute); align-items: flex-start; }
.plan__feature .check { color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.plan__feature strong { color: var(--c-text); font-weight: 600; }

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-border); }
.compare thead th { background: var(--c-bg-alt); font-weight: 600; font-size: 13px; text-transform: uppercase; color: var(--c-text-mute); letter-spacing: 0.04em; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare__group td { background: var(--c-bg-alt); font-weight: 600; }

.footer { background: var(--c-bg-dark); color: var(--c-text-inv); padding: 64px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer__brand { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 16px; }
.footer__about { color: #8a93a8; font-size: 14px; max-width: 280px; line-height: 1.5; }
.footer__title { color: #fff; font-weight: 600; font-size: 13px; margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { color: #b9c1d1; font-size: 14px; transition: color 0.15s; }
.footer__link:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; gap: 16px; flex-wrap: wrap; }
.footer__copy { color: #8a93a8; font-size: 13px; }
.footer__legal { color: #6b7388; font-size: 12px; margin-top: 6px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.12); }
.footer__social svg { width: 16px; height: 16px; color: #fff; }

.cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--sh-lg);
  z-index: 60;
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie.is-hidden { display: none; }
.cookie__text { font-size: 14px; color: var(--c-text-mute); flex: 1; line-height: 1.5; }
.cookie__text a { color: var(--c-primary); text-decoration: underline; }
.cookie__btn { background: var(--c-text); color: #fff; padding: 10px 18px; border: 0; border-radius: var(--r-md); font-weight: 600; font-size: 14px; cursor: pointer; }
@media (max-width: 600px) { .cookie { flex-direction: column; align-items: stretch; bottom: 12px; left: 12px; right: 12px; } }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__input, .field__textarea, .field__select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field__input:focus, .field__textarea:focus, .field__select:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.field__textarea { min-height: 120px; resize: vertical; }
.field__help { font-size: 13px; color: var(--c-text-mute); }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field__row { grid-template-columns: 1fr; } }
.field__check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-text-mute); }
.field__check input { width: 16px; height: 16px; }

.form__success {
  padding: 20px;
  border-radius: var(--r-md);
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: none;
}
.form__success.is-visible { display: block; }

.auth {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--c-bg-alt);
}
.auth__card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--sh-sm); }
.auth__title { font-size: 24px; margin: 0 0 8px; text-align: center; }
.auth__lead { color: var(--c-text-mute); text-align: center; margin: 0 0 32px; font-size: 15px; }
.auth__alt { text-align: center; margin-top: 24px; color: var(--c-text-mute); font-size: 14px; }
.auth__alt a { color: var(--c-primary); font-weight: 600; }
.auth__divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--c-text-mute); font-size: 13px; }
.auth__divider::before, .auth__divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.auth__sso { display: flex; gap: 12px; }
.auth__sso .btn { flex: 1; }

.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .blog-list { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s; }
.post-card:hover { transform: translateY(-3px); }
.post-card__cover { aspect-ratio: 16/10; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.post-card__cover svg { width: 100%; height: 100%; display: block; }
.post-card__tag { font-size: 12px; color: var(--c-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.post-card__title { font-size: 19px; line-height: 1.3; margin: 0; font-weight: 700; }
.post-card__excerpt { color: var(--c-text-mute); font-size: 14px; margin: 0; line-height: 1.5; }
.post-card__meta { font-size: 13px; color: var(--c-text-mute); margin-top: auto; }

.article { max-width: 740px; margin: 0 auto; padding: 64px 24px; }
.article__head { margin-bottom: 32px; }
.article__tag { display: inline-block; font-size: 13px; color: var(--c-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.article__title { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
.article__meta { color: var(--c-text-mute); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.article__lead { font-size: 19px; line-height: 1.55; color: var(--c-text-mute); margin: 0 0 32px; }
.article__cover { aspect-ratio: 16/9; border-radius: var(--r-lg); margin-bottom: 32px; overflow: hidden; }
.article__cover svg { width: 100%; height: 100%; }
.article__body { font-size: 17px; line-height: 1.7; }
.article__body h2 { font-size: 26px; margin: 40px 0 16px; }
.article__body h3 { font-size: 20px; margin: 32px 0 12px; }
.article__body p { margin-bottom: 20px; }
.article__body ul, .article__body ol { padding-left: 24px; margin-bottom: 20px; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 8px; }
.article__body blockquote { border-left: 4px solid var(--c-primary); padding: 4px 24px; margin: 24px 0; color: var(--c-text-mute); font-style: italic; }
.article__body code { font-family: var(--font-mono); background: var(--c-bg-alt); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.article__body pre {
  background: var(--c-bg-dark);
  color: var(--c-text-inv);
  padding: 20px;
  border-radius: var(--r-md);
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.article__body pre code { background: transparent; padding: 0; }
.article__author { display: flex; align-items: center; gap: 12px; padding: 24px 0; margin-top: 40px; border-top: 1px solid var(--c-border); }

.demo-frame { background: #f0f2f7; padding: 16px; border-radius: var(--r-xl); border: 1px solid var(--c-border); box-shadow: var(--sh-lg); }
.demo-window { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.demo-window__bar { background: #f6f8fb; padding: 10px 14px; border-bottom: 1px solid var(--c-border); display: flex; align-items: center; gap: 12px; }
.demo-window__dots { display: flex; gap: 6px; }
.demo-window__dots span { width: 10px; height: 10px; border-radius: 50%; background: #d4d8e2; }
.demo-window__dots span:nth-child(1) { background: #ff6058; }
.demo-window__dots span:nth-child(2) { background: #ffbd2e; }
.demo-window__dots span:nth-child(3) { background: #27c93f; }
.demo-window__url { flex: 1; font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute); background: #fff; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--c-border); }

.demo-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 540px; }
@media (max-width: 900px) { .demo-layout { grid-template-columns: 1fr; } .demo-sidebar { display: none; } }
.demo-sidebar { background: #fafbfd; border-right: 1px solid var(--c-border); padding: 16px 10px; }
.demo-sidebar__group { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--c-text-mute); padding: 10px 12px 4px; letter-spacing: 0.06em; }
.demo-sidebar__link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--c-text-mute); cursor: pointer; margin-bottom: 2px; }
.demo-sidebar__link.is-active { background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; }
.demo-sidebar__link:hover { background: var(--c-bg-alt); color: var(--c-text); }
.demo-sidebar__link svg { width: 16px; height: 16px; }

.demo-main { padding: 20px; }
.demo-main__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.demo-main__title { font-size: 20px; font-weight: 700; margin: 0; }
.demo-main__filters { display: flex; gap: 6px; }
.demo-pill { padding: 5px 12px; font-size: 12px; font-weight: 500; color: var(--c-text-mute); background: var(--c-bg-alt); border-radius: 999px; border: 1px solid var(--c-border); cursor: pointer; }
.demo-pill.is-active { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.demo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 900px) { .demo-kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 14px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; }
.kpi__label { font-size: 12px; color: var(--c-text-mute); margin-bottom: 6px; }
.kpi__val { font-size: 22px; font-weight: 700; line-height: 1.1; }
.kpi__delta { font-size: 12px; font-weight: 600; margin-top: 4px; }
.kpi__delta--up { color: var(--c-accent); }
.kpi__delta--down { color: var(--c-danger); }
.demo-charts { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
@media (max-width: 900px) { .demo-charts { grid-template-columns: 1fr; } }
.chart-card { padding: 18px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; }
.chart-card__title { font-size: 14px; font-weight: 600; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; }
.chart-card__title small { color: var(--c-text-mute); font-weight: 500; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col + .two-col { margin-top: 96px; }
@media (max-width: 900px) { .two-col + .two-col { margin-top: 56px; } }

.code-block {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--c-bg-dark);
  color: #e7ebf4;
  padding: 20px;
  border-radius: var(--r-md);
  line-height: 1.7;
  white-space: pre;
  overflow: auto;
}
.code-block .k { color: #c4b5fd; }
.code-block .s { color: #86efac; }
.code-block .c { color: #94a3b8; }
.code-block .n { color: #fbbf24; }

.page-head { padding: 64px 0 32px; background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); }
.page-head__title { font-size: 44px; margin: 0 0 12px; }
.page-head__lead { font-size: 18px; color: var(--c-text-mute); max-width: 640px; margin: 0; }
.page-head--center { text-align: center; }
.page-head--center .page-head__lead { margin: 0 auto; }
@media (max-width: 900px) { .page-head { padding: 40px 0 24px; } .page-head__title { font-size: 30px; } }

.crumbs { color: var(--c-text-mute); font-size: 13px; margin-bottom: 16px; }
.crumbs a { color: var(--c-text-mute); }
.crumbs a:hover { color: var(--c-text); }
.crumbs span { color: var(--c-text); }
.crumbs::before { content: ''; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member { text-align: center; }
.member__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
}
.member__name { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.member__role { font-size: 13px; color: var(--c-text-mute); }

.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--c-border); }
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__dot { position: absolute; left: -32px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-border); }
.timeline__year { font-size: 13px; font-weight: 700; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.timeline__title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.timeline__text { color: var(--c-text-mute); font-size: 15px; margin: 0; }

.status-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.status-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.status-row__name { font-weight: 600; font-size: 15px; }
.status-row__bars { display: flex; gap: 2px; }
.status-row__bar { width: 4px; height: 22px; border-radius: 1px; background: var(--c-accent); }
.status-row__bar--warn { background: var(--c-warn); }
.status-row__bar--down { background: var(--c-danger); }
.status-row__pct { font-size: 13px; color: var(--c-text-mute); font-variant-numeric: tabular-nums; }

.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
.loc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 14px;
}
.loc__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }
.loc__name { font-weight: 600; }
.loc__ping { margin-left: auto; color: var(--c-text-mute); font-size: 12px; font-variant-numeric: tabular-nums; }

.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .integrations { grid-template-columns: repeat(3, 1fr); } }
.integration {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-mute);
  transition: border-color 0.15s, color 0.15s;
}
.integration:hover { border-color: var(--c-border-2); color: var(--c-text); }

.banner-strip {
  background: var(--c-primary-soft);
  border-bottom: 1px solid #d6e1f5;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: #1e3a8a;
}
.banner-strip a { color: var(--c-primary); font-weight: 600; }

.list-check { display: flex; flex-direction: column; gap: 12px; }
.list-check__item { display: flex; gap: 10px; align-items: flex-start; }
.list-check__item svg { color: var(--c-accent); flex-shrink: 0; margin-top: 4px; }
.list-check__item strong { font-weight: 600; }

.hero-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.hero-card__bar { background: #f6f8fb; padding: 10px 14px; border-bottom: 1px solid var(--c-border); display: flex; align-items: center; gap: 12px; }
.hero-card__body { padding: 24px; }

.metric-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--c-bg-alt); border: 1px solid var(--c-border); font-size: 13px; font-weight: 500; margin-right: 8px; margin-bottom: 8px; }
.metric-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

.spark { width: 100%; height: 60px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 6px 12px; background: var(--c-bg-alt); border-radius: 999px; font-size: 13px; color: var(--c-text-mute); border: 1px solid var(--c-border); transition: all 0.15s; }
.tag-cloud a:hover { background: #fff; color: var(--c-text); }
.tag-cloud a.is-active { background: var(--c-text); color: #fff; border-color: var(--c-text); }

.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 56px; }
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--c-text-mute);
  border-radius: var(--r-md);
  border: 1px solid transparent;
}
.pagination a:hover { background: var(--c-bg-alt); }
.pagination .is-active { background: var(--c-text); color: #fff; }
