html {
            overflow-x: hidden;
        }

        body {
            background-color: #ffffff;
            color: #000000;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }
        .mono { font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Type scale tokens */
        :root {
            --t-eyebrow: 16px; --t-caption: 17px; --t-label: 19px;
            --t-body: 20px;    --t-body-lg: 22px;
            --o-ambient: 0.20; --o-meta: 0.30; --o-secondary: 0.50; --o-primary: 0.65;
        }

        footer {
            background-color: #ffffff;
            color: #000000;
            padding: 40px 5%;
            position: relative;
            z-index: 1200;
            border-top: 1px solid rgba(0,0,0,0.06);
            overflow: visible;
        }

        .footer-inner { gap: 28px; }
        .footer-brand,
        .footer-year { flex-shrink: 0; }
        .footer-groups { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
        .footer-column-trigger { position: relative; cursor: default; padding: 0 0 8px; }
        .footer-column-title {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 8px;
            text-transform: uppercase;
            letter-spacing: 0.3em;
            opacity: 0.35;
            transition: opacity 0.2s;
        }
        .footer-column-trigger:hover .footer-column-title,
        .footer-column-trigger:focus-within .footer-column-title { opacity: 1; }
        .footer-submenu {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 7px;
            min-width: max-content;
            padding: 10px 12px 12px;
            background: rgba(255,255,255,0.96);
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 16px 40px rgba(0,0,0,0.08);
            border-radius: 6px;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
            z-index: 1;
        }
        .footer-column-trigger:hover .footer-submenu,
        .footer-column-trigger:focus-within .footer-submenu {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }
        .footer-link {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            opacity: 0.62;
            white-space: nowrap;
            text-decoration: none;
            color: #000000;
            transition: opacity 0.2s;
        }
        .footer-link:hover { opacity: 1; }
        .locale-active { opacity: 0.9; }

        @media (max-width: 768px) {
            footer { padding: 36px 5%; }
            .footer-inner {
                gap: 24px;
                align-items: center;
                text-align: center;
            }
            .footer-brand {
                flex-direction: column;
                gap: 10px;
            }
            .footer-groups {
                order: 3;
                width: 100%;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 18px 20px;
                align-items: start;
            }
            .footer-column-trigger {
                padding: 0;
                display: flex;
                flex-direction: column-reverse;
                align-items: center;
                gap: 8px;
            }
            .footer-column-title {
                opacity: 0.45;
                font-size: 9px;
            }
            .footer-submenu {
                position: static;
                transform: none;
                visibility: visible;
                opacity: 1;
                pointer-events: auto;
                padding: 0;
                background: transparent;
                border: 0;
                box-shadow: none;
                border-radius: 0;
                gap: 8px;
            }
            .footer-column-trigger:hover .footer-submenu,
            .footer-column-trigger:focus-within .footer-submenu {
                transform: none;
            }
            .footer-link {
                opacity: 0.55;
                font-size: 10px;
                letter-spacing: 0.14em;
            }
            .footer-year { order: 4; }
        }

        @media (max-width: 420px) {
            .footer-groups { grid-template-columns: 1fr; }
        }

nav {
            position: fixed;
            top: 0; left: 0; width: 100%;
            height: 100px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5%;
            z-index: 1200;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .nav-btn-primary {
            padding: 12px 24px;
            background: #000;
            color: #fff;
            border-radius: 99px;
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            transition: background 0.3s;
        }
        .nav-btn-primary:hover { background: #333; }

        #menu-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #fff;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transform: translateY(-100%);
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        #menu-overlay.active { transform: translateY(0); }

        .divider { border-top: 1px solid rgba(0,0,0,0.07); padding-top: 96px; margin-top: 96px; }

.pricing-table-scroll {
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .pricing-matrix {
            min-width: 760px;
            border-collapse: collapse;
        }

        @media (max-width: 768px) {
            body { overflow-x: hidden; }
            nav { height: 68px; }
            main { padding-top: 7rem !important; }
            .pricing-table-scroll {
                margin-right: -5%;
                padding-right: 5%;
            }
        }
