/* Bioka — premium landing, mobile-first (default: dark) */

:root {
  --bg-primary: #04122b;
  --bg-secondary: #071a3e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --accent-dark: #1d4ed8;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);
  --text-on-accent: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(37, 99, 235, 0.35);
  --input-bg: rgba(255, 255, 255, 0.04);
  --header-scrolled-bg: rgba(4, 18, 43, 0.85);
  --nav-panel-bg: rgba(4, 18, 43, 0.98);
  --nav-panel-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --hero-dot-color: rgba(255, 255, 255, 0.06);
  --hero-device-bg: linear-gradient(145deg, rgba(7, 26, 62, 0.8), rgba(4, 18, 43, 0.9));
  --hero-badge-bg: rgba(4, 18, 43, 0.9);
  --hero-badge-color: var(--accent-light);
  --fade-stage-bg: var(--bg-secondary);
  --fade-image-bg: var(--bg-secondary);
  --fade-gallery-surface: transparent;
  --fade-gallery-border: transparent;
  --fade-pill-color: var(--text-secondary);
  --fade-pill-hover-color: var(--text-primary);
  --fade-pill-hover-bg: rgba(255, 255, 255, 0.08);
  --fade-nav-bg: rgba(255, 255, 255, 0.08);
  --fade-nav-border: var(--border);
  --fade-caption-color: var(--text-secondary);
  --fade-caption-title: var(--text-primary);
  --highlights-dots-bg: #000;
  --highlights-dots-border: transparent;
  --highlights-dot-bg: rgba(255, 255, 255, 0.25);
  --highlights-dot-active-bg: rgba(255, 255, 255, 0.2);
  --highlights-dot-fill: var(--text-primary);
  --highlights-toggle-bg: rgba(4, 18, 43, 0.65);
  --highlights-toggle-border: rgba(255, 255, 255, 0.15);
  --highlights-toggle-hover: rgba(4, 18, 43, 0.85);
  --link-color: var(--accent-light);
  --link-hover: var(--text-primary);
  --btn-outline-color: var(--text-primary);
  --btn-outline-border: rgba(255, 255, 255, 0.25);
  --btn-neon-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(96, 165, 250, 0.15));
  --btn-neon-color: var(--accent-light);
  --btn-neon-hover-color: var(--text-primary);
  --lang-active-color: var(--text-primary);
  --lang-active-bg: rgba(37, 99, 235, 0.25);
  --eyebrow-color: var(--accent-light);
  --pricing-dot-bg: rgba(255, 255, 255, 0.25);
  --auth-back-hover-bg: rgba(255, 255, 255, 0.1);
  --auth-back-hover-border: rgba(255, 255, 255, 0.18);
  --auth-method-hover-bg: rgba(255, 255, 255, 0.08);
  --auth-method-hover-border: rgba(255, 255, 255, 0.22);
  --country-option-hover: rgba(255, 255, 255, 0.08);
  --country-option-selected: rgba(37, 99, 235, 0.22);
  --country-menu-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --store-badge-bg: #0c0c0c;
  --store-badge-border: rgba(255, 255, 255, 0.12);
  --store-badge-border-hover: rgba(255, 255, 255, 0.28);
  --store-badge-text: #ffffff;
  --store-badge-line: rgba(255, 255, 255, 0.72);
  --store-badge-shadow: none;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
  --container: min(1200px, calc(100% - 48px));
  --section-pad: clamp(60px, 8vw, 120px);
  --font-sans: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --shadow-glow: 0 0 0 1px var(--border-accent), 0 0 40px rgba(37, 99, 235, 0.25);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --accent-light: #3b82f6;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --input-bg: #f8fafc;
  --header-scrolled-bg: rgba(255, 255, 255, 0.92);
  --nav-panel-bg: rgba(255, 255, 255, 0.98);
  --nav-panel-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --hero-dot-color: rgba(37, 99, 235, 0.12);
  --hero-device-bg: linear-gradient(145deg, #eef2ff, #f8fafc);
  --hero-badge-bg: rgba(255, 255, 255, 0.95);
  --hero-badge-color: var(--accent-dark);
  --fade-stage-bg: #eef2ff;
  --fade-image-bg: #eef2ff;
  --fade-gallery-surface: var(--bg-secondary);
  --fade-gallery-border: var(--border);
  --fade-pill-color: var(--accent-dark);
  --fade-pill-hover-color: var(--accent);
  --fade-pill-hover-bg: rgba(37, 99, 235, 0.08);
  --fade-nav-bg: rgba(37, 99, 235, 0.08);
  --fade-nav-border: rgba(37, 99, 235, 0.18);
  --fade-caption-color: var(--text-secondary);
  --fade-caption-title: var(--accent-dark);
  --highlights-dots-bg: rgba(37, 99, 235, 0.08);
  --highlights-dots-border: rgba(37, 99, 235, 0.15);
  --highlights-dot-bg: rgba(37, 99, 235, 0.25);
  --highlights-dot-active-bg: rgba(37, 99, 235, 0.18);
  --highlights-dot-fill: var(--accent);
  --highlights-toggle-bg: rgba(15, 23, 42, 0.72);
  --highlights-toggle-border: rgba(255, 255, 255, 0.2);
  --highlights-toggle-hover: rgba(15, 23, 42, 0.88);
  --link-color: var(--accent);
  --link-hover: var(--accent-dark);
  --btn-outline-color: var(--accent-dark);
  --btn-outline-border: rgba(37, 99, 235, 0.35);
  --btn-neon-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.12));
  --btn-neon-color: var(--accent-dark);
  --btn-neon-hover-color: var(--accent);
  --lang-active-color: var(--accent-dark);
  --lang-active-bg: rgba(37, 99, 235, 0.12);
  --eyebrow-color: var(--accent);
  --pricing-dot-bg: rgba(37, 99, 235, 0.25);
  --auth-back-hover-bg: #eef2ff;
  --auth-back-hover-border: var(--border-accent);
  --auth-method-hover-bg: #eef2ff;
  --auth-method-hover-border: var(--border-accent);
  --country-option-hover: #eef2ff;
  --country-option-selected: rgba(37, 99, 235, 0.12);
  --country-menu-shadow: var(--shadow-card);
  --store-badge-bg: #ffffff;
  --store-badge-border: rgba(15, 23, 42, 0.12);
  --store-badge-border-hover: rgba(37, 99, 235, 0.35);
  --store-badge-text: #0f172a;
  --store-badge-line: #64748b;
  --store-badge-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 0 1px var(--border-accent), 0 0 40px rgba(37, 99, 235, 0.12);
  --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  max-width: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: clip;
  max-width: 100%;
}

#main {
  overflow-x: clip;
  max-width: 100%;
}

.header,
#main,
.footer {
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .header,
  #main,
  .footer {
    transition: none;
  }
}

body.is-lang-switching .header,
body.is-lang-switching #main,
body.is-lang-switching .footer {
  opacity: 0;
}

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

a {
  color: var(--link-color);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  outline: 2px solid var(--accent-light);
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-block: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-header--left {
  text-align: left;
  margin-inline: 0;
}

.section-header__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin-bottom: 0.75rem;
}

.section-header__title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section-header__lead {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section--secondary {
  background: var(--bg-secondary);
}

.section--secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(80px, 12vw, 160px);
  background: linear-gradient(to bottom, var(--bg-primary), transparent);
  pointer-events: none;
  z-index: 0;
}

.section--secondary + .section:not(.section--secondary)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(80px, 12vw, 160px);
  background: linear-gradient(to bottom, var(--bg-secondary), transparent);
  pointer-events: none;
  z-index: 0;
}

#integrations::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 28% 48%, rgba(37, 99, 235, 0.1), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] #integrations::after {
  background: radial-gradient(ellipse 70% 60% at 28% 48%, rgba(37, 99, 235, 0.07), transparent 68%);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--text-on-accent);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.35);
}

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

.btn--ghost:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.btn--outline-light {
  background: transparent;
  color: var(--btn-outline-color);
  border-color: var(--btn-outline-border);
}

.btn--outline-light:hover {
  border-color: var(--accent-light);
  color: var(--btn-outline-color);
}

.btn--neon {
  background: var(--btn-neon-bg);
  color: var(--btn-neon-color);
  border-color: var(--border-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
}

.btn--neon:hover {
  color: var(--btn-neon-hover-color);
  box-shadow: var(--shadow-glow);
}

.btn--lg {
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0;
  padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  transition: var(--transition);
}

.header--scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.header__inner .logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-left: clamp(-2rem, -3.5vw, -1rem);
  overflow: visible;
  align-self: stretch;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: min(22rem, 88vw);
  height: 100%;
  min-height: 3.25rem;
  max-height: 5rem;
}

.nav-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-panel .nav__cta--in-panel {
  display: none;
}

.header__end {
  flex-shrink: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.875rem;
  margin-left: auto;
  padding-left: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo:hover {
  color: var(--text-primary);
}

.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: clamp(74px, 12.5vw, 92px);
  width: auto;
  flex-shrink: 0;
  transform-origin: left center;
}

.header .logo__img {
  transform: translate(-24px, 4px) scale(3.65);
  pointer-events: none;
}

.logo--footer {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.75rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: clamp(2.5rem, 6.5vw, 3.25rem);
  max-width: min(100%, 14.5rem);
}

@media (min-width: 768px) {
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding-left: clamp(10rem, 21vw, 14rem);
    min-height: 4.5rem;
  }

  .header__inner .logo {
    position: absolute;
    left: 0;
    top: 50%;
    margin: 0;
    translate: -44px calc(-50% + 5px);
    width: max-content;
    max-width: min(22rem, 42vw);
    height: 4.5rem;
    max-height: 100%;
  }

  .header__inner .logo::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: clamp(19rem, 44vw, 32rem);
    max-width: calc(100vw - 12rem);
    z-index: 2;
  }

  .nav-panel {
    grid-column: 1;
    justify-self: center;
    width: 100%;
    max-width: 100%;
  }

  .header__end {
    grid-column: 2;
    margin-left: 0;
  }

  .nav__list {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(0.5rem, 1.1vw, 1.25rem);
  }

  .nav__list a {
    white-space: nowrap;
    font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
  }

  .nav__cta--desktop .btn {
    padding: 0.55rem 0.9rem;
    font-size: clamp(0.75rem, 0.85vw, 0.875rem);
    white-space: nowrap;
  }

  .header .logo__img {
    transform: translate(-44px, 4px) scale(3.65);
  }
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--text-primary);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0.15rem 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.lang-switch__btn {
  margin: 0;
  padding: 0.4rem 0.5rem;
  min-height: 34px;
  min-width: 34px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch__btn--active {
  color: var(--lang-active-color);
  background: var(--lang-active-bg);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--border-accent);
  color: var(--accent-light);
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html:not([data-theme="light"]) .theme-toggle__icon--moon {
  display: none;
}

html[data-theme="light"] .theme-toggle__icon--sun {
  display: none;
}

.lang-switch__sep {
  color: var(--text-muted);
  user-select: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

.nav--open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav--open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
  .header__inner .logo {
    margin-left: clamp(-3.25rem, -9vw, -2.25rem);
    width: 7.25rem;
    max-width: 7.25rem;
    min-height: 3rem;
    max-height: 3.75rem;
    overflow: visible;
  }

  .header__inner .logo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .header .logo__img {
    pointer-events: auto;
    transform: translate(-32px, 4px) scale(3.65);
  }

  .header__end {
    position: relative;
    z-index: 3;
  }

  .header.nav--open {
    background: var(--nav-panel-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: flex;
  }

  .nav__cta--desktop {
    display: none;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 40;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
    max-height: calc(100vh - var(--header-h) - env(safe-area-inset-bottom, 0px));
    padding: 1.25rem 1.5rem 1.5rem;
    overflow-y: auto;
    background: var(--nav-panel-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--nav-panel-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .header.nav--open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-panel .nav__cta--in-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .nav-panel .nav__cta--in-panel .btn {
    width: 100%;
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }

  .nav__list a {
    font-size: 1.125rem;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(37, 99, 235, 0.12), transparent 70%),
    var(--bg-primary);
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--hero-dot-color) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero__stats li {
  padding: 0 1.25rem;
  border-left: 1px solid var(--border);
}

.hero__stats li:first-child {
  padding-left: 0;
  border-left: none;
}

.hero__stats strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__visual.animate-on-scroll {
  transform: none;
}

.hero__visual.animate-on-scroll:not(.visible) {
  opacity: 0;
}

.hero__device {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  touch-action: none;
}

.hero__device-inner {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--hero-device-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.hero__model-viewer {
  width: 100%;
  height: 100%;
  min-height: 360px;
  --poster-color: transparent;
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
}

.hero__model-viewer:active {
  cursor: grabbing;
}

.hero__fallback-svg {
  width: 60%;
  height: auto;
  opacity: 0.9;
}

.hero__viewer-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  padding: 0.35rem 0.65rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hero-badge-color);
  background: var(--hero-badge-bg);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  pointer-events: none;
}

.hero__badge--tl { top: 0.75rem; left: 0.75rem; }
.hero__badge--br { bottom: 2.5rem; right: 0.75rem; }

.hero__cta-wrap {
  margin-top: 1.25rem;
  text-align: center;
}

/* Features fade gallery */
.section-fade-gallery {
  overflow: hidden;
  background: var(--bg-primary);
}

.fade-gallery {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--fade-gallery-surface);
  border: 1px solid var(--fade-gallery-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.fade-gallery__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--fade-stage-bg);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.fade-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.fade-gallery__slide--active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .fade-gallery__slide {
    transition: none;
  }
}

.fade-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--fade-image-bg);
}

.fade-gallery__slide--phone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.35rem, 1vw, 0.75rem);
}

.iphone-mockup {
  position: relative;
  height: min(98%, 560px);
  width: auto;
  aspect-ratio: 9 / 19.5;
  max-width: min(78%, 340px);
}

@media (min-width: 768px) {
  .iphone-mockup {
    height: min(98%, 620px);
    max-width: min(82%, 380px);
  }
}

.iphone-mockup__frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 9px;
  background: linear-gradient(160deg, #4a4a4e 0%, #2b2b2e 38%, #151517 100%);
  border-radius: clamp(36px, 8vw, 46px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 28px 56px rgba(0, 0, 0, 0.42);
}

.iphone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(28px, 6.5vw, 38px);
  background: #000;
}

.iphone-mockup__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #000;
}

.iphone-mockup__island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: clamp(18px, 4vw, 24px);
  transform: translateX(-50%);
  background: #050505;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.iphone-mockup__btn {
  position: absolute;
  z-index: 1;
  background: linear-gradient(180deg, #58585a, #2e2e31);
  border-radius: 2px;
}

.iphone-mockup__btn--silent {
  top: 16%;
  left: -2px;
  width: 3px;
  height: 24px;
  border-radius: 2px 0 0 2px;
}

.iphone-mockup__btn--volume-up {
  top: 24%;
  left: -2px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}

.iphone-mockup__btn--volume-down {
  top: 34%;
  left: -2px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}

.iphone-mockup__btn--power {
  top: 28%;
  right: -2px;
  width: 3px;
  height: 56px;
  border-radius: 0 2px 2px 0;
}

[data-theme="light"] .iphone-mockup__frame {
  background: linear-gradient(160deg, #f5f5f7 0%, #d8d8dc 42%, #b8b8be 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.12),
    0 28px 56px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .iphone-mockup__btn {
  background: linear-gradient(180deg, #ececf0, #c8c8ce);
}

.fade-gallery__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px;
  max-width: 100%;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  margin-inline: auto;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: var(--fade-nav-bg);
  border: 1px solid var(--fade-nav-border);
  border-radius: 999px;
}

.fade-gallery__nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .fade-gallery__nav {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.fade-gallery__pill {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--fade-pill-color);
  white-space: nowrap;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.fade-gallery__pill:hover:not(.fade-gallery__pill--active) {
  color: var(--fade-pill-hover-color);
  background: var(--fade-pill-hover-bg);
}

.fade-gallery__pill--active:hover {
  color: var(--text-on-accent);
}

.fade-gallery__pill--active {
  color: var(--text-on-accent);
  background: var(--accent);
}

.fade-gallery__caption {
  max-width: 640px;
  margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  text-align: center;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--fade-caption-color);
  transition: opacity 0.35s ease;
}

.fade-gallery__caption.is-fading {
  opacity: 0;
}

.fade-gallery__caption-title {
  color: var(--fade-caption-title);
  font-weight: 600;
}

.fade-gallery__caption-desc {
  margin-left: 0.25em;
  color: var(--fade-caption-color);
}

/* Highlights carousel (How it works) */
.highlights {
  overflow: hidden;
}

.highlights__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.highlights__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  transition: opacity 0.35s ease;
}

.highlights__title.is-fading {
  opacity: 0;
}

.highlights__viewport {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  overflow: hidden;
  padding-right: clamp(0px, 8vw, 80px);
}

.highlights__track {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .highlights__track {
    transition: none;
  }
}

.highlights__slide {
  flex: 0 0 min(88%, 820px);
  opacity: 0.4;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.highlights__slide--active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 767px) {
  .highlights {
    overflow-x: clip;
  }

  .highlights .container {
    width: var(--container);
    max-width: 100%;
  }

  .highlights__header,
  .highlights__nav {
    padding-inline: 0;
  }

  .highlights__viewport {
    container-type: inline-size;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: 16px;
    touch-action: pan-x pan-y;
  }

  .highlights__viewport::-webkit-scrollbar {
    display: none;
  }

  .highlights__track {
    transform: none !important;
    transition: none;
    padding-inline: 16px;
    gap: 12px;
  }

  .highlights__slide {
    flex: 0 0 min(320px, calc(100cqw - 32px));
    scroll-snap-align: center;
    opacity: 1;
    transform: none;
  }

  .highlights__slide:not(.highlights__slide--active) {
    opacity: 1;
    transform: none;
  }

  .highlights__toggle {
    right: clamp(12px, 3vw, 20px);
    bottom: clamp(12px, 3vw, 20px);
  }
}

.highlights__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.highlights__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f172a;
}

.highlights__toggle {
  position: absolute;
  right: calc(100% - min(88%, 820px) + clamp(56px, 9vw, 88px));
  bottom: clamp(12px, 3vw, 24px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text-on-accent);
  background: var(--highlights-toggle-bg);
  border: 1px solid var(--highlights-toggle-border);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition);
}

.highlights__toggle:hover {
  background: var(--highlights-toggle-hover);
  border-color: var(--border-accent);
  transform: scale(1.05);
}

.highlights__toggle.is-paused .highlights__icon--pause {
  display: none;
}

.highlights__toggle.is-paused .highlights__icon--play {
  display: block;
}

.highlights__toggle:not(.is-paused) .highlights__icon--play {
  display: none;
}

.highlights__nav {
  max-width: 640px;
  margin-inline: auto;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
}

.highlights__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.85rem;
  background: var(--highlights-dots-bg);
  border: 1px solid var(--highlights-dots-border);
  border-radius: 999px;
}

.highlights__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--highlights-dot-bg);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.35s ease, background 0.25s ease;
}

.highlights__dot--active {
  width: 48px;
  background: var(--highlights-dot-active-bg);
}

.highlights__dot-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--highlights-dot-fill);
  border-radius: inherit;
  pointer-events: none;
}

.highlights__caption {
  margin: 0;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-secondary);
  transition: opacity 0.35s ease;
}

.highlights__caption.is-fading {
  opacity: 0;
}

/* Integration */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.split > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.shopify-partner {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.03));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.shopify-partner__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.shopify-partner__logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.shopify-partner__intro {
  min-width: 0;
}

.shopify-partner__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.shopify-partner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}

.shopify-partner__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.shopify-partner__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.shopify-partner__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-light);
}

[data-theme="light"] .shopify-partner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(248, 250, 252, 0.95));
}

[data-theme="light"] .shopify-partner__eyebrow {
  color: var(--accent);
}

[data-theme="light"] .shopify-partner__list li::before {
  color: var(--accent);
}

.code-card {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #020a18;
}

.code-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-card__dots {
  display: flex;
  gap: 6px;
}

.code-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}

.code-card__dot:nth-child(1) { background: #ef4444; }
.code-card__dot:nth-child(2) { background: #eab308; }
.code-card__dot:nth-child(3) { background: #22c55e; }

.code-card__copy {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.code-card__copy:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.code-card__copy--done {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.4);
}

.code-card__body {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  max-width: 100%;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  -webkit-overflow-scrolling: touch;
}

.code-card__body code {
  display: block;
  white-space: pre;
}

#integrations {
  isolation: isolate;
}

@media (max-width: 767px) {
  #integrations {
    overflow-x: clip;
  }

  #integrations .section-header__title {
    font-size: clamp(1.375rem, 6.5vw, 1.75rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  #integrations .section-header--left {
    max-width: 100%;
  }

  .code-card__body {
    padding: 1rem;
    font-size: 11px;
    line-height: 1.55;
    overflow-x: hidden;
    white-space: pre-wrap;
    word-break: break-all;
  }

  .code-card__body code {
    white-space: pre-wrap;
    word-break: break-all;
  }
}

.code-card__body .tok-comment { color: #6b7280; }
.code-card__body .tok-tag { color: #60a5fa; }
.code-card__body .tok-attr { color: #a78bfa; }
.code-card__body .tok-str { color: #34d399; }

/* Pricing */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pricing-toggle__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.pricing-toggle__label--active {
  color: var(--text-primary);
}

.pricing-toggle__switch {
  position: relative;
  width: 52px;
  height: 28px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.pricing-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.pricing--yearly .pricing-toggle__knob {
  transform: translateX(24px);
}

.pricing-toggle__badge {
  padding: 0.2rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(37, 99, 235, 0.15);
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .pricing-toggle {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    padding-inline: 0;
  }

  #pricing {
    overflow-x: clip;
    overflow-y: visible;
  }

  .pricing-carousel {
    overflow: visible;
  }

  .pricing-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 min(300px, calc(100% - 1rem));
    scroll-snap-align: center;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-accent);
  background: var(--accent);
  border-radius: 999px;
}

@media (max-width: 767px) {
  .pricing-card__badge {
    position: static;
    transform: none;
    align-self: center;
    margin: 0 0 1rem;
  }
}

.pricing-carousel {
  position: relative;
}

.pricing-dots,
.pricing-scroll-hint {
  display: none;
}

@media (max-width: 767px) {
  .pricing-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0;
    border: none;
    background: none;
  }

  .pricing-dots__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--pricing-dot-bg);
    cursor: pointer;
    transition: width 0.3s ease, background 0.25s ease;
  }

  .pricing-dots__dot--active {
    width: 28px;
    background: var(--accent);
  }

  .pricing-scroll-hint {
    display: block;
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-align: center;
    color: var(--text-muted);
  }
}

.pricing-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.pricing-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}

.pricing-card__cta {
  margin-bottom: 1.25rem;
}

.pricing-card__includes {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-card__period {
  display: none;
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-card__check {
  flex-shrink: 0;
  color: var(--accent-light);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item__trigger:hover {
  color: var(--accent-light);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item--open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item--open .faq-item__panel {
  max-height: 280px;
}

.faq-item__answer {
  margin: 0;
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA */
.cta-final {
  position: relative;
  overflow: hidden;
}

.cta-final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(37, 99, 235, 0.25), transparent 65%);
  pointer-events: none;
}

.cta-final__content {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.cta-final__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0 0 1rem;
}

.cta-final__lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 2rem;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cta-final__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 13px;
  color: var(--text-muted);
}

.cta-final__form-wrap {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.cta-final__form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  text-align: center;
}

.cta-final__form-lead {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 1.5rem;
}

/* Forms */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--border-accent);
}

.form-status {
  min-height: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.form-status--success {
  color: #34d399;
}

.form-status--error {
  color: #f87171;
}

.form-note {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--text-muted);
}

.form-note__code {
  font-size: 11px;
  padding: 0.1rem 0.35rem;
  background: var(--input-bg);
  border-radius: 4px;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 4rem);
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer__about {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer__badges {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  color: var(--store-badge-text);
  text-decoration: none;
  background: var(--store-badge-bg);
  border: 1px solid var(--store-badge-border);
  border-radius: 10px;
  box-shadow: var(--store-badge-shadow);
  transition: var(--transition);
}

.store-badge:hover {
  color: var(--store-badge-text);
  border-color: var(--store-badge-border-hover);
  transform: translateY(-1px);
}

.store-badge__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge__line {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--store-badge-line);
}

.store-badge__brand {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--store-badge-text);
}

.footer__social {
  display: flex;
  gap: 0.65rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer__social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.footer__social-link:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  transform: scale(1.02);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9375rem;
}

.footer__bar {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__legal {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__credit {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__credit:hover {
  color: var(--text-primary);
}

.footer__credit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Legal pages */
.legal-page {
  padding: calc(var(--header-h) + 2rem) 0 var(--section-pad);
}

.legal-page__inner {
  max-width: 760px;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-page__back:hover {
  color: var(--link-color);
}

.legal-page__header {
  margin-bottom: 2rem;
}

.legal-page__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.legal-page__updated {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose a:hover {
  color: var(--link-hover);
}

.auth-check__text a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-check__text a:hover {
  color: var(--link-hover);
}

/* Auth pages (signup) */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
}

.auth-card {
  width: min(100%, 400px);
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.auth-card__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.auth-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.auth-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.auth-card__subtitle {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.auth-method-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.auth-method-btn:hover {
  background: var(--auth-method-hover-bg);
  border-color: var(--auth-method-hover-border);
}

.auth-method-btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-on-accent);
  border-color: transparent;
}

.auth-method-btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--text-on-accent);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.auth-method-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-form {
  text-align: left;
}

.auth-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.auth-form input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--border-accent);
}

.auth-form .form-status {
  min-height: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
}

.auth-form .auth-method-btn {
  margin-top: 0.25rem;
}

.auth-card__switch {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.auth-card__switch a {
  margin-left: 0.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.auth-card__switch a:hover {
  color: var(--accent-light);
}

.btn--sm {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sign up page */
.auth-card--signup {
  text-align: left;
}

.auth-card__top {
  position: relative;
  margin-bottom: 1.5rem;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.auth-back svg {
  width: 18px;
  height: 18px;
}

.auth-back:hover {
  background: var(--auth-back-hover-bg);
  border-color: var(--auth-back-hover-border);
}

.auth-card__title--left {
  margin: 0;
  text-align: left;
}

.auth-form--signup {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.auth-field > * {
  width: 100%;
}

.auth-field > .sr-only {
  width: auto;
}

.auth-field[data-invalid="true"] .country-picker__trigger,
.auth-field[data-invalid="true"] .auth-form--signup input {
  border-color: rgba(248, 113, 113, 0.65);
}

.auth-form--signup input:not([type="checkbox"]),
.auth-form--signup .country-picker__trigger {
  width: 100%;
  margin-bottom: 0;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form--signup input:not([type="checkbox"]):focus,
.auth-form--signup .country-picker__trigger:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.auth-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.country-picker {
  position: relative;
}

.country-picker__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.country-picker__trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.country-picker__flag {
  flex-shrink: 0;
  font-size: 1.125rem;
  line-height: 1;
}

.country-picker__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-picker__chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.country-picker.is-open .country-picker__chevron {
  transform: rotate(180deg);
}

.country-picker__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 240px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--country-menu-shadow);
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.25) transparent;
}

.country-picker__menu:not([hidden]) {
  display: block;
}

.country-picker__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.country-picker__option:hover,
.country-picker__option:focus-visible {
  outline: none;
  background: var(--country-option-hover);
}

.country-picker__option[aria-selected="true"] {
  background: var(--country-option-selected);
}

.country-picker__option-flag {
  flex-shrink: 0;
  font-size: 1.125rem;
  line-height: 1;
}

.country-picker__option-label {
  flex: 1;
  min-width: 0;
}

.auth-field--check {
  margin: 0.25rem 0 0.5rem;
}

.auth-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.auth-check input {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.auth-check__box {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--input-bg);
  transition: var(--transition);
}

.auth-check input:focus-visible + .auth-check__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.auth-check input:checked + .auth-check__box {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
}

.auth-check input:checked + .auth-check__box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--text-on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-field--check[data-invalid="true"] .auth-check__box {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.auth-check__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.auth-check__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.auth-btn-mark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  flex-shrink: 0;
}

.auth-form--signup .auth-method-btn {
  margin-top: 0.5rem;
}

.auth-card--signup .auth-card__switch {
  text-align: center;
}
