/* BLEND — shared styles for legal/* pages. Edit here, not per-page. */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --gold-1: #f5d77a; --gold-2: #d4af37; --gold-3: #b8942e;
      --bg-deep: #0b0d11; --bg-mid: #11151d;
      --glass-bg: rgba(255,255,255,0.035);
      --glass-border: rgba(212,175,55,0.12);
      --text-primary: #f0ead8;
      --text-muted: rgba(240,234,216,0.55);
      --text-dim: rgba(240,234,216,0.25);
      --radius-card: 20px;
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; font-weight: 300; background: var(--bg-deep); color: var(--text-primary); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg-deep); }
    ::-webkit-scrollbar-thumb { background: var(--gold-3); border-radius: 2px; }

    .bg-canvas {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 70% 45% at 50% -5%, rgba(212,175,55,0.07) 0%, transparent 65%),
        radial-gradient(ellipse 40% 30% at 90% 50%, rgba(180,140,30,0.04) 0%, transparent 60%),
        linear-gradient(170deg, #11151d 0%, #0b0d11 100%);
    }
    .bg-noise {
      position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      background-size: 180px;
    }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: 68px; display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px;
      background: rgba(11,13,17,0.6); border-bottom: 1px solid rgba(212,175,55,0.06);
      backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    }
    .nav-brand { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; letter-spacing: 3px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; }
    .lang-switcher { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.12); border-radius: 40px; padding: 4px; }
    .lang-btn { padding: 5px 13px; border-radius: 30px; border: none; background: transparent; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); cursor: pointer; transition: all 0.25s; line-height: 1; }
    .lang-btn.active { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #0b0d11; }
    .lang-btn:not(.active):hover { color: var(--gold-1); }
    /* ===================== NAV LINKS ===================== */
    .nav-links { display: flex; gap: 28px; list-style: none; }
    .nav-links a { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; font-weight: 400; white-space: nowrap; }
    .nav-links a:hover { color: var(--gold-1); }
    .nav-links a.active { color: var(--gold-1); }

    /* ===================== HAMBURGER ===================== */
    .nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px 6px; border-radius: 8px; transition: background 0.2s; margin-left: 4px; }
    .nav-hamburger:hover { background: rgba(212,175,55,0.08); }
    .nav-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--gold-2); transition: all 0.3s ease; border-radius: 2px; transform-origin: center; }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    /* ===================== MOBILE MENU ===================== */
    .mobile-menu { position: fixed; top: 68px; left: 0; right: 0; z-index: 98; background: rgba(11,13,17,0.98); border-bottom: 1px solid rgba(212,175,55,0.1); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform 0.32s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease; padding: 20px 28px 28px; }
    .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
    .mobile-menu ul li a { display: block; padding: 14px 0; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.25s; border-bottom: 1px solid rgba(212,175,55,0.07); font-weight: 400; font-family: 'Inter', sans-serif; }
    .mobile-menu ul li:last-child a { border-bottom: none; }
    .mobile-menu ul li a:hover { color: var(--gold-1); }
    .mobile-menu-cta { margin-top: 20px; display: inline-block; padding: 11px 28px; border-radius: 50px; background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%); color: #0b0d11; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: all 0.3s; box-shadow: 0 4px 20px rgba(212,175,55,0.25); }
    .mobile-menu-cta:hover { box-shadow: 0 6px 30px rgba(212,175,55,0.4); transform: translateY(-1px); }

    @media (max-width: 1023px) { .nav-links { display: none; } .nav-hamburger { display: flex; } }
    @media (max-width: 899px) { nav { padding: 0 28px; } }
    @media (max-width: 599px) { nav { padding: 0 20px; height: 64px; } .mobile-menu { top: 64px; } .lang-btn { padding: 4px 10px; font-size: 9px; } }

    /* ===================== FULL FOOTER ===================== */
    .blend-footer { padding: 80px 0 0; border-top: 1px solid rgba(212,175,55,0.08); position: relative; z-index: 1; }
    .blend-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent); }
    .footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .footer-brand-name { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700; letter-spacing: 4px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: 14px; }
    .footer-tagline-text { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text-dim); font-weight: 300; line-height: 1.7; max-width: 240px; display: block; margin-bottom: 28px; }
    .footer-social { display: flex; gap: 10px; }
    .footer-social-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(212,175,55,0.15); background: rgba(212,175,55,0.04); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s; }
    .footer-social-btn:hover { border-color: rgba(212,175,55,0.4); background: rgba(212,175,55,0.1); transform: translateY(-2px); }
    .footer-social-btn svg { width: 15px; height: 15px; stroke: var(--gold-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
    .footer-col-title { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-2); opacity: 0.6; margin-bottom: 20px; }
    .footer-col-links { display: flex; flex-direction: column; gap: 13px; list-style: none; }
    .footer-col-links a { font-size: 13px; font-weight: 300; color: var(--text-muted); text-decoration: none; transition: color 0.25s; letter-spacing: 0.2px; }
    .footer-col-links a:hover { color: var(--gold-1); }
    .footer-app-badges { display: flex; flex-direction: column; gap: 10px; }
    .footer-badge { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(212,175,55,0.15); background: rgba(212,175,55,0.04); text-decoration: none; transition: all 0.3s; cursor: pointer; }
    .footer-badge:hover { border-color: rgba(212,175,55,0.35); background: rgba(212,175,55,0.08); transform: translateY(-2px); }
    .footer-badge svg { width: 18px; height: 18px; flex-shrink: 0; fill: var(--gold-2); }
    .footer-badge-text { display: flex; flex-direction: column; }
    .footer-badge-sub { font-size: 9px; font-weight: 400; letter-spacing: 1px; color: var(--text-dim); text-transform: uppercase; }
    .footer-badge-store { font-size: 13px; font-weight: 500; color: var(--text-primary); letter-spacing: 0.2px; }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 12px; }
    .footer-copy-text { font-size: 11px; color: var(--text-dim); letter-spacing: 0.5px; font-weight: 300; }
    .footer-bottom-links { display: flex; gap: 24px; list-style: none; }
    .footer-bottom-links a { font-size: 11px; color: var(--text-dim); text-decoration: none; transition: color 0.25s; letter-spacing: 0.5px; }
    .footer-bottom-links a:hover { color: var(--gold-1); }

    @media (max-width: 1023px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; } .footer-col-download { grid-column: 1 / -1; } .footer-app-badges { flex-direction: row; flex-wrap: wrap; } }
    @media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .footer-col-brand { grid-column: 1 / -1; } .footer-app-badges { flex-direction: row; flex-wrap: wrap; } .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; } .footer-bottom-links { flex-wrap: wrap; gap: 16px; } }
    @media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } .footer-app-badges { flex-direction: column; } .footer-badge { max-width: 220px; } .footer-bottom-links { gap: 14px; } }

    /* LAYOUT */
    .page { position: relative; z-index: 1; padding: 108px 0 80px; }
    .container { max-width: 1060px; margin: 0 auto; padding: 0 32px; }
    .legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }

    /* SIDEBAR */
    .sidebar { position: sticky; top: 92px; }
    .sidebar-back { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 400; letter-spacing: 1px; color: var(--text-dim); text-decoration: none; margin-bottom: 28px; transition: color 0.25s; cursor: pointer; }
    .sidebar-back:hover { color: var(--gold-1); }
    .sidebar-back svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .sidebar-label { font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; display: block; }
    .toc { list-style: none; display: flex; flex-direction: column; gap: 4px; }
    .toc a { display: block; font-size: 12px; font-weight: 300; color: var(--text-muted); text-decoration: none; padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; transition: all 0.25s; line-height: 1.4; }
    .toc a:hover { color: var(--gold-1); background: rgba(212,175,55,0.04); }
    .toc a.active { color: var(--gold-1); border-left-color: var(--gold-2); background: rgba(212,175,55,0.05); }

    /* LEGAL OTHER PAGES */
    .sidebar-other { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(212,175,55,0.08); }
    .sidebar-other-label { font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; display: block; }
    .sidebar-other a { display: block; font-size: 12px; font-weight: 300; color: var(--text-muted); text-decoration: none; padding: 6px 0; transition: color 0.25s; }
    .sidebar-other a:hover { color: var(--gold-1); }
    .sidebar-other a.current { color: var(--gold-2); font-weight: 400; }

    /* CONTENT */
    .legal-content {}
    .legal-header { margin-bottom: 52px; padding-bottom: 36px; border-bottom: 1px solid rgba(212,175,55,0.1); }
    .legal-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(212,175,55,0.18); border-radius: 40px; background: rgba(212,175,55,0.04); font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
    .legal-title { font-size: clamp(28px, 4vw, 44px); font-weight: 300; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 14px; background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 60%, var(--gold-3) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .legal-meta { font-size: 12px; font-weight: 300; color: var(--text-dim); letter-spacing: 0.3px; }
    .legal-meta span { color: var(--text-muted); }

    .legal-section { margin-bottom: 52px; scroll-margin-top: 96px; }
    .legal-section h2 { font-size: 17px; font-weight: 500; letter-spacing: -0.1px; color: var(--gold-1); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(212,175,55,0.08); }
    .legal-section h3 { font-size: 14px; font-weight: 500; color: var(--text-primary); margin: 22px 0 10px; letter-spacing: 0.1px; }
    .legal-section p { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
    .legal-section p:last-child { margin-bottom: 0; }
    .legal-section ul, .legal-section ol { padding-left: 20px; margin-bottom: 14px; }
    .legal-section li { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.85; margin-bottom: 6px; }
    .legal-section li::marker { color: var(--gold-3); }
    .legal-section a { color: var(--gold-1); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.25); transition: border-color 0.2s; }
    .legal-section a:hover { border-color: var(--gold-1); }
    .legal-section strong { font-weight: 500; color: var(--text-primary); }

    .highlight-box { padding: 20px 22px; border-radius: 14px; background: rgba(212,175,55,0.04); border: 1px solid rgba(212,175,55,0.14); margin-bottom: 14px; }
    .highlight-box p { margin-bottom: 0; }

    /* FOOTER */
    .page-footer { position: relative; z-index: 1; padding: 28px 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(212,175,55,0.06); margin-top: 60px; }
    .footer-copy { font-size: 11px; color: var(--text-dim); letter-spacing: 0.5px; }
    .footer-tagline { font-size: 11px; color: var(--text-dim); letter-spacing: 0.5px; }

    /* GEORGIAN */
    body.lang-ka, body.lang-ka .toc a, body.lang-ka .legal-title, body.lang-ka .legal-section h2, body.lang-ka .legal-section h3, body.lang-ka .legal-section p, body.lang-ka .legal-section li, body.lang-ka .legal-meta, body.lang-ka .lang-btn { font-family: 'Noto Sans Georgian', sans-serif; }

    /* RESPONSIVE */
    @media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .sidebar { position: static; } .toc { display: none; } }
    @media (max-width: 600px) { nav { padding: 0 20px; } .container { padding: 0 20px; } .page-footer { padding: 20px; flex-direction: column; gap: 6px; text-align: center; } }
