@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Light.ttf') format('truetype'); font-weight: 300; font-display: block; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Regular.ttf') format('truetype'); font-weight: 400; font-display: block; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Medium.ttf') format('truetype'); font-weight: 500; font-display: block; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Bold.ttf') format('truetype'); font-weight: 700; font-display: block; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Heavy.ttf') format('truetype'); font-weight: 800; font-display: block; }

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.shake { animation: shake 0.4s ease; }

@keyframes brandNameSupportIn {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes brandNameACoreIn {
  0% {
    opacity: 0;
    filter: blur(12px) drop-shadow(0 0 0 rgba(126,174,255,0));
    clip-path: polygon(48% 0, 52% 0, 52% 0, 48% 0);
    transform: translate3d(0, -3px, 0) scale(0.94);
  }
  28% {
    opacity: 1;
    filter: blur(5px) drop-shadow(0 0 12px rgba(126,174,255,0.48));
    clip-path: polygon(44% 0, 56% 0, 60% 42%, 40% 42%);
    transform: translate3d(0, -1px, 0) scale(1.05);
  }
  54% {
    opacity: 1;
    filter: blur(1px) drop-shadow(0 0 18px rgba(126,174,255,0.58));
    clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
    transform: translate3d(0, 1px, 0) scale(0.985);
  }
  76% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 10px rgba(255,255,255,0.34));
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, -0.5px, 0) scale(1.012);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes brandNameCoreWave {
  0%, 28% {
    opacity: 0;
    filter: blur(1px);
    transform: translateX(-50%) scaleX(0);
  }
  46% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) scaleX(0.52);
  }
  66% {
    opacity: 0.7;
    filter: blur(0);
    transform: translateX(-50%) scaleX(0.92);
  }
  82% {
    opacity: 0.36;
    filter: blur(0.4px);
    transform: translateX(-50%) scaleX(1);
  }
  92% {
    opacity: 0.14;
    filter: blur(0.9px);
    transform: translateX(-50%) scaleX(1.04);
  }
  100% {
    opacity: 0;
    filter: blur(1.4px);
    transform: translateX(-50%) scaleX(1.08);
  }
}

@keyframes brandNameCorePulse {
  0%, 24% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
}

@keyframes brandLogoSpinIn {
  0% {
    opacity: 0;
    filter: blur(28px);
    transform: scale(2.55) rotate(-720deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) rotate(0deg);
  }
}

@keyframes brandOrbBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(0.15);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) scale(var(--end-scale));
  }
}

@property --brand-ready-lift {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

@keyframes brandHoverReady {
  to {
    --brand-ready-lift: -8px;
  }
}

:root {
  --dark-bg: #1B2231;
  --dark-text: #f0eef8;
  --dark-muted: rgba(240,238,248,0.45);
  --accent: #2D3851;
  --accent-glow: rgba(45,56,81,0.35);
  --light-bg: #e4e7ed;
  --light-text: #111118;
  --light-muted: #5e5878;
  --max: 1100px;
  --font: 'AvenirNext', system-ui, -apple-system, sans-serif;
  --input-radius: 12px;
  --card-radius: 20px;
  --landing-min-height: 844px;
}

html, body {
  font-size: 17px;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  overflow-x: hidden;
  background: var(--dark-bg);
}

html.js body {
  visibility: hidden;
}

html.js.landing-visible body {
  visibility: visible;
}


/* ── Dark hero ── */
.page {
  min-height: 100dvh;
  min-height: max(100dvh, var(--landing-min-height));
  background: radial-gradient(ellipse at 50% calc(65% - 300px), #2D3851 0%, #1B2231 45%, #0B0E14 100%);
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
}

.page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/grain.png');
  background-repeat: repeat;
  background-size: 256px 256px;
  filter: invert(1);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.nav-lang {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #111118;
  text-decoration: none;
  z-index: 100;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  font-family: var(--font);
  transition: transform 0.3s ease;
}

.nav-lang:hover { transform: translateY(-5px); }

.nav-lang-icon {
  width: 16px;
  height: 16px;
  stroke: #000000;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

#nav-cta {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 400;
  color: #111118;
}

.brand {
  --brand-ready-lift: 0px;
  margin-bottom: 56px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  transition: transform 280ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(var(--brand-ready-lift));
}

.brand-logo-wrapper {
  position: relative;
  height: 180px;
  aspect-ratio: 301 / 295;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.brand-logo-orb {
  position: absolute;
  left: calc(52% - 2px);
  top: calc(50.2% - 2px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 0 16px rgba(255,255,255,0.9),
    0 0 34px rgba(108,139,205,0.5);
  opacity: 0;
  pointer-events: none;
}

.brand-logo-orb--one { --angle: -154deg; --distance: 138px; --size: 9px; --end-scale: 0.45; --duration: 980ms; --delay: 180ms; }
.brand-logo-orb--two { --angle: -92deg; --distance: 126px; --size: 6px; --end-scale: 0.5; --duration: 920ms; --delay: 260ms; }
.brand-logo-orb--three { --angle: -26deg; --distance: 152px; --size: 11px; --end-scale: 0.38; --duration: 1060ms; --delay: 220ms; }
.brand-logo-orb--four { --angle: 38deg; --distance: 132px; --size: 7px; --end-scale: 0.52; --duration: 940ms; --delay: 340ms; }
.brand-logo-orb--five { --angle: 112deg; --distance: 145px; --size: 10px; --end-scale: 0.42; --duration: 1040ms; --delay: 280ms; }
.brand-logo-orb--six { --angle: 174deg; --distance: 118px; --size: 6px; --end-scale: 0.55; --duration: 900ms; --delay: 380ms; }

.brand-logo-final {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform-origin: calc(52% - 7px) calc(50.2% - 1px);
  will-change: transform, filter, opacity;
}

.brand-name {
  --name-height: 56px;
  --name-width: 260px;
  --brand-name-core-x: calc(15.3% + 3px);
  --brand-name-pulse-x: var(--brand-name-core-x);
  --brand-name-core-y: 2.5%;
  --brand-name-wave-width: 220px;
  margin-top: 32px;
  display: block;
  height: var(--name-height);
  width: var(--name-width);
  position: relative;
}

.brand-name::before,
.brand-name::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  will-change: transform, opacity, filter;
}

.brand-name::before {
  left: var(--brand-name-core-x);
  top: 50%;
  width: var(--brand-name-wave-width);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126,174,255,0.32) 18%,
    rgba(255,255,255,0.92) 47%,
    rgba(126,174,255,0.36) 78%,
    transparent 100%
  );
  box-shadow:
    0 -10px 0 rgba(126,174,255,0.16),
    0 10px 0 rgba(255,255,255,0.14),
    0 0 18px rgba(126,174,255,0.62);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
}

.brand-name::after {
  left: var(--brand-name-pulse-x);
  top: var(--brand-name-core-y);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.98);
  box-shadow:
    0 0 10px rgba(255,255,255,0.96),
    0 0 28px rgba(126,174,255,0.68),
    0 0 44px rgba(45,56,81,0.5);
  transform: translate(-50%, -50%) scale(0.25);
}

.brand-name-part {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  filter: blur(14px);
  z-index: 1;
  will-change: transform, filter, opacity;
}

.brand-name-part img {
  position: absolute;
  top: 0;
  height: 100%;
  width: var(--name-width);
  max-width: none;
  display: block;
}

.brand-name-part--i {
  left: 0;
  width: 1.45%;
}

.brand-name-part--i img {
  left: 0;
}

.brand-name-part--a {
  left: 7.05%;
  width: 17.83%;
  transform-origin: 46.5% 3%;
}

.brand-name-part--a img {
  left: 0;
  transform: translateX(-7.05%);
}

.brand-name-part--com {
  left: 29.3%;
  width: 70.7%;
  transform-origin: left center;
}

.brand-name-part--com img {
  left: 0;
  transform: translateX(-29.3%);
}

html:not(.js) .brand,
html.landing-animate .brand {
  animation: brandHoverReady 280ms ease 2050ms forwards;
}

html:not(.js) .brand-logo-orb,
html.landing-animate .brand-logo-orb {
  animation: brandOrbBurst var(--duration) cubic-bezier(0.12, 0.82, 0.16, 1) var(--delay) forwards;
}

html:not(.js) .brand-logo-final,
html.landing-animate .brand-logo-final {
  animation: brandLogoSpinIn 1700ms cubic-bezier(0.02, 0.88, 0.14, 1) 80ms forwards;
}

html:not(.js) .brand-name-part--i,
html.landing-animate .brand-name-part--i {
  animation: brandNameSupportIn 980ms linear 300ms forwards;
}

html:not(.js) .brand-name-part--a,
html.landing-animate .brand-name-part--a {
  animation: brandNameACoreIn 880ms cubic-bezier(0.16, 0.86, 0.18, 1) 360ms forwards;
}

html:not(.js) .brand-name-part--com,
html.landing-animate .brand-name-part--com {
  animation: brandNameSupportIn 980ms linear 300ms forwards;
}

html:not(.js) .brand-name::before,
html.landing-animate .brand-name::before {
  animation: brandNameCoreWave 1180ms linear 500ms both;
}

html:not(.js) .brand-name::after,
html.landing-animate .brand-name::after {
  animation: brandNameCorePulse 780ms ease-out 360ms both;
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .brand-logo-final,
  .brand-logo-orb,
  .brand-name,
  .brand-name::before,
  .brand-name::after,
  .brand-name-part {
    animation: none !important;
    transition: none !important;
  }

  .brand-logo-orb {
    display: none;
  }

  .brand-name {
    opacity: 1;
  }

  .brand-name-part {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .brand-logo-final {
    opacity: 1;
  }

  .brand {
    --brand-ready-lift: -8px;
  }
}

.slogan-wrapper {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  width: 100%;
  min-width: 0;
}

.slogan {
  text-align: center;
  margin-bottom: 46px;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.slogan h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.slogan h1 strong { font-size: 0.62em; font-weight: 400; color: var(--dark-text); letter-spacing: 0; }
.slogan h1 span   { color: var(--dark-muted); }

.slogan h1 .slogan-pre {
  font-size: 0.5em;
  font-weight: 300;
  letter-spacing: 0;
  color: #7D89A4;
}

.form-area {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  margin-top: 20px;
  z-index: 2;
}

.fly-img {
  display: block;
  margin: 24px auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  transform: rotate(-7deg);
}

.input-row {
  display: flex;
  gap: 10px;
}

.email-input {
  flex: 1;
  padding: 14px 18px;
  background: #2D3851;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--input-radius);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.email-input::placeholder { color: rgba(255,255,255,0.75); }
.email-input:focus {
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.submit-btn {
  padding: 14px 24px;
  background: #7D89A4;
  border: none;
  border-radius: var(--input-radius);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
  -webkit-appearance: none;
}

.submit-btn:hover  { filter: brightness(1.15); transform: translateY(-5px); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-status {
  min-height: 1.2em;
}

.form-message {
  font-size: 0.85rem;
  text-align: center;
  color: var(--dark-muted);
  line-height: 1.2;
  margin: 0;
}

.form-message.error   { color: #ff4d6d; }
.form-message.warning { color: #f0c040; }
.form-message.success { color: #80ED99; }

.form-message:empty {
  display: none;
}

.form-caption {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.55);
  line-height: 1.2;
  margin: 0;
}

.form-message:not(:empty) ~ .form-caption {
  display: none;
}


/* ── Light sections ── */
.light-sections {
  background: var(--light-bg);
  color: var(--light-text);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px;
}

.stack-strip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  min-width: 0;
  padding: 0 32px;
  text-align: center;
  z-index: 2;
}

.stack-line {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.stack-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 36px;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
}

.stack-icon {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.85);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.section + .section {
  padding-top: 24px;
}

.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 52px;
  color: var(--light-text);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step-num {
  font-size: 0.80rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.step-title {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #111118;
}

.step-body {
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--light-muted);
  line-height: 1.45;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(45,56,81,0.15);
  border-radius: var(--card-radius);
  padding: 32px 28px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #2D3851;
  border-radius: 12px;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 1.03rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--light-text);
}

.feature-body {
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--light-muted);
  line-height: 1.45;
}

/* Quality strip */
.quality-strip {
  border-top: 1px solid rgba(45,56,81,0.25);
  padding: 14px 32px 50px;
  text-align: center;
}

.quality-strip p.quality-strip-sub {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--light-muted);
  margin-top: 16px;
}

.quality-strip-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 32px;
  background: #7D89A4;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--input-radius);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.quality-strip-cta:hover {
  filter: brightness(1.15);
  transform: translateY(-5px);
}

.quality-strip p {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.1;
  color: var(--accent);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 36px 40px;
  max-width: 640px;
  width: 100%;
  text-align: center;
  position: relative;
}


.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--light-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close:hover { color: var(--light-text); }

.modal-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: block;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--light-text);
}

.modal-body {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--light-muted);
  line-height: 1.45;
}

.modal-cta {
  margin-top: 32px;
  width: 100%;
  padding: 14px 24px;
  background: #909EBD;
  border: none;
  border-radius: var(--input-radius);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.modal-cta:hover { filter: brightness(0.88); transform: translateY(-5px); }

/* Footer */
footer {
  background: #1B2231;
  font-size: 0.96rem;
  font-weight: 400;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/grain.png');
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.footer-links a + a::before {
  content: '·';
  padding: 0 10px;
  color: rgba(255,255,255,0.5);
}

.footer-copy { white-space: nowrap; }

footer a { color: #ffffff; text-decoration: none; }
footer a:hover { opacity: 0.75; }

.footer-cookie-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.footer-cookie-btn:hover { opacity: 0.75; }

.footer-links a span,
.footer-cookie-btn span { display: inline-block; transition: transform 0.2s; }
.footer-links a:hover span,
.footer-cookie-btn:hover span { transform: translateY(-2px); }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.footer-cookie-bar {
  position: relative;
  z-index: 1;
  background: #7D89A4;
  padding: 16px 32px;
  text-align: center;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(17,17,24,0.12);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

.cookie-consent p {
  margin: 0;
  color: #111118;
  font-size: 0.86rem;
  line-height: 1.35;
}

.cookie-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent-btn {
  border: none;
  border-radius: 10px;
  background: #7D89A4;
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 13px;
}

.cookie-consent-btn.secondary {
  background: transparent;
  color: #111118;
  border: 1px solid rgba(17,17,24,0.16);
}


/* ── Responsive ── */
@media (max-width: 640px) {
  .nav-lang { font-size: 0.78rem; padding: 5px 10px 5px 7px; }
  #nav-cta { font-size: 0.78rem; }
  .brand-logo-wrapper { height: 112px; }
  .brand { margin-bottom: 13px; }
  .brand-name {
    --name-height: 40px;
    --name-width: 185px;
    --brand-name-pulse-x: calc(var(--brand-name-core-x) - 2px);
    --brand-name-wave-width: 154px;
    margin-top: 24px;
  }

  .slogan-wrapper { max-width: 100%; margin-top: 10px; }
  .slogan h1,
  .slogan h1 strong,
  .slogan h1 .slogan-pre,
  .form-caption,
  .stack-line {
    max-width: 100%;
    min-width: 0;
  }
  .slogan h1 strong,
  .slogan h1 .slogan-pre,
  .form-caption,
  .stack-line {
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .slogan h1 strong {
    display: block;
    max-width: calc(100vw - 48px);
    font-size: clamp(0.88rem, 4.1vw, 1.14rem);
    line-height: 1.12;
    transform: translateY(-5px);
    white-space: nowrap;
  }
  .form-caption,
  .stack-line {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }
  .slogan h1 { gap: 13px; font-size: clamp(1.62rem, 8vw, 2.02rem); line-height: 1.15; }
  .slogan { margin-bottom: 24px; }
  .form-area { margin-top: 24px; }
  .section { padding: 32px 20px; }
  .input-row { flex-direction: column; }
  .submit-btn { width: 100%; text-align: center; }
  .submit-btn:hover { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .quality-strip { padding: 48px 20px; }
  .stack-strip { position: static; bottom: auto; left: auto; transform: none; width: auto; max-width: none; padding: 0; margin-top: 32px; }
  .stack-line { margin-bottom: 40px; }
  .stack-logos { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 20px 28px; }
  .cookie-consent { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-consent-actions { justify-content: center; }
}

@media (max-width: 760px) {
  .footer-inner { padding: 16px 20px; flex-direction: column; align-items: center; gap: 12px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .footer-links a + a::before { content: none; padding: 0; }
  .footer-social { margin-top: 10px; }
  .footer-copy { white-space: normal; text-align: center; margin-top: 10px;}
  .footer-cookie-bar { padding: 14px 20px; }
}
