/* PT Sans, SIL Open Font License. Files are stored locally in assets/fonts. */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/pt-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/pt-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/pt-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/pt-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-tint: #eef9ff;
  --surface: #ffffff;
  --text: #000000;
  --text-soft: #828282;
  --border: #e0e0e0;
  --primary: #118de0;
  --primary-strong: #0b6fb3;
  --primary-light: #40afff;
  --radius: 16px;
  --container: 1200px;
  --font: 'PT Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--primary);
}

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

.narrow-container {
  width: min(100% - 40px, 900px);
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading--center {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button--primary {
  background: var(--primary);
  color: #fff;
}

.button--primary:hover {
  background: var(--primary-strong);
}

.button--secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.button--secondary:hover {
  background: var(--bg-tint);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand img {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 78%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-points {
  display: grid;
  gap: 12px;
}

.hero-point strong {
  display: block;
  font-size: 1.1rem;
}

.hero-point span {
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
}

.hero-phone {
  position: absolute;
  z-index: 1;
  right: -28px;
  bottom: -40px;
  width: 128px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

/* Slider */
.slider {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 100%;
  min-width: 0;
}

.slide img {
  width: 100%;
  height: auto;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #e8e8e8;
  color: #000;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.slider-arrow:hover {
  opacity: 1;
}

.slider-arrow--prev {
  left: -8px;
}

.slider-arrow--next {
  right: -8px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--primary);
}

/* Benefits */
.benefits {
  background: var(--bg-soft);
}

.benefit-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 40px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.benefit-card p {
  margin: 0;
  color: var(--text-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Features tabs */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.tab {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

.tab-panel {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.tab-panel[hidden] {
  display: none;
}

.panel-copy p {
  color: var(--text-soft);
  margin: 0;
}

/* Product rows */
.products {
  background: var(--bg-soft);
}

.product-row {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: 32px 0;
}

.product-row--reverse .product-copy {
  order: 2;
}

.product-kicker {
  display: block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.product-copy p {
  color: var(--text-soft);
}

/* Audience */
.audience-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: #fff;
}

.audience-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.audience-card p {
  margin: 0;
  color: var(--text-soft);
}

.audience-cta {
  margin-top: 40px;
  text-align: center;
}

.audience-cta p {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Pricing */
.pricing {
  background: var(--bg-tint);
}

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 40px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.price-card h3 {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.price-value {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(17, 141, 224, 0.16);
}

.price-badge {
  position: absolute;
  top: -24px;
  right: -18px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.price-note {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.price-select {
  display: block;
  margin-bottom: 22px;
}

.price-select span {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.price-select select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
}

.price-card .button {
  width: 100%;
}

.included {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.included-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 34px;
}

.included-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: url('assets/images/icon-tick.svg') center / contain no-repeat;
}

.included-trial {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

.pricing-footnote {
  margin: 0;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.95rem;
}

/* Service */
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
  text-align: center;
}

.service-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Brands marquee */
.brands {
  background: var(--bg-soft);
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  padding: 8px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.marquee-row img {
  height: 144px;
  width: auto;
  object-fit: contain;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.brands-note {
  margin: 28px 0 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 56px 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
}

.faq-item.is-open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-soft);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
  padding: 48px 0 28px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-light);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer .button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.site-footer .button--ghost:hover {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.footer-consent {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.footer-consent small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  line-height: 1.3;
}

.footer-links .link-button {
  color: #fff;
}

.footer-links .link-button:hover {
  color: var(--primary-light);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: #000;
  color: #fff;
  padding: 18px 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* The text gives up width first, so the buttons stay on one row. */
.cookie-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 700px;
}

.cookie-copy a {
  color: #fff;
}

.cookie-copy strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cookie-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-actions .button {
  white-space: nowrap;
}

.cookie-banner .button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-modal,
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 90;
}

.cookie-modal.is-open,
.modal.is-open {
  display: grid;
}

.cookie-modal__panel,
.modal__panel {
  width: min(560px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

.cookie-modal__header,
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.cookie-modal__header h3,
.modal__header h3 {
  margin: 0;
}

.modal-close {
  background: #f2f2f2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
}

.cookie-option {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.cookie-option small {
  color: var(--text-soft);
}

.cookie-modal__actions,
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Demo modal */
.modal__panel {
  max-height: 90vh;
  overflow-y: auto;
}

.modal__panel p {
  color: var(--text-soft);
}

.modal__panel h4 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.demo-access {
  margin: 0;
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-tint);
  border-radius: var(--radius);
}

.demo-access div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.demo-access dt {
  min-width: 78px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.demo-access dd {
  margin: 0;
  word-break: break-all;
}

.demo-access code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
}

.demo-contacts {
  color: var(--text) !important;
}

/* Responsive */
@media (max-width: 1320px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

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

@media (max-width: 900px) {
  .hero-grid,
  .tab-panel,
  .product-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-row--reverse .product-copy {
    order: 0;
  }

  .hero-phone {
    display: none;
  }

  .benefit-cards,
  .audience-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .included-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 52px 0;
  }

  .benefit-cards,
  .audience-grid,
  .pricing-grid,
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-phone {
    display: none;
  }

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

  .marquee-row img {
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .slider-track {
    transition: none;
  }
}

/* Privacy policy page */
.privacy {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 20px 90px;
}

.privacy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.privacy-card h1 {
  margin-top: 0;
}

.privacy-card h2 {
  margin-top: 36px;
  font-size: 1.35rem;
}

.privacy-card p,
.privacy-card li {
  color: var(--text-soft);
}

.privacy-card ul {
  padding-left: 20px;
}

.privacy-card li {
  margin-bottom: 8px;
}

.privacy-card code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
}

.privacy-meta {
  font-size: 0.94rem;
}
