/* ============================================================
   ReadyTab site.css — shared design system
   Extracted from index.html's inline <style> on 2026-07-19.
   Linked by index.html and every new marketing page
   (compare/*, blog/*, features/*, faq, pricing, about, companion).
   Legal pages (privacy/terms/refund) keep the legacy styles.css.
   ============================================================ */

:root {
                --bg: #07080f;
                --bg-2: #0b0e1c;
                --panel: rgba(255, 255, 255, 0.04);
                --panel-border: rgba(255, 255, 255, 0.08);
                --text: #eef1ff;
                --muted: #9aa3c4;
                --muted-2: #6b7299;
                --primary: #6d8bff;
                --primary-2: #8b6cff;
                --accent: #38e8c8;
                --glow: rgba(109, 139, 255, 0.5);
                --radius: 18px;
                --radius-lg: 26px;
                --container: 1180px;
                --ease: cubic-bezier(0.22, 1, 0.36, 1);
            }

            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            html {
                scroll-behavior: smooth;
            }

            body {
                font-family:
                    "Inter",
                    -apple-system,
                    BlinkMacSystemFont,
                    "Segoe UI",
                    sans-serif;
                background: var(--bg);
                color: var(--text);
                line-height: 1.6;
                overflow-x: hidden;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }

            ::selection {
                background: rgba(109, 139, 255, 0.35);
            }

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

            .container {
                max-width: var(--container);
                margin: 0 auto;
                padding: 0 1.5rem;
            }

            h1,
            h2,
            h3,
            .display {
                font-family: "Space Grotesk", "Inter", sans-serif;
                letter-spacing: -0.02em;
            }

            /* ---------- Aurora background ---------- */
            .aurora {
                position: fixed;
                inset: 0;
                z-index: -2;
                background:
                    radial-gradient(
                        1200px 700px at 70% -10%,
                        rgba(109, 139, 255, 0.18),
                        transparent 60%
                    ),
                    radial-gradient(
                        900px 600px at 10% 10%,
                        rgba(139, 108, 255, 0.16),
                        transparent 55%
                    ),
                    var(--bg);
            }

            .aurora::before,
            .aurora::after {
                content: "";
                position: absolute;
                width: 60vw;
                height: 60vw;
                border-radius: 50%;
                filter: blur(120px);
                opacity: 0.5;
                will-change: transform;
            }

            .aurora::before {
                top: -15%;
                left: 55%;
                background: radial-gradient(circle, #6d8bff, transparent 65%);
                animation: drift1 22s var(--ease) infinite alternate;
            }

            .aurora::after {
                bottom: -25%;
                left: -10%;
                background: radial-gradient(circle, #38e8c8, transparent 65%);
                opacity: 0.28;
                animation: drift2 26s var(--ease) infinite alternate;
            }

            @keyframes drift1 {
                to {
                    transform: translate(-12%, 12%) scale(1.15);
                }
            }
            @keyframes drift2 {
                to {
                    transform: translate(15%, -10%) scale(1.2);
                }
            }

            .grid-overlay {
                position: fixed;
                inset: 0;
                z-index: -1;
                background-image:
                    linear-gradient(
                        rgba(255, 255, 255, 0.025) 1px,
                        transparent 1px
                    ),
                    linear-gradient(
                        90deg,
                        rgba(255, 255, 255, 0.025) 1px,
                        transparent 1px
                    );
                background-size: 56px 56px;
                mask-image: radial-gradient(
                    ellipse 80% 60% at 50% 0%,
                    #000 30%,
                    transparent 75%
                );
            }

            /* ---------- Header ---------- */
            .header {
                position: sticky;
                top: 0;
                z-index: 100;
                backdrop-filter: blur(14px);
                background: rgba(7, 8, 15, 0.6);
                border-bottom: 1px solid transparent;
                transition:
                    border-color 0.3s,
                    background 0.3s;
            }

            .header.scrolled {
                border-bottom: 1px solid var(--panel-border);
                background: rgba(7, 8, 15, 0.82);
            }

            .nav {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 1rem 1.5rem;
                max-width: var(--container);
                margin: 0 auto;
            }

            .logo {
                display: flex;
                align-items: center;
                gap: 0.6rem;
                font-weight: 700;
                font-size: 1.2rem;
                font-family: "Space Grotesk", sans-serif;
            }

            .logo-icon {
                width: 30px;
                height: 30px;
                border-radius: 8px;
            }

            .nav-links {
                display: flex;
                align-items: center;
                gap: 2rem;
            }

            .nav-links a {
                color: var(--muted);
                font-weight: 500;
                font-size: 0.95rem;
                transition: color 0.2s;
            }

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

            .nav-links a.nav-cta {
                display: inline-flex;
                align-items: center;
                gap: 0.45rem;
                padding: 0.55rem 1.1rem;
                border-radius: 999px;
                background: linear-gradient(
                    135deg,
                    var(--primary),
                    var(--primary-2)
                );
                color: #fff;
                font-weight: 600;
                font-size: 0.9rem;
                box-shadow: 0 8px 24px -8px var(--glow);
                transition:
                    transform 0.2s var(--ease),
                    box-shadow 0.2s;
            }

            .nav-cta:hover {
                transform: translateY(-2px);
                box-shadow: 0 14px 32px -8px var(--glow);
            }

            .mobile-menu-btn {
                display: none;
                flex-direction: column;
                gap: 5px;
                background: none;
                border: none;
                cursor: pointer;
                padding: 6px;
            }

            .mobile-menu-btn span {
                width: 24px;
                height: 2px;
                background: var(--text);
                border-radius: 2px;
                transition: all 0.3s;
            }

            /* ---------- Buttons ---------- */
            .btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 0.55rem;
                padding: 0.85rem 1.5rem;
                border-radius: 999px;
                font-weight: 600;
                font-size: 1rem;
                cursor: pointer;
                border: 1px solid transparent;
                transition:
                    transform 0.2s var(--ease),
                    box-shadow 0.25s,
                    background 0.25s,
                    border-color 0.25s;
            }

            .btn-primary {
                background: linear-gradient(
                    135deg,
                    var(--primary),
                    var(--primary-2)
                );
                color: #fff;
                box-shadow: 0 10px 30px -10px var(--glow);
            }

            .btn-primary:hover {
                transform: translateY(-3px);
                box-shadow: 0 18px 44px -12px var(--glow);
            }

            .btn-ghost {
                background: var(--panel);
                color: var(--text);
                border-color: var(--panel-border);
                backdrop-filter: blur(8px);
            }

            .btn-ghost:hover {
                border-color: rgba(255, 255, 255, 0.25);
                transform: translateY(-3px);
            }

            .btn-lg {
                padding: 1rem 1.9rem;
                font-size: 1.05rem;
            }

            .btn-block {
                width: 100%;
            }

            /* ---------- Hero ---------- */
            .hero {
                padding: 6.5rem 0 5rem;
                text-align: center;
                position: relative;
            }

            .badge {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                padding: 0.4rem 0.95rem;
                border-radius: 999px;
                background: var(--panel);
                border: 1px solid var(--panel-border);
                font-size: 0.85rem;
                color: var(--muted);
                margin-bottom: 1.8rem;
                backdrop-filter: blur(8px);
            }

            .badge .dot {
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background: var(--accent);
                box-shadow: 0 0 0 0 rgba(56, 232, 200, 0.6);
                animation: pulse 2s infinite;
            }

            @keyframes pulse {
                0% {
                    box-shadow: 0 0 0 0 rgba(56, 232, 200, 0.55);
                }
                70% {
                    box-shadow: 0 0 0 9px rgba(56, 232, 200, 0);
                }
                100% {
                    box-shadow: 0 0 0 0 rgba(56, 232, 200, 0);
                }
            }

            .hero h1 {
                font-size: clamp(2.6rem, 6vw, 4.6rem);
                font-weight: 700;
                line-height: 1.04;
                max-width: 16ch;
                margin: 0 auto 1.4rem;
            }

            .hero h1 .grad {
                background: linear-gradient(
                    120deg,
                    #8fa8ff 10%,
                    #c4b5ff 45%,
                    #5ff0d6 95%
                );
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
            }

            .hero-subtitle {
                font-size: clamp(1.05rem, 2.2vw, 1.3rem);
                color: var(--muted);
                max-width: 60ch;
                margin: 0 auto 2.4rem;
            }

            .hero-actions {
                display: flex;
                gap: 1rem;
                justify-content: center;
                flex-wrap: wrap;
                margin-bottom: 2.4rem;
            }

            .hero-meta {
                display: flex;
                gap: 1.8rem;
                justify-content: center;
                flex-wrap: wrap;
                color: var(--muted-2);
                font-size: 0.85rem;
            }

            .hero-meta span {
                display: inline-flex;
                align-items: center;
                gap: 0.45rem;
            }

            .hero-meta svg {
                width: 15px;
                height: 15px;
                opacity: 0.7;
            }

            /* ---------- Floating mockup ---------- */
            .hero-stage {
                margin: 4rem auto 0;
                max-width: 980px;
                position: relative;
                perspective: 1600px;
            }

            .stage-frame {
                position: relative;
                border-radius: var(--radius-lg);
                padding: 0.6rem;
                background: linear-gradient(
                    160deg,
                    rgba(255, 255, 255, 0.12),
                    rgba(255, 255, 255, 0.02)
                );
                border: 1px solid var(--panel-border);
                box-shadow:
                    0 50px 120px -40px rgba(0, 0, 0, 0.9),
                    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
                transform: rotateX(8deg);
                transform-style: preserve-3d;
                animation: float 7s ease-in-out infinite;
            }

            @keyframes float {
                0%,
                100% {
                    transform: rotateX(8deg) translateY(0);
                }
                50% {
                    transform: rotateX(8deg) translateY(-14px);
                }
            }

            .stage-frame img {
                width: 100%;
                display: block;
                border-radius: calc(var(--radius-lg) - 8px);
            }

            .stage-glow {
                position: absolute;
                inset: -40px -40px 20px;
                background: radial-gradient(
                    60% 60% at 50% 30%,
                    rgba(109, 139, 255, 0.4),
                    transparent 70%
                );
                filter: blur(30px);
                z-index: -1;
            }

            .chip {
                position: absolute;
                display: inline-flex;
                align-items: center;
                gap: 0.45rem;
                padding: 0.55rem 0.85rem;
                background: rgba(13, 16, 32, 0.85);
                border: 1px solid var(--panel-border);
                border-radius: 12px;
                font-size: 0.82rem;
                font-weight: 600;
                backdrop-filter: blur(10px);
                box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
            }

            .chip svg {
                width: 16px;
                height: 16px;
                color: var(--accent);
            }

            .chip.c1 {
                top: 16%;
                left: -7%;
                animation: float 6s ease-in-out infinite;
            }
            .chip.c2 {
                bottom: 18%;
                right: -6%;
                animation: float 8s ease-in-out infinite 0.5s;
            }
            .chip.c3 {
                bottom: -4%;
                left: 12%;
                animation: float 7s ease-in-out infinite 1s;
            }

            /* ---------- Marquee logos / trust ---------- */
            .marquee {
                margin-top: 5rem;
                overflow: hidden;
                -webkit-mask-image: linear-gradient(
                    90deg,
                    transparent,
                    #000 12%,
                    #000 88%,
                    transparent
                );
                mask-image: linear-gradient(
                    90deg,
                    transparent,
                    #000 12%,
                    #000 88%,
                    transparent
                );
            }

            .marquee-track {
                display: flex;
                gap: 3rem;
                width: max-content;
                animation: scroll 28s linear infinite;
                color: var(--muted-2);
                font-weight: 600;
                font-size: 0.95rem;
            }

            .marquee-track span {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                white-space: nowrap;
            }

            @keyframes scroll {
                to {
                    transform: translateX(-50%);
                }
            }

            /* ---------- Section scaffolding ---------- */
            section {
                position: relative;
            }

            .pad {
                padding: 6rem 0;
            }

            .eyebrow {
                display: inline-block;
                font-size: 0.78rem;
                font-weight: 700;
                letter-spacing: 0.14em;
                text-transform: uppercase;
                background: linear-gradient(
                    120deg,
                    var(--primary),
                    var(--accent)
                );
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                margin-bottom: 0.9rem;
            }

            .section-header {
                text-align: center;
                max-width: 620px;
                margin: 0 auto 3.5rem;
            }

            .section-header h2 {
                font-size: clamp(2rem, 4vw, 2.9rem);
                font-weight: 700;
                line-height: 1.1;
                margin-bottom: 1rem;
            }

            .section-header p {
                color: var(--muted);
                font-size: 1.1rem;
            }

            /* ---------- Video ---------- */
            .video-frame {
                max-width: 920px;
                margin: 0 auto;
                border-radius: var(--radius-lg);
                overflow: hidden;
                border: 1px solid var(--panel-border);
                box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
                position: relative;
            }

            .video-frame video {
                width: 100%;
                display: block;
            }

            /* ---------- Bento features ---------- */
            .bento {
                display: grid;
                grid-template-columns: repeat(6, 1fr);
                gap: 1.1rem;
            }

            .card {
                position: relative;
                background: var(--panel);
                border: 1px solid var(--panel-border);
                border-radius: var(--radius);
                padding: 1.6rem;
                overflow: hidden;
                transition:
                    transform 0.35s var(--ease),
                    border-color 0.35s,
                    background 0.35s;
            }

            .card::after {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                background: radial-gradient(
                    280px circle at var(--mx, 50%) var(--my, 0%),
                    rgba(109, 139, 255, 0.16),
                    transparent 60%
                );
                opacity: 0;
                transition: opacity 0.35s;
                pointer-events: none;
            }

            .card:hover {
                transform: translateY(-4px);
                border-color: rgba(255, 255, 255, 0.18);
                background: rgba(255, 255, 255, 0.06);
            }

            .card:hover::after {
                opacity: 1;
            }

            .card .ico {
                width: 44px;
                height: 44px;
                border-radius: 12px;
                display: grid;
                place-items: center;
                background: linear-gradient(
                    135deg,
                    rgba(109, 139, 255, 0.25),
                    rgba(139, 108, 255, 0.18)
                );
                border: 1px solid var(--panel-border);
                margin-bottom: 1.1rem;
            }

            .card .ico svg {
                width: 22px;
                height: 22px;
                color: #c3cdff;
            }

            .card h3 {
                font-size: 1.15rem;
                font-weight: 600;
                margin-bottom: 0.5rem;
            }

            .card p {
                color: var(--muted);
                font-size: 0.95rem;
            }

            .card kbd {
                background: rgba(255, 255, 255, 0.08);
                border: 1px solid var(--panel-border);
                border-radius: 6px;
                padding: 0.1rem 0.4rem;
                font-size: 0.82rem;
                font-family: "Space Grotesk", monospace;
            }

            .span-3 {
                grid-column: span 3;
            }
            .span-2 {
                grid-column: span 2;
            }
            .span-6 {
                grid-column: span 6;
            }

            .card.feature-hero {
                grid-column: span 3;
                grid-row: span 2;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                background: linear-gradient(
                    165deg,
                    rgba(109, 139, 255, 0.16),
                    rgba(139, 108, 255, 0.06)
                );
                min-height: 320px;
            }

            .card.feature-hero h3 {
                font-size: 1.6rem;
            }

            .mini-stat {
                font-family: "Space Grotesk", sans-serif;
                font-size: 2.6rem;
                font-weight: 700;
                background: linear-gradient(120deg, #9fb2ff, #5ff0d6);
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
            }

            /* ---------- Spotlight split ---------- */
            .split {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
                align-items: center;
            }

            .split.reverse .split-media {
                order: 2;
            }

            .split-media {
                border-radius: var(--radius-lg);
                overflow: hidden;
                border: 1px solid var(--panel-border);
                background: var(--panel);
                box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
            }

            .split-media img {
                width: 100%;
                display: block;
            }

            .split-media svg {
                width: 100%;
                height: auto;
                display: block;
            }

            /* Line-art illustrations sit on subtle dark glass, matching the theme */
            .split-media.illus {
                background: linear-gradient(
                    165deg,
                    rgba(109, 139, 255, 0.1),
                    rgba(139, 108, 255, 0.03)
                );
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 2.2rem;
            }

            .split-content h2 {
                font-size: clamp(1.8rem, 3.4vw, 2.5rem);
                font-weight: 700;
                line-height: 1.12;
                margin-bottom: 1rem;
            }

            .split-content > p {
                color: var(--muted);
                font-size: 1.1rem;
                margin-bottom: 1.6rem;
            }

            .checks {
                list-style: none;
                display: grid;
                gap: 0.85rem;
            }

            .checks li {
                display: flex;
                gap: 0.7rem;
                align-items: flex-start;
                color: var(--text);
            }

            .checks li svg {
                flex-shrink: 0;
                width: 22px;
                height: 22px;
                color: var(--accent);
                margin-top: 2px;
            }

            .highlight {
                margin-top: 1.6rem;
                padding: 1.1rem 1.3rem;
                border-radius: var(--radius);
                background: linear-gradient(
                    135deg,
                    rgba(109, 139, 255, 0.14),
                    rgba(56, 232, 200, 0.08)
                );
                border: 1px solid var(--panel-border);
                font-size: 0.97rem;
            }

            .highlight strong {
                color: #c3cdff;
            }

            /* ---------- Screenshots ---------- */
            .swiper {
                border-radius: var(--radius-lg);
                overflow: hidden;
                border: 1px solid var(--panel-border);
                max-width: 920px;
                margin: 0 auto;
                box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
            }

            .swiper-slide img {
                width: 100%;
                height: auto;
                display: block;
            }

            .slide-caption {
                padding: 1.2rem 1.2rem 2.6rem;
                background: rgba(13, 16, 32, 0.9);
                text-align: center;
            }

            .slide-caption h4 {
                font-size: 1.05rem;
                margin-bottom: 0.2rem;
            }

            .slide-caption p {
                color: var(--muted);
                font-size: 0.9rem;
            }

            .swiper-button-prev,
            .swiper-button-next {
                color: var(--primary);
            }

            .swiper-pagination-bullet {
                background: var(--muted);
            }

            .swiper-pagination-bullet-active {
                background: var(--primary);
            }

            .gallery-img {
                cursor: zoom-in;
            }

            /* ---------- Hero theme rotator ---------- */
            .stage-shots {
                position: relative;
                aspect-ratio: 2215 / 1300;
                border-radius: calc(var(--radius-lg) - 8px);
                overflow: hidden;
            }
            .stage-shots img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                opacity: 0;
                transition: opacity 0.9s ease;
            }
            .stage-shots img.active {
                opacity: 1;
            }

            /* ---------- Lightbox ---------- */
            .lightbox {
                position: fixed;
                inset: 0;
                z-index: 1000;
                display: none;
                align-items: center;
                justify-content: center;
                padding: 4vh 5vw;
                background: rgba(5, 7, 16, 0.92);
                backdrop-filter: blur(8px);
            }
            .lightbox.open {
                display: flex;
            }
            .lb-figure {
                margin: 0;
                display: flex;
                flex-direction: column;
                gap: 0.8rem;
                max-width: 1100px;
                max-height: 90vh;
            }
            .lb-figure img {
                max-width: 100%;
                max-height: 80vh;
                object-fit: contain;
                border-radius: 14px;
                border: 1px solid var(--panel-border);
                box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
            }
            .lb-figure figcaption {
                text-align: center;
                color: var(--text);
                font-weight: 600;
            }
            .lb-close {
                position: absolute;
                top: 1.2rem;
                right: 1.6rem;
                font-size: 2.4rem;
                line-height: 1;
                background: none;
                border: none;
                color: #fff;
                cursor: pointer;
                opacity: 0.8;
            }
            .lb-close:hover {
                opacity: 1;
            }
            .lb-nav {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 52px;
                height: 52px;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.08);
                border: 1px solid var(--panel-border);
                color: #fff;
                font-size: 1.9rem;
                line-height: 1;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: background 0.2s;
            }
            .lb-nav:hover {
                background: rgba(255, 255, 255, 0.18);
            }
            .lb-prev {
                left: 2vw;
            }
            .lb-next {
                right: 2vw;
            }
            @media (max-width: 640px) {
                .lb-prev {
                    left: 0.5rem;
                }
                .lb-next {
                    right: 0.5rem;
                }
            }

            /* ---------- Pricing ---------- */
            .pricing-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
                max-width: 860px;
                margin: 0 auto;
            }

            .price-card {
                background: var(--panel);
                border: 1px solid var(--panel-border);
                border-radius: var(--radius-lg);
                padding: 2.2rem;
                position: relative;
            }

            .price-card.featured {
                background: linear-gradient(
                    175deg,
                    rgba(109, 139, 255, 0.14),
                    rgba(139, 108, 255, 0.05)
                );
                border-color: rgba(139, 153, 255, 0.45);
                box-shadow: 0 30px 80px -40px var(--glow);
            }

            .featured-badge {
                position: absolute;
                top: -13px;
                left: 50%;
                transform: translateX(-50%);
                background: linear-gradient(
                    135deg,
                    var(--primary),
                    var(--primary-2)
                );
                color: #fff;
                padding: 0.35rem 1rem;
                border-radius: 999px;
                font-size: 0.8rem;
                font-weight: 600;
                white-space: nowrap;
            }

            .price-card h3 {
                font-size: 1.3rem;
                margin-bottom: 0.8rem;
            }

            .price {
                font-family: "Space Grotesk", sans-serif;
                font-size: 2.8rem;
                font-weight: 700;
            }

            .price span {
                font-size: 1rem;
                color: var(--muted);
                font-weight: 400;
            }

            .price-alt {
                color: var(--muted);
                font-size: 0.88rem;
                margin-top: 0.4rem;
            }

            .price-divider {
                height: 1px;
                background: var(--panel-border);
                margin: 1.6rem 0;
            }

            .plist {
                list-style: none;
                display: grid;
                gap: 0.85rem;
                margin-bottom: 1.8rem;
            }

            .plist li {
                display: flex;
                gap: 0.65rem;
                align-items: flex-start;
                font-size: 0.95rem;
            }

            .plist li svg {
                flex-shrink: 0;
                width: 19px;
                height: 19px;
                color: var(--accent);
                margin-top: 3px;
            }

            .plist li .sub {
                display: block;
                color: var(--muted-2);
                font-size: 0.84em;
                margin-top: 0.1rem;
            }

            .pricing-cta {
                display: grid;
                gap: 0.6rem;
            }

            .pricing-note {
                text-align: center;
                margin-top: 2.5rem;
                color: var(--muted-2);
                font-size: 0.88rem;
            }

            /* ---------- Big CTA ---------- */
            .final-cta {
                position: relative;
                margin: 4rem auto;
                max-width: 1000px;
                padding: 4.5rem 2rem;
                text-align: center;
                border-radius: var(--radius-lg);
                background: linear-gradient(
                    135deg,
                    rgba(109, 139, 255, 0.2),
                    rgba(139, 108, 255, 0.12)
                );
                border: 1px solid var(--panel-border);
                overflow: hidden;
            }

            .final-cta::before {
                content: "";
                position: absolute;
                inset: 0;
                background: radial-gradient(
                    60% 80% at 50% 0%,
                    rgba(56, 232, 200, 0.2),
                    transparent 60%
                );
            }

            .final-cta > * {
                position: relative;
            }

            .final-cta h2 {
                font-size: clamp(2rem, 4vw, 3rem);
                margin-bottom: 1rem;
            }

            .final-cta p {
                color: var(--muted);
                font-size: 1.15rem;
                margin-bottom: 2rem;
                max-width: 50ch;
                margin-left: auto;
                margin-right: auto;
            }

            /* ---------- Footer ---------- */
            .footer {
                border-top: 1px solid var(--panel-border);
                padding: 4rem 0 2.5rem;
            }

            .footer-content {
                display: grid;
                grid-template-columns: 2fr 1fr 1fr 1fr;
                gap: 3rem;
                margin-bottom: 3rem;
            }

            .footer-brand p {
                color: var(--muted);
                font-size: 0.9rem;
                margin-top: 1rem;
                max-width: 32ch;
            }

            .footer-links h4 {
                font-size: 0.78rem;
                text-transform: uppercase;
                letter-spacing: 0.1em;
                color: var(--muted-2);
                margin-bottom: 1rem;
            }

            .footer-links ul {
                list-style: none;
                display: grid;
                gap: 0.6rem;
            }

            .footer-links a {
                color: var(--muted);
                font-size: 0.9rem;
                transition: color 0.2s;
            }

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

            .footer-bottom {
                padding-top: 2rem;
                border-top: 1px solid var(--panel-border);
                text-align: center;
                color: var(--muted-2);
                font-size: 0.85rem;
            }

            .footer-bottom a {
                color: var(--muted);
            }

            /* ---------- Scroll reveal ---------- */
            .reveal {
                opacity: 0;
                transform: translateY(28px);
                transition:
                    opacity 0.7s var(--ease),
                    transform 0.7s var(--ease);
            }

            .reveal.in {
                opacity: 1;
                transform: none;
            }

            .reveal[data-delay="1"] {
                transition-delay: 0.08s;
            }
            .reveal[data-delay="2"] {
                transition-delay: 0.16s;
            }
            .reveal[data-delay="3"] {
                transition-delay: 0.24s;
            }

            /* ---------- Responsive ---------- */
            @media (max-width: 920px) {
                .bento {
                    grid-template-columns: repeat(2, 1fr);
                }
                .card.feature-hero,
                .span-3,
                .span-2,
                .span-6 {
                    grid-column: span 2;
                }
                .card.feature-hero {
                    grid-row: auto;
                    min-height: auto;
                }
                .split {
                    grid-template-columns: 1fr;
                    gap: 2.5rem;
                }
                .split.reverse .split-media {
                    order: 0;
                }
                .pricing-grid {
                    grid-template-columns: 1fr;
                }
                .footer-content {
                    grid-template-columns: 1fr 1fr;
                    gap: 2rem;
                }
            }

            @media (max-width: 640px) {
                .nav-links {
                    display: none;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    right: 0;
                    flex-direction: column;
                    align-items: stretch;
                    gap: 0;
                    background: rgba(7, 8, 15, 0.97);
                    backdrop-filter: blur(14px);
                    border-bottom: 1px solid var(--panel-border);
                    padding: 0.5rem 1.5rem 1rem;
                }
                .nav-links.active {
                    display: flex;
                }
                .nav-links.active a {
                    padding: 0.85rem 0;
                    border-top: 1px solid var(--panel-border);
                }
                .nav-links .nav-cta {
                    margin-top: 0.7rem;
                    justify-content: center;
                }
                .mobile-menu-btn {
                    display: flex;
                }
                .bento {
                    grid-template-columns: 1fr;
                }
                .card.feature-hero,
                .span-3,
                .span-2,
                .span-6 {
                    grid-column: span 1;
                }
                .chip {
                    display: none;
                }
                .footer-content {
                    grid-template-columns: 1fr;
                }
                .hero-actions .btn {
                    width: 100%;
                }
            }

            @media (prefers-reduced-motion: reduce) {
                * {
                    animation: none !important;
                    transition-duration: 0.01ms !important;
                }
                .reveal {
                    opacity: 1;
                    transform: none;
                }
            }

/* ============================================================
   Comparison / feature-matrix table
   Used by compare/* pages and blog roundups.
   Markup contract:
     <div class="cmp">
       <table class="cmp-table">
         <thead><tr>
           <th scope="col">Feature</th>
           <th scope="col" class="is-rt">ReadyTab</th>
           <th scope="col">Momentum</th> ...
         </tr></thead>
         <tbody><tr>
           <th scope="row">Desktop launcher</th>
           <td class="is-rt"><span class="cmp-yes">Yes</span></td>
           <td><span class="cmp-no">No</span></td> ...
         </tr></tbody>
       </table>
     </div>
   Glyph helpers: .cmp-yes (✓) / .cmp-no (✕) / .cmp-na (—).
   .cmp-note = small sub-line under a cell value.
   ============================================================ */
.cmp {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    background: var(--panel);
}

.cmp-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cmp-table th,
.cmp-table td {
    padding: 0.85rem 1.1rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--panel-border);
    white-space: nowrap;
}

.cmp-table thead th {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    position: sticky;
    top: 0;
    z-index: 1;
}

/* First column = feature labels: left-aligned + sticky on horizontal scroll */
.cmp-table th[scope="row"],
.cmp-table thead th:first-child {
    text-align: left;
    white-space: normal;
    position: sticky;
    left: 0;
    background: var(--bg-2);
    color: var(--muted);
    font-weight: 500;
    z-index: 1;
}

.cmp-table thead th:first-child {
    color: var(--text);
    z-index: 3;
}

.cmp-table th[scope="row"] {
    z-index: 2;
}

/* Highlighted ReadyTab column */
.cmp-table .is-rt {
    background: linear-gradient(
        180deg,
        rgba(109, 139, 255, 0.14),
        rgba(109, 139, 255, 0.05)
    );
}

.cmp-table thead .is-rt {
    color: #c3cdff;
    background: rgba(109, 139, 255, 0.2);
}

.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cell glyphs */
.cmp-yes {
    color: var(--accent);
    font-weight: 700;
}

.cmp-yes::before {
    content: "\2713\00a0";
}

.cmp-no {
    color: var(--muted-2);
}

.cmp-no::before {
    content: "\2715\00a0";
}

.cmp-na {
    color: var(--muted-2);
}

.cmp-note {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--muted-2);
    white-space: normal;
}

/* ============================================================
   Content / article pages (compare/*, blog/*, features/*, faq)
   ============================================================ */
.crumbs {
    font-size: 0.85rem;
    color: var(--muted-2);
    margin-bottom: 1.4rem;
}

.crumbs a {
    color: var(--muted);
    transition: color 0.2s;
}

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

.crumbs span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Readable-width article column */
.prose {
    max-width: 760px;
    margin: 0 auto;
}

.prose > p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.prose h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 2.6rem 0 1rem;
}

.prose h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.8rem 0 0.6rem;
}

.prose strong {
    color: var(--text);
}

.prose a {
    color: #a9baff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.6rem;
}

.page-head h1 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.page-head .lead {
    color: var(--muted);
    font-size: 1.15rem;
}

.page-head .updated {
    display: inline-block;
    margin-top: 1.1rem;
    font-size: 0.82rem;
    color: var(--muted-2);
}

.cmp-caption {
    text-align: center;
    color: var(--muted-2);
    font-size: 0.82rem;
    margin-top: 0.8rem;
}

/* Two-up "who should choose" cards */
.verdict-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.verdict-grid .card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 720px) {
    .verdict-grid {
        grid-template-columns: 1fr;
    }
}

/* Article body: lists, inline code, code blocks, post meta */
.prose ul,
.prose ol {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 1.1rem 1.3rem;
    display: grid;
    gap: 0.5rem;
}

.prose li {
    padding-left: 0.2rem;
}

.prose code {
    font-family: "Space Grotesk", ui-monospace, "SF Mono", monospace;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    font-size: 0.88em;
}

.prose pre {
    background: var(--bg-2);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    overflow-x: auto;
    margin: 1.3rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.prose pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
}

.post-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--muted-2);
    font-size: 0.85rem;
    margin-top: 1.1rem;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Blog index cards */
.post-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.post-card .post-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* Mobile nav: hamburger button morphs into an X when the menu is open */
.mobile-menu-btn span {
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
