@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-800.ttf) format('truetype');
}

:root {
  --site-accent: #0071e3;
  --site-radius: 2rem;
  --site-max-width: 1180px;
  --site-nav-height: 3.75rem;
  --site-transition: 220ms ease;
  --site-surface: #ffffff;
  --site-surface-muted: #f5f5f7;
  --site-border: rgba(0, 0, 0, 0.09);
  --site-text-muted: #6e6e73;
}

[data-bs-theme="dark"] {
  --site-surface: #101010;
  --site-surface-muted: #1d1d1f;
  --site-border: rgba(255, 255, 255, 0.12);
  --site-text-muted: #a1a1a6;
}

html { scroll-padding-top: var(--site-nav-height); }

body {
  overflow-x: hidden;
  background: var(--site-surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a, button { transition: color var(--site-transition), background-color var(--site-transition), border-color var(--site-transition), opacity var(--site-transition); }
a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--site-accent) 55%, transparent); outline-offset: 3px; }

.container { max-width: var(--site-max-width); }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 1100; padding: .65rem 1rem; border-radius: 999px; background: var(--site-accent); color: #fff; }

.navbar {
  min-height: var(--site-nav-height);
  background: color-mix(in srgb, var(--site-surface) 82%, transparent);
  border-bottom: 1px solid var(--site-border);
  backdrop-filter: saturate(180%) blur(20px);
}
.navbar-brand { letter-spacing: -.025em; }
.nav-link { color: var(--bs-body-color); font-size: .9rem; }
.nav-link:hover, .nav-link:focus { color: var(--site-accent); }

.hero { position: relative; display: grid; min-height: 100svh; overflow: hidden; padding: calc(var(--site-nav-height) + 4rem) 0 4rem; align-items: center; isolation: isolate; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero h1 { max-width: 11ch; margin-bottom: 1.5rem; font-size: clamp(3.25rem, 7.5vw, 6.8rem); font-weight: 700; letter-spacing: -.065em; line-height: .94; }
.hero .lead { max-width: 42rem; margin-bottom: 2rem; color: var(--site-text-muted); }
.hero-art { margin: 0; overflow: hidden; border-radius: var(--site-radius); background: var(--site-surface-muted); box-shadow: 0 2rem 6rem rgba(0, 0, 0, .12); }
.hero-art img { display: block; width: 100%; height: clamp(24rem, 55vw, 40rem); object-fit: cover; }

.hero-marquee {
  position: absolute;
  z-index: 0;
  inset: var(--site-nav-height) 0 0;
  overflow: hidden;
  color: rgb(15 23 42 / .055);
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: radial-gradient(ellipse 44% 43% at 31% 52%, transparent 0 24%, rgb(0 0 0 / .18) 48%, #000 100%);
  mask-image: radial-gradient(ellipse 44% 43% at 31% 52%, transparent 0 24%, rgb(0 0 0 / .18) 48%, #000 100%);
}

[data-bs-theme="dark"] .hero-marquee { color: rgb(255 255 255 / .06); }

.hero-marquee-row {
  position: absolute;
  left: 0;
  display: flex;
  width: max-content;
  visibility: hidden;
  white-space: nowrap;
  will-change: transform;
}

.hero-marquee[data-ready="true"] .hero-marquee-row { visibility: visible; }
.hero-marquee-row:nth-child(1) { top: 5%; }
.hero-marquee-row:nth-child(2) { top: 40%; }
.hero-marquee-row:nth-child(3) { top: 70%; }

.hero-marquee-row[data-direction="left"] {
  animation: hero-marquee-left var(--marquee-duration, 180s) linear infinite;
}

.hero-marquee-row[data-direction="right"] {
  animation: hero-marquee-right var(--marquee-duration, 180s) linear infinite;
}

.hero-marquee-sequence {
  display: flex;
  flex: none;
  gap: clamp(5rem, 10vw, 11rem);
  padding-right: clamp(5rem, 10vw, 11rem);
}

.hero-marquee-phrase {
  flex: none;
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .78;
}

@keyframes hero-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--marquee-distance)), 0, 0); }
}

@keyframes hero-marquee-right {
  from { transform: translate3d(calc(-1 * var(--marquee-distance)), 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-muted { background: var(--site-surface-muted); }
.eyebrow { margin-bottom: 1rem; color: var(--site-accent); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-title { max-width: 15ch; margin-bottom: clamp(2.5rem, 6vw, 5rem); font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.display-copy { margin: 0; font-size: clamp(1.6rem, 3vw, 2.75rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.17; }

.feature-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 5rem); border-radius: var(--site-radius); background: var(--site-surface-muted); }
.check-list { display: grid; align-content: center; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--site-text-muted); }
.check-list li::before { position: absolute; left: 0; color: var(--site-accent); content: "✓"; font-weight: 700; }

.site-card { min-height: 24rem; padding: clamp(2rem, 4vw, 3.25rem); border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface); }
.site-card h3 { margin: 4.5rem 0 1rem; font-size: clamp(1.6rem, 2.5vw, 2.25rem); letter-spacing: -.035em; }
.site-card p { color: var(--site-text-muted); font-size: 1.05rem; }
.card-number { color: var(--site-accent); font-size: .85rem; font-weight: 700; }

.project-card { display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; border-radius: var(--site-radius); background: var(--site-surface-muted); }
.project-image { min-height: 31rem; overflow: hidden; background: #050505; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); }
.project-copy h3 { margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3.5rem); letter-spacing: -.045em; }
.project-copy > p:not(.eyebrow) { color: var(--site-text-muted); font-size: 1.1rem; }
.text-link { width: fit-content; color: var(--site-accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.contact-section { background: var(--site-surface-muted); }
.contact-section .eyebrow, .contact-section .lead { color: var(--site-text-muted); }
.contact-section .section-title { max-width: 16ch; margin-bottom: 1.5rem; }
.contact-section .lead { max-width: 42rem; margin-bottom: 2rem; }

.site-footer { padding: 1.4rem 0; border-top: 1px solid var(--site-border); background: var(--site-surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.footer-language { justify-self: start; }
.copyright { margin: 0; color: var(--site-text-muted); font-size: .82rem; text-align: center; }
.theme-switcher { display: flex; justify-self: end; gap: .2rem; padding: .2rem; border: 1px solid var(--site-border); border-radius: 999px; }
.footer-control { border: 0; border-radius: 999px; background: transparent; color: var(--site-text-muted); font-size: .78rem; font-weight: 600; line-height: 1; }
.language-toggle { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border: 1px solid var(--site-border); }
.language-toggle img { display: block; border-radius: 2px; box-shadow: 0 0 0 1px var(--site-border); }
.theme-switcher .footer-control { padding: .55rem .7rem; }
.theme-switcher .footer-control.active { background: var(--bs-body-color); color: var(--site-surface); }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .hero-grid, .feature-panel, .project-card { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--site-nav-height) + 3rem); }
  .hero h1 { max-width: 12ch; }
  .hero-art { order: -1; }
  .hero-art img { height: clamp(19rem, 62vw, 34rem); }
  .hero-marquee {
    -webkit-mask-image: radial-gradient(ellipse 78% 34% at 50% 68%, transparent 0 28%, rgb(0 0 0 / .16) 54%, #000 100%);
    mask-image: radial-gradient(ellipse 78% 34% at 50% 68%, transparent 0 28%, rgb(0 0 0 / .16) 54%, #000 100%);
  }
  .project-image { min-height: 24rem; }
}

@media (max-width: 767.98px) {
  .navbar-collapse { padding: 1rem 0 .5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; grid-row: 2; }
  .theme-switcher { max-width: 100%; }
}

@media (max-width: 479.98px) {
  .theme-switcher .footer-control { padding-inline: .55rem; }
  .language-toggle { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-marquee { display: none; }
}

/* ==========================================================================
   telega.leoner.ru — additions on top of the `applike-html` template.
   Everything above this line is the template as published; keep it that way so
   the template can be re-pulled. Only this block is site-specific.
   ========================================================================== */

html { scroll-behavior: smooth; }

/* Brand ------------------------------------------------------------------ */
.brand-tag {
  margin-left: .35rem;
  padding: .12rem .45rem;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: var(--site-surface-muted);
  color: var(--site-text-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: .12em;
}
.nav-link.nav-accent { color: var(--site-accent); font-weight: 600; }

/* Hero: the marquee replaces the old background photo, and the trial card
   takes the column the template used for its hero image. ------------------ */
.hero { min-height: min(100svh, 52rem); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
.hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.05em; }
.hero .lead { max-width: 30rem; margin-bottom: 1.25rem; }
.hero-copy .check-list { gap: .65rem; }

/* Trial card ------------------------------------------------------------- */
.hero-form { min-width: 0; }
.trial-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--site-border);
  border-radius: calc(var(--site-radius) * .75);
  background: var(--site-surface);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .14);
}
[data-bs-theme="dark"] .trial-card { box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .5); }
.trial-card .eyebrow { margin-bottom: .5rem; }
.trial-title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.035em; }
.trial-sub { margin: .15rem 0 0; color: var(--site-text-muted); font-size: 1.02rem; }
.trial-intro { margin: 1rem 0 1.25rem; color: var(--site-text-muted); font-size: .94rem; }
.trial-card .form-label { font-size: .85rem; font-weight: 600; }
.trial-card .form-control { border-radius: .8rem; }
.trial-card .input-group .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.trial-card .input-group .btn { border-radius: 0 .8rem .8rem 0; }
.trial-note { margin: .9rem 0 0; color: var(--site-text-muted); font-size: .7rem; text-align: center; line-height: 1.5; }
.trial-ready { margin: 0 0 .9rem; font-weight: 600; }
.trial-link { font-family: var(--bs-font-monospace); font-size: .74rem; }
.trial-copied { margin: .5rem 0 0; color: #1a7f37; font-size: .82rem; font-weight: 600; }
[data-bs-theme="dark"] .trial-copied { color: #3fb950; }
.trial-error { margin: .9rem 0 0; color: var(--bs-danger); font-size: .9rem; font-weight: 600; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Section helpers -------------------------------------------------------- */
.section-title.is-tight { margin-bottom: 1rem; }
.lead-wide { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--site-text-muted); }
.panel-note { margin: 1.5rem 0 0; color: var(--site-text-muted); font-size: 1rem; }
.fine-print { margin: 1.5rem 0 0; color: var(--site-text-muted); font-size: .82rem; line-height: 1.6; }
.feature-panel .text-link { margin-top: 1.5rem; }
.check-list-wide { margin-top: clamp(2rem, 4vw, 3rem); }
.check-list-wide li { line-height: 1.55; }
@media (min-width: 768px) { .check-list-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }

/* Compact variant of the template card, for the two setup steps ---------- */
.site-card.is-compact { min-height: 0; padding: clamp(1.75rem, 3vw, 2.5rem); }
.site-card.is-compact h3 { margin: 1.25rem 0 .75rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.site-card.is-compact p { font-size: 1rem; margin-bottom: 0; }
.site-card code {
  padding: .1rem .35rem;
  border-radius: .35rem;
  background: var(--site-surface-muted);
  color: var(--bs-body-color);
  font-size: .9em;
}

/* Pricing ---------------------------------------------------------------- */
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}
.price-card h3 { margin: 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.price-value { margin: 1.75rem 0 0; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
#prices .panel-note { max-width: 46rem; }
#prices .btn { margin-top: 1.5rem; }

/* Setup section: the optimisation screenshot is a phone capture, so it must
   be contained rather than cropped the way the template's art is. -------- */
.project-image.is-shot { min-height: 0; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--site-surface-muted); }
.project-image.is-shot img { height: clamp(18rem, 34vw, 26rem); object-fit: contain; object-position: center; }
.step-list { margin: 1.25rem 0 0; padding-left: 1.35rem; color: var(--site-text-muted); }
.step-list li { margin-bottom: .45rem; }
.step-list li::marker { color: var(--site-accent); font-weight: 700; }
/* The card sits in a muted section, so it needs the surface colour to read as a card */
#instructions .project-card {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  border: 1px solid var(--site-border);
  background: var(--site-surface);
}
#instructions .project-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }

/* Privacy policy: the standalone page and the modal share one partial ----- */
.section-narrow { padding: calc(var(--site-nav-height) + 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.container-narrow { max-width: 46rem; }
.policy-title { margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.045em; }
.policy h3 { margin: 2.25rem 0 .6rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.policy > .fine-print:first-child { margin-top: 0; }
.policy p, .policy li { color: var(--site-text-muted); line-height: 1.65; }
.policy ul { padding-left: 1.25rem; }
.policy li { margin-bottom: .5rem; }
.policy strong { color: var(--bs-body-color); }

/* Modals ----------------------------------------------------------------- */
.modal-content { border: 0; border-radius: calc(var(--site-radius) * .6); }
.modal-header, .modal-footer { border-color: var(--site-border); }
#modal-video { display: block; width: 100%; border-radius: 0 0 calc(var(--site-radius) * .6) calc(var(--site-radius) * .6); }
.payment-qr { width: 100%; max-width: 15rem; height: auto; border-radius: .75rem; }

/* Footer ----------------------------------------------------------------- */
.footer-links {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: var(--site-text-muted);
  font-size: .82rem;
}
.footer-links a, .link-button { color: var(--site-text-muted); text-decoration: none; }
.footer-links a:hover, .link-button:hover { color: var(--site-accent); }
.link-button { padding: 0; border: 0; background: none; font: inherit; }

/* The navbar collapses at lg here (six items), not at md as in the template */
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .75rem 0 .25rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero h1 { max-width: 18ch; }
  /* This hero is taller than the template's (it carries the trial card), so the
     mask hole has to sit over the headline rather than at 68% of the box. */
  .hero-marquee {
    color: rgb(15 23 42 / .038);
    -webkit-mask-image: radial-gradient(ellipse 96% 24% at 50% 17%, transparent 0 34%, rgb(0 0 0 / .14) 62%, #000 100%);
    mask-image: radial-gradient(ellipse 96% 24% at 50% 17%, transparent 0 34%, rgb(0 0 0 / .14) 62%, #000 100%);
  }
  [data-bs-theme="dark"] .hero-marquee { color: rgb(255 255 255 / .045); }
  .project-image.is-shot { order: -1; }
}

/* 2026-09-27 — full-screen hero and concise illustrated privacy cards. */
.hero { min-height: 100vh; min-height: 100svh; }
.hero-marquee { color: rgb(15 23 42 / .11); }
[data-bs-theme="dark"] .hero-marquee { color: rgb(255 255 255 / .12); }
.trial-consent a, .trial-consent a:hover, .trial-consent a:visited {
  color: inherit; text-decoration: none;
}
.trial-consent a:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 3px; border-radius: 3px; }
#privacy .section-title { margin-bottom: 2.5rem; }
.privacy-illustration { display: block; width: 100%; max-width: 240px; height: 128px; object-fit: contain; margin: 1.5rem auto; }
#privacy .site-card h3 { margin: 1rem 0 .75rem; font-size: clamp(1.5rem, 2.1vw, 1.9rem); }
#privacy .site-card p { margin-bottom: 0; }
@media (max-width: 991.98px) {
  .hero-marquee { color: rgb(15 23 42 / .085); }
  [data-bs-theme="dark"] .hero-marquee { color: rgb(255 255 255 / .10); }
}

/* 2026-09-27 — device silhouettes, video guide and image lightbox. */
.price-card { position: relative; overflow: hidden; padding-top: 7.5rem; }
.price-devices { position: absolute; top: 1.25rem; right: 1.25rem; width: 140px; height: 100px; opacity: .65; pointer-events: none; }
[data-bs-theme="dark"] .price-devices { filter: brightness(1.7); opacity: .85; }
.video-guide { display: flex; justify-content: center; padding: 2.25rem 1rem; margin-top: 1.5rem; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface); }
.image-lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: var(--site-text-muted); cursor: zoom-in; }
.image-lightbox-trigger:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 6px; }
.image-enlarge { display: block; margin-top: .8rem; font-size: .85rem; }
.optimization-full { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; }
@media (max-width: 991.98px) {
  #instructions .project-card { grid-template-columns: minmax(0, 1fr); }
}

.price-annual { margin: 1rem 0 0; font-size: .85rem; color: var(--site-text-muted); line-height: 1.6; }
