/* Shared source of truth for examples pages. */
/* Canonical shared styles: customize section appears after index section. */

/* ===== customize styles ===== */
        :root {
            --color-text: #0f172a;
            --color-text-secondary: #334155;
            --color-text-muted: #475569;
            --color-bg: #f8fafc;
            --color-surface: #f1f5f9;
            --color-border: #dbe4ef;
            --color-accent: #111827;
            --color-panel: #ffffff;
            --color-code-bg: #0b1220;
            --color-code-border: #263146;
            --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
            --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
            --page-gutter: clamp(20px, 4vmin, 48px);
            --content-width: 1000px;
        }

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

        body {
            margin: 0;
            font-family: var(--font-sans);
            color: var(--color-text);
            background:
                radial-gradient(1200px 560px at 95% -15%, #e6eef7 0%, transparent 62%),
                radial-gradient(900px 460px at -10% 0%, #edf3fa 0%, transparent 62%),
                var(--color-bg);
            -webkit-font-smoothing: antialiased;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 24px;
            max-width: var(--content-width);
            margin: 12px auto;
            width: calc(100% - 32px);
            box-sizing: border-box;
            position: sticky;
            top: 12px;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(226, 232, 240, 0.75);
            border-radius: 9999px;
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
            transition: all 0.3s ease;
        }

        @media (max-width: 768px) {
            .navbar {
                margin: 8px auto;
                width: calc(100% - 16px);
                padding: 10px 18px;
            }
        }

        .logo {
            font-family: var(--font-serif);
            font-size: clamp(20px, 2vw + 12px, 28px);
            letter-spacing: -0.5px;
            text-decoration: none;
            color: var(--color-text);
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 38px !important;
            width: auto;
            display: block;
            transition: transform 0.2s ease;
        }

        .logo:hover img {
            transform: scale(1.04);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: clamp(8px, 1.5vw + 4px, 24px);
        }

        .nav-link {
            color: #334155;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            display: flex;
            align-items: center;
            padding: 8px 16px;
            border-radius: 9999px;
            transition: all 0.2s ease;
        }

        .nav-link:hover {
            color: #0f172a;
            background: rgba(0, 0, 0, 0.04);
        }

        .nav-link.is-active {
            color: #2563eb;
            background: rgba(37, 99, 235, 0.08);
            font-weight: 600;
        }

        .nav-link svg {
            width: 22px;
            height: 22px;
            fill: currentColor;
            display: block;
        }

        .btn-primary {
            background: #2563eb;
            color: #fff;
            border: 0;
            border-radius: 9999px;
            font-size: 15px;
            font-weight: 600;
            padding: 12px 26px;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
        }

        .btn-primary:hover {
            background: #1d4ed8;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
            transform: translateY(-1px);
        }

        .btn-primary:active {
            transform: translateY(1px);
        }

        .btn-secondary {
            background: #fff;
            color: #1e293b;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 600;
            line-height: 1;
            padding: 12px 18px;
            cursor: pointer;
            border: 1px solid #cbd5e1;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-secondary:hover {
            background: #fff;
            border-color: var(--color-accent);
            color: var(--color-text);
        }

        .hero {
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin: 0 auto;
            padding: clamp(24px, 4vw, 48px) var(--page-gutter) clamp(20px, 4vw, 32px);
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--color-text-secondary);
            border: 1px solid var(--color-border);
            border-radius: 999px;
            padding: 7px 14px;
            background: rgba(255, 255, 255, 0.92);
        }

        .hero-title {
            margin: 18px 0 14px;
            font-family: var(--font-sans);
            font-size: clamp(2.2rem, 4.5vw + 0.5rem, 3.6rem);
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -1.8px;
        }

        .hero-subtitle {
            margin: 0;
            max-width: 760px;
            color: var(--color-text-secondary);
            font-size: clamp(15px, 1vw + 12px, 19px);
            line-height: 1.7;
        }

        .customize-page .hero {
            text-align: left;
        }

        .customize-page .hero-badge {
            display: none;
        }

        .customize-page .hero-subtitle {
            margin-left: 0;
            margin-right: 0;
        }

        .container {
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin: 0 auto;
            padding: 0 var(--page-gutter) clamp(40px, 6vw, 72px);
        }

        .builder-layout {
            display: grid;
            grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
            gap: clamp(16px, 2.2vw, 28px);
            align-items: start;
        }

        .panel {
            background: var(--color-panel);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            padding: clamp(18px, 2.4vw, 28px);
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
        }

        .panel h2 {
            margin: 0 0 8px;
            font-size: 20px;
        }

        .panel-intro {
            margin: 0 0 18px;
            color: var(--color-text-secondary);
            line-height: 1.65;
            font-size: 14px;
        }

        .control-group + .control-group {
            margin-top: 22px;
            padding-top: 22px;
            border-top: 1px solid #e2e8f0;
        }

        .control-group h3 {
            margin: 0 0 12px;
            font-size: 15px;
            letter-spacing: 0.2px;
            color: var(--color-text-muted);
        }

        .field {
            display: grid;
            gap: 8px;
            margin-bottom: 14px;
        }

        .field-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
            align-items: end;
        }

        .field label {
            font-size: 14px;
            font-weight: 600;
        }

        .field input,
        .field select {
            width: 100%;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            background: #fff;
            color: #0f172a;
            font-size: 14px;
            padding: 10px 12px;
            font-family: var(--font-sans);
        }

        .icon-picker {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
        }

        .icon-picker-option {
            position: relative;
            display: block;
            cursor: pointer;
            margin: 0;
        }

        .icon-picker-option input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .icon-picker-preview {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 52px;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            background: #fff;
            color: #1e293b;
            transition: border-color 0.18s ease, background-color 0.18s ease;
        }

        .icon-picker-option:hover .icon-picker-preview {
            background: #f8fafc;
        }

        .icon-picker-option input:focus-visible + .icon-picker-preview {
            outline: 2px solid #0f172a;
            outline-offset: 2px;
        }

        .icon-picker-option input:checked + .icon-picker-preview {
            border-color: #0f172a;
            background: #eef2ff;
        }

        .icon-picker-preview svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

        .field.color-field {
            margin-bottom: 14px;
        }

        .field.color-field input[type="color"] {
            width: 46px;
            height: 46px;
            min-height: 46px;
            padding: 0;
            border-radius: 999px;
            border: 2px solid #cbd5e1;
            background: transparent;
            appearance: none;
            cursor: pointer;
        }

        .field.color-field input[type="color"]::-webkit-color-swatch-wrapper {
            padding: 0;
        }

        .field.color-field input[type="color"]::-webkit-color-swatch {
            border: 0;
            border-radius: 999px;
        }

        .field.color-field input[type="color"]::-moz-color-swatch {
            border: 0;
            border-radius: 999px;
        }

        .field input:focus,
        .field select:focus {
            outline: 3px solid rgba(59, 130, 246, 0.24);
            border-color: #60a5fa;
        }

        .range-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px;
            align-items: center;
        }

        .range-row input[type="range"] {
            padding: 0;
            border: 0;
            background: transparent;
        }

        .range-value {
            min-width: 54px;
            font-family: var(--font-mono);
            font-size: 12px;
            text-align: center;
            color: #0f172a;
            border: 1px solid #d5deea;
            border-radius: 999px;
            background: #f8fafc;
            padding: 4px 8px;
        }

        .form-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 6px;
        }

        .preview-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .preview-panel-header h2 {
            margin: 0;
            font-size: 20px;
        }

        .preview-note {
            margin: 0 0 14px;
            color: var(--color-text-secondary);
            font-size: 14px;
            line-height: 1.6;
        }

        .preview-frame {
            width: 100%;
            height: min(68vh, 720px);
            border: 1px solid var(--color-border);
            border-radius: 12px;
            background: #fff;
        }

        .export-section {
            margin-top: clamp(20px, 3.5vw, 34px);
        }

        .export-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .export-header h2 {
            margin: 0;
            font-size: 20px;
        }

        .export-note {
            margin: 0;
            color: var(--color-text-secondary);
            font-size: 14px;
            line-height: 1.6;
        }

        .self-host-download-actions {
            margin: 12px 0;
        }

        .export-code {
            margin: 0;
            border: 1px solid var(--color-code-border);
            border-radius: 12px;
            background: var(--color-code-bg);
            color: #e2e8f0;
            padding: 16px;
            overflow: auto;
            max-height: 420px;
        }

        .export-code code {
            font-family: var(--font-mono);
            font-size: 12px;
            line-height: 1.6;
            white-space: pre;
        }

        .status {
            margin-top: 10px;
            color: #166534;
            font-size: 13px;
            min-height: 1em;
        }

        .voice-status {
            color: var(--color-text-muted);
            font-size: 12px;
            line-height: 1.5;
            min-height: 1.5em;
        }

        .footer {
            border-top: 1px solid var(--color-border);
            margin-top: 24px;
            padding: 28px var(--page-gutter);
            display: flex;
            justify-content: space-between;
            gap: 16px;
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin-left: auto;
            margin-right: auto;
        }

        .footer-left {
            font-size: 0 !important;
            color: var(--color-text-muted);
        }

        html[lang="ro"] .footer-left::before {
            content: "© 2026 ZEBRABYTE. Toate drepturile rezervate.";
            font-size: 14px !important;
        }

        html:not([lang="ro"]) .footer-left::before {
            content: "© 2026 ZEBRABYTE. All rights reserved.";
            font-size: 14px !important;
        }

        .footer-links {
            display: flex;
            gap: 20px;
        }

        .footer-links a {
            font-size: 14px;
            color: var(--color-text-muted);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

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

        .footer-links a svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
            flex-shrink: 0;
        }

        @media (max-width: 980px) {
            .builder-layout {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-link:not([aria-label]) {
                display: none;
            }

            .btn-primary {
                padding: 10px 20px;
                font-size: 14px;
            }

            .preview-panel-header,
            .export-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .field-row {
                grid-template-columns: 1fr;
            }

            .footer {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                justify-content: center;
            }
        }
                    '    :root { color-scheme: light; }\n' +
                    '    body { margin: 0; background: var(--acc-card-bg, #ffffff); }\n' +
                    '    .preview-wrap { padding: 26px; }\n' +
                    '    .sk { border-radius: 10px; background: #d9dde3; }\n' +
                    '    .sk-row { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }\n' +
                    '    .sk-logo { width: 130px; height: 20px; border-radius: 999px; }\n' +
                    '    .sk-chip { width: 72px; height: 16px; border-radius: 999px; }\n' +
                    '    .sk-chip.wide { width: 118px; }\n' +
                    '    .sk-hero-title { width: 72%; max-width: 540px; height: 36px; margin-bottom: 14px; }\n' +
                    '    .sk-hero-line { height: 14px; margin-bottom: 10px; }\n' +
                    '    .sk-hero-line.short { width: 76%; }\n' +
                    '    .sk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }\n' +
                    '    .sk-card { border-radius: 12px; padding: 14px; background: #eef2f7; }\n' +
                    '    .sk-card-title { width: 45%; height: 16px; margin-bottom: 12px; }\n' +
                    '    .sk-card-line { height: 11px; margin-bottom: 8px; }\n' +
                    '    .sk-card-line:last-child { margin-bottom: 0; width: 82%; }\n' +
                    '    .sk-band { height: 42px; border-radius: 12px; margin-top: 16px; }\n' +
                    '    .sk-band.thin { height: 24px; margin-top: 12px; width: 64%; }\n' +
                    '    @media (max-width: 700px) { .preview-wrap { padding: 18px; } .sk-grid { grid-template-columns: 1fr; } .sk-hero-title { width: 92%; } }\n' +

/* ===== index styles (canonical for shared selectors) ===== */
        :root {
            --color-text: #0f172a;
            --color-text-secondary: #334155;
            --color-text-muted: #475569;
            --color-bg: #f8fafc;
            --color-surface: #f1f5f9;
            --color-border: #e2e8f0;
            --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
            --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
            --page-gutter: clamp(20px, 4vmin, 48px);
            --content-width: 1000px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: var(--font-sans);
            background-color: var(--color-bg);
            color: var(--color-text);
            -webkit-font-smoothing: antialiased;
        }

        /* --- Hero --- */

        .hero {
            padding: clamp(32px, 8vw, 80px) var(--page-gutter) clamp(24px, 4vw, 40px);
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin: 0 auto;
        }

        .home-page .hero {
            text-align: center;
            max-width: calc(900px + var(--page-gutter) * 2);
            margin: 0 auto;
            padding-bottom: 0;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid var(--color-border);
            background: rgba(255, 255, 255, 0.92);
            color: var(--color-text-secondary);
            padding: 7px 14px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 400;
            margin-bottom: 20px;
        }

        .hero-title {
            font-family: var(--font-sans);
            font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.2rem);
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -2px;
            margin: 0 0 24px;
            color: var(--color-text);
        }

        .hero-title span {
            color: #2563eb;
            font-weight: 900;
            display: block;
            margin-top: 8px;
        }

        .hero-subtitle {
            font-size: clamp(15px, 1vw + 12px, 19px);
            color: var(--color-text-secondary);
            line-height: 1.6;
            max-width: 660px;
            margin: 0 auto 24px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin: 0 auto 24px;
            align-items: center;
            justify-content: center;
        }

        .code-snippet {
            display: inline-flex;
            align-items: center;
            background: white;
            border: 1px solid #cbd5e1;
            border-radius: 9999px;
            padding: 8px 12px 8px 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            margin: 0 auto clamp(32px, 6vw, 60px);
            max-width: 100%;
        }

        .code-snippet code {
            font-family: var(--font-mono);
            font-size: clamp(11px, 0.5vw + 9px, 13px);
            color: var(--color-text);
            white-space: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .copy-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            color: #475569;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-left: 8px;
            flex-shrink: 0;
        }

        .copy-btn:hover {
            background-color: var(--color-surface);
            color: var(--color-text);
        }

        .copy-btn svg {
            width: 16px;
            height: 16px;
        }

        /* --- Hero Mockup Preview --- */
        .hero-preview {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .widget-mockup {
            width: 100%;
            max-width: 370px;
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(219, 230, 245, 0.7);
            border-radius: 24px;
            padding: 20px;
            box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .widget-mockup:hover {
            transform: translateY(-4px);
            box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
        }

        .mockup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e2e8f0;
        }

        .mockup-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--color-text);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mockup-title svg {
            width: 18px;
            height: 18px;
            color: #2563eb;
        }

        .mockup-reset {
            background: none;
            border: none;
            font-size: 12px;
            font-weight: 600;
            color: var(--color-text-muted);
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background 0.18s, color 0.18s;
        }

        .mockup-reset:hover {
            background: #f1f5f9;
            color: var(--color-text);
        }

        .mockup-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .mockup-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 14px 8px;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            gap: 6px;
        }

        .mockup-btn:hover {
            border-color: #94a3b8;
            background: #f8fafc;
            transform: scale(1.02);
        }

        .mockup-btn.is-active {
            background: #eff6ff;
            border-color: #3b82f6;
            color: #1d4ed8;
            box-shadow: 0 0 0 1px #3b82f6;
        }

        .mockup-btn svg {
            width: 22px;
            height: 22px;
            stroke-width: 2;
            color: var(--color-text-secondary);
            transition: color 0.2s;
        }

        .mockup-btn.is-active svg {
            color: #2563eb;
        }

        .mockup-btn-label {
            font-size: 12px;
            font-weight: 600;
            line-height: 1.2;
            color: var(--color-text);
        }

        .mockup-btn.is-active .mockup-btn-label {
            color: #1e40af;
        }

        /* --- Interactive Preview States --- */
        body.preview-dyslexia {
            font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive, sans-serif !important;
        }
        body.preview-dyslexia .logo, 
        body.preview-dyslexia .hero-title, 
        body.preview-dyslexia .section-header {
            font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive, sans-serif !important;
            letter-spacing: normal;
        }

        body.preview-zoom {
            font-size: 1.15rem;
        }
        body.preview-zoom .hero-title {
            font-size: clamp(2rem, 4vw + 0.5rem, 3.6rem);
        }
        body.preview-zoom .hero-subtitle {
            font-size: clamp(15px, 1vw + 12px, 18px);
        }

        body.preview-contrast {
            filter: invert(1) hue-rotate(180deg);
        }
        body.preview-contrast img,
        body.preview-contrast .widget-mockup {
            filter: invert(1) hue-rotate(180deg);
        }

        body.preview-cursor {
            cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%23111827' stroke='white' stroke-width='1.5'%3E%3Cpath d='M3 3l7.07 16.97 2.51-5.66 5.66-2.51L3 3z'/%3E%3C/svg%3E"), auto !important;
        }
        body.preview-cursor a,
        body.preview-cursor button,
        body.preview-cursor .mockup-btn {
            cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%232563eb' stroke='white' stroke-width='1.5'%3E%3Cpath d='M3 3l7.07 16.97 2.51-5.66 5.66-2.51L3 3z'/%3E%3C/svg%3E"), pointer !important;
        }

        .reading-guide-line {
            position: fixed;
            left: 0;
            width: 100vw;
            height: 20px;
            background: rgba(234, 179, 8, 0.2);
            border-top: 2.5px solid #eab308;
            border-bottom: 2.5px solid #eab308;
            pointer-events: none;
            z-index: 99999;
            display: none;
            transform: translateY(-50%);
        }
        body.preview-guide .reading-guide-line {
            display: block;
        }

        body.preview-animations *,
        body.preview-animations *::before,
        body.preview-animations *::after {
            animation-play-state: paused !important;
            transition: none !important;
        }

        @media (max-width: 980px) {
            .home-page .hero {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 40px;
                padding-bottom: 0;
            }

            .hero-content {
                align-items: center;
            }

            .hero-subtitle {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-actions {
                justify-content: center;
            }
        }

        /* --- Hero Image --- */

        .hero-image {
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin: 0 auto clamp(32px, 6vw, 60px);
            padding: 0 var(--page-gutter);
        }

        .hero-image img {
            border-radius: clamp(8px, 1vw, 12px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid #eaeaea;
        }

        /* --- Container --- */

        .container {
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin: 0 auto;
            padding: clamp(24px, 4vw, 40px) var(--page-gutter);
        }

        /* --- Warning --- */

        .warning {
            background-color: #fefce8;
            border: 1px solid #fef08a;
            color: #854d0e;
            padding: 20px 24px;
            border-radius: 8px;
            margin-bottom: 48px;
            line-height: 1.6;
        }

        .warning strong {
            color: #713f12;
        }

        .warning a {
            color: #713f12;
            font-weight: 600;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 2px;
        }

        .warning a:hover {
            color: #854d0e;
        }

        /* --- Section Headers --- */

        .section-header {
            font-family: var(--font-sans);
            font-size: clamp(1.75rem, 3.2vw, 2.5rem);
            font-weight: 800;
            color: var(--color-text);
            margin: clamp(32px, 6vw, 60px) 0 clamp(20px, 3vw, 32px);
            letter-spacing: -1.5px;
            line-height: 1.25;
        }

        /* --- Feature List --- */

        .feature-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: clamp(16px, 2vw, 24px);
            margin-bottom: clamp(40px, 6vw, 60px);
        }

        .feature {
            background-color: var(--color-surface);
            padding: clamp(24px, 3vw, 40px);
            border-radius: 16px;
        }

        .feature h3 {
            font-size: clamp(18px, 0.5vw + 16px, 20px);
            font-weight: 500;
            color: var(--color-text);
            margin: 0 0 clamp(16px, 2vw, 24px);
        }

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

        .feature li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 14px;
            color: var(--color-text-secondary);
            line-height: 1.5;
        }

        .feature li:last-child {
            margin-bottom: 0;
        }

        .feature li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            color: var(--color-text-muted);
            font-weight: 400;
        }

        /* --- Content Section --- */

        .content-section {
            margin-bottom: clamp(40px, 6vw, 60px);
        }

        .content-section p {
            color: var(--color-text-secondary);
            line-height: 1.7;
            margin: 0 0 20px;
        }

        .content-section a {
            color: var(--color-text);
            font-weight: 500;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 2px;
        }

        .content-section a:hover {
            color: var(--color-text-secondary);
        }

        .content-section h3 {
            color: var(--color-text);
            margin: 32px 0 16px;
            font-size: clamp(18px, 0.5vw + 16px, 22px);
            font-weight: 500;
        }

        .content-section h3:first-child {
            margin-top: 0;
        }

        .test-list {
            list-style: none;
            padding: 0;
            margin: 0 0 20px;
        }

        .test-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 12px;
            color: var(--color-text-secondary);
            line-height: 1.7;
        }

        .test-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 10px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: #94a3b8;
        }

        /* --- Implementation --- */

        .implementation-section {
            margin-bottom: clamp(40px, 6vw, 80px);
        }

        .implementation-section p {
            color: var(--color-text-secondary);
            font-size: clamp(15px, 0.5vw + 14px, 17px);
            line-height: 1.7;
            margin: 8px 0 28px;
        }

        .implementation-code {
            background-color: #0f172a;
            border-radius: clamp(8px, 1vw, 12px);
            padding: clamp(14px, 2vw, 20px) clamp(16px, 2vw, 24px);
            display: flex;
            align-items: center;
            gap: 12px;
            max-width: 100%;
            box-sizing: border-box;
        }

        .implementation-code code {
            font-family: var(--font-mono);
            font-size: clamp(11px, 0.5vw + 9px, 14px);
            color: #e2e8f0;
            line-height: 1.6;
            white-space: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            flex: 1;
            min-width: 0;
        }

        .implementation-code .copy-btn {
            color: #94a3b8;
            margin-left: 0;
        }

        .implementation-code .copy-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: #e2e8f0;
        }

        .implementation-note {
            color: var(--color-text-muted);
            font-size: 14px;
            margin-top: 16px;
            line-height: 1.6;
        }

        .get-widget-steps {
            display: grid;
            gap: 22px;
            margin-bottom: clamp(40px, 6vw, 60px);
        }

        .get-widget-steps-timeline {
            position: relative;
        }

        .get-widget-steps-timeline::before {
            content: "";
            position: absolute;
            left: 30px;
            top: 10px;
            bottom: 10px;
            width: 2px;
            background: #cbd5e1;
        }

        .get-step {
            position: relative;
            display: grid;
            grid-template-columns: 60px minmax(0, 1fr);
            gap: 16px;
            align-items: start;
        }

        .get-step-marker {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: center;
            padding-top: 6px;
        }

        .get-step-dot {
            width: 42px;
            height: 42px;
            border-radius: 999px;
            border: 2px solid var(--color-text);
            color: var(--color-text);
            background: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 600;
            line-height: 1;
        }

        .get-step-card {
            background: #fff;
            border: 1px solid var(--color-border);
            border-radius: 16px;
            padding: 20px 22px;
        }

        .get-step-number {
            margin: 0 0 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--color-text);
        }

        .get-step-card h2 {
            margin: 0 0 10px;
            font-size: 20px;
            line-height: 1.25;
            color: var(--color-text);
        }

        .get-step-card p {
            margin: 0;
            color: var(--color-text-secondary);
            line-height: 1.65;
            padding: 2px 0 8px;
        }

        .get-step-card p + p {
            margin-top: 10px;
        }

        .get-step-card p.get-step-hint {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            margin-top: 8px;
            font-size: 14px;
            color: var(--color-text-muted);
        }

        .audit-cta {
            margin-top: 16px;
            display: flex;
            justify-content: center;
        }

        .audit-cta-note {
            display: block;
            margin-top: 10px;
            text-align: center;
            color: var(--color-text-muted);
            font-size: 13px;
            line-height: 1.5;
        }

        /* --- FAQ --- */

        .faq-search-center {
            max-width: 760px;
            margin: 0 auto clamp(28px, 4vw, 44px);
        }

        .faq-search-input {
            width: 100%;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            background: #fff;
            color: #0f172a;
            font-size: 15px;
            line-height: 1.4;
            padding: 12px 14px;
            font-family: var(--font-sans);
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
        }

        .faq-search-input::placeholder {
            color: #64748b;
        }

        .faq-search-input:focus-visible {
            outline: 2px solid #0f172a;
            outline-offset: 2px;
        }

        .get-widget-page .container {
            padding-top: 0;
        }

        .faq-list {
            margin-bottom: clamp(40px, 6vw, 60px);
        }

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

        .faq-item[hidden] {
            display: none;
        }

        .faq-item:first-child {
            border-top: 1px solid var(--color-border);
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            padding: 20px 0;
            font-size: clamp(16px, 0.5vw + 14px, 18px);
            font-weight: 500;
            color: var(--color-text);
            cursor: pointer;
            list-style: none;
        }

        .faq-question::-webkit-details-marker {
            display: none;
        }

        .faq-question::after {
            content: "+";
            font-size: 22px;
            font-weight: 300;
            line-height: 1;
            flex-shrink: 0;
            color: var(--color-text-muted);
            transition: transform 0.2s ease;
        }

        .faq-item[open] .faq-question::after {
            content: "\2212";
        }

        .faq-question:hover {
            color: var(--color-text-secondary);
        }

        .faq-question:focus-visible {
            outline: 2px solid var(--color-text);
            outline-offset: 2px;
            border-radius: 2px;
        }

        .faq-answer {
            padding: 0 0 24px;
        }

        .faq-answer p {
            color: var(--color-text-secondary);
            line-height: 1.7;
            margin: 0 0 12px;
        }

        .faq-answer p:last-child {
            margin-bottom: 0;
        }

        .faq-answer a {
            color: var(--color-text);
            font-weight: 500;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 2px;
        }

        .faq-answer a:hover {
            color: var(--color-text-secondary);
        }

        .faq-answer code {
            font-family: var(--font-mono);
            font-size: 0.9em;
            background-color: var(--color-surface);
            padding: 2px 6px;
            border-radius: 4px;
        }

        .faq-code {
            background-color: #0f172a;
            border-radius: 8px;
            padding: 14px 18px;
            margin: 12px 0;
            overflow-x: auto;
        }

        .faq-code code {
            font-family: var(--font-mono);
            font-size: clamp(11px, 0.5vw + 9px, 14px);
            color: #e2e8f0;
            line-height: 1.6;
            white-space: nowrap;
            background: none;
            padding: 0;
        }

        .faq-empty-state {
            margin: -24px 0 clamp(40px, 6vw, 60px);
            color: var(--color-text-muted);
            font-size: 14px;
            text-align: center;
        }

        /* --- Footer --- */

        .footer {
            border-top: 1px solid var(--color-border);
            padding: 32px var(--page-gutter);
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: calc(var(--content-width) + var(--page-gutter) * 2);
            margin: 0 auto;
        }

        .footer-left {
            font-size: 14px;
            color: var(--color-text-muted);
        }

        .footer-links {
            display: flex;
            gap: 24px;
        }

        .footer-links a {
            font-size: 14px;
            color: var(--color-text-muted);
            text-decoration: none;
        }

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

        /* --- Responsive --- */

        @media (max-width: 768px) {
            .nav-link:not([aria-label]) {
                display: none;
            }

            .btn-primary {
                padding: 10px 20px;
                font-size: 14px;
            }

            .get-widget-steps {
                gap: 16px;
            }

            .get-widget-steps-timeline::before {
                left: 20px;
                top: 8px;
                bottom: 8px;
            }

            .get-step {
                grid-template-columns: 40px minmax(0, 1fr);
                gap: 10px;
            }

            .get-step-dot {
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            .footer {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }

/* Mobile navbar menu */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-panel);
    color: var(--color-text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        gap: 10px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-links {
        margin-left: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-links .nav-link {
        display: none !important;
    }

    .nav-links .btn-primary {
        display: inline-flex;
        padding: 10px 16px;
        font-size: 16px;
        white-space: nowrap;
    }

    .nav-links.is-open {
        position: absolute;
        top: calc(100% + 10px);
        left: var(--page-gutter);
        right: var(--page-gutter);
        z-index: 40;
        background: var(--color-panel);
        border: 1px solid var(--color-border);
        border-radius: 16px;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-links.is-open .nav-link {
        display: block !important;
        font-size: 17px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .nav-links.is-open .nav-link.is-active {
        border-bottom: 0;
    }

    .nav-links.is-open .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
}

/* Mobile nav v2: centered fullscreen menu, no search icon */
body.nav-open {
    overflow: hidden;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--color-text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav-toggle[aria-expanded="true"] span {
    display: none;
}

.nav-toggle[aria-expanded="true"]::before,
.nav-toggle[aria-expanded="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav-toggle[aria-expanded="true"]::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 8px;
        z-index: 1000;
    }

    .navbar .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }

    .navbar .nav-links {
        display: none !important;
    }

    .navbar .nav-links.is-open {
        display: flex !important;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 20px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        padding: 20px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        transform: translateY(-10px);
        opacity: 0;
        animation: slideDownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideDownFadeIn {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .navbar .nav-links.is-open .nav-link {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 16px;
        color: var(--color-text-secondary) !important;
        font-family: var(--font-sans);
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 10px;
        background: transparent !important;
        transition: all 0.2s ease;
        text-align: left;
        box-shadow: none !important;
    }

    .navbar .nav-links.is-open .nav-link:hover {
        color: var(--color-text) !important;
        background: rgba(0, 0, 0, 0.03) !important;
    }

    .navbar .nav-links.is-open .nav-link.is-active {
        color: #2563eb !important;
        background: rgba(37, 99, 235, 0.05) !important;
        font-weight: 600;
    }

    .navbar .nav-links.is-open .btn-primary {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 700;
        color: #fff !important;
        background: #2563eb !important;
        border-radius: 9999px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
        text-align: center;
        margin-top: 8px;
        border: none;
        width: auto;
    }

    .navbar .nav-links.is-open .btn-primary:hover {
        background: #1d4ed8 !important;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important;
    }
}

/* --- Home Page Premium Sections --- */

/* --- Stats Band --- */
.stats-band {
    background: transparent;
    border: none;
    padding: clamp(24px, 4vw, 48px) var(--page-gutter) 0;
}

.stats-band-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.03);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 clamp(24px, 4vw, 56px);
    flex: 1 1 120px;
    min-width: 100px;
}

.stat-number {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -1.5px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #f1f5f9;
    flex-shrink: 0;
}

/* ── Who Section Accordion ── */
.who-section {
    padding: clamp(48px, 8vw, 96px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

.who-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.who-left-col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.who-right-col {
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    width: 100%;
    box-sizing: border-box;
}

.who-header {
    text-align: left;
    margin-bottom: clamp(24px, 4vw, 36px);
    width: 100%;
}

.who-subtitle {
    font-size: clamp(14px, 0.8vw + 12px, 16px);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-top: 12px;
    max-width: none;
}

.who-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mockup-header-col {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.mockup-section-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 800;
    color: var(--color-text);
    margin: 8px 0 10px;
    letter-spacing: -0.5px;
}

.mockup-section-desc {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto;
}

@media (max-width: 980px) {
    .who-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .who-header {
        text-align: center;
    }
    .who-right-col {
        position: static;
        padding: 24px 16px;
    }
}

.who-card {
    background: #fff;
    border: 1px solid #dbe6f5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.who-card:hover {
    border-color: #93b8e0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
}

.who-card[data-open="true"] {
    border-color: #4b8fda;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
}

.who-card-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: var(--font-sans);
}

.who-card-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.who-icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.who-card:hover .who-icon-wrap,
.who-card[data-open="true"] .who-icon-wrap {
    background: #dbeafe;
}

.who-card-title {
    font-size: clamp(1.05rem, 1.5vw + 0.4rem, 1.5rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

.who-plus-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}

.who-card:hover .who-plus-btn {
    color: #2563eb;
    background: #dbeafe;
}

.who-card[data-open="true"] .who-plus-btn {
    transform: rotate(45deg);
    color: #2563eb;
    background: #dbeafe;
}

.who-card-panel {
    padding: 0 28px 24px 96px;
    animation: panel-in 0.22s ease;
}

@keyframes panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.who-card-panel p {
    margin: 0 0 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.who-tag {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
}

/* ── Split Sections ── */
.split-section {
    padding: clamp(48px, 8vw, 96px) 0;
}

.split-alt-bg {
    background: #f0f6ff;
    border-top: 1px solid #dbe8f5;
    border-bottom: 1px solid #dbe8f5;
}

.split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.split-image-left .split-inner {
    /* image col first, text col second — natural flow */
}

.split-image-right .split-inner {
    /* text col first, image col second — handled by order below */
}

.split-image-right .split-image-col {
    order: 2;
}

.split-image-right .split-text-col {
    order: 1;
}

.split-text-col h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw + 0.3rem, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin: 12px 0 20px;
    color: var(--color-text);
}

.split-text-col p {
    color: var(--color-text-secondary);
    line-height: 1.75;
    font-size: clamp(14px, 0.8vw + 11px, 17px);
    margin: 0 0 14px;
}

.split-text-col code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 1px 6px;
}

.split-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn-secondary-link {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1.5px solid var(--color-border);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.btn-secondary-link:hover {
    border-color: var(--color-text);
}

.split-image-placeholder {
    border-radius: 20px;
    background: transparent;
    border: none;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.split-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 19px;
    display: block;
    mix-blend-mode: multiply;
}

.split-img-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #93b8e0;
    font-size: 14px;
    opacity: 0.8;
}

.split-img-inner p {
    margin: 0;
}

/* ── How It Works ── */
.how-section {
    padding: clamp(48px, 8vw, 96px) 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.how-section .section-header {
    text-align: center;
    margin-top: 0;
}

.how-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: clamp(24px, 4vw, 48px);
}

.how-step {
    flex: 1 1 180px;
    max-width: 220px;
    text-align: center;
    padding: 0 16px;
}

.how-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.how-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--color-text);
}

.how-step p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
}

.how-step code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 1px 5px;
}

.how-step-arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
    align-self: center;
    margin-top: -16px;
    padding: 0 4px;
    flex-shrink: 0;
}

/* ── CTA Section ── */
.cta-section {
    padding: clamp(48px, 8vw, 96px) 0;
}

.cta-box {
    background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6b 50%, #1e40af 100%);
    border-radius: 28px;
    padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
    text-align: center;
    color: #fff;
    box-shadow: 0 24px 64px rgba(15, 30, 80, 0.22);
}

.cta-box h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw + 0.3rem, 3rem);
    font-weight: 400;
    margin: 16px 0 16px;
    letter-spacing: -0.8px;
    color: #fff;
}

.cta-box p {
    font-size: clamp(15px, 1vw + 12px, 18px);
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: #fff;
    color: #0f172a;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cta-btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.cta-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
}

.cta-box .code-snippet {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.cta-box .code-snippet code {
    color: rgba(255,255,255,0.9);
}

.cta-box .copy-btn {
    color: rgba(255,255,255,0.65);
}

.cta-box .copy-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .stat-divider {
        display: none;
    }

    .stats-band-inner {
        gap: 16px;
        justify-content: space-around;
    }

    .split-inner {
        grid-template-columns: 1fr;
    }

    .split-image-right .split-image-col,
    .split-image-right .split-text-col {
        order: unset;
    }

    .who-card-panel {
        padding: 0 20px 20px 20px;
    }

    .who-card-btn {
        padding: 18px 20px;
    }

    .how-step-arrow {
        display: none;
    }

    .how-steps {
        gap: 28px;
    }

    .how-step {
        max-width: 100%;
        flex-basis: 45%;
    }
}

@media (max-width: 480px) {
    .how-step {
        flex-basis: 100%;
    }

    .split-text-col h2 {
        font-size: 1.6rem;
    }
}

/* ── Mobile Layout Alignment & Overflow Fixes ── */
@media (max-width: 768px) {
    .code-snippet {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
        padding: 10px 14px;
        justify-content: space-between;
        align-items: center;
    }

    .code-snippet code {
        flex: 1;
        min-width: 0;
        margin-right: 8px;
        white-space: nowrap;
        overflow-x: auto;
    }

    .hero-actions, 
    .split-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary-link,
    .split-actions .btn-primary,
    .split-actions .btn-secondary-link {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .split-actions .btn-secondary-link {
        border-bottom: none;
        padding: 10px 0;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
}

/* Global Newsletter Form Styles */
.newsletter-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin-top: 48px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.02);
}

.newsletter-form-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 15px;
    background: #fff;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: #2563eb;
}

.newsletter-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
    cursor: pointer;
    text-align: left;
    margin-top: 12px;
}

.newsletter-consent-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    .newsletter-panel {
        padding: 24px 16px;
    }
}

/* Premium Homepage Newsletter Theme */
.newsletter-panel.home-newsletter {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.25);
}

.newsletter-panel.home-newsletter h2 {
    color: #ffffff !important;
}

.newsletter-panel.home-newsletter p {
    color: #93c5fd !important;
}

.newsletter-panel.home-newsletter .newsletter-consent-label {
    color: #93c5fd !important;
}

.newsletter-panel.home-newsletter .newsletter-consent-label a {
    color: #60a5fa !important;
}

.newsletter-panel.home-newsletter .newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.newsletter-panel.home-newsletter .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-panel.home-newsletter .newsletter-input:focus {
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
}



