/* ============================================================
   Vectr clone — design tokens (extracted from the original)
   ============================================================ */
:root {
  --color-bg: #fcfcfc;
  --color-bg-alt: #d9e8f1;
  --color-bg-muted: #eff4f4;
  --color-highlight: #3932dc;
  --color-dark: #050419;
  --color-dark-alt: #373647;
  --color-text: #050419;
  --color-text-light: #fcfcfc;
  --color-text-muted: #585765;
  --color-text-disabled: #8c8c95;
  --color-text-subtle: #b2b1b8;
  --color-border: #e6e6e8;
  --color-border-dark: #373647;

  --font-ui: "Roboto", sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 18px;
  --text-lg: 24px;
  --text-xl: 36px;

  --tracking-wide: 0.72px;
  --tracking-tight: -0.96px;
  --tracking-tighter: -1.44px;
  --tracking-tightest: -3.2px;
  --tracking-hero: -5.76px;

  --space-xs: 12px;
  --space-sm: 18px;
  --space-md: 20px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  --space-5xl: 160px;

  --radius-sm: 2px;
  --radius-md: 12px;
  --radius-full: 156px;

  --btn-height: 40px;
  --header-height: 80px;
  --ease-default: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 500; }

body.is-loading { overflow: hidden; }

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  background: var(--color-bg-alt);
  transition: opacity 0.6s var(--ease-default), visibility 0.6s;
}
.loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  width: 76px;
  height: 76px;
  animation: loader-pop 1s var(--ease-default) both,
             loader-pulse 1.6s ease-in-out 1s infinite;
}

@keyframes loader-pop {
  from { opacity: 0; transform: scale(0.7) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.loader__bar {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: rgba(5, 4, 25, 0.15);
  overflow: hidden;
}
.loader__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  transform-origin: left center;
  animation: loader-fill 1.1s var(--ease-default) both;
}
@keyframes loader-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-default),
              color 0.3s var(--ease-default),
              transform 0.3s var(--ease-default);
}
.btn:hover { transform: translateY(-1px); }

.btn--dark  { background: var(--color-dark); color: var(--color-text-light); }
.btn--dark:hover { background: var(--color-dark-alt); }
.btn--ghost { background: rgba(5, 4, 25, 0.1); color: var(--color-text); }
.btn--ghost:hover { background: rgba(5, 4, 25, 0.2); }
.btn--light { background: var(--color-bg); color: var(--color-text); }
.btn--outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-border-dark);
}
.btn--outline:hover { border-color: var(--color-text-light); }
.btn--lg    { height: 48px; padding: 0 32px; }

.btn-label-short { display: none; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  z-index: 100;
}

.header__nav {
  display: flex;
  gap: var(--space-lg);
  flex: 1;
  margin-left: var(--space-xl);
}

.header__link {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.header__link:hover { opacity: 1; }

.header__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.logo-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.logo-mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

.header__actions {
  display: flex;
  gap: var(--space-xs);
  flex: 1;
  justify-content: flex-end;
}

.header__burger { display: none; }

/* header over dark sections turns white */
.header--white .header__link,
.header--white .logo-mark { color: var(--color-text-light); }
.header--white .logo-icon { filter: brightness(0) invert(1); }
.header--white .btn--ghost {
  background: rgba(252, 252, 252, 0.15);
  color: var(--color-text-light);
}
.header--white .btn--dark {
  background: var(--color-bg);
  color: var(--color-text);
}
.header--white .lang-switch__btn {
  background: rgba(252, 252, 252, 0.15);
  color: var(--color-text-light);
}
.header--white .header__burger span { background: var(--color-text-light); }

/* ============================================================
   Language switcher
   ============================================================ */
.lang-switch { position: relative; }

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: var(--btn-height);
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(5, 4, 25, 0.06);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-default);
}
.lang-switch__btn:hover { background: rgba(5, 4, 25, 0.12); }
.lang-switch__btn svg { transition: transform 0.3s var(--ease-default); }
.lang-switch.open .lang-switch__btn svg { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(5, 4, 25, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-default), transform 0.25s var(--ease-default);
  z-index: 101;
}
.lang-switch.open .lang-switch__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-switch__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-default);
}
.lang-switch__item:hover { background: var(--color-bg-muted); }
.lang-switch__item.is-active {
  background: rgba(5, 4, 25, 0.06);
  font-weight: 700;
}

.lang-switch__flag { font-size: 16px; line-height: 1; }

/* ============================================================
   Hero — fixed behind the scrolling page
   ============================================================ */
.hero {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}
.hero__canvas.is-ready { opacity: 1; }

/* content pinned to the top like the original, big gap below title */
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  text-align: center;
  padding: var(--space-4xl) var(--space-lg) 0;
}

.hero__title {
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.9;
  letter-spacing: clamp(-5.76px, -0.45vw, -2.8px);
  opacity: 0;
  transform: perspective(1000px) translate3d(0, -80px, 0) rotateX(-24deg);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--color-text);
  max-width: 620px;
  margin: 0 auto;
  opacity: 0;
  transform: perspective(1000px) translate3d(0, -60px, 0) rotateX(-24deg);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* entrance: drop in from above once the page is ready */
.hero.show .hero__title,
.hero.show .hero__sub {
  opacity: 1;
  transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  color: var(--color-text);
}

/* ============================================================
   Page wrapper — scrolls over the fixed hero
   ============================================================ */
.page { position: relative; z-index: 1; }

/* ============================================================
   Flow — tall scroll section, accordion pinned bottom-left
   ============================================================ */
.hero-spacer {
  min-height: max(40svh, 420px);
  width: 100%;
}

.flow {
  position: relative;
  height: 456svh;
  width: 100%;
  /* transparent: the fixed hero shows through */
}

.flow__wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: flex-end;
}

.flow__steps {
  position: relative;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: min(640px, 92vw);
}

.flow__step {
  display: flex;
  flex-direction: column;
}

.flow__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  padding: 6px 0;
}
.flow__step--active .flow__header { cursor: default; }

.flow__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  background: rgba(5, 4, 25, 0.06);
  flex-shrink: 0;
  transition: background-color 0.5s var(--ease-default), color 0.5s var(--ease-default);
}
.flow__step--active .flow__number {
  background: var(--color-dark);
  color: var(--color-text-light);
}

.flow__title {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  transform: scale(0.5833);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.flow__step--active .flow__title {
  transform: scale(1);
  line-height: 1.2;
}

/* collapsible body: 0fr → 1fr grid rows */
.flow__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.flow__step--active .flow__body { grid-template-rows: 1fr; }

.flow__body-inner {
  display: flex;
  gap: var(--space-md);
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: margin-top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.flow__step--active .flow__body-inner { margin-top: var(--space-xs); }

.flow__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
}

.flow__track-bar {
  width: 2px;
  background: rgba(5, 4, 25, 0.2);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.flow__track-fill {
  position: absolute;
  inset: 0;
  background: var(--color-dark);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.flow__description {
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0;
  padding-bottom: var(--space-xs);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.flow__step--active .flow__description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

/* ============================================================
   Features
   ============================================================ */
.features {
  position: relative;
  width: 100%;
  height: 400vh;
  background: var(--color-bg);
}

.features__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2xl);
  padding: 192px var(--space-xl);
}

.features__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: var(--tracking-tightest);
}

.features__grid {
  display: flex;
  gap: var(--space-xl);
}

.feature-item {
  flex: 1;
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-lg);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-default), transform 0.7s var(--ease-default);
}
.feature-item.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.feature-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-item img {
  width: 96px;
  height: 96px;
  margin-bottom: var(--space-xs);
}

.feature-item h3 {
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.4;
}

/* ============================================================
   Standards
   ============================================================ */
.standards {
  position: relative;
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

/* decorative backdrop: soft accent glow + dotted grid */
.standards__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 640px 420px at 82% 20%, rgba(57, 50, 220, 0.07), transparent 70%),
    radial-gradient(ellipse 520px 380px at 8% 90%, rgba(14, 148, 251, 0.06), transparent 70%),
    radial-gradient(rgba(5, 4, 25, 0.10) 1px, transparent 1.5px);
  background-size: auto, auto, 26px 26px;
}

.standards__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.standards__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.standards__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-highlight);
  border: 1px solid rgba(57, 50, 220, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  background: rgba(57, 50, 220, 0.05);
}
.standards__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-highlight);
}

.standards h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: var(--tracking-tighter);
}

.standards__copy p {
  color: var(--color-text-muted);
  max-width: 440px;
  font-size: var(--text-base);
}

/* 2x2 pillar cards */
.standards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.pillar {
  position: relative;
  background: rgba(252, 252, 252, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform 0.4s var(--ease-default),
              border-color 0.4s var(--ease-default),
              box-shadow 0.4s var(--ease-default);
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 50, 220, 0.45);
  box-shadow: 0 18px 40px rgba(5, 4, 25, 0.08);
}
.pillar:nth-child(2) { transition-delay: 0.08s; }
.pillar:nth-child(3) { transition-delay: 0.16s; }
.pillar:nth-child(4) { transition-delay: 0.24s; }
.pillar:hover { transition-delay: 0s; }

.pillar__num {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-disabled);
  letter-spacing: var(--tracking-wide);
}

.pillar__icon {
  width: 44px;
  height: 44px;
  color: var(--color-highlight);
}
.pillar__icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease-default);
}
.link-arrow:hover { gap: 16px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  position: relative;
  width: 100%;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 120px var(--space-xl);
}

.faq__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: var(--tracking-tightest);
  margin-bottom: var(--space-3xl);
}

.faq__list { max-width: 880px; }

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  list-style: none;
  cursor: pointer;
  padding: var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__chevron {
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease-default);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }

.faq__more {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-xl);
}

.faq__answer {
  overflow: hidden;
  padding-bottom: var(--space-lg);
}
.faq__answer p {
  color: var(--color-text-muted);
  max-width: 720px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  position: relative;
  width: 100%;
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: var(--space-4xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.cta-section h2 {
  color: var(--color-text-light);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: var(--tracking-tightest);
}

.cta-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.cta-section__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.cta-section__sub {
  color: var(--color-text-subtle);
  font-size: var(--text-base);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.cta-section__actions .btn { border: 0; cursor: pointer; font-family: var(--font-ui); }

/* ============================================================
   Contact form (dark)
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border-radius: var(--radius-md);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(252, 252, 252, 0.05);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--color-text-light);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
  resize: vertical;
  transition: border-color 0.3s var(--ease-default), background-color 0.3s var(--ease-default);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-disabled);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(252, 252, 252, 0.6);
  background: rgba(252, 252, 252, 0.08);
}

.input-group.has-error input,
.input-group.has-error textarea {
  border-color: #ff4d67;
}

.field-error {
  display: none;
  color: #ff4d67;
  font-size: var(--text-xs);
  padding-left: 4px;
}

.input-group.has-error .field-error {
  display: block;
  animation: err-in 0.3s var(--ease-default);
}

@keyframes err-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-submit {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  margin-top: var(--space-xs);
}
.btn-submit:disabled { opacity: 0.6; cursor: default; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-2xl) 0;
  color: var(--color-text-light);
  font-size: var(--text-base);
}
.form-success .success-icon { font-size: 40px; }
.form-success.hidden { display: none; }

.contact-form.highlight {
  animation: form-pulse 1.2s var(--ease-default);
}

@keyframes form-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(57, 50, 220, 0.7); }
  100% { box-shadow: 0 0 0 28px rgba(57, 50, 220, 0); }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: var(--color-text-subtle);
  padding: var(--space-2xl) var(--space-xl) var(--space-lg);
}

.footer .logo-mark { color: var(--color-text-light); }

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-dark);
}

.footer__left {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  min-width: 0;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.footer__nav { display: flex; gap: var(--space-lg); font-size: var(--text-sm); }
.footer__nav a:hover { color: var(--color-text-light); }

.footer__info {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-align: left;
}
.footer__info a:hover { color: var(--color-text-light); }

.footer__info-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.footer__info-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
  opacity: 0.85;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  font-size: var(--text-xs);
}

.footer__legal { display: flex; gap: var(--space-md); }
.footer__legal a:hover { color: var(--color-text-light); }

/* ============================================================
   Page transitions
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--color-bg-alt);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-default);
}
body.is-leaving .page-transition {
  opacity: 1;
  pointer-events: auto;
}
body.is-leaving .page,
body.is-leaving .hero__content {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.45s var(--ease-default), transform 0.45s var(--ease-default);
}

/* ============================================================
   Legal pages (Privacy Policy / Terms of Service)
   ============================================================ */
.legal-page { background: var(--color-bg); }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 64px) var(--space-lg) var(--space-3xl);
}

.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: var(--space-xs);
}

.legal__date {
  display: block;
  color: var(--color-text-disabled);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2xl);
}

.legal h2 {
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
  margin: var(--space-xl) 0 var(--space-xs);
}

.legal p,
.legal li {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 22px;
  margin: var(--space-xs) 0;
}

.legal p + p { margin-top: var(--space-xs); }

/* ============================================================
   Products page
   ============================================================ */
.products {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 64px) var(--space-lg) var(--space-3xl);
}

.products__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.products__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: var(--tracking-tightest);
}

.products__sub {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 520px;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

/* alternate the visual side, like the reference layout */
.product:nth-child(odd) .product__visual { order: 2; }

.product__visual {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-muted);
  box-shadow: 0 18px 44px rgba(5, 4, 25, 0.08);
}

.product__chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.product__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
}
.product__chrome span:first-child { background: #ff4d67; }
.product__chrome span:nth-child(2) { background: #f7c948; }
.product__chrome span:nth-child(3) { background: #3ec97e; }

.product__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
}
.product__visual.no-img img { display: none; }

.product__ph {
  display: none;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  color: rgba(5, 4, 25, 0.35);
  background:
    radial-gradient(ellipse 70% 90% at 30% 20%, rgba(57, 50, 220, 0.08), transparent 70%),
    radial-gradient(rgba(5, 4, 25, 0.08) 1px, transparent 1.4px);
  background-size: auto, 22px 22px;
}
.product__visual.no-img .product__ph { display: flex; }
.product__ph svg { width: 120px; height: 120px; }

.product__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.product__num {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  color: var(--color-highlight);
}

.product__body h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: var(--tracking-tighter);
}

.product__body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-xs);
}
.product__tags span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  background: var(--color-bg);
}

.products__cta {
  display: flex;
  justify-content: center;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 820px) {
  .product {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .product:nth-child(odd) .product__visual { order: 0; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-default), transform 0.8s var(--ease-default);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .features { height: auto; }
  .features__sticky {
    position: static;
    height: auto;
    padding: 120px var(--space-xl);
  }
  .features__grid { flex-wrap: wrap; gap: var(--space-2xl) var(--space-xl); }
  .feature-item { flex: 1 1 40%; opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  :root { --header-height: 64px; }

  .header { padding: 0 var(--space-lg); }
  .header__nav,
  .header__actions .btn--dark { display: none; }

  /* the header MORE button: compact label on mobile */
  .header__actions .btn--ghost { padding: 0 16px; }
  .header__actions .btn--ghost .btn-label-full { display: none; }
  .header__actions .btn--ghost .btn-label-short { display: inline; }
  .header__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    order: 3;
    margin-left: var(--space-xs);
  }
  .header__burger span { width: 22px; height: 2px; background: var(--color-dark); }
  .header__logo { order: 1; }
  .header__actions { order: 2; }

  .hero__content { padding-top: 100px; gap: 32px; }
  .hero__title { font-size: 64px; letter-spacing: -3px; }
  .hero__sub { font-size: var(--text-base); }

  .flow__steps { padding: var(--space-lg); max-width: 100vw; }
  .flow__description { max-width: min(500px, 80vw); }


  .faq { padding: 120px var(--space-lg); }

  .cta-section { padding: var(--space-3xl) var(--space-xl); }
  .cta-section__grid { grid-template-columns: 1fr; }
  .contact-form { justify-self: stretch; max-width: none; }
}

@media (max-width: 480px) {
  .lang-switch__name { display: none; }
  .lang-switch__btn { padding: 0 12px; }
  .lang-switch__menu { right: -60px; }

  .hero__content { padding-top: 126px; gap: var(--space-lg); }
  .hero__title { font-size: 48px; letter-spacing: -2px; }
  .hero__sub { font-size: 16px; max-width: 300px; }
  .hero__scroll-hint { bottom: 32px; font-size: 11px; }

  .hero-spacer { min-height: 40svh; }
  .flow__number { width: 40px; height: 40px; }
  .flow__track { width: 40px; }
  .flow__title { font-size: 20px; }

  .features__sticky { padding: 96px var(--space-lg); }
  .feature-item { flex: 1 1 100%; }

  .cta-section { padding: 48px 24px; gap: 48px; }

  .footer__top, .footer__bottom { flex-direction: column; gap: var(--space-md); align-items: flex-start; }
  .footer__left { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}
