/* Brand accent: logo mark, labels, bullets. Previous purple: #a40c5b */
:root {
  --accent: #119733;

  /* Colour glow on the dark backgrounds (Launched frame,
     WooCommerce hero and featured plan); drifts slowly (glowDrift).
     Set to `none` for plain black. Softer first version:
     accent 45% top right + rgba(40, 80, 200, 0.38) bottom left. */
  --dark-glow:
    radial-gradient(ellipse 75% 80% at 95% 5%, color-mix(in srgb, var(--accent) 95%, transparent), transparent 72%),
    radial-gradient(ellipse 65% 70% at 75% 105%, rgba(226, 40, 150, 0.8), transparent 72%),
    radial-gradient(ellipse 70% 75% at 0% 95%, rgba(55, 95, 255, 0.85), transparent 72%),
    radial-gradient(ellipse 60% 60% at 25% 0%, rgba(0, 210, 180, 0.5), transparent 72%);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Figtree', 'Manrope', sans-serif;   /* Manrope covers Cyrillic */
  background: #fff;
  color: #111;
  overflow-x: clip;   /* never a horizontal scrollbar; clip (not hidden) keeps GSAP pins working */
}

/* ── Hero block (sits over the hero photo, so it's white) ── */

.hero-text {
  position: fixed;
  bottom: 56px;
  left: 60px;
  max-width: 660px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  color: #fff;
  transition: pointer-events 0s;
}

.hero-text .description {
  color: rgba(255, 255, 255, 0.82);
}

/* Line break that only applies on wide screens */
@media (max-width: 900px) {
  .br-wide { display: none; }
}

.hero-text .btn-primary {
  background: #fff;
  color: #111;
}

.hero-text .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-text .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.scrolled .hero-text {
  pointer-events: none;
}

/* Supporting copy: slogan + description + button */

.hero-body {
  margin-bottom: 20px;
  transition: opacity 0.22s ease;
}

body.scrolled .hero-body {
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-body .slogan,
.hero-body .description,
.hero-body .cta-buttons {
  opacity: 0;
  animation: fadeUp 1.4s ease-out forwards;
}

.hero-body .slogan      { animation-delay: 0.3s; }
.hero-body .description { animation-delay: 0.55s; }
.hero-body .cta-buttons { animation-delay: 0.8s; }

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

.cta-buttons-center {
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #111;
  font-family: 'Figtree', 'Manrope', sans-serif;   /* Manrope covers Cyrillic */
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: #111;
  background: rgba(0, 0, 0, 0.04);
}

.slogan {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 22px;
}

.description {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
  margin-bottom: 28px;
}

/* Big logo at the top of the hero block */

@keyframes logoReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0em;
  line-height: 1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  /* origin at top-left so scale + translate lands at pill brand position */
  transform-origin: left top;
  /* JS clears this animationend so transitions work cleanly afterward */
  animation: logoReveal 1.4s ease-out 0.2s both;
}

/* Promark logo (inline SVG symbol, coloured by currentColor) */
.logo {
  display: block;
  height: 0.85em;
  width: auto;
  aspect-ratio: 639 / 135.5;
  fill: currentColor;
  flex-shrink: 0;
}

/*
  On scroll: translate to pill brand position then scale to near-zero.
  --logo-tx / --logo-ty are set by nav.js before the class is applied.
  translate() runs in viewport space (applied after scale in matrix order).
*/
body.scrolled .hero-logo {
  opacity: 0;
  transform: translate(var(--logo-tx, 0px), var(--logo-ty, 0px)) scale(0.15);
  transition: opacity 0.3s ease,
              transform 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Standard Cyrillic letter shapes on the Bulgarian page. With lang="bg", Manrope
   otherwise switches to Bulgarian-style forms, which look handwritten next to Figtree. */
:lang(bg) {
  font-feature-settings: "locl" 0;
}

/* ── Top bar: phone + language pills, top right of the hero (the pill nav has its own language link) ── */

.top-bar {
  position: fixed;
  top: 34px;
  right: 40px;
  z-index: 10;
  display: flex;
  gap: 8px;
  transition: opacity 0.2s;
}

body.scrolled .top-bar {
  opacity: 0;
  pointer-events: none;
}

/* Plain white text over the photo; a soft shadow keeps it readable on the bright sky */
.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.top-pill:hover {
  opacity: 1;
}

.top-pill + .top-pill {
  margin-left: 14px;
}

/* Language switch: only the current language shows, with a small arrow.
   Hover, keyboard focus or a tap (nav.js adds .open) slides the others out to the left. */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch .top-pill + .top-pill {
  margin-left: 0;
}

.lang-switch .top-pill[aria-current] {
  order: 99;   /* current language stays at the right edge */
  opacity: 1;
}

/* Arrow pointing at where the other languages appear */
.lang-switch .top-pill[aria-current]::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: width 0.3s, margin 0.3s, opacity 0.2s;
}

.lang-switch .top-pill:not([aria-current]) {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s ease, padding 0.35s ease, margin 0.35s ease, opacity 0.25s ease;
}

.lang-switch:hover .top-pill:not([aria-current]),
.lang-switch:focus-within .top-pill:not([aria-current]),
.lang-switch.open .top-pill:not([aria-current]) {
  max-width: 3em;
  padding-left: 4px;
  padding-right: 4px;
  margin-right: 8px;
  opacity: 0.6;
}

.lang-switch .top-pill:not([aria-current]):hover {
  opacity: 1;
}

.lang-switch:hover .top-pill[aria-current]::before,
.lang-switch:focus-within .top-pill[aria-current]::before,
.lang-switch.open .top-pill[aria-current]::before {
  width: 0;
  margin-right: 0;
  opacity: 0;
}

.top-pill-icon {
  width: 13px;
  height: 13px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

/* ── Pill nav ── */

.pill-nav {
  position: fixed;
  bottom: 56px;
  left: 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 100px;
  padding: 22px 24px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  /* Materialise from the same bottom-left anchor */
  transform-origin: left bottom;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
  transition: opacity 0.38s ease 0.14s,
              transform 0.42s cubic-bezier(0.34, 1.3, 0.64, 1) 0.14s;
}

body.scrolled .pill-nav {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Bigger brand with generous horizontal breathing room */
.pill-brand {
  font-size: 18px;
  font-weight: 500;
  padding: 0 18px 0 6px;
  color: #111;
  --logo-mark: var(--accent);   /* coloured icon, wordmark stays #111 */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pill-brand .logo {
  height: 26px;
}

/* Separator between Contact and the language link */
.pill-nav a + .pill-sep {
  margin-left: 18px;
}

.pill-sep {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.13);
  flex-shrink: 0;
}

/* Links stay as plain nav links */
.pill-nav a:not(.pill-brand) {
  font-size: 13px;
  font-weight: 300;
  color: #111;
  text-decoration: none;
  opacity: 0.55;
  margin-left: 18px;
  transition: opacity 0.2s;
}


.pill-nav a:not(.pill-brand):hover {
  opacity: 1;
}

/* "Products" opens the drop-down; a button styled like the menu links */
.pill-trigger {
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 300;
  color: #111;
  background: none;
  border: 0;
  padding: 0;
  margin-left: 18px;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pill-trigger:hover,
.pill-group:hover .pill-trigger,
.pill-group.open .pill-trigger {
  opacity: 1;
}

/* Language codes at the end of the pill nav: the current one, the others slide out
   to the right on hover, keyboard focus or a tap (nav.js adds .open) */
.pill-lang {
  display: flex;
  align-items: center;
  margin-left: 18px;
}

.pill-nav .pill-lang a {
  margin-left: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pill-nav .pill-lang a[aria-current] {
  order: -1;   /* current language first, next to the separator */
  display: inline-flex;
  align-items: center;
  opacity: 1;
  font-weight: 500;
}

.pill-nav .pill-lang a[aria-current]::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.pill-nav .pill-lang a:not([aria-current]) {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s ease, margin 0.35s ease, opacity 0.25s ease;
}

.pill-lang:hover a:not([aria-current]),
.pill-lang:focus-within a:not([aria-current]),
.pill-lang.open a:not([aria-current]) {
  max-width: 3em;
  margin-left: 12px;
  opacity: 0.55;
}

.pill-nav .pill-lang a:not([aria-current]):hover {
  opacity: 1;
}

.pill-lang:hover a[aria-current]::after,
.pill-lang:focus-within a[aria-current]::after,
.pill-lang.open a[aria-current]::after {
  opacity: 0;
}

/* Products group: hovering or clicking Products (nav.js adds .open), or keyboard focus, opens a small menu with E-commerce and CRM. The pill nav sits at the
   bottom of the screen, so the menu opens upwards. */
.pill-group {
  position: relative;
  display: flex;
  align-items: center;
}

.pill-group > .pill-trigger {
  display: inline-flex;
  align-items: center;
}

/* Small arrow after Products: points up, flips when the menu is open */
.pill-group > .pill-trigger::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: 7px;
  margin-top: 3px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
  transition: transform 0.25s ease, margin 0.25s ease;
}

.pill-group:hover > .pill-trigger::after,
.pill-group:focus-within > .pill-trigger::after,
.pill-group.open > .pill-trigger::after {
  transform: rotate(225deg);
  margin-top: -3px;
}

.pill-sub {
  position: absolute;
  bottom: calc(100% + 30px);
  left: 18px;
  display: flex;
  flex-direction: column;
  min-width: 170px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* Invisible bridge between Products and the menu, so the hover isn't lost on the way up */
.pill-sub::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 34px;
}

.pill-group:hover .pill-sub,
.pill-group:focus-within .pill-sub,
.pill-group.open .pill-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.pill-nav .pill-sub a {
  margin-left: 0;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}

.pill-nav .pill-sub a:hover,
.pill-nav .pill-sub a[aria-current] {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

/* On the E-commerce and CRM pages, Products shows as the current section */
.pill-group:has([aria-current]) > .pill-trigger {
  opacity: 1;
}

/* ── Hero (photo dissolves into dots on scroll, see js/hero.js) ── */

@keyframes heroFrameIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero {
  position: relative;
  z-index: 2;   /* stays above the About band that slides under its bottom edge */
  height: 700vh;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 16px;
}

.hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #050505;
  animation: heroFrameIn 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-image,
.hero-dots,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% 50%;   /* hero.js reads this to line the dots up */
  animation: heroZoom 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-dots {
  transform-origin: 62% 50%;
}

/* A soft light streak sweeps across the photo every 10 seconds, first one 10s after load (sweep takes 1.5s)
   (hero.js fades it out together with the photo) */
@keyframes heroGlare {
  0%        { transform: translateX(0) rotate(18deg); }
  15%, 100% { transform: translateX(480%) rotate(18deg); }
}

.hero-glare {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glare::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -55%;
  width: 35%;
  height: 200%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.06) 70%,
    transparent);
  mix-blend-mode: screen;
  animation: heroGlare 10s cubic-bezier(0.4, 0, 0.2, 1) 10s infinite backwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glare {
    display: none;
  }
}

.hero-shade {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 40%);
}

.hero-story {
  position: absolute;
  top: 50%;
  left: 44px;
  max-width: min(640px, 37vw);   /* stays clear of the dot shapes on the right */
  margin-top: -120px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform, filter;
}

.hero-story-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.hero-story-title {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.12;
}

.hero-story-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-top: 20px;
}

.content-sections {
  position: relative;
  z-index: 1;
  background: #fff;
}

/* ── Buttons ── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111;
  color: #fff;
  font-family: 'Figtree', 'Manrope', sans-serif;   /* Manrope covers Cyrillic */
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.75;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Shared layout ── */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ── FAQ ── */

.faq {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 100px 0;
}

.faq h2 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.4px;
  margin-bottom: 56px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid #eee;
}

.faq-item:first-child {
  border-top: 1px solid #eee;
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
}

/* ── Contact CTA ── */

.cta-section {
  position: relative;
  z-index: 1;
  background: #f7f7f7;
  padding: 100px 0 0;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 17px;
  font-weight: 300;
  color: #555;
  margin-bottom: 32px;
}

.cta-note {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 300;
  color: #aaa;
}

/* ── Shared section typography ── */

.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.4px;
  line-height: 1.2;
  text-align: center;
}

/* ── Reveal on scroll ── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── About ── */

.about {
  --tuck: 60px;   /* how far the band reaches up under the hero frame */
  position: relative;
  z-index: 1;
  background: #f7f7f7;   /* light band, sets it apart from the white What We Do section */
  margin-top: calc(-1 * var(--tuck));
  padding: calc(110px + var(--tuck)) 0 110px;
}

.about .section-title {
  margin-top: 0;
  margin-bottom: 32px;
}

.section-body {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.75;
  color: #444;
  max-width: 620px;
  text-align: center;
  margin: 0 auto;
}


/* ── Disciplines (pinned horizontal scroll) ── */

.disciplines {
  position: relative;
  z-index: 1;
  background: #fff;
  overflow: hidden;
}

.disciplines-heading {
  padding-top: 100px;
  padding-bottom: 48px;
}

.disciplines-gallery {
  display: flex;
  gap: 3px;
  padding-bottom: 80px;
  will-change: transform;
}

.discipline-card {
  flex-shrink: 0;
  width: 400px;
  background: #f7f7f7;
}

.discipline-card-body {
  padding: 36px 36px 40px;
}

.discipline-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

.discipline-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
}

.discipline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
}

.discipline-link .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.discipline-link:hover {
  color: var(--accent);
}

.discipline-link:hover .btn-icon {
  transform: translateX(4px);
}

.faq-item p a {
  color: #111;
  text-underline-offset: 3px;
}

.faq-item p a:hover {
  color: var(--accent);
}

/* ── Technologies: two logo rows scrolling in opposite directions ── */

@keyframes techScroll {
  to { transform: translateX(-50%); }
}

.tech {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.tech .section-title {
  margin-bottom: 56px;
}

.tech-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* Fade the logos out at both edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  list-style: none;
  animation: techScroll 45s linear infinite;
}

.tech-row-reverse .tech-track {
  animation-direction: reverse;
}

.tech-row:hover .tech-track {
  animation-play-state: paused;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 300;
  color: #999;
  white-space: nowrap;
  transition: color 0.3s;
}

.tech-logo {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.tech-item:hover {
  color: #111;
}

.tech-item:hover .tech-logo {
  fill: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  .tech-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .tech-item[aria-hidden="true"] {
    display: none;
  }
}

/* ── Philosophy ── */

.philosophy {
  position: relative;
  z-index: 1;
  background: #f7f7f7;
  padding: 100px 0;
}

.philosophy-quote {
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: #111;
  margin-top: 24px;
  margin-bottom: 28px;
  max-width: 640px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: #555;
  max-width: 560px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Launched projects: pinned frame like the hero, slides move sideways (scroll.js) ── */

@keyframes dotsDrift {
  to { background-position: 220px 110px; }
}

.launched {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 16px;
}

.launched-frame {
  position: relative;
  height: calc(100vh - 32px);
  height: calc(100svh - 32px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-glow), #050505;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* Drifting dot pattern across the whole frame */
.launched-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.3px);
  background-size: 22px 22px;
  animation: dotsDrift 30s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  pointer-events: none;
}

.launched-head {
  position: relative;
  padding: 56px 60px 0;
}

.launched-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.launched-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -0.4px;
}

.launched-track {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8vw;
  padding: 0 30vw 0 60px;
  will-change: transform;
}

.launched-slide {
  flex: 0 0 min(620px, 72vw);
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: inherit;
  text-decoration: none;
}

.launched-num {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 28px;
}

.launched-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.launched-name {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.launched-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 28px;
}

.launched-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}

.launched-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.launched-slide:hover .launched-link {
  border-color: #fff;
}

.launched-slide:hover .launched-arrow {
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
  .launched-frame::before {
    animation: none;
  }
}

/* ── How It Works (stacking cards) ── */

.how {
  position: relative;
  z-index: 1;
  background: #fff;
  padding-bottom: 80px;
}

.how-heading {
  padding-top: 100px;
  padding-bottom: 48px;
}

.steps-track {
  position: relative;
  height: 340px;
  margin: 0 60px;
  overflow: hidden;
  border-radius: 15px;
}

.step {
  position: absolute;
  inset: 0;
  background: #f0f0f0;
  padding: 48px 60px 52px;
  border-radius: 15px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.step:nth-child(1) { background: #f5f5f5; }
.step:nth-child(2) { background: #ebebeb; }
.step:nth-child(3) { background: #dedede; }
.step:nth-child(4) { background: #d0d0d0; }

.step-num {
  font-size: 64px;
  font-weight: 300;
  color: #111;
  line-height: 1;
  margin-bottom: 24px;
}

.step-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 14px;
}

.step-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 520px;
}

/* ── Footer wordmark ── */

.footer-wordmark-wrap {
  margin-top: -54px;
  padding-bottom: 40px;
}

.footer-wordmark {
  display: block;
  font-size: 18vw;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #ebebeb;
  text-align: center;
  user-select: none;
}

.footer-credit {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  z-index: 2;
}

/* ── Sub-pages (Insights): logo top left, menu always visible, dark top bar ── */

.page-header {
  position: absolute;
  top: 30px;
  left: 60px;
  z-index: 10;
}

.page-logo {
  display: block;
  color: #111;
  --logo-mark: var(--accent);
}

.page-logo .logo {
  height: 30px;
}

body.page .pill-nav {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.page .top-pill {
  color: #111;
  text-shadow: none;
  opacity: 0.7;
}

.page .top-pill-icon {
  filter: none;
}

.pill-nav a[aria-current="page"] {
  opacity: 1;
}

.page-footer {
  border-top: 1px solid #eee;
  padding: 40px 60px 140px;
}

.page-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 14px;
  font-weight: 300;
  color: #999;
}

.page-footer-inner a {
  color: #555;
  text-decoration: none;
}

.page-footer-inner a:hover {
  color: #111;
}

/* ── Insights index ── */

.insights-head {
  max-width: 860px;
  margin: 0 auto;
  padding: 170px 60px 60px;
  text-align: center;
}

.insights-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.insights-intro {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 620px;
  margin: 0 auto;
}

.insights-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 60px 120px;
}

.insight-card {
  display: block;
  padding: 40px 0;
  border-top: 1px solid #eee;
  color: inherit;
  text-decoration: none;
}

.insight-card:last-child {
  border-bottom: 1px solid #eee;
}

.insight-meta,
.article-meta {
  font-size: 13px;
  font-weight: 300;
  color: #999;
  margin-bottom: 14px;
}

.insight-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.insight-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 300;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 14px;
  transition: color 0.2s;
}

.insight-summary {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 760px;
  margin-bottom: 20px;
}

.insight-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111;
}

.insight-read .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.insight-card:hover .insight-title {
  color: var(--accent);
}

.insight-card:hover .insight-read .btn-icon {
  transform: translateX(4px);
}

/* ── Insights article (brief) ── */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 24px 100px;
}

.article-back {
  display: inline-block;
  font-size: 13px;
  color: #999;
  text-decoration: none;
  margin-bottom: 32px;
}

.article-back:hover {
  color: #111;
}

.article-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.6px;
  line-height: 1.12;
  margin-bottom: 24px;
}

.article-lead {
  font-size: 21px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
}

.article-brief {
  background: #f7f7f7;
  border-radius: 15px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.article-brief-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.article-brief ul {
  padding-left: 18px;
}

.article-brief li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

.article h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 48px 0 16px;
}

.article > p:not([class]),
.article ol li {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #333;
}

.article > p:not([class]) {
  margin-bottom: 20px;
}

.article ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.article ol li {
  margin-bottom: 8px;
}

.article blockquote {
  margin: 40px 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: #111;
}

.article-cta {
  margin-top: 64px;
  padding: 40px;
  border-radius: 15px;
  background: #111;
  color: #fff;
}

.article-cta h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 300;
}

.article-cta p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.article-cta .btn-primary {
  background: #fff;
  color: #111;
}

/* ── Contact panel animation ── */

#app {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

html.panel-open {
  overflow: hidden;
}

html.panel-open #app {
  clip-path: inset(0 50% 0 0);
}

html.panel-open body .pill-nav,
html.panel-open body .hero-text {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ── Contact panel ── */

#contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  background: #111;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

html.panel-open #contact-panel {
  transform: translateX(0);
}

.panel-textarea {
  resize: vertical;
  min-height: 170px;
  font-family: 'Figtree', 'Manrope', sans-serif;   /* Manrope covers Cyrillic */
  line-height: 1.6;
}

#contact-success .panel-body {
  margin-bottom: 0;
}

.panel-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 8px;
  line-height: 0;
  transition: color 0.2s;
}

.panel-close:hover {
  color: #fff;
}

.panel-inner {
  padding: 60px;
  max-width: 600px;   /* roomy enough to write comfortably */
  width: 100%;
}

.panel-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 20px;
}

.panel-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.panel-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #999;
  margin-bottom: 36px;
}

.panel-form-wrap {
  position: relative;
}

.panel-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.panel-input {
  font-family: 'Figtree', 'Manrope', sans-serif;   /* Manrope covers Cyrillic */
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  background: #1c1c1c;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.panel-input:focus {
  border-color: #888;
}

.panel-input::placeholder {
  color: #999;
}

.panel-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.panel-submit {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: #111;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.panel-submit:hover {
  background: #e8e8e8;
  opacity: 1;
}

.panel-error {
  font-size: 13px;
  font-weight: 300;
  color: #e57373;
  margin-bottom: 12px;
}

.panel-phone {
  font-size: 14px;
  font-weight: 300;
  color: #999;
  margin-top: 8px;
}

.panel-phone a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.panel-phone a:hover {
  border-color: #fff;
}

.panel-brand {
  position: absolute;
  bottom: 28px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0em;
}

.panel-brand .logo {
  height: 30px;
}

/* ── Responsive ── */

@media (max-width: 760px) {
  #contact-panel {
    width: 100vw;
    height: 100dvh;
  }

  html.panel-open #app {
    clip-path: none;
  }

  .hero-text {
    bottom: 40px;
    left: 24px;
    right: 24px;
    max-width: none;
  }

  .hero-stage {
    padding: 10px;
  }

  .top-bar {
    top: 22px;
    right: 22px;
  }

  .page-header {
    top: 22px;
    left: 24px;
  }

  .page-logo .logo {
    height: 24px;
  }

  .insights-head {
    padding: 130px 24px 40px;
  }

  .insights-intro {
    font-size: 17px;
  }

  .insights-list {
    padding: 10px 24px 100px;
  }

  .article {
    padding-top: 120px;
  }

  .article-lead {
    font-size: 19px;
  }

  .article-cta {
    padding: 30px 24px;
  }

  .page-footer {
    padding: 32px 24px 120px;
  }

  .hero-image {
    object-position: 82% 50%;
  }

  .hero-dots {
    transform-origin: 82% 50%;
  }

  /* Text at the bottom, so the dot shapes have room above it */
  .hero-story {
    top: auto;
    bottom: 110px;
    left: 22px;
    right: 22px;
    max-width: none;
    margin-top: 0;
  }

  .hero-story-body {
    font-size: 16px;
  }

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

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    justify-content: center;
  }

  .pill-nav {
    bottom: 24px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    padding: 14px 20px;
    flex-direction: column-reverse;
    align-items: flex-start;
    transition: border-radius 0.3s ease,
                opacity 0.38s ease 0.14s,
                transform 0.42s cubic-bezier(0.34, 1.3, 0.64, 1) 0.14s;
  }

  /* Links hidden via max-height so they can animate */
  .pill-nav .pill-sep,
  .pill-nav a:not(.pill-brand),
  .pill-nav .pill-trigger {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-left: 0;
    padding: 0;
    pointer-events: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                padding 0.3s ease;
  }

  /* Expanded */
  .pill-nav.open {
    border-radius: 20px;
  }

  .pill-nav.open .pill-sep {
    max-height: 2px;
    height: 1px;
    width: 120px;
    opacity: 1;
    padding: 0;
    margin: 8px 0;
  }

  .pill-nav.open a:not(.pill-brand),
  .pill-nav.open .pill-trigger {
    max-height: 40px;
    opacity: 0.65;
    font-size: 15px;
    padding: 5px 0;
    pointer-events: auto;
    min-width: 120px;
    white-space: nowrap;   /* long labels (Онлайн магазини) stay on one line */
  }

  .pill-nav a + .pill-sep {
    margin-left: 0;
  }

  /* In the open mobile menu Products is a plain heading with E-commerce and CRM indented under it */
  /* The menu is drawn bottom-up (column-reverse); the group keeps its own top-down
     order so the Products heading sits above E-commerce and CRM */
  .pill-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .pill-sub {
    display: contents;
  }

  .pill-group > .pill-trigger::after {
    display: none;
  }

  .pill-nav .pill-sub a,
  .pill-nav .pill-sub a[aria-current] {
    border-radius: 0;
    font-size: inherit;
    background: none;
  }

  .pill-sub {
    visibility: visible;   /* display: contents, so its children must stay visible */
  }

  .pill-sub::after {
    display: none;
  }

  .pill-nav.open .pill-sub a:not(.pill-brand) {
    padding-left: 12px;
  }

  /* In the open mobile menu all languages show in a row, no sliding */
  .pill-nav .pill-lang {
    gap: 18px;
    margin-left: 0;
  }

  .pill-nav .pill-lang a,
  .pill-nav .pill-lang a:not([aria-current]) {
    margin-left: 0;
    max-width: none;
  }

  .pill-nav .pill-lang a[aria-current]::after {
    display: none;
  }

  .pill-nav.open .pill-lang a {
    width: auto;
    min-width: 0;
  }

  .panel-inner {
    padding: 70px 24px 90px;
  }

  .tech {
    padding: 72px 0;
  }

  .tech-item {
    padding: 12px 22px;
    font-size: 15px;
  }

  .tech-logo {
    width: 22px;
    height: 22px;
  }

  .launched {
    padding: 10px;
  }

  .launched-frame {
    height: calc(100svh - 20px);
  }

  .launched-head {
    padding: 36px 24px 0;
  }

  .launched-track {
    gap: 14vw;
    padding: 0 20vw 0 24px;
  }

  .launched-slide {
    flex-basis: 76vw;
    padding-left: 20px;
  }

  .launched-desc {
    font-size: 16px;
  }

  .pill-brand {
    font-size: 16px;
    padding: 0 6px 0 4px;
    cursor: pointer;
  }

  .container {
    padding: 0 24px;
  }

  .faq,
  .cta-section {
    padding: 72px 0;
  }

  .hero-logo {
    font-size: 36px;
  }

  .faq h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .cta-inner h2 {
    font-size: 30px;
  }
}

/* ── WooCommerce landing page (woocommerce/index.html) ── */

/* Top-left logo in one colour (mark same as the wordmark) */
.lp-page .page-logo {
  --logo-mark: currentColor;
}

.lp-hero {
  padding: 84px 16px 0;
}

.lp-hero-frame {
  position: relative;
  min-height: calc(100vh - 100px);
  min-height: calc(100svh - 100px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-glow), #050505;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

/* Same drifting dots as the Launched frame */
.lp-hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.3px);
  background-size: 22px 22px;
  animation: dotsDrift 30s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 75% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.lp-hero-content {
  position: relative;
  max-width: 780px;
}

.lp-hero-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.lp-hero-title {
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 300;
  letter-spacing: -0.8px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.lp-hero-lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin-bottom: 36px;
}

.lp-hero .btn-primary {
  background: #fff;
  color: #111;
}

.lp-hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.lp-hero .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lp-facts {
  position: relative;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.lp-facts li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.lp-section {
  position: relative;
  padding: 100px 0;
  background: #fff;
}

.lp-section-alt {
  background: #f7f7f7;
}

.lp-wide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 60px;
}

.lp-section .section-title {
  margin-bottom: 20px;
}

.lp-intro {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

/* Features */

.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 15px;
  overflow: hidden;
}

.lp-feature {
  background: #f7f7f7;
  padding: 36px 36px 40px;
}

.lp-feature-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}

.lp-feature-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
}

/* Bonus: integration included */

.lp-bonus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-bonus-item {
  background: #fff;
  border-radius: 15px;
  padding: 28px;
}

.lp-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.lp-bonus-note a,
.lp-bonus-item a {
  color: #111;
  text-underline-offset: 3px;
}

.lp-bonus-note a:hover,
.lp-bonus-item a:hover {
  color: var(--accent);
}

.lp-bonus-item p:not(.lp-tag) {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #444;
}

.lp-bonus-note {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 300;
  color: #777;
  text-align: center;
}

/* Pricing */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-radius: 15px;
  padding: 36px 32px 32px;
}

.lp-plan-featured {
  background: var(--dark-glow), #111;
  border-color: transparent;   /* no visible border; keeps the same size as the other cards */
  background-origin: border-box;   /* colours fill the border area too, no repeat line at the edge */
  color: #fff;
}

.lp-plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
}

.lp-plan-name {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}

.lp-plan-for {
  font-size: 15px;
  font-weight: 300;
  color: #777;
  margin-bottom: 28px;
}

.lp-plan-featured .lp-plan-for {
  color: rgba(255, 255, 255, 0.6);
}

.lp-plan-price {
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.8px;
  line-height: 1;
  margin-bottom: 6px;
}

.lp-plan-from {
  display: block;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0;
  color: #999;
  margin-bottom: 8px;
}

.lp-plan-time {
  font-size: 14px;
  font-weight: 300;
  color: #777;
  margin-bottom: 28px;
}

.lp-plan-featured .lp-plan-time,
.lp-plan-featured .lp-plan-from {
  color: rgba(255, 255, 255, 0.55);
}

.lp-plan ul {
  list-style: none;
  margin-bottom: 32px;
}

.lp-plan li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #444;
}

.lp-plan-featured li {
  color: rgba(255, 255, 255, 0.82);
}

.lp-plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.lp-plan-featured li::before {
  border-color: #fff;
}

.lp-plan li strong {
  font-weight: 500;
  color: var(--accent);
}

.lp-plan-featured li strong {
  color: #fff;
}

.lp-plan .btn-primary,
.lp-plan .btn-secondary {
  margin-top: auto;
  justify-content: center;
  cursor: pointer;
}

.lp-plan-featured .btn-primary {
  background: #fff;
  color: #111;
}

.lp-care {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 16px;
  padding: 28px 32px;
  border-radius: 15px;
  background: #f7f7f7;
}

.lp-care-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}

.lp-care-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
  max-width: 640px;
}

.lp-care-price {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 300;
  white-space: nowrap;
}

.lp-care-price span {
  font-size: 14px;
  color: #777;
}

.lp-pricing-note {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 300;
  color: #999;
  text-align: center;
}

/* Steps */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  border-radius: 15px;
  overflow: hidden;
  list-style: none;
}

.lp-step {
  padding: 36px 32px 40px;
}

.lp-step:nth-child(1) { background: #f5f5f5; }
.lp-step:nth-child(2) { background: #ebebeb; }
.lp-step:nth-child(3) { background: #dedede; }
.lp-step:nth-child(4) { background: #d0d0d0; }

.lp-step .step-num {
  font-size: 48px;
  margin-bottom: 20px;
}

/* Quote form */

.lp-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.lp-quote-text .section-label,
.lp-quote-text .section-title {
  text-align: left;
}

.lp-quote-text p:not([class]) {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  margin-bottom: 32px;
}

.lp-next {
  list-style: none;
  counter-reset: next;
  border-top: 1px solid #e2e2e2;
}

.lp-next li {
  counter-increment: next;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e2e2;
  font-size: 15px;
  font-weight: 300;
  color: #444;
}

.lp-next li::before {
  content: counter(next, decimal-leading-zero);
  color: var(--accent);
  font-weight: 400;
}

.lp-form {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-field-full {
  grid-column: 1 / -1;
}

.lp-field label {
  font-size: 13px;
  font-weight: 400;
  color: #555;
}

.lp-input {
  width: 100%;
  font-family: 'Figtree', 'Manrope', sans-serif;   /* Manrope covers Cyrillic */
  font-size: 15px;
  font-weight: 300;
  color: #111;
  background: #fff;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.lp-input:focus {
  border-color: #111;
}

.lp-input::placeholder {
  color: #aaa;
}

select.lp-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

textarea.lp-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.lp-form .btn-primary {
  grid-column: 1 / -1;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 14px 24px;
}

.lp-form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: #999;
  text-align: center;
}

.lp-form-note a {
  color: #555;
}

.lp-form-error {
  grid-column: 1 / -1;
  font-size: 13px;
  color: #c62828;
}

.lp-success {
  background: #fff;
  border-radius: 15px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.lp-success h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 12px;
}

.lp-success p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
}

.lp-success a {
  color: #111;
}

@media (max-width: 1000px) {
  .lp-features,
  .lp-plans {
    grid-template-columns: 1fr;
  }

  .lp-bonus-grid,
  .lp-steps {
    grid-template-columns: 1fr 1fr;
  }

  .lp-quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lp-plans {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .lp-hero {
    padding: 70px 10px 0;
  }

  .lp-hero-frame {
    min-height: calc(100svh - 80px);
    padding: 36px 24px;
  }

  .lp-hero-lead {
    font-size: 17px;
  }

  .lp-facts {
    margin-top: 36px;
    gap: 10px 24px;
  }

  .lp-section {
    padding: 72px 0;
  }

  .lp-wide {
    padding: 0 24px;
  }

  .lp-bonus-grid,
  .lp-steps,
  .lp-form {
    grid-template-columns: 1fr;
  }

  .lp-feature,
  .lp-step {
    padding: 28px 24px 32px;
  }

  .lp-plan {
    padding: 32px 24px 24px;
  }

  .lp-care {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .lp-form {
    padding: 28px 20px;
  }

  .lp-quote-text .section-label,
  .lp-quote-text .section-title {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-frame::before {
    animation: none;
  }
}

/* ── Colour glow drift (after the base rules, whose `background` shorthand resets the size) ── */

@keyframes glowDrift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 60%; }
  100% { background-position: 0% 0%; }
}

.launched-frame,
.lp-hero-frame,
.lp-plan-featured {
  background-size: 130% 130%;
  animation: glowDrift 24s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .launched-frame,
    .lp-hero-frame,
  .lp-plan-featured {
    animation: none;
  }
}

/* ── Playful theme (trial, 2026-10-28): glossy colour blobs + a shine sweep on the dark areas.
      To go back to the colour glow above, delete everything from here to the end of the file. ── */

:root {
  --fun-glow:
    radial-gradient(circle at 12% 18%, rgba(255, 79, 163, 0.85), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(255, 200, 70, 0.95), transparent 42%),
    radial-gradient(circle at 85% 88%, rgba(40, 230, 215, 0.9), transparent 46%),
    radial-gradient(circle at 18% 92%, rgba(125, 90, 255, 0.95), transparent 44%),
    radial-gradient(circle at 55% 45%, rgba(255, 110, 70, 0.45), transparent 42%);
}

@keyframes funDrift {
  0%   { background-position: 0% 0%; }
  33%  { background-position: 100% 30%; }
  66%  { background-position: 40% 100%; }
  100% { background-position: 0% 60%; }
}

@keyframes funShine {
  0%, 60% { background-position: 150% 0; }
  100%    { background-position: -50% 0; }
}

.launched-frame,
.lp-hero-frame,
.lp-plan-featured {
  background: var(--fun-glow), #2a1452;
  background-size: 140% 140%;
  animation: funDrift 20s ease-in-out infinite alternate;
}

/* Dot grid on top of the colours, a little brighter so it shows on the blobs */
.launched-frame::before,
.lp-hero-frame::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1.3px);
}

.lp-plan-featured {
  overflow: hidden;
  background-origin: border-box;
}

/* Glossy light streak sweeping across */
.launched-frame::after,
.lp-hero-frame::after,
.lp-plan-featured::after {
  content: '';
  position: absolute;
  inset: 0;   /* stays inside the frame: the streak moves via background-position, not transform */
  background: linear-gradient(110deg,
    transparent 42%,
    rgba(255, 255, 255, 0.12) 47%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.12) 53%,
    transparent 58%) no-repeat;
  background-size: 250% 100%;
  animation: funShine 8s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .launched-frame,
    .lp-hero-frame,
  .lp-plan-featured,
  .launched-frame::after,
  .lp-hero-frame::after,
  .lp-plan-featured::after {
    animation: none;
  }
}
