:root {
        --bg: #f4f1ec;
        --bg-soft: #fbf8f3;
        --line: #e6ded3;
        --text: #111111;
        --muted: #5f5952;
        --orange: #fb914a;
        --black: #020104;
        --white: #ffffff;
        --shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
        --radius-xl: 28px;
        --radius-lg: 20px;
        --max: 1200px;
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        background: var(--bg);
        color: var(--text);
      }

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

      a {
        color: inherit;
        text-decoration: none;
      }

      .container {
        width: min(var(--max), calc(100% - 48px));
        margin: 0 auto;
      }

      .topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        background: rgba(247, 244, 239, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
      }

      .topbar-inner {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
      }

      .brand {
        font-size: 18px;
        letter-spacing: 0.22em;
        font-weight: 700;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: 32px;
        flex: 1;
        justify-content: center;
      }

      .nav a {
        font-size: 15px;
        color: var(--muted);
      }

      .nav a.is-active {
        color: var(--text);
        font-weight: 600;
      }

      .actions {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .download-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 18px;
        border-radius: 999px;
        background: var(--black);
        color: var(--white);
        font-size: 14px;
        font-weight: 600;
        border: 0;
        cursor: pointer;
      }

      .lang-switch {
        display: inline-flex;
        border: 1px solid var(--line);
        background: var(--white);
        border-radius: 999px;
        padding: 4px;
        gap: 4px;
      }

      .lang-switch button {
        border: 0;
        background: transparent;
        min-width: 38px;
        height: 32px;
        border-radius: 999px;
        font-size: 12px;
        cursor: pointer;
        color: var(--muted);
      }

      .lang-switch button.is-active {
        background: var(--black);
        color: var(--white);
        font-weight: 600;
      }

      .hero {
        padding: 88px 0 64px;
        border-bottom: 1px solid var(--line);
      }

      .hero h1 {
        margin: 0;
        max-width: 920px;
        font-size: clamp(48px, 7vw, 74px);
        line-height: 1.04;
        letter-spacing: -0.04em;
      }

      .hero p {
        margin: 28px 0 0;
        max-width: 840px;
        font-size: 18px;
        line-height: 1.85;
        color: #524b43;
      }

      .hero p.subtle {
        color: #6b645b;
      }

      .section-label {
        margin-top: 52px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: var(--orange);
      }

      .badge-row {
        margin-top: 18px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        align-items: stretch;
      }

      .badge-item {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .badge-link {
        width: 100%;
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .badge-img {
        display: block;
        width: 100%;
        height: 76px;
        object-fit: contain;
      }

      .badge-fallback {
        width: 100%;
        min-height: 76px;
        padding: 12px 16px;
        display: none;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        background: #111;
        color: white;
        font-size: 14px;
        font-weight: 600;
      }

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

      .section-title {
        text-align: center;
        margin-bottom: 48px;
      }

      .section-title .eyebrow {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 12px;
      }

      .section-title h2 {
        margin: 0;
        font-size: clamp(32px, 5vw, 44px);
        letter-spacing: -0.03em;
      }

      .cards-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

      .card {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        padding: 28px;
        box-shadow: var(--shadow);
      }

      .icon-pill {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: var(--orange);
        color: var(--white);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 700;
      }

      .card h3 {
        margin: 18px 0 0;
        font-size: 18px;
      }

      .card p {
        margin: 14px 0 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.9;
      }

      .bottom-grid {
        padding: 20px 0 88px;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 20px;
      }

      .quick-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 18px;
      }

      .quick-link {
        background: var(--bg-soft);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 16px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }

      .quick-link-left {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .quick-link .mini-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: var(--orange);
        color: var(--white);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 700;
      }

      .quick-link span,
      .support-box p,
      .support-card p,
      .legal-copy p {
        line-height: 1.8;
      }

      .support-box h3 {
        margin: 12px 0 0;
        font-size: 28px;
        letter-spacing: -0.02em;
      }

      .support-box p {
        margin: 14px 0 0;
        color: var(--muted);
        font-size: 15px;
      }

      .orange-btn {
        margin-top: 22px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 0 18px;
        border: 0;
        border-radius: 999px;
        background: var(--orange);
        color: var(--white);
        font-weight: 600;
        cursor: pointer;
      }

      .home-page,
      .legal-page,
      .support-page {
        display: none;
      }

      .legal-page,
      .support-page {
        padding: 56px 0 88px;
      }

      .page-visible {
        display: block !important;
      }

      .legal-layout {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 28px;
      }

      .legal-side,
      .legal-main,
      .support-card {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow);
      }

      .legal-side {
        padding: 22px;
        align-self: start;
        position: sticky;
        top: 96px;
      }

      .legal-main {
        min-width: 0;
        padding: 28px 32px;
      }

      .legal-side h1 {
        margin: 18px 0 16px;
        font-size: clamp(28px, 3vw, 46px);
        line-height: 1.08;
        letter-spacing: -0.03em;
        overflow-wrap: anywhere;
      }

      .legal-side a {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0;
        color: var(--muted);
        font-size: 14px;
      }

      .legal-main section {
        padding: 24px 0;
        border-top: 1px solid #eee6d8;
      }

      .legal-main section:first-of-type {
        border-top: 0;
        padding-top: 0;
      }

      .legal-main h2 {
        margin: 0 0 12px;
        font-size: 22px;
      }

      .legal-copy p {
        margin: 0 0 12px;
        color: var(--muted);
        font-size: 15px;
        overflow-wrap: break-word;
      }

      .support-grid {
        margin-top: 48px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

      .support-extra {
        margin-top: 24px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
      }

      .support-feature-card {
        background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
      }

      .social-links {
        margin-top: 18px;
        display: grid;
        gap: 12px;
      }

      .social-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 64px;
        padding: 0 18px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--bg-soft);
        font-size: 15px;
        font-weight: 600;
        transition: background 0.2s ease, transform 0.2s ease;
      }

      .social-links a:hover {
        background: #f7f1e8;
        transform: translateY(-1px);
      }

      .social-link-left {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
      }

      .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
      }

      .social-icon svg {
        width: 22px;
        height: 22px;
        display: block;
      }

      .social-labels {
        min-width: 0;
      }

      .social-labels strong {
        display: block;
        font-size: 15px;
        line-height: 1.2;
      }

      .social-handle {
        display: block;
        margin-top: 4px;
        font-size: 13px;
        line-height: 1.25;
        color: var(--muted);
        overflow-wrap: anywhere;
      }

      .social-arrow {
        color: var(--muted);
        font-size: 16px;
        flex: 0 0 auto;
      }

      .support-card {
        padding: 28px;
      }

      .support-card a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
        font-weight: 600;
      }

      .footer {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(90deg, var(--black), #171311);
        color: rgba(255, 255, 255, 0.8);
      }

      .footer-inner {
        min-height: 132px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 24px;
        align-items: start;
        padding: 32px 0;
      }

      .footer .brand {
        color: white;
      }

      .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 18px 24px;
      }

      .footer-links a {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.72);
      }

      .hidden {
        display: none !important;
      }

      @media (max-width: 1024px) {
        .nav {
          display: none;
        }

        .cards-3,
        .bottom-grid,
        .support-grid,
        .legal-layout {
          grid-template-columns: 1fr;
        }

        .legal-side {
          position: static;
        }
      }

      @media (max-width: 768px) {
        .container {
          width: min(var(--max), calc(100% - 32px));
        }

        .hero {
          padding-top: 56px;
        }

        .badge-row {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .quick-links {
          grid-template-columns: 1fr;
        }

        .actions {
          gap: 8px;
        }

        .download-btn {
          padding: 0 14px;
          min-height: 38px;
        }
      }

      a:focus-visible,
      button:focus-visible {
        outline: 3px solid rgba(251, 145, 74, 0.28);
        outline-offset: 2px;
      }

      .topbar {
        background: rgba(248, 245, 239, 0.88);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(17, 17, 17, 0.06);
      }

      .topbar-inner {
        min-height: 82px;
      }

      .hero {
        padding: 32px 0 56px;
        border-bottom: 0;
      }

      .hero-shell {
        position: relative;
        overflow: hidden;
        border: 1px solid #e8ddd0;
        border-radius: 36px;
        padding: 56px;
        background:
          radial-gradient(circle at top left, rgba(251, 145, 74, 0.18), transparent 34%),
          linear-gradient(135deg, #f8f4ed 0%, #fbf8f3 50%, #ffffff 100%);
        box-shadow: 0 26px 70px rgba(17, 17, 17, 0.06);
      }

      .hero-shell::before,
      .hero-shell::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        pointer-events: none;
      }

      .hero-shell::before {
        width: 380px;
        height: 380px;
        right: -120px;
        top: -120px;
        background: rgba(251, 145, 74, 0.12);
        filter: blur(6px);
      }

      .hero-shell::after {
        width: 220px;
        height: 220px;
        left: -80px;
        bottom: -80px;
        background: rgba(17, 17, 17, 0.03);
      }

      .hero-grid {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        align-items: start;
      }

      .hero-copy {
        min-width: 0;
        max-width: 760px;
      }

      .hero h1 {
        max-width: 680px;
        font-size: clamp(50px, 6.4vw, 78px);
      }

      .hero p {
        max-width: 680px;
        margin-top: 24px;
        font-size: 17px;
        line-height: 1.9;
        color: #524b43;
      }

      .hero p.subtle {
        margin-top: 14px;
        color: #6d655c;
      }

      .hero-visual,
      .hero-image-wrap {
        display: none;
      }

      .hero-image {
        display: none;
      }

      .store-panel {
        margin-top: 36px;
        padding: 22px 0 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
      }

      .store-panel .section-label {
        margin-top: 0;
      }

      .badge-row {
        margin-top: 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
      }

      .badge-item {
        min-height: auto;
        display: block;
        flex: 0 0 auto;
      }

      .badge-link {
        width: auto;
        min-height: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 12px;
        background: transparent;
        border: 0;
        box-shadow: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
      }

      .badge-link:hover {
        transform: translateY(-1px);
        box-shadow: none;
        border-color: transparent;
        opacity: 0.96;
      }

      .badge-img {
        display: block;
        width: auto;
        max-width: 100%;
        height: 50px;
        object-fit: contain;
      }

      .badge-fallback {
        min-width: 169px;
        min-height: 50px;
        border-radius: 12px;
      }

      .content-section {
        padding: 88px 0 0;
      }

      .home-page .section-title {
        margin-bottom: 52px;
      }

      .home-page .section-title h2 {
        max-width: 620px;
        margin: 0 auto;
      }

      .home-page .section-title p {
        max-width: 640px;
        margin: 18px auto 0;
      }

      .home-page .cards-3,
      .home-page .bottom-grid,
      .support-grid,
      .support-extra {
        gap: 24px;
      }

      .home-page .card,
      .support-card,
      .support-feature-card {
        border-radius: 30px;
        border: 1px solid #ece3d6;
        background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
        box-shadow: 0 18px 42px rgba(17, 17, 17, 0.05);
      }

      .home-page .card {
        transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
      }

      .home-page .card:hover,
      .support-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 24px 50px rgba(17, 17, 17, 0.07);
        border-color: #e4d5c3;
      }

      .home-page .icon-pill,
      .support-card .icon-pill {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        background: linear-gradient(180deg, #ffab70 0%, #fb914a 100%);
        box-shadow: 0 12px 24px rgba(251, 145, 74, 0.28);
      }

      .home-page .quick-link {
        min-height: 78px;
        padding: 18px 20px;
        border-radius: 22px;
        background: #fff;
        border: 1px solid #ece2d5;
        box-shadow: 0 12px 28px rgba(17, 17, 17, 0.04);
        transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
      }

      .home-page .quick-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(17, 17, 17, 0.06);
        border-color: #e4d4bf;
        background: #fff;
      }

      .home-page .quick-link .mini-icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffab70 0%, #fb914a 100%);
      }

      .home-page .support-box {
        background: linear-gradient(180deg, #fff7ef 0%, #ffffff 100%);
      }

      .orange-btn {
        box-shadow: 0 14px 28px rgba(251, 145, 74, 0.24);
        transition: transform 0.24s ease, box-shadow 0.24s ease;
      }

      .orange-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 34px rgba(251, 145, 74, 0.28);
      }

      .social-links {
        gap: 14px;
      }

      .social-links a {
        min-height: 76px;
        padding: 0 18px;
        border-radius: 22px;
        border: 1px solid #ece2d5;
        background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
        box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
        transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
      }

      .social-links a:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 20px 36px rgba(17, 17, 17, 0.07);
        border-color: #e4d5c3;
      }

      .social-link-left {
        gap: 16px;
      }

      .social-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        border: 1px solid #ece2d5;
        background: linear-gradient(180deg, #ffffff 0%, #f7f2ea 100%);
        box-shadow: 0 10px 18px rgba(17, 17, 17, 0.05);
      }

      .social-icon svg {
        width: 24px;
        height: 24px;
      }

      .social-arrow {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        background: #f7f1e8;
        border: 1px solid #ece2d5;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.24s ease;
      }

      .social-links a:hover .social-arrow {
        transform: translateX(2px);
      }

      .social-tiktok .social-icon {
        background: linear-gradient(180deg, #ffffff 0%, #f5f3f6 100%);
      }

      .social-youtube .social-icon {
        background: linear-gradient(180deg, #fff5f5 0%, #fff1f1 100%);
      }

      .social-dzen .social-icon {
        background: linear-gradient(180deg, #ffffff 0%, #f7f3ec 100%);
      }

      .social-vk .social-icon {
        background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
      }

      @media (max-width: 1200px) {
        .hero-grid {
          grid-template-columns: minmax(0, 1fr);
          gap: 0;
        }

        .badge-row {
          gap: 14px;
        }
      }

      @media (max-width: 1024px) {
        .hero {
          padding: 24px 0 48px;
        }

        .hero-shell {
          padding: 40px;
        }

        .hero-grid {
          grid-template-columns: 1fr;
        }

        .hero h1,
        .hero p {
          max-width: none;
        }
      }

      @media (max-width: 768px) {
        .topbar-inner {
          min-height: 74px;
        }

        .hero-shell {
          padding: 24px;
          border-radius: 28px;
        }

        .hero h1 {
          font-size: clamp(40px, 12vw, 58px);
        }

        .store-panel {
          padding-top: 18px;
        }

        .badge-row {
          gap: 12px;
        }

        .badge-item {
          flex: 1 1 calc(50% - 6px);
          min-width: 136px;
        }

        .badge-link {
          width: 100%;
          justify-content: flex-start;
        }

        .badge-img {
          height: 46px;
        }

        .social-links a {
          min-height: 70px;
        }
      }
