        /* ── TERMS PAGE — built on the main design system ──────── */

        /* app selector: two tappable app icons, dimmed until chosen */
        .app-selector {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .app-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.5rem;
            border: none;
            background: transparent;
            border-radius: 1.25rem;
            cursor: pointer;
            opacity: 0.4;
            transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
        }

        .app-option:hover {
            opacity: 0.8;
        }

        .app-option.active {
            opacity: 1;
        }

        .app-option img {
            height: 6.5rem;
            width: auto;
            border-radius: 1.25rem;
            transition: transform 200ms var(--ease-out);
        }

        .app-option.active img {
            transform: scale(1.04);
        }

        .app-option span {
            font-size: 0.9375rem;
            font-weight: 600;
            letter-spacing: -0.01em;
            color: var(--label);
        }

        .app-option:focus-visible {
            outline: 2px solid #60A5FA;
            outline-offset: 3px;
        }

        /* tabs: Terms / Privacy — built on the page's pills.
           active = a full pill; inactive = gradient text, no fill. */
        .tabs {
            justify-content: center;
            margin-top: 0;
            margin-bottom: 3.5rem;
        }

        /* pills here are <button>s — strip the native chrome.
           keep the pill's gradient background-image (clipped to text). */
        .tab {
            border: none;
            cursor: pointer;
            font-family: inherit;
        }

        /* hide the solid fill behind an unselected tab */
        .tab:not(.active)::before {
            opacity: 0;
        }

        /* content panels */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .legal-content {
            margin: 0;
            max-width: none;
        }

        .legal-content .effective-date {
            font-size: 0.8125rem;
            letter-spacing: 0.01em;
            color: var(--label-3);
            margin-bottom: 2rem;
        }

        /* headings & body: match the main page's type scale */
        .legal-content h2 {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.025em;
            color: var(--label);
            margin-bottom: 0.75rem;
        }

        .legal-content h3 {
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--label-3);
            margin-top: 2.75rem;
            margin-bottom: 0.75rem;
        }

        .legal-content p {
            font-size: 1.0625rem;
            line-height: 1.65;
            color: var(--label-2);
            margin-bottom: 1rem;
        }

        .legal-content ul {
            margin: 0 0 1rem 0;
            padding-left: 1.25rem;
        }

        .legal-content li {
            font-size: 1.0625rem;
            line-height: 1.65;
            color: var(--label-2);
            margin-bottom: 0.5rem;
        }

        @media (max-width: 40rem) {
            .app-selector {
                gap: 1rem;
            }
            .app-option {
                padding: 0.75rem 1rem;
            }
            .app-option img {
                height: 5rem;
            }
            .tab {
                padding: 0.6rem 1.25rem;
            }
        }

