:root {
  --bg: #f7f7f9;
  --bg-white: #ffffff;
  --bg-alt: #f0f0f4;
  --text: #111118;
  --muted: #6b6b7b;
  --border: #e6e6ee;
  --dark: #111118;
  --accent: #5c6bc0;
  --container: min(1080px, calc(100% - 40px));
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Top */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Hero — prosto style */

.hero {
  padding: 56px 0 48px;
  text-align: center;
  background: var(--bg-white);
}

.badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-quote {
  margin: 0 auto 24px;
  max-width: none;
  padding: 0;
  border: none;
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-quote {
    white-space: normal;
    max-width: 22rem;
  }
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 .muted {
  color: var(--muted);
  font-weight: 700;
}

.hero-sub {
  max-width: 440px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

/* Widget tiles row */

.widget-row {
  padding: 40px 0 56px;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.widget-label {
  margin: 0 0 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.widget-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.widget-tiles img {
  height: 56px;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 6px 16px rgba(17, 17, 24, 0.15));
}

.shot-compact {
  max-width: 480px;
  justify-self: end;
}

.shot-compact img {
  box-shadow: 0 12px 40px rgba(17, 17, 24, 0.08);
}

/* Numbered blocks */

.block {
  padding: 80px 0;
  background: var(--bg-white);
}

.block-alt {
  background: var(--bg);
}

.block-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.block-grid.reverse {
  direction: rtl;
}

.block-grid.reverse > * {
  direction: ltr;
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.block-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.block-copy p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.shot {
  margin: 0;
}

.shot figcaption {
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.shot img,
.shot-duo img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(17, 17, 24, 0.08);
  background: #fff;
}

.shot-duo {
  display: grid;
  gap: 16px;
}

/* CTA */

.cta {
  padding: 88px 0;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.num-light {
  background: rgba(255, 255, 255, 0.15);
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta > .container > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.65);
}

.cta-fine {
  margin: 20px 0 0 !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.cta-fine a {
  color: #fff;
}

/* FAQ */

.faq {
  padding: 72px 0;
  background: var(--bg-white);
}

.faq h2 {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 800;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 640px;
}

/* Footer */

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .block-grid,
  .block-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .block {
    padding: 56px 0;
  }

  .widget-tiles img {
    height: 52px;
  }

  .shot-compact {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 520px) {
  .stats {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
