    :root {
      /* Brand tokens: /assets/tokens.css (shared with app) */

      --fs-hero:  clamp(48px, 7vw, 96px);
      --fs-h2:    clamp(32px, 4vw, 56px);
      --fs-h3:    clamp(20px, 2.5vw, 28px);
      --fs-body:  16px;
      --fs-small: 13px;

      /* Motion / layout tokens from Banco Plata reference (non-color) */
      --ease-plata: cubic-bezier(0.22, 1, 0.36, 1);
      --duration-fast: 0.2s;
      --duration-medium: 0.35s;
      --duration-slow: 0.5s;
      --radius-card: 24px;
      --radius-btn: 12px;
      --space-section: 120px;
      --space-card: 36px;
      --space-stack: 28px;
      --blur-glass: 22px;
      --font-display: 'Space Grotesk', 'Inter', sans-serif;
      --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.07);
      --shadow-card-hover: 0 20px 56px rgba(0,0,0,0.11);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      overflow-x: clip;
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
      max-width: 100%;
    }
    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-deep);
      color: var(--text-main);
      line-height: 1.65;
      font-size: var(--fs-body);
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: clip;
      max-width: 100%;
      width: 100%;
    }
    .skip-link {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
      z-index: 10000;
      padding: 12px 20px;
      background: var(--accent, #F97316);
      color: #fff;
      font-weight: 600;
      text-decoration: none;
      border-radius: var(--radius-btn, 12px);
    }
    .skip-link:focus {
      left: 16px;
      top: 16px;
      width: auto;
      height: auto;
      overflow: visible;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
      width: 100%;
      min-width: 0;
    }
    section { padding: 64px 0; overflow-x: clip; }

    
    h1, h2, h3 {
      font-family: var(--font-display);
      color: var(--text-main);
    }
    .eyebrow {
      display: inline-block;
      font-size: var(--fs-small);
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      background: var(--accent-dim);
      border: 1px solid rgba(249,115,22,0.15);
      border-radius: 100px;
      padding: 6px 14px;
    }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
    }
    .section-label::before {
      content: '';
      display: block;
      width: 20px;
      height: 2px;
      background: var(--accent);
      border-radius: 1px;
    }

    
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--topbar-bg);
      backdrop-filter: blur(var(--blur-glass));
      -webkit-backdrop-filter: blur(var(--blur-glass));
      border-bottom: 1px solid var(--border);
      padding: 16px 0;
      transition: transform var(--duration-medium) var(--ease-plata), box-shadow var(--duration-fast) ease-in-out;
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .nav-logo {
      font-family: 'Inter', sans-serif;
      font-weight: 700;
      font-size: 1.15rem;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-main);
      flex-shrink: 0;
      letter-spacing: -0.02em;
    }
    .nav-logo-mark {
      width: 34px; height: 34px;
      background: transparent;
      border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    .nav-logo-mark img {
      width: 100%;
      max-width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 9px;
    }
    html.dark-theme .nav-logo-mark {
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
    }
    
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 10px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: transparent;
      cursor: pointer;
      flex-shrink: 0;
      transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
    }
    .nav-toggle:hover { background: var(--bg-glass); border-color: rgba(249,115,22,0.2); }
    .nav-toggle-bar {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--text-main);
      border-radius: 2px;
      transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
    }
    body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-drawer {
      display: flex;
      align-items: center;
      flex: 1;
      justify-content: flex-end;
      gap: 32px;
      min-width: 0;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      flex: 1;
      justify-content: center;
    }
    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
      transition: color var(--duration-fast) ease-in-out;
      padding: 8px 4px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }
    .nav-links a:hover { color: var(--text-main); }
    .nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
    .nav-cta .theme-toggle { flex-shrink: 0; }

    nav.landing-nav,
    body > nav {
      overflow: visible;
    }

    .nav-login-menu { position: relative; }
    .nav-login-menu > summary {
      list-style: none;
      cursor: pointer;
    }
    .nav-login-menu > summary::-webkit-details-marker { display: none; }
    .nav-login-menu > summary::marker { content: ''; }
    .nav-login-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 240px;
      padding: 6px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-btn);
      box-shadow: var(--shadow-md);
      z-index: 320;
      display: none;
      flex-direction: column;
      gap: 2px;
    }
    .nav-login-menu[open] .nav-login-dropdown { display: flex; }
    .nav-login-option {
      display: block;
      padding: 10px 12px;
      border-radius: var(--radius-btn);
      font-size: 14px;
      font-weight: 500;
      color: var(--text-main);
      text-decoration: none;
      transition: background var(--duration-fast) ease;
    }
    .nav-login-option:hover { background: var(--bg-glass); }
    .nav-login-option--accent { color: var(--accent); }

    .nav-drawer-header,
    .nav-drawer-divider { display: none !important; }

    @media (min-width: 769px) {
      .nav-drawer-header,
      .nav-drawer-divider,
      .nav-drawer-close { display: none !important; }
    }

    .nav-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(18, 20, 22, 0.4);
      backdrop-filter: blur(4px);
      z-index: 105;
      opacity: 0;
      transition: opacity var(--duration-fast) ease;
      cursor: pointer;
    }
    /* ИСПРАВЛЕНИЕ (2026-07-20): блокировка кликов только на мобиле при открытом меню —
       на десктопе и при «залипшем» nav-open после bfcache не ломать CTA по всей странице. */
    @media (max-width: 768px) {
      body.nav-open .nav-backdrop {
        display: block;
        opacity: 1;
        z-index: 150;
        pointer-events: auto;
      }
      body.nav-open { overflow: hidden; }
      body.nav-open nav.landing-nav,
      body.nav-open > nav {
        z-index: 200;
      }
      body.nav-open > section,
      body.nav-open > footer,
      body.nav-open > main {
        pointer-events: none;
      }
    }

    
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: var(--fs-body);
      cursor: pointer;
      border: none;
      transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background var(--duration-fast) ease, border-color var(--duration-fast) ease;
      white-space: nowrap;
      text-decoration: none;
      border-radius: var(--radius-btn);
      padding: 14px 28px;
      min-height: 44px;
      line-height: 1.3;
    }
    .btn:active { transform: scale(0.97); }

    .btn-primary {
      background: var(--gradient);
      color: var(--on-accent);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px var(--accent-mid);
    }

    .btn-outline {
      background: transparent;
      color: var(--text-main);
      border: 1.5px solid var(--border);
    }
    .btn-outline:hover {
      border-color: var(--border);
      background: var(--bg-glass);
      transform: translateY(-1px);
    }

    .btn-sm {
      padding: 10px 18px;
      font-size: var(--fs-small);
      border-radius: 8px;
      min-height: 44px;
    }

    
    #hero {
      padding: 48px 0 56px;
      position: relative;
      overflow: hidden;
    }
    #hero::before {
      content: '';
      position: absolute;
      top: -200px;
      right: -100px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(249,115,22,0.10) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 80px;
      align-items: center;
    }
    .hero-left {}
    .hero-eyebrow {
      margin-bottom: 24px;
    }
    .hero-title {
      font-family: var(--font-display);
      font-size: var(--fs-hero);
      font-weight: 800;
      letter-spacing: -0.045em;
      line-height: 1.08;
      margin-bottom: 24px;
      max-width: 14ch;
      overflow-wrap: break-word;
      word-break: break-word;
      hyphens: auto;
    }
    .hero-sub {
      font-size: clamp(17px, 2.2vw, 19px);
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 540px;
      margin-bottom: 36px;
      font-weight: 400;
    }
    .hero-cta {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: stretch;
      margin-bottom: 20px;
    }
    .hero-cta .btn { flex: 1 1 auto; min-width: 140px; }
    .hero-trust {
      font-size: var(--fs-small);
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .hero-trust-link {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
      letter-spacing: 0.04em;
    }
    .hero-trust-link:hover { color: var(--accent-2); }
    .hero-cta .btn-ghost {
      border-color: transparent;
      background: transparent;
    }
    .hero-cta .btn-ghost:hover {
      background: var(--accent-dim);
      border-color: rgba(249,115,22,0.15);
    }
    .hero-demo-caption {
      margin-top: 16px;
      text-align: center;
      font-size: 13px;
      color: var(--text-muted);
      max-width: 280px;
    }

    
    .hero-right {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      max-width: 100%;
      min-width: 0;
      overflow: hidden;
    }
    .phone-mockup {
      width: 300px;
      max-width: 100%;
      background: var(--bg-card);
      border-radius: 40px;
      border: 1.5px solid var(--border);
      box-shadow: var(--shadow-card);
      padding: 12px;
      position: relative;
    }
    .phone-mockup:has(.hero-demo-video) {
      animation: none;
      transform: none;
    }
    .phone-mockup::before {
      content: '';
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      width: 72px;
      height: 5px;
      background: rgba(18, 20, 22, 0.08);
      border-radius: 3px;
      z-index: 2;
    }
    @keyframes floatPhone {
      0%, 100% { transform: translateY(0px) rotate(-1deg); }
      50% { transform: translateY(-16px) rotate(1deg); }
    }
    .phone-screen {
      background: var(--surface);
      border-radius: 28px;
      overflow: hidden;
      padding: 40px 16px 20px;
    }
    .phone-screen-media {
      padding: 0;
      background: var(--surface);
      line-height: 0;
      border-radius: 28px;
      overflow: hidden;
      aspect-ratio: 320 / 568;
      display: block;
      position: relative;
    }
    /* ИСПРАВЛЕНИЕ (2026-07-15): line-height:0 на родителе давал «двойной» текст «Салон Аура» */
    .phone-screen-media .hero-demo-static,
    .phone-screen-media .demo-static-screen,
    .phone-screen-media .demo-static-header,
    .phone-screen-media .demo-static-sub,
    .phone-screen-media .demo-static-confirm,
    .phone-screen-media .demo-static-row,
    .phone-screen-media .demo-static-slots,
    .phone-screen-media .demo-static-avatar {
      line-height: normal;
    }
    .phone-screen-media .hero-demo-video.is-hidden {
      display: none !important;
    }
    .phone-screen-media #hero-demo-static:not(.is-hidden) .demo-static-screen[data-screen="1"]:not(.is-hidden) {
      min-height: 100%;
      justify-content: flex-start;
      gap: 16px;
    }
    .phone-screen-media #hero-demo-static:not(.is-hidden) .demo-static-screen[data-screen="1"] .demo-static-confirm {
      margin-top: auto;
    }
    html.dark-theme .phone-screen-media .hero-demo-video {
      display: none !important;
    }
    html.dark-theme .phone-screen-media #hero-demo-static {
      display: flex !important;
    }
    html.dark-theme .phone-screen-media #hero-demo-static .demo-static-screen[data-screen="1"]:not(.is-hidden) {
      min-height: 100%;
      justify-content: flex-start;
      gap: 16px;
    }
    html.dark-theme .phone-screen-media #hero-demo-static .demo-static-screen[data-screen="1"] .demo-static-confirm {
      margin-top: auto;
    }
    html.dark-theme .hero-demo-thumb[data-mode="video"] {
      display: none;
    }

    .hero-demo-video {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      max-width: 100%;
      object-fit: cover;
      object-position: top center;
      vertical-align: top;
      border-radius: 0 0 24px 24px;
      background: var(--surface);
      image-rendering: auto;
    }
    .hero-demo-thumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-top: 14px;
    }
    .hero-demo-thumb {
      border: 1px solid var(--border);
      background: var(--bg-card);
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 600;
      padding: 8px 12px;
      border-radius: 999px;
      cursor: pointer;
      font-family: inherit;
      transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
    }
    .hero-demo-thumb:hover { border-color: var(--accent-mid); color: var(--text-main); }
    .hero-demo-thumb.active {
      background: var(--accent-dim);
      border-color: var(--accent-mid);
      color: var(--accent-hover);
    }
    .hero-demo-static {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      padding: 36px 16px 20px;
      background: var(--surface);
      border-radius: 0 0 24px 24px;
      display: flex;
      flex-direction: column;
      z-index: 1;
      line-height: 1.45;
      box-sizing: border-box;
    }
    .demo-static-screen {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 12px;
      text-align: left;
      min-height: 0;
    }
    .demo-static-header {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-main);
      text-align: center;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }
    .demo-static-sub {
      font-size: 11px;
      color: var(--text-muted);
      text-align: center;
    }
    .demo-static-avatars {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-top: 8px;
    }
    .demo-static-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
      background: var(--surface-2);
      color: var(--text-muted);
      border: 2px solid transparent;
    }
    .demo-static-avatar.active {
      border-color: var(--accent);
      color: var(--accent-hover);
      box-shadow: 0 0 0 3px var(--accent-dim);
    }
    .demo-static-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
    .demo-static-row {
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      font-size: 12px;
      color: var(--text-muted);
    }
    .demo-static-row.active {
      border-color: var(--accent-mid);
      background: var(--accent-lt);
      color: var(--text-main);
      font-weight: 600;
    }
    .demo-static-slots {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin-top: 8px;
    }
    .demo-static-slots span {
      padding: 10px;
      text-align: center;
      border-radius: 10px;
      border: 1px solid var(--border);
      font-size: 12px;
      color: var(--text-muted);
    }
    .demo-static-slots span.active {
      background: var(--gradient);
      color: #fff;
      border-color: transparent;
      font-weight: 600;
    }
    .demo-static-confirm {
      margin-top: auto;
      padding: 12px;
      border-radius: 12px;
      background: var(--gradient);
      color: #fff;
      text-align: center;
      font-size: 13px;
      font-weight: 600;
    }
    .demo-static-confirm--muted {
      background: var(--surface-2);
      color: var(--text-muted);
      border: 1px solid var(--border);
      font-weight: 500;
    }
    .hero-demo-mobile {
      display: none;
      margin-top: 28px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }
    .hero-demo-mobile-scroll {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 4px;
    }
    .hero-demo-mobile-card {
      flex: 0 0 200px;
      scroll-snap-align: start;
      margin: 0;
    }
    .demo-static-screen--compact {
      min-height: 220px;
      padding: 20px 14px;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      box-shadow: var(--shadow-card);
    }
    .hero-demo-mobile-card figcaption {
      margin-top: 8px;
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
    }
    .phone-screen-header {
      text-align: center;
      margin-bottom: 20px;
    }
    .phone-screen-salon {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 2px;
    }
    .phone-screen-sub {
      font-size: 10px;
      color: var(--text-muted);
    }
    .phone-masters {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
      justify-content: center;
    }
    .phone-master {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      cursor: pointer;
    }
    .phone-master-avatar {
      width: 44px; height: 44px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      border: 2px solid transparent;
    }
    .phone-master.active .phone-master-avatar {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-dim);
    }
    .phone-master-name {
      font-size: 9px;
      color: var(--text-muted);
      text-align: center;
    }
    .phone-master.active .phone-master-name {
      color: var(--accent);
    }
    .phone-section-label {
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .phone-calendar {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 12px;
    }
    .phone-cal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }
    .phone-cal-month {
      font-size: 9px;
      font-weight: 600;
      color: var(--text-main);
    }
    .phone-cal-days {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 2px;
    }
    .phone-cal-day {
      aspect-ratio: 1;
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-size: 8px;
      color: var(--text-muted);
    }
    .phone-cal-day.today {
      background: var(--accent);
      color: var(--on-accent);
      font-weight: 700;
    }
    .phone-cal-day.available {
      color: var(--text-main);
    }
    .phone-times {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4px;
      margin-bottom: 14px;
    }
    .phone-time {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 5px 4px;
      text-align: center;
      font-size: 9px;
      color: var(--text-muted);
    }
    .phone-time.selected {
      background: var(--accent-dim);
      border-color: var(--accent);
      color: var(--accent);
      font-weight: 600;
    }
    .phone-confirm-btn {
      background: var(--accent);
      border-radius: 8px;
      padding: 10px;
      text-align: center;
      font-size: 11px;
      font-weight: 700;
      color: var(--on-accent);
      font-family: 'Inter', sans-serif;
    }

    
    .phone-glow {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 340px; height: 340px;
      background: radial-gradient(circle, var(--body-glow) 0%, transparent 70%);
      pointer-events: none;
      z-index: -1;
    }

    
    #social-proof {
      padding: 0;
    }
    .social-strip {
      background: var(--bg-card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 28px 0;
    }
    .social-strip-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 48px;
    }
    .social-stat {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
    }
    .social-stat strong {
      color: var(--text-main);
      font-weight: 700;
    }
    .social-sep {
      width: 4px; height: 4px;
      background: var(--text-muted);
      border-radius: 50%;
      opacity: 0.4;
    }

    
    #how {
      position: relative;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: var(--fs-h2);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.08;
      max-width: 16ch;
    }
    .how-header {
      margin-bottom: 56px;
    }
    #how,
    #comparison,
    #faq {
      background: var(--bg-glass);
    }
    .how-track {
      position: relative;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      min-width: 0;
      max-width: 100%;
    }
    .how-track::before {
      content: '';
      position: absolute;
      top: 28px;
      left: calc(16.66% + 28px);
      right: calc(16.66% + 28px);
      height: 2px;
      background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 50%, rgba(249,115,22,0.2) 100%);
    }
    .how-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 16px;
      position: relative;
      min-width: 0;
      max-width: 100%;
      box-sizing: border-box;
    }
    .how-step-dot {
      width: 56px; height: 56px;
      border-radius: 50%;
      border: 2px solid var(--accent);
      background: var(--bg-deep);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Inter', sans-serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 24px;
      position: relative;
      z-index: 1;
    }
    .how-step:first-child .how-step-dot {
      background: var(--accent);
      color: var(--on-accent);
    }
    .how-step-title {
      font-family: 'Inter', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 10px;
    }
    .how-step-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    
    #comparison {
      background: transparent;
    }
    .comparison-header {
      margin-bottom: 56px;
    }
    .comparison-lead {
      max-width: 640px;
      margin-top: 16px;
      font-size: 16px;
      line-height: 1.65;
      color: var(--text-muted);
    }
    .comparison-note {
      margin-top: 20px;
      max-width: 720px;
      font-size: 13px;
      line-height: 1.6;
      color: var(--text-muted);
    }
    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .comparison-table-wrap {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
    }
    .comparison-table thead tr {
      background: var(--bg-card);
    }
    .comparison-table th {
      padding: 20px 28px;
      text-align: left;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
    }
    .comparison-table th:nth-child(2) {
      color: var(--accent);
    }
    .comparison-table td {
      padding: 18px 28px;
      font-size: 15px;
      border-bottom: 1px solid var(--border);
      color: var(--text-muted);
    }
    .comparison-table tr:last-child td {
      border-bottom: none;
    }
    .comparison-table tbody tr {
      transition: background 0.15s;
    }
    .comparison-table tbody tr:hover {
      background: var(--bg-glass);
    }
    .comparison-table td:first-child {
      font-weight: 500;
      color: var(--text-main);
    }
    .comparison-table td:nth-child(2) {
      color: var(--text-main);
      font-weight: 600;
      position: relative;
    }
    .zepra-col {
      background: var(--accent-dim);
      border-left: 2px solid var(--accent) !important;
      border-right: 2px solid var(--accent) !important;
    }
    .comparison-table thead th.zepra-col {
      border-left: 2px solid var(--accent);
      border-right: 2px solid var(--accent);
      border-top: 2px solid var(--accent);
      background: rgba(249,115,22,0.08);
    }
    .comparison-table tbody tr:last-child td.zepra-col {
      border-bottom: 2px solid var(--accent) !important;
    }

    
    #features {
      position: relative;
    }
    .features-header {
      margin-bottom: 56px;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-stack);
      min-width: 0;
      max-width: 100%;
    }
    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      padding: var(--space-card);
      position: relative;
      isolation: isolate;
      box-shadow: var(--shadow-card);
      min-width: 0;
      max-width: 100%;
      transition: border-color var(--duration-fast) ease, box-shadow var(--duration-medium) var(--ease-plata), transform var(--duration-medium) var(--ease-plata);
    }
    .feature-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      z-index: 0;
      backdrop-filter: blur(var(--blur-glass));
      -webkit-backdrop-filter: blur(var(--blur-glass));
      opacity: 0.35;
      transition: opacity var(--duration-slow) var(--ease-plata);
      transform: translateZ(0);
    }
    .feature-card > * { position: relative; z-index: 1; }
    @media (hover: hover) {
      .feature-card:hover {
        border-color: rgba(249,115,22,0.25);
        transform: translateY(-6px);
        box-shadow: var(--shadow-card-hover);
      }
    }
    .feature-card:hover::before { opacity: 0.55; }
    .feature-icon {
      width: 48px; height: 48px;
      background: var(--accent-dim);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .feature-icon svg {
      width: 24px; height: 24px;
      stroke: var(--accent);
      stroke-width: 1.8;
      fill: none;
    }
    .feature-icon--solid svg {
      fill: var(--accent);
      stroke: none;
      width: 22px;
      height: 22px;
    }
    .feature-title {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }
    .feature-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    
    #pricing {
      position: relative;
    }
    #pricing::before {
      content: '';
      position: absolute;
      bottom: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 800px;
      height: 400px;
      background: radial-gradient(ellipse, rgba(249,115,22,0.06) 0%, transparent 70%);
      pointer-events: none;
    }
    .pricing-header { margin-bottom: 56px; }
    .pricing-trial-note {
      display: inline-block;
      background: var(--accent-dim);
      border: 1px solid rgba(249,115,22,0.2);
      border-radius: 100px;
      padding: 8px 20px;
      font-size: 13px;
      font-weight: 500;
      color: var(--accent);
      margin-bottom: 40px;
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-stack);
      align-items: start;
    }
    .pricing-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      padding: 40px var(--space-card);
      position: relative;
      box-shadow: var(--shadow-card);
      transition: border-color var(--duration-fast) ease, box-shadow var(--duration-medium) var(--ease-plata), transform var(--duration-medium) var(--ease-plata);
    }
    .pricing-card.featured {
      border-color: rgba(249,115,22,0.35);
      background: var(--accent-dim);
      box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 16px 48px rgba(249,115,22,0.12);
      transform: scale(1.02);
    }
    @media (hover: hover) {
      .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-card-hover);
      }
      .pricing-card.featured:hover {
        transform: scale(1.02) translateY(-6px);
      }
    }
    .pricing-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: var(--on-accent);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 100px;
      white-space: nowrap;
    }
    .plan-name {
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .plan-price {
      font-family: 'Inter', sans-serif;
      font-size: 48px;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 4px;
    }
    .plan-price span {
      font-size: 18px;
      font-weight: 400;
      color: var(--text-muted);
    }
    .plan-saving {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }
    .plan-divider {
      height: 1px;
      background: var(--border);
      margin-bottom: 24px;
    }
    .plan-features {
      list-style: none;
      margin-bottom: 32px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .plan-features li {
      font-size: 14px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .plan-features li::before {
      content: '';
      flex-shrink: 0;
      width: 16px; height: 16px;
      border-radius: 50%;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
    }
    .plan-features li.yes {
      color: var(--text-main);
    }
    .plan-features li.yes::before {
      background: rgba(249,115,22,0.12);
      border-color: rgba(249,115,22,0.3);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%23F97316' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }
    .plan-features li:not(.yes)::before {
      background: transparent;
      border-color: var(--border);
      opacity: 0.45;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8h8' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }
    .plan-cta {
      display: flex;
      text-align: center;
      width: 100%;
      min-height: 48px;
      align-items: center;
      justify-content: center;
    }

    
    #faq { }
    .faq-header { margin-bottom: 56px; }
    .faq-grid {
      display: flex;
      flex-direction: column;
      gap: var(--space-stack);
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      overflow: hidden;
      cursor: pointer;
      transition: all var(--duration-fast) ease-in-out, box-shadow var(--duration-medium) var(--ease-plata);
    }
    .faq-item:hover {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    }
    .faq-item.open {
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    }
  button.faq-q {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
  }
    .faq-q {
      padding: var(--space-card);
      font-size: 16px;
      font-weight: 500;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      transition: color var(--duration-fast) ease-in-out;
    }
    .faq-q:hover { color: var(--accent); }
    .faq-q::after {
      content: '';
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      opacity: 0.5;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
      transition: transform var(--duration-fast) ease-in-out, opacity var(--duration-fast) ease-in-out;
    }
    .faq-item.open .faq-q::after {
      transform: rotate(180deg);
      opacity: 1;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    }
    .faq-a {
      padding: 0 var(--space-card);
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
      max-height: 0;
      overflow: hidden;
      transition: max-height var(--duration-medium) var(--ease-plata), padding var(--duration-medium) var(--ease-plata);
    }
    .faq-item.open .faq-a {
      max-height: none;
      padding: 0 var(--space-card) var(--space-card);
      color: var(--text-muted);
    }
    html.dark-theme .faq-item.open .faq-a {
      color: rgba(243, 244, 246, 0.85);
    }

    
    #cta-final {
      text-align: center;
      position: relative;
    }
    .cta-box {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 32px;
      padding: 80px 48px;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }
    .cta-box::before {
      content: '';
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 500px; height: 300px;
      background: radial-gradient(ellipse, rgba(249,115,22,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-box .eyebrow { margin-bottom: 20px; display: block; }
    .cta-box h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
    }
    .cta-box p {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 480px;
      margin: 0 auto 36px;
    }
    .cta-actions {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 20px;
    }
    .cta-disclaimer {
      font-size: 12px;
      color: var(--text-muted);
    }
    .cta-disclaimer a {
      color: var(--accent);
      text-decoration: underline;
    }

    
    footer {
      padding: 40px 0;
      border-top: 1px solid var(--border);
    }
    .footer-inner {
      display: grid;
      grid-template-columns: auto 1fr;
      grid-template-areas:
        "brand copy"
        "legal legal"
        "links links";
      gap: 20px 24px;
      align-items: center;
    }
    .footer-inner > .nav-logo { grid-area: brand; }
    .footer-aside {
      grid-area: copy;
      justify-self: end;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
    }
    .footer-social {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      color: var(--text-muted);
      transition: transform var(--duration-fast) ease-in-out, color var(--duration-fast) ease-in-out;
    }
    .footer-social-link:hover {
      transform: translateY(-2px);
      color: var(--text-main);
    }
    .footer-social-link:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .footer-social-link img,
    .footer-social-icon {
      display: block;
      width: 36px;
      height: 36px;
    }
    .footer-copy {
      text-align: right;
      font-size: 13px;
      color: var(--text-muted);
    }
    .footer-legal {
      grid-area: legal;
      width: 100%;
    }
    .footer-links {
      grid-area: links;
      display: flex;
      gap: 16px 24px;
      flex-wrap: wrap;
      width: 100%;
      max-width: 100%;
    }
    .footer-links a {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      transition: color var(--duration-fast) ease-in-out;
    }
    .footer-links a:hover { color: var(--text-main); }

    
    .reveal {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.55s var(--ease-plata), transform 0.55s var(--ease-plata);
      will-change: opacity, transform;
    }
    .reveal.hidden {
      opacity: 0;
      transform: translateY(28px);
    }
    .reveal.in-view {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.06s; }
    .reveal-delay-2 { transition-delay: 0.12s; }
    .reveal-delay-3 { transition-delay: 0.18s; }
    .reveal-delay-4 { transition-delay: 0.24s; }
    .reveal-delay-5 { transition-delay: 0.30s; }

    
    @media (min-width: 769px) {
      .hero-demo-mobile {
        display: none !important;
      }
    }

    @media (min-width: 768px) {
      .container { padding: 0 24px; }
      section { padding: 96px 0; }
      #hero { padding: 72px 0 80px; }
      .hero-cta { align-items: center; }
      .hero-cta .btn { flex: 0 1 auto; }
    }

    @media (min-width: 961px) {
      .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
        align-items: center;
      }
    }

    @media (min-width: 1024px) {
      section { padding: 140px 0; }
      #hero { padding: 112px 0 96px; }
      .how-header { margin-bottom: 80px; }
      .features-header,
      .comparison-header,
      .pricing-header,
      .faq-header { margin-bottom: 64px; }
    }

    @media (min-width: 1440px) {
      .container { max-width: 1280px; }
    }

    @media (max-width: 960px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
      }
      .how-track { grid-template-columns: 1fr; gap: 40px; }
      .how-track::before { display: none; }
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
      .social-strip-inner { flex-wrap: wrap; gap: 20px; }
    }
    @media (max-width: 768px) {
      /* ИСПРАВЛЕНИЕ (2026-07-15): sticky ломается из-за overflow-x:clip на html/body —
         на мобиле фиксируем навбар, чтобы гамбургер был всегда в зоне экрана при скролле. */
      nav.landing-nav,
      body > nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        transform: none !important;
      }
      body {
        padding-top: calc(72px + env(safe-area-inset-top, 0px));
      }
      body.pricing-page {
        padding-top: calc(72px + env(safe-area-inset-top, 0px));
      }
      .nav-toggle { display: flex; }
      .nav-drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
        flex-shrink: 0;
      }
      .nav-drawer-divider { display: block !important; }
      .nav-drawer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--text-main);
        letter-spacing: -0.02em;
      }
      .nav-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        border: none;
        border-radius: 12px;
        background: transparent;
        color: var(--text-muted);
        cursor: pointer;
        flex-shrink: 0;
        transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
      }
      .nav-drawer-close:hover { background: var(--bg-glass); color: var(--text-main); }
      .nav-drawer-close svg { width: 22px; height: 22px; display: block; }
      body.nav-open .nav-toggle {
        visibility: hidden;
        pointer-events: none;
      }
      .nav-drawer-divider {
        display: block;
        border: none;
        border-top: 1px solid var(--border);
        margin: 0;
        flex-shrink: 0;
      }
      .nav-drawer-divider-bottom { margin-top: 8px; margin-bottom: 16px; }
      .nav-drawer {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 82vw);
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
        background: var(--bg-card);
        border-left: 1px solid var(--border);
        box-shadow: -8px 0 40px rgba(0,0,0,0.12);
        z-index: 160;
        transform: translateX(100%);
        transition: transform var(--duration-medium) var(--ease-plata), visibility var(--duration-fast) ease;
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
      }
      body.nav-open .nav-drawer {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        width: min(280px, 82vw);
        padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
        border-left: 1px solid var(--border);
        overflow-y: auto;
      }
      body:not(.nav-open) .nav-drawer {
        width: 0;
        min-width: 0;
        padding: 0;
        border: none;
        overflow: hidden;
      }
      .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        flex: 0;
        margin-bottom: 0;
        padding: 8px 16px 0;
      }
      .nav-links a {
        font-size: 17px;
        font-weight: 600;
        padding: 14px 12px;
        border-radius: 12px;
        color: var(--text-main);
        min-height: 48px;
      }
      .nav-links a:hover { background: var(--bg-glass); }
      .nav-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: auto;
        padding: 0 20px;
      }
      .nav-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
      .nav-login-menu { width: 100%; }
      .nav-login-menu > summary { width: 100%; }
      .nav-login-dropdown {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid var(--border);
      }
      .nav-cta .theme-toggle {
        align-self: flex-start;
        margin-bottom: 4px;
        border-radius: 12px;
      }
      /* ИСПРАВЛЕНИЕ (2026-07): на мобиле — статичные скрины вместо видео; CTA и текст важнее */
      .hero-right {
        display: none !important;
      }
      .hero-demo-mobile {
        display: block;
      }
      .hero-cta { flex-direction: column; align-items: stretch; }
      .hero-cta .btn { width: 100%; min-width: 0; flex: 1 1 auto; justify-content: center; white-space: normal; }
    }

    @media (max-width: 640px) {
      :root { --fs-hero: clamp(28px, 7.5vw, 36px); }
      section { padding: 56px 0; }
      .features-grid { grid-template-columns: 1fr; gap: 16px; }
      .hero-title { max-width: none; font-size: var(--fs-hero); }
      .section-title { max-width: none; font-size: clamp(28px, 6vw, 36px); }
      .hero-cta { flex-direction: column; align-items: stretch; }
      .hero-cta .btn { width: 100%; min-width: 0; flex: 1 1 auto; justify-content: center; white-space: normal; }
      .hero-left { min-width: 0; max-width: 100%; }
      #hero::before { width: 100%; max-width: 100%; right: 0; left: 0; top: -120px; height: 360px; }
      #pricing::before { width: 100%; max-width: 100%; left: 0; transform: none; }
      .cta-box::before { width: 100%; max-width: 100%; left: 0; transform: none; }
      .cta-box { padding: 48px 20px; border-radius: 24px; }
      .cta-actions { flex-direction: column; align-items: stretch; }
      .cta-actions .btn { width: 100%; justify-content: center; }
      .comparison-table-wrap {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
      }
      .comparison-table-wrap::after {
        display: none;
      }
      .comparison-table-wrap.has-horizontal-overflow::after {
        content: '← Листайте →';
        display: block;
        text-align: center;
        font-size: 12px;
        color: var(--text-muted);
        padding: 8px 0 0;
      }
      .comparison-cards { display: flex; flex-direction: column; gap: 12px; }
      .comparison-card-item {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 16px;
      }
      .comparison-card-item h4 { margin: 0 0 8px; font-size: 15px; }
      .comparison-card-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 0;
        font-size: 13px;
        border-bottom: 1px solid var(--border);
      }
      .comparison-card-row:last-child { border-bottom: none; }
      .comparison-card-row span:first-child { color: var(--text-muted); }
      .comparison-table-wrap .comparison-table { display: none; }
      .comparison-table th,
      .comparison-table td { padding: 12px 10px; font-size: 12px; }
      .comparison-table { min-width: 480px; }
      @media (max-width: 520px) {
        .comparison-table-wrap .comparison-table { display: none; }
        .comparison-cards { display: flex; }
      }
      .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      .footer-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 4px 0;
        font-size: 14px;
        line-height: 1.5;
      }
      .footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
          "brand"
          "copy"
          "legal"
          "links";
      }
      .footer-inner > .footer-aside {
        justify-self: start;
        align-items: flex-start;
      }
      .footer-inner > .footer-copy,
      .footer-aside .footer-copy {
        justify-self: start;
        text-align: left;
      }
      .how-step { padding: 0 8px; }
      .faq-q { padding: 20px; font-size: var(--fs-body); min-height: 48px; }
      .social-strip-inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
      }
      .social-sep { display: none; }
      .pricing-card { padding: 32px 20px; }
      .pricing-card.featured { transform: none; }
      .plan-price { font-size: clamp(36px, 10vw, 48px); }
      .feature-card { padding: 28px 20px; }
      .pricing-trial-note { font-size: 12px; padding: 8px 14px; }
      nav { padding: 12px 0; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
      footer { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
    }

    @media (min-width: 641px) and (max-width: 1024px) {
      section { padding: 72px 0; }
      #hero { padding: 56px 0 64px; }
      #hero::before { width: 100%; max-width: 100%; right: 0; left: 0; top: -120px; height: 360px; }
      #pricing::before { width: 100%; max-width: 100%; left: 0; transform: none; }
      .cta-box::before { width: 100%; max-width: 100%; left: 0; transform: none; }
      .hero-grid { gap: 48px; }
      .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; min-width: 0; }
      .feature-card { min-width: 0; }
      .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; min-width: 0; }
      .pricing-grid .pricing-card:last-child { grid-column: 1 / -1; max-width: 360px; justify-self: center; width: 100%; }
      .pricing-card { min-width: 0; }
      .pricing-card.featured { transform: none; }
      .how-track { grid-template-columns: 1fr; gap: 32px; }
      .social-strip-inner { flex-wrap: wrap; justify-content: center; gap: 24px; }
      .comparison-table-wrap { max-width: 100%; }
      .comparison-table th,
      .comparison-table td { padding: 14px 16px; font-size: 13px; }
    }

nav.landing-nav,
body > nav {
  transition: transform var(--duration-medium) var(--ease-plata), box-shadow var(--duration-fast) ease-in-out;
}
nav.nav-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); }
nav.nav-hidden { transform: translateY(-100%); }

.how-step,
.cta-box {
  transition: transform var(--duration-medium) var(--ease-plata), box-shadow var(--duration-medium) var(--ease-plata);
}
.how-step:hover {
  transform: translateY(-4px);
}

.footer-legal {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
html.dark-theme .footer-legal {
  color: rgba(243, 244, 246, 0.72);
}
html.dark-theme .footer-legal a {
  color: rgba(243, 244, 246, 0.85);
}

.is-hidden { display: none !important; }

/* ИСПРАВЛЕНИЕ (2026-07-21): CTA в шапке на планшете/мобиле — без открытия меню. */
.nav-cta-compact {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 8px;
  padding: 10px 14px;
  font-size: 13px;
  min-height: 40px;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .nav-cta-compact {
    display: inline-flex;
  }
}

/* ИСПРАВЛЕНИЕ (2026-07-21): липкий CTA — когда основная кнопка ушла из экрана. */
.landing-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9400;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg-card, #fff) 94%, transparent);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}
.landing-sticky-cta:not([hidden]) {
  display: block;
}
.landing-sticky-cta__inner {
  max-width: 480px;
  margin: 0 auto;
}
.landing-sticky-cta__btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.faq-item.is-placeholder { display: none; }
