/* MeroKalam.com official preeti-font-download styles. Unauthorized copying or republication is not permitted. */
* { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Mukta', -apple-system, sans-serif;
            color: var(--text);
            background: #ffffff;
            color: #1e293b;
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-text-size-adjust: 100%;
        }

        /* Navbar handled by .mk-nav in mk-shared.css */

        /* Hero */
        .hero {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0c4a6e 100%);
            color: white;
            padding: 3.5rem 1.5rem 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        .hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 999px;
            padding: 0.3rem 0.9rem;
            font-size: 0.78rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
            letter-spacing: 0.04em;
        }
        .hero h1 {
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 0.875rem;
        }
        .hero p {
            font-size: 1.05rem;
            color: rgba(255,255,255,0.82);
            margin-bottom: 2rem;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }
        .hero-meta {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.6);
            flex-wrap: wrap;
        }
        .hero-meta span { display: flex; align-items: center; gap: 0.3rem; }

        /* Download card */
        .download-section { background: #ffffff; padding: 2.5rem 1.5rem; }
        .download-inner { max-width: 760px; margin: 0 auto; }
        .download-card {
            background: linear-gradient(135deg, var(--green-bg), #dcfce7);
            border: 2px solid #86efac;
            border-radius: 1.25rem;
            padding: 2rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        .download-icon {
            width: 64px;
            height: 64px;
            background: var(--green);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            flex-shrink: 0;
        }
        .download-info { flex: 1; min-width: 200px; }
        .download-info h2 { font-size: 1.25rem; font-weight: 800; color: #14532d; margin-bottom: 0.35rem; }
        .download-info p { font-size: 0.88rem; color: #14532d; font-weight: 500; }
        .download-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
        .download-tag {
            font-size: 0.72rem;
            font-weight: 700;
            background: white;
            color: var(--green);
            border: 1px solid #86efac;
            border-radius: 999px;
            padding: 0.2rem 0.6rem;
        }
        .btn-download {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--green);
            color: white;
            font-weight: 700;
            font-size: 1rem;
            padding: 0.875rem 1.75rem;
            border-radius: 0.75rem;
            text-decoration: none;
            transition: all 0.2s;
            white-space: nowrap;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(22,163,74,0.35);
        }
        .btn-download:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,163,74,0.4); }

        /* Also download row */
        .also-download {
            margin-top: 1.25rem;
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            align-items: center;
        }
        .also-label { font-size: 0.82rem; color: #475569; font-weight: 600; }
        .also-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: white;
            border: 1.5px solid var(--border);
            border-radius: 0.5rem;
            padding: 0.4rem 0.875rem;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text);
            text-decoration: none;
            transition: all 0.15s;
        }
        .also-btn:hover { border-color: var(--primary-light); color: var(--primary); }

        /* Article body */
        .article-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem; background: #ffffff; color: #1e293b; }

        .article-wrap h2 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text);
            margin: 2.5rem 0 0.875rem;
            padding-top: 0.5rem;
            border-top: 2px solid var(--border);
        }
        .article-wrap h2:first-child { border-top: none; margin-top: 0; }
        .article-wrap h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 1.5rem 0 0.5rem;
            color: var(--primary);
        }
        .article-wrap p {
            font-size: 0.97rem;
            line-height: 1.8;
            color: #1e293b;
            margin-bottom: 1rem;
        }

        /* Keyboard layout */
        .keyboard-section {
            background: #f0f4ff;
            border: 1px solid #c7d2fe;
            border-radius: 1rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        .keyboard-section h3 { color: var(--text); margin-top: 0; margin-bottom: 1rem; }
        .keyboard {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-family: monospace;
        }
        .key-row { display: flex; gap: 5px; justify-content: center; flex-wrap: nowrap; }
        .key {
            background: white;
            border: 1.5px solid #cbd5e1;
            border-bottom: 3px solid #94a3b8;
            border-radius: 6px;
            padding: 4px 2px;
            min-width: 42px;
            text-align: center;
            box-shadow: 0 1px 2px rgba(0,0,0,0.08);
            flex-shrink: 0;
        }
        .key-np {
            font-family: 'Tiro Devanagari Nepali', serif;
            font-size: 0.95rem;
            color: var(--primary);
            display: block;
            line-height: 1.2;
        }
        .key-en {
            font-size: 0.6rem;
            color: var(--text-light);
            display: block;
        }
        .key.wide { min-width: 64px; }
        .key.wider { min-width: 80px; }
        .key.space { min-width: 200px; }
        .key-note { font-size: 0.78rem; color: #475569; margin-top: 0.75rem; text-align: center; }

        /* Install steps */
        .steps { counter-reset: step; list-style: none; margin: 1rem 0; }
        .steps li {
            counter-increment: step;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }
        .steps li:last-child { border-bottom: none; }
        .steps li { background: #ffffff; }
        .step-num {
            width: 32px;
            height: 32px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.85rem;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .step-content h4 { font-weight: 700; margin-bottom: 0.25rem; font-size: 0.97rem; color: #1e293b; }
        .step-content p { font-size: 0.88rem; color: #475569; margin: 0; }
        code {
            background: #f1f5f9;
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 0.1rem 0.4rem;
            font-size: 0.85em;
            color: #be185d;
        }

        /* Comparison table */
        .compare-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem; }
        .compare-table th {
            background: var(--primary);
            color: white;
            padding: 0.75rem 1rem;
            text-align: left;
            font-weight: 700;
        }
        .compare-table th:first-child { border-radius: 0.5rem 0 0 0; }
        .compare-table th:last-child { border-radius: 0 0.5rem 0 0; }
        .compare-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: #1e293b; }
        .compare-table tr:nth-child(even) td { background: var(--bg); }
        .compare-table tr:last-child td:first-child { border-radius: 0 0 0 0.5rem; }
        .compare-table tr:last-child td:last-child { border-radius: 0 0 0.5rem 0; }
        .badge-yes { color: var(--green); font-weight: 700; }
        .badge-no { color: #dc2626; font-weight: 700; }

        /* Info boxes */
        .info-box {
            background: #dbeafe;
            border-left: 4px solid #2563eb;
            border-radius: 0 0.75rem 0.75rem 0;
            padding: 1rem 1.25rem;
            margin: 1.25rem 0;
            font-size: 0.9rem;
            color: #1e3a8a;
        }
        .info-box strong { color: var(--primary); }
        .warn-box {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
            border-radius: 0 0.75rem 0.75rem 0;
            padding: 1rem 1.25rem;
            margin: 1.25rem 0;
            font-size: 0.9rem;
            color: #78350f;
        }

        /* FAQ */
        .faq-list { margin: 1rem 0; }
        .faq-item {
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            margin-bottom: 0.75rem;
            overflow: hidden;
        }
        .faq-q {
            padding: 1rem 1.25rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.95rem;
            background: #ffffff;
            color: #1e293b;
            user-select: none;
        }
        .faq-q:hover { background: var(--bg); }
        .faq-icon { font-size: 1.1rem; color: var(--primary); transition: transform 0.2s; flex-shrink: 0; }
        .faq-a {
            display: none;
            padding: 0 1.25rem 1rem;
            font-size: 0.9rem;
            color: #1e293b;
            background: white;
            line-height: 1.7;
        }
        .faq-item.open .faq-a { display: block; }
        .faq-item.open .faq-icon { transform: rotate(45deg); }

        /* CTA tools */
        .tools-cta {
            background: linear-gradient(135deg, #1e3a8a, #0c4a6e);
            border-radius: 1.25rem;
            padding: 2rem;
            text-align: center;
            color: white;
            margin: 2.5rem 0;
        }
        .tools-cta h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
        .tools-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }
        .tools-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
        .tool-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 999px;
            padding: 0.4rem 0.875rem;
            font-size: 0.82rem;
            font-weight: 600;
            color: white;
            text-decoration: none;
            transition: background 0.2s;
        }
        .tool-chip:hover { background: rgba(255,255,255,0.22); }

        /* Footer */
        .page-footer {
            background: #0f172a;
            color: rgba(255,255,255,0.5);
            text-align: center;
            padding: 1.5rem;
            font-size: 0.82rem;
        }
        .page-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
        .page-footer a:hover { color: white; }

        /* Mobile */
        @media (max-width: 600px) {
            .download-card { flex-direction: column; text-align: center; }
            .download-meta { justify-content: center; }
            .btn-download { width: 100%; justify-content: center; }
            .also-download { justify-content: center; }
            .key { min-width: 30px; padding: 3px 1px; }
            .key-np { font-size: 0.82rem; }
            .key.space { min-width: 120px; }
            .compare-table { font-size: 0.8rem; }
            .compare-table th, .compare-table td { padding: 0.5rem 0.6rem; }
            .tools-row { gap: 0.5rem; }
            input, select, textarea { font-size: 16px !important; }
        }
