        :root {
            --bg: #09090b;
            --text: #f3f0ec;
            --dim: #a8a29e;
            --muted: #78716c;
            --accent: #336774;
            --border: #292524;
            --card-bg: #0c0a09;
            --max-width: 1060px;
            --ease: cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        :focus-visible { outline: 2px solid var(--accent-focus, #5aa6b8); outline-offset: 2px; }

        html {
            scroll-behavior: smooth;
            overflow-x: clip;
            background-color: var(--bg);
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 17px;
            line-height: 1.5;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            overflow-x: clip;
        }

        h1, h2 {
            font-weight: 400; /* Editorial thin headlines */
            letter-spacing: -0.02em;
            line-height: 1.05;
        }

        h3, h4 {
            font-weight: 500;
            letter-spacing: -0.01em;
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.3s var(--ease);
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
        }

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

        section {
            padding: 140px 0;
        }

        /* Fluid Glass Section Label */
        .section-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
            text-align: left;
        }

        .section-label::before {
            content: '';
            width: 6px;
            height: 6px;
            background: currentColor;
            transform: rotate(45deg);
        }

        /* Headlines */
        .hero h1 {
            font-size: clamp(42px, 5.5vw, 72px);
            margin-bottom: 24px;
            max-width: 800px;
        }

        .section-title {
            font-size: 42px;
            margin-bottom: 16px;
            max-width: 600px;
        }

        /* Buttons - Sharp Edges */
        .btn-download-sm {
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            background: var(--accent);
            color: #f3f0ec;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            transition: filter 0.3s var(--ease);
            border-radius: 0;
        }

        .btn-download-sm::before {
            content: '→';
            margin-right: 8px;
        }

        .btn-download-sm:hover {
            filter: brightness(1.1);
        }

        .btn-solid {
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            background: var(--accent);
            color: #f3f0ec;
            padding: 14px 28px;
            display: flex;
            align-items: center;
            transition: filter 0.3s var(--ease);
            border-radius: 0;
        }

        .btn-solid::before {
            content: '→';
            margin-right: 10px;
        }

        .btn-solid:hover {
            filter: brightness(1.1);
        }

        .btn-outline {
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            border: 1px solid var(--border);
            color: var(--text);
            padding: 14px 28px;
            display: flex;
            align-items: center;
            transition: all 0.3s var(--ease);
            border-radius: 0;
        }

        .btn-outline::before {
            content: '→';
            margin-right: 10px;
        }

        .btn-outline:hover {
            background: var(--text);
            color: var(--bg);
        }

        /* Tags / Pills */
        .pill {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            border: 1px solid var(--border);
            color: var(--dim);
            padding: 4px 14px;
            border-radius: 99px; /* Exception: Pills are rounded */
            display: inline-flex;
            align-items: center;
        }

        .pro-pill {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* Animations */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        [data-stagger] > * {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
        }

        [data-stagger].active > * {
            opacity: 1;
            transform: translateY(0);
        }

        /* Nav */
        nav {
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            height: 72px;
            z-index: 1000;
            transition: all 0.4s var(--ease);
            display: flex;
            align-items: center;
            border-bottom: 1px solid transparent;
        }

        nav.scrolled {
            background: rgba(9, 9, 11, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
        }

        .nav-inner {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: -0.01em;
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            color: var(--text);
        }

        .nav-logo img {
            width: 32px;
            height: 32px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 32px;
        }

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

        .nav-links a {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--dim);
        }

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

        /* Hero */
        .hero {
            padding-top: 200px;
            padding-bottom: 60px;
        }

        .hero .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .hero-subtext {
            font-size: 18px;
            color: var(--dim);
            max-width: 460px;
            margin-bottom: 40px;
        }

        .hero-btns {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 16px;
        }

        .hero-meta {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
        }

        .beta-compat-notice {
            width: 100%;
            max-width: 820px;
            margin: 0 auto 24px;
            padding: 28px;
            border: 1px solid rgba(240, 189, 107, 0.42);
            background: linear-gradient(135deg, rgba(112, 72, 18, 0.2), rgba(12, 10, 9, 0.82));
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
            text-align: left;
        }

        .beta-compat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
        .beta-compat-kicker { display: flex; align-items: center; gap: 9px; color: #f0bd6b; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
        .beta-compat-kicker::before { content: ''; width: 7px; height: 7px; background: #f0bd6b; transform: rotate(45deg); box-shadow: 0 0 16px rgba(240, 189, 107, 0.46); }
        .beta-compat-notice h2 { margin: 10px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.025em; }
        .beta-compat-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
        .beta-compat-badges span { padding: 6px 8px; border: 1px solid rgba(125, 183, 196, 0.3); color: var(--accent-bright); font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
        .beta-compat-summary { max-width: 680px; margin: 18px 0; color: var(--dim); font-size: 15px; line-height: 1.65; }
        .beta-compat-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
        .beta-compat-limits li { position: relative; padding-left: 17px; color: var(--dim); font-size: 13px; line-height: 1.5; }
        .beta-compat-limits li::before { content: '—'; position: absolute; left: 0; color: #f0bd6b; }
        .beta-compat-actions { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
        .beta-preview-download { min-width: 245px; padding: 13px 18px; background: #f0bd6b; color: #17120b; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; transition: transform 0.3s var(--ease), filter 0.3s var(--ease); }
        .beta-preview-download:hover { transform: translateY(-2px); filter: brightness(1.08); }
        .beta-preview-download strong { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; }
        .beta-preview-download small { font-size: 10px; opacity: 0.72; }
        .beta-stable-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
        .beta-stable-note strong { color: var(--text); font-weight: 500; }
        .beta-stable-note a { color: var(--text); border-bottom: 1px solid var(--border); }

        /* Social Proof */
        .social-proof {
            padding: 40px 0;
            text-align: center;
        }

        .social-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
            margin-bottom: 32px;
        }

        .marquee-outer {
            overflow: hidden;
            width: 100%;
            max-width: 100vw;
            contain: paint;
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
        }

        .marquee-track {
            display: flex;
            width: max-content;
            animation: marquee 28s linear infinite;
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }

        .marquee-set {
            display: flex;
            align-items: center;
            gap: 0;
        }

        .quote {
            font-size: 14px;
            color: var(--muted);
            white-space: nowrap;
            padding: 0 28px;
        }

        .quote-sep {
            color: var(--border);
            font-size: 14px;
            flex-shrink: 0;
        }

        @keyframes marquee {
            from { transform: translateX(0); }
            to   { transform: translateX(-50%); }
        }

        /* How it works */
        .how-works-grid {
            display: flex;
            gap: 24px;
            margin-top: 48px;
        }

        .how-item {
            flex: 1;
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 32px;
            transition: border-color 0.3s var(--ease);
        }

        .how-item:hover {
            border-color: var(--accent);
        }

        .how-num {
            font-family: 'JetBrains Mono', monospace;
            font-size: 32px;
            font-weight: 400;
            color: var(--accent);
            margin-bottom: 16px;
            display: block;
        }

        .how-works-head .section-title {
            margin-bottom: 12px;
        }

        .how-works-copy {
            color: var(--dim);
            font-size: 16px;
            max-width: 560px;
        }

        .how-title {
            font-size: 17px;
            font-weight: 500;
            margin-bottom: 12px;
        }

        .how-desc {
            font-size: 15px;
            color: var(--dim);
        }

        /* Features */
        .features-header {
            text-align: left;
            margin-bottom: 64px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .feature-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 40px;
            transition: border-color 0.3s var(--ease);
            border-radius: 0;
            display: flex;
            flex-direction: column;
        }

        .feature-card:hover {
            border-color: var(--accent);
        }

        .f-icon {
            font-size: 24px;
            color: var(--accent);
            margin-bottom: 24px;
            display: block;
        }

        .f-title-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .f-title {
            font-size: 18px;
            font-weight: 500;
        }

        .f-desc {
            font-size: 15px;
            color: var(--dim);
            flex-grow: 1;
        }

        .f-img {
            width: 100%;
            margin-top: 24px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
            background: #1c1c1e;
        }

        .shelf-showcase {
            grid-column: 1 / -1;
            border: 1px solid var(--border);
            background: var(--card-bg);
            padding: 48px;
            margin-bottom: 24px;
        }

        .shelf-showcase-head {
            display: grid;
            grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
            gap: 56px;
            align-items: end;
            margin-bottom: 40px;
        }

        .shelf-showcase h3 {
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 400;
            letter-spacing: -0.03em;
        }

        .shelf-showcase-copy {
            color: var(--dim);
            font-size: 15px;
            max-width: 560px;
        }

        .shelf-style-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .shelf-style-frame,
        .shelf-order-demo {
            background: #121214;
            border: 1px solid var(--border);
            padding: 22px;
            min-width: 0;
        }

        .shelf-style-frame img,
        .shelf-order-demo video {
            display: block;
            width: 100%;
            height: auto;
        }

        .shelf-style-frame.wide {
            grid-column: 1 / -1;
        }

        .shelf-order-demo {
            margin-top: 14px;
            padding: 28px 22px;
        }

        .shelf-demo-label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 20px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .shelf-demo-label span:last-child {
            color: var(--accent);
        }

        @media (max-width: 720px) {
            .shelf-showcase { padding: 28px 20px; }
            .shelf-showcase-head { grid-template-columns: 1fr; gap: 18px; }
            .shelf-style-grid { grid-template-columns: 1fr; }
            .shelf-style-frame.wide { grid-column: auto; }
            .shelf-style-frame, .shelf-order-demo { padding: 16px 12px; }
        }

        /* Free vs Pro */
        #pricing {
            position: relative;
            isolation: isolate;
        }

        #pricing::before {
            content: '';
            position: absolute;
            z-index: -1;
            width: 620px;
            height: 620px;
            right: -240px;
            top: 80px;
            border-radius: 50%;
            background: rgba(51, 103, 116, 0.14);
            filter: blur(120px);
            pointer-events: none;
        }

        .pricing-header {
            max-width: 760px;
            margin-bottom: 54px;
        }

        .pricing-header .section-title {
            max-width: 700px;
            margin-bottom: 18px;
        }

        .pricing-header p {
            max-width: 660px;
            font-size: 18px;
            color: var(--dim);
        }

        .comparison-panel {
            overflow: hidden;
            border: 1px solid rgba(120, 113, 108, 0.34);
            border-radius: 28px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.024), transparent 34%),
                #0b0b0c;
            box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
        }

        .comparison-row {
            display: grid;
            grid-template-columns: minmax(190px, 0.82fr) minmax(260px, 1.15fr) minmax(260px, 1.15fr);
            border-bottom: 1px solid rgba(120, 113, 108, 0.25);
        }

        .comparison-row:last-child {
            border-bottom: 0;
        }

        .comparison-cell {
            min-width: 0;
            padding: 27px 30px;
        }

        .comparison-cell + .comparison-cell {
            border-left: 1px solid rgba(120, 113, 108, 0.25);
        }

        .comparison-cell.pro-column {
            background: linear-gradient(120deg, rgba(51, 103, 116, 0.17), rgba(51, 103, 116, 0.07));
        }

        .comparison-head .comparison-cell {
            min-height: 174px;
            padding-top: 34px;
            padding-bottom: 34px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .comparison-intro {
            gap: 11px;
        }

        .comparison-intro strong {
            max-width: 150px;
            font-size: 18px;
            line-height: 1.25;
            font-weight: 500;
        }

        .comparison-intro span {
            max-width: 160px;
            font-size: 13px;
            color: var(--muted);
        }

        .plan-label {
            align-self: flex-start;
            margin-bottom: 15px;
            padding: 8px 14px;
            border: 1px solid rgba(168, 162, 158, 0.22);
            border-radius: 999px;
            color: var(--dim);
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .plan-label.pro {
            border-color: rgba(89, 160, 175, 0.36);
            background: linear-gradient(135deg, #5f9aa7, #336774);
            color: #f8fbfc;
            box-shadow: 0 10px 30px rgba(51, 103, 116, 0.28);
        }

        .plan-title {
            margin-bottom: 8px;
            font-size: 27px;
            font-weight: 500;
            letter-spacing: -0.02em;
        }

        .plan-summary {
            max-width: 330px;
            color: var(--dim);
            font-size: 14px;
            line-height: 1.55;
        }

        .feature-name {
            color: var(--text);
            font-size: 15px;
            font-weight: 500;
        }

        .feature-note {
            display: block;
            margin-top: 5px;
            color: var(--muted);
            font-size: 12px;
            line-height: 1.45;
        }

        .plan-value {
            color: var(--dim);
            font-size: 15px;
            line-height: 1.55;
        }

        .plan-value strong {
            color: var(--text);
            font-weight: 500;
        }

        .status-mark {
            display: inline-grid;
            place-items: center;
            width: 22px;
            height: 22px;
            margin-right: 9px;
            border: 1px solid rgba(168, 162, 158, 0.25);
            border-radius: 50%;
            color: var(--dim);
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            vertical-align: -2px;
        }

        .pro-column .status-mark {
            border-color: rgba(89, 160, 175, 0.45);
            background: rgba(51, 103, 116, 0.22);
            color: #8ec2cc;
        }

        .comparison-price-row .comparison-cell {
            padding-top: 34px;
            padding-bottom: 34px;
        }

        .comparison-price-row .feature-cell {
            display: flex;
            align-items: center;
        }

        .price-lockup {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 20px;
        }

        .price-lockup strong {
            color: var(--text);
            font-size: 36px;
            font-weight: 500;
            letter-spacing: -0.04em;
        }

        .price-lockup span {
            color: var(--muted);
            font-size: 12px;
        }

        .comparison-price-row .btn-solid,
        .comparison-price-row .btn-outline {
            width: 100%;
            justify-content: center;
        }

        .comparison-trust {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            margin-top: 18px;
            border: 1px solid rgba(120, 113, 108, 0.26);
            border-radius: 18px;
            background: rgba(12, 10, 9, 0.7);
        }

        .trust-item {
            padding: 18px 20px;
            text-align: center;
            color: var(--dim);
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .trust-item + .trust-item {
            border-left: 1px solid rgba(120, 113, 108, 0.26);
        }

        /* FAQ */
        .faq-list {
            max-width: 100%;
            margin-top: 64px;
        }

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

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

        .faq-q {
            width: 100%;
            padding: 32px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 17px;
            color: var(--text);
            font-weight: 500;
            text-align: left;
        }

        .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s var(--ease);
        }

        .faq-a p {
            padding-bottom: 32px;
            font-size: 16px;
            color: var(--dim);
            max-width: 700px;
        }

        .faq-item.active .faq-a {
            max-height: 300px;
        }

        .faq-icon {
            transition: transform 0.4s var(--ease);
            color: var(--muted);
            font-family: 'JetBrains Mono', monospace;
            font-size: 18px;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        /* Final CTA */
        .final-cta {
            text-align: center;
        }

        .final-cta h2 {
            font-size: 42px;
            margin-bottom: 40px;
        }

        .btn-large {
            height: auto;
            padding: 20px 48px;
            font-size: 14px;
            margin: 0 auto;
        }

        .final-meta {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
            margin-top: 24px;
        }
        .brew-install { width:min(620px,100%); margin:26px auto 0; text-align:left; }
        .brew-install span { display:block; margin-bottom:8px; color:var(--muted); font:500 10px/1.4 'JetBrains Mono',monospace; text-transform:uppercase; letter-spacing:.08em; }
        .brew-install code { display:block; padding:15px 18px; overflow-x:auto; white-space:nowrap; border:1px solid var(--border); background:var(--panel); color:var(--text); font:500 13px/1.5 'JetBrains Mono',monospace; }

        /* Footer */
        footer {
            padding: 80px 0;
            border-top: 1px solid var(--border);
        }

        .footer-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .copy {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
        }

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

        .footer-links a {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
        }

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


        @media (max-width: 800px) {
            .how-works-grid, .features-grid {
                grid-template-columns: 1fr;
                flex-direction: column;
            }
            .nav-links { display: none; }
            section { padding: 100px 0; }
            .hero { padding-top: 140px; }
            .hero-btns { flex-direction: column; width: 100%; }
            .hero-btns .btn-solid, .hero-btns .btn-outline { justify-content: center; width: 100%; }
            .beta-compat-notice { padding: 22px 18px; }
            .beta-compat-head { flex-direction: column; gap: 14px; }
            .beta-compat-badges { justify-content: flex-start; }
            .beta-compat-notice h2 { font-size: 22px; }
            .beta-compat-limits { grid-template-columns: 1fr; }
            .beta-compat-actions { align-items: stretch; flex-direction: column; }
            .beta-preview-download { width: 100%; min-width: 0; align-items: center; text-align: center; }
            .comparison-row {
                grid-template-columns: 1fr 1fr;
            }
            .comparison-cell {
                padding: 22px 20px;
            }
            .comparison-row > .feature-cell {
                grid-column: 1 / -1;
                border-bottom: 1px solid rgba(120, 113, 108, 0.22);
                background: rgba(255, 255, 255, 0.018);
            }
            .comparison-row > .feature-cell + .comparison-cell {
                border-left: 0;
            }
            .comparison-head > .feature-cell {
                display: none;
            }
            .comparison-head .comparison-cell {
                min-height: 155px;
            }
            .comparison-price-row .feature-cell {
                display: none;
            }
            .comparison-trust {
                grid-template-columns: 1fr 1fr;
            }
            .trust-item:nth-child(3) {
                border-left: 0;
            }
            .trust-item:nth-child(n+3) {
                border-top: 1px solid rgba(120, 113, 108, 0.26);
            }
            .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
            .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
            .quartz-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 520px) {
            .comparison-panel { border-radius: 20px; }
            .comparison-cell { padding: 20px 15px; }
            .comparison-head .comparison-cell { min-height: 142px; }
            .plan-title { font-size: 22px; }
            .plan-summary { font-size: 12px; }
            .plan-value { font-size: 13px; }
            .price-lockup { display: block; }
            .price-lockup strong { display: block; font-size: 30px; }
            .price-lockup span { display: block; margin-top: 3px; }
            .comparison-price-row .btn-solid,
            .comparison-price-row .btn-outline { padding: 12px 10px; font-size: 11px; }
        }

        /* Mock Animations */
        .mock-container {
            width: 100%;
            margin-top: 24px;
            padding: 32px 24px;
            border-radius: 8px;
            background: #1c1c1e;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .mock-menubar {
            height: 36px;
            background: rgba(255,255,255,0.05);
            border-radius: 6px;
            padding: 0 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            max-width: 240px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.2);
        }
        .mock-icons { display: flex; gap: 8px; align-items: center; }
        .mock-dot {
            width: 14px;
            height: 14px;
            border-radius: 4px;
            background: rgba(255,255,255,0.3);
            transition: all 0.4s var(--ease);
        }
        .mock-autohide {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .mock-autohide .mock-dot {
            animation: autoHideAnim 5s infinite;
        }
        .mock-autohide .mock-dot:nth-child(1) { animation-delay: 0.1s; }
        .mock-autohide .mock-dot:nth-child(2) { animation-delay: 0.2s; }
        .mock-autohide .mock-dot:nth-child(3) { animation-delay: 0.3s; }

        @keyframes autoHideAnim {
            0%, 20% { opacity: 1; transform: scale(1) translateY(0); margin-right: 0; }
            35%, 65% { opacity: 0; transform: scale(0.5) translateY(10px); margin-right: -22px; pointer-events: none; }
            80%, 100% { opacity: 1; transform: scale(1) translateY(0); margin-right: 0; }
        }

        .mock-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 200px;
            padding: 10px 14px;
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .mock-track {
            width: 36px;
            height: 20px;
            border-radius: 10px;
            background: var(--accent);
            position: relative;
        }
        .mock-track.off { background: rgba(255,255,255,0.1); }
        .mock-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: white;
            position: absolute;
            top: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        .mock-thumb.right { transform: translateX(18px); }
        .mock-thumb.left { transform: translateX(2px); }

        .anim-track { animation: toggleAnim 4s infinite; }
        .anim-thumb { animation: thumbAnim 4s infinite; }

        @keyframes toggleAnim {
            0%, 30% { background: rgba(255,255,255,0.1); }
            45%, 85% { background: var(--accent); }
            100% { background: rgba(255,255,255,0.1); }
        }
        @keyframes thumbAnim {
            0%, 30% { transform: translateX(2px); }
            45%, 85% { transform: translateX(18px); }
            100% { transform: translateX(2px); }
        }



        .quartz-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            margin-top: 42px;
        }

        .quartz-card {
            border: 1px solid var(--border);
            background: rgba(12, 10, 9, 0.74);
            padding: 28px;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            gap: 14px;
            transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
        }

        .quartz-card:hover {
            border-color: var(--accent-bright);
            transform: translateY(-3px);
        }

        .quartz-card-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            color: var(--accent-bright);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .quartz-card h3 {
            font-size: 24px;
            margin: 0;
        }

        .quartz-card p {
            color: var(--dim);
            margin: 0;
            line-height: 1.65;
        }

        .quartz-card-link {
            margin-top: auto;
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            color: var(--accent-bright);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .quartz-hub-link {
            display: inline-block;
            margin-top: 24px;
            color: var(--accent-bright);
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

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

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            .marquee-track, .mock-autohide .mock-dot, .anim-track, .anim-thumb { animation: none; }
            .marquee-track { width: 100%; }
            .marquee-set { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
            .marquee-set[aria-hidden="true"] { display: none; }
        }

        :where(img[src^="/images/"][width][height]) { height: auto; }


/* === Tuck 1.2.0 homepage: hero floats, live Shelf demo, what's-new ===
   Mirrored in home-localized.css — keep the two blocks identical. */

/* Dark hero with floating real Shelf elements */
.hero-dark { position: relative; overflow: clip; background: radial-gradient(1000px 460px at 72% -12%, rgba(255,255,255,.05), transparent 62%), linear-gradient(180deg,#0b0c0e 0%,#09090b 80%); border-bottom: 1px solid var(--border); }
.hero-dark .container { position: relative; z-index: 2; }
.hero-dark h1 { font-family: ui-serif,'New York',Georgia,'Times New Roman',serif; font-weight: 500; letter-spacing: -.01em; }
.hero-dark .hero-subtext { max-width: 620px; }
.hero-float-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hfloat { position: absolute; padding: 8px; opacity: 0; translate: var(--px, 0px) var(--py, 0px); will-change: transform, translate; }
.hfloat-shelf { top: 14%; left: 2.5%; animation: hfloat-fade .8s ease .15s forwards, hfloat-drift-a 11s ease-in-out 1s infinite alternate; }
.hfloat-sub { top: 6%; right: 5%; animation: hfloat-fade .8s ease .35s forwards, hfloat-drift-b 13s ease-in-out 1.2s infinite alternate; }
.hfloat-search { top: 46%; left: 4%; animation: hfloat-fade .8s ease .55s forwards, hfloat-drift-c 12s ease-in-out 1.4s infinite alternate; }
.hfloat-glass { top: 38%; right: 2.5%; animation: hfloat-fade .8s ease .75s forwards, hfloat-drift-d 10s ease-in-out 1.6s infinite alternate; }
.hfloat-trail { bottom: 15%; right: 10%; animation: hfloat-fade .8s ease .95s forwards, hfloat-drift-e 14s ease-in-out 1.8s infinite alternate; }
@keyframes hfloat-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hfloat-drift-a { from { transform: translate3d(0,-9px,0) rotate(-4deg); } to { transform: translate3d(0,11px,0) rotate(-2deg); } }
@keyframes hfloat-drift-b { from { transform: translate3d(0,10px,0) rotate(3deg); } to { transform: translate3d(0,-10px,0) rotate(1.5deg); } }
@keyframes hfloat-drift-c { from { transform: translate3d(0,-8px,0) rotate(2deg); } to { transform: translate3d(0,12px,0) rotate(3.5deg); } }
@keyframes hfloat-drift-d { from { transform: translate3d(0,11px,0) rotate(-2deg); } to { transform: translate3d(0,-9px,0) rotate(-3.5deg); } }
@keyframes hfloat-drift-e { from { transform: translate3d(0,-10px,0) rotate(1.5deg); } to { transform: translate3d(0,10px,0) rotate(3deg); } }
@media (max-width: 1100px) { .hero-float-layer { display: none; } }

/* Shared real Shelf capsule */
.tk-capsule { display: flex; align-items: center; gap: 15px; height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(44,44,48,.6); box-shadow: 0 8px 28px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6); }
.tk-icon { width: 19px; height: 19px; border-radius: 5px; display: block; flex: 0 0 19px; }
.tk-slot { display: flex; align-items: center; gap: 6px; height: 100%; color: var(--text); white-space: nowrap; }
.tk-chevron { font-size: 14px; line-height: 1; color: var(--dim); }
.tk-name { font-size: 13px; font-weight: 600; }
.tk-count { font-size: 11px; color: var(--muted); }
.tk-trail { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.tk-trail-btn { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #eceae6; cursor: pointer; }
.tk-trail-btn svg { width: 16px; height: 16px; display: block; }
.tk-trail-btn:hover { color: #fff; }
.tk-trail-btn.is-on { color: #fff; }

/* Live Shelf demo */
.live-demo-head { max-width: 720px; margin-bottom: 44px; }
.live-demo-head .section-title { max-width: none; }
.live-demo-copy { max-width: 640px; color: var(--dim); font-size: 17px; }
.live-demo-stage { position: relative; }
.demo-stage { position: relative; overflow: hidden; padding: 56px 18px 22px; border: 1px solid var(--border); border-radius: 16px; background: radial-gradient(720px 300px at 28% -6%, rgba(255,255,255,.04), transparent 62%), #0a0a0b; }
.demo-menubar { position: absolute; inset: 0 0 auto; height: 34px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: rgba(20,20,22,.78); color: #eceae6; font-size: 12px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.demo-menu-left, .demo-menu-right { display: flex; gap: 16px; align-items: center; }
.demo-menubar .demo-system { display: flex; gap: 12px; align-items: center; color: #cfcfcd; }
.demo-menubar .demo-system svg { width: 15px; height: 15px; display: block; }
.demo-clock { font-variant-numeric: tabular-nums; }
.demo-tuck-btn { display: grid; place-items: center; width: 26px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.1); color: #eceae6; cursor: pointer; touch-action: manipulation; transition: background .3s var(--ease); }
.demo-tuck-btn:hover { background: rgba(255,255,255,.2); }
.demo-tuck-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.live-demo-stage.demo-open .demo-tuck-btn svg { transform: rotate(180deg); }
.demo-drop { position: relative; max-width: 860px; margin: 14px auto 0; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s ease, visibility 0s linear .35s; }
.live-demo-stage.demo-open .demo-drop { transform: translateY(0); opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .3s ease, visibility 0s; }
.demo-capsule-wrap { position: relative; }
.demo-capsule { --alpha: .6; --frost: 22px; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: 38px; padding: 0 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(44,44,48,var(--alpha)); box-shadow: 0 10px 32px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(var(--frost)) saturate(1.6); -webkit-backdrop-filter: blur(var(--frost)) saturate(1.6); transition: height .3s var(--ease), background .2s ease; }
.demo-capsule.searching { height: 76px; }
.demo-search { display: none; align-items: center; gap: 8px; height: 30px; margin: 5px 4px 0; padding: 0 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(18,18,20,.78); }
.demo-search svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--muted); }
.demo-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 13px; caret-color: #d97c3b; }
.demo-search input::placeholder { color: var(--muted); }
.demo-capsule.searching .demo-search { display: flex; }
.demo-capsule.searching .demo-row { height: 32px; }
.demo-row { display: flex; align-items: center; gap: 15px; height: 36px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.demo-row::-webkit-scrollbar { display: none; }
.demo-slot { display: flex; align-items: center; gap: 6px; height: 100%; color: var(--text); white-space: nowrap; cursor: pointer; flex: 0 0 auto; border-radius: 8px; }
.demo-slot:hover .tk-chevron { color: var(--text); }
.demo-slot.is-open .tk-chevron { transform: rotate(90deg); }
.demo-slot .tk-chevron { transition: transform .25s var(--ease); }
.demo-slot.is-drop .tk-name { text-decoration: underline; }
.demo-tile { flex: 0 0 19px; width: 19px; height: 19px; border-radius: 5px; cursor: grab; user-select: none; transition: box-shadow .2s ease, transform .2s ease; }
.demo-tile:hover { transform: translateY(-2px); }
.demo-tile.is-active { box-shadow: 0 0 0 3px rgba(243,240,236,.85); }
.demo-tile.is-dragging { opacity: .35; }
.demo-tile.is-opened { animation: demo-open-flash .5s ease; }
@keyframes demo-open-flash { 0% { box-shadow: 0 0 0 0 rgba(243,240,236,.7); } 100% { box-shadow: 0 0 0 10px rgba(243,240,236,0); } }
.demo-strip-note { font-size: 12px; color: var(--muted); }
.demo-subpanel { position: absolute; top: calc(100% + 4px); left: 8px; z-index: 5; height: 36px; padding: 0 12px; gap: 14px; }
.demo-status { min-height: 18px; margin: 10px 2px 0; color: var(--dim); font-size: 13px; }
.demo-ctl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; color: var(--dim); font-size: 13px; }
.demo-ctl label { white-space: nowrap; }
.demo-ctl input[type=range] { width: 180px; accent-color: var(--accent); }
.demo-ctl output { min-width: 38px; color: var(--muted); font-size: 12px; }
.demo-hint { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }

/* What's new in 1.2.0 */
.wn-head { max-width: 720px; margin-bottom: 60px; }
.wn-row { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; margin-bottom: 72px; }
.wn-row-flip .wn-figure { order: 2; }
.wn-figure { margin: 0; padding: 18px; border: 1px solid var(--border); background: #0a0a0b; }
.wn-figure img { display: block; width: 100%; height: auto; }
.wn-text h3 { margin: 14px 0 12px; font-size: clamp(24px,3vw,32px); }
.wn-text p { max-width: 440px; color: var(--dim); font-size: 15px; }
.mini-wall-head { margin: 24px 0 28px; }
.mini-wall-head h3 { margin-bottom: 6px; font-size: clamp(26px,3.4vw,36px); }
.mini-wall-head p { color: var(--dim); }
.mini-wall { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.mini-card { padding: 24px; border: 1px solid var(--border); background: var(--card-bg); transition: border-color .3s var(--ease); }
.mini-card:hover { border-color: var(--accent); }
.mini-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--accent); font-size: 13px; font-weight: 600; }
.mini-card h4 { margin-bottom: 6px; font-size: 15px; }
.mini-card p { color: var(--dim); font-size: 13px; }

/* FAQ + final CTA */
.faq-more { margin-top: 32px; color: var(--dim); font-size: 15px; }
.faq-more a { color: var(--accent); border-bottom: 1px solid rgba(125,183,196,.34); }
.final-cta h2 { font-family: ui-serif,'New York',Georgia,'Times New Roman',serif; font-weight: 500; letter-spacing: -.01em; }
.final-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.final-btns .btn-large { margin: 0; }

@media (max-width: 900px) {
    .wn-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
    .wn-row-flip .wn-figure { order: 0; }
    .mini-wall { grid-template-columns: 1fr 1fr; }
    .demo-stage { padding-top: 48px; }
    .demo-drop { margin-top: 10px; }
}
@media (max-width: 560px) {
    .mini-wall { grid-template-columns: 1fr; }
    .demo-ctl { flex-wrap: wrap; }
    .demo-ctl input[type=range] { width: 140px; }
    .final-btns { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    .hfloat { animation: none; opacity: 1; }
    .demo-tile.is-opened { animation: none; }
    .demo-drop, .demo-tuck-btn svg, .demo-capsule, .demo-slot .tk-chevron, .demo-tile { transition: none; }
}

/* Hero float helpers: static search pill + glass control chip */
.demo-search-ph { color: var(--muted); font-size: 13px; }
.hfloat-ctl { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(18,18,20,.72); color: var(--dim); font-size: 12px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hfloat-track2 { position: relative; width: 90px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); }
.hfloat-thumb2 { position: absolute; top: 50%; left: 72%; width: 11px; height: 11px; border-radius: 50%; background: #e8e5e1; transform: translate(-50%,-50%); }

/* the sub-panel is a .tk-capsule (display:flex), so [hidden] needs an explicit guard */
.demo-subpanel[hidden] { display: none; }
