        /* Home page grid and responsive public-content layout. */
        .home-page {
            flex: 1 0 auto;
            width: 100%;
            padding: calc(var(--nav-height) + 10px) 10px 10px;
            display: flex;
        }
        .home-layout {
            flex: 1 1 auto;
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
            align-items: start;
            justify-items: stretch;
            gap: 12px;
            min-height: 100%;
            isolation: isolate;
        }
        /* Shared card shell for the hero, workflow entry, and story modules. */
        .module-card {
            position: relative;
            display: flex;
            flex-direction: column;
            min-width: 0;
            min-height: 0;
            padding: 18px;
        }
        .overview-panel {
            --uw-purple: #4b2e83;
            --uw-gold: #b7a57a;
            gap: 14px;
            padding: 0;
            overflow: visible;
            z-index: 2;
        }
        .overview-intro {
            display: grid;
            gap: 12px;
        }
        .overview-header {
            display: grid;
            gap: 14px;
            width: 100%;
            justify-items: start;
            text-align: left;
        }
        .overview-header > div {
            display: grid;
            gap: 14px;
            width: 100%;
            justify-items: start;
        }
        .overview-header h1 {
            margin: 2px 0 6px;
            font-size: clamp(30px, 4.4vw, 44px);
            font-weight: 600;
            letter-spacing: 0.015em;
            line-height: 1.06;
            color: rgba(247, 250, 255, 0.98);
        }
        .overview-header p:not(.section-eyebrow) {
            margin: 0;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.55;
            max-width: 78ch;
        }
        .hero-card {
            display: block;
            padding: 34px 38px;
        }
        .hero-copy {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            text-align: left;
            gap: 14px;
            min-width: 0;
        }
        .hero-copy p:not(.section-eyebrow) {
            margin: 0;
            color: rgba(229, 237, 250, 0.92);
            font-size: 15px;
            line-height: 1.68;
            max-width: 82ch;
            text-align: left;
        }
        .hero-affiliation {
            display: grid;
            grid-template-columns: minmax(220px, 320px) max-content;
            gap: 20px 26px;
            align-items: center;
            width: 100%;
            justify-content: center;
            margin-top: 6px;
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.16);
        }
        .hero-affiliation-copy {
            display: grid;
            min-width: 0;
            justify-self: start;
        }
        .hero-affiliation-lines {
            display: grid;
            gap: 8px;
        }
        .hero-affiliation-lines p {
            margin: 0;
            color: rgba(241, 245, 252, 0.96);
            font-size: 17px;
            line-height: 1.55;
            max-width: 82ch;
        }
        .hero-affiliation-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
        }
        .hero-affiliation-logo {
            display: block;
            width: min(100%, 360px);
            height: auto;
        }
        .proof-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 10px 14px;
            border-radius: 10px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.02em;
            transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }
        .proof-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
        }
        .home-section-stack {
            display: grid;
            gap: 12px;
        }
        .proof-card,
        .home-section-card {
            display: grid;
            gap: 14px;
            min-width: 0;
        }
        .proof-card h2,
        .home-section-card h2 {
            margin: 0;
            font-size: 22px;
            line-height: 1.12;
            color: rgba(247, 250, 255, 0.98);
        }
        .proof-card p,
        .home-section-card p {
            margin: 0;
            color: rgba(229, 237, 250, 0.92);
            font-size: 14px;
            line-height: 1.6;
        }
        .proof-link {
            justify-content: flex-start;
            width: fit-content;
            padding: 0;
            min-height: 0;
            border: 0;
            color: #a9c9ff;
            background: transparent;
        }
        .proof-link:hover {
            color: #c6ddff;
            text-decoration: underline;
        }
        /* Public story cards become a mobile carousel via home.js. */
        .story-viewport {
            min-width: 0;
            overflow: visible;
            padding-right: 0;
        }
        .story-track {
            display: grid;
            gap: 14px;
        }
        .story-card {
            display: grid;
            gap: 14px;
            opacity: 0;
            transform: translateY(8px);
            animation: storyCardIn 0.36s ease-out forwards;
            transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .story-card:nth-child(1) { animation-delay: 0.02s; }
        .story-card:nth-child(2) { animation-delay: 0.07s; }
        .story-card:nth-child(3) { animation-delay: 0.12s; }
        .story-card:nth-child(4) { animation-delay: 0.17s; }
        .story-card:nth-child(5) { animation-delay: 0.22s; }
        .story-card-head {
            display: grid;
            gap: 8px;
        }
        .story-card-title {
            margin: 0;
            font-size: 20px;
            line-height: 1.15;
            letter-spacing: 0.01em;
        }
        .story-card-copy {
            display: grid;
            gap: 10px;
        }
        .story-card-copy p {
            margin: 0;
            font-size: 14px;
            line-height: 1.65;
            color: rgba(241, 245, 252, 0.96);
        }
        .story-card-copy code {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(var(--glass-border-rgb), 0.24);
            border-radius: 6px;
            padding: 1px 5px;
            font-size: 0.95em;
        }
        .story-channel-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
        .story-channel-list li {
            display: grid;
            gap: 10px;
            padding: 12px;
            border-radius: 14px;
            background: rgba(16, 24, 35, 0.58);
            border: 1px solid rgba(var(--glass-border-rgb), 0.28);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
        }
        .story-channel-list li.dic {
            background: linear-gradient(135deg, rgba(66, 66, 66, 0.28), rgba(16, 24, 35, 0.58));
            border-color: rgba(128, 128, 128, 0.34);
        }
        .story-channel-list li.blue {
            background: linear-gradient(135deg, rgba(33, 74, 212, 0.26), rgba(16, 24, 35, 0.58));
            border-color: rgba(83, 118, 255, 0.34);
        }
        .story-channel-list li.red {
            background: linear-gradient(135deg, rgba(173, 46, 46, 0.28), rgba(16, 24, 35, 0.58));
            border-color: rgba(224, 102, 102, 0.34);
        }
        .story-channel-list li.green {
            background: linear-gradient(135deg, rgba(20, 124, 67, 0.28), rgba(16, 24, 35, 0.58));
            border-color: rgba(74, 196, 124, 0.34);
        }
        .story-channel-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            min-width: 0;
        }
        .story-channel-hint {
            color: rgba(221, 228, 242, 0.78);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            white-space: nowrap;
        }
        .story-channel-copy {
            color: rgba(233, 240, 255, 0.96);
            font-size: 13px;
            line-height: 1.5;
        }
        .channel-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 74px;
            min-height: 30px;
            padding: 0 10px;
            border-radius: 999px;
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.03em;
            user-select: none;
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .channel-chip.dic { background-color: #3d4756; }
        .channel-chip.blue { background-color: #456af0; }
        .channel-chip.red { background-color: #d85a64; }
        .channel-chip.green { background-color: #309f63; }
        .channel-chip.dic:hover { background-color: #4a5567; }
        .channel-chip.blue:hover { background-color: #5a7cff; }
        .channel-chip.red:hover { background-color: #e56f78; }
        .channel-chip.green:hover { background-color: #42b775; }
        .story-output-label {
            margin: 0 0 2px 0;
            color: rgba(221, 228, 242, 0.92);
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .story-tag-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .story-tag-list li {
            padding: 7px 11px;
            border-radius: 999px;
            background: rgba(0, 123, 255, 0.12);
            border: 1px solid rgba(80, 153, 255, 0.34);
            color: rgba(226, 238, 255, 0.96);
            font-size: 12px;
            letter-spacing: 0.03em;
        }
        .story-detail-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 10px;
        }
        .story-detail-list li {
            padding: 12px 14px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(255, 255, 255, 0.04));
            border: 1px solid rgba(98, 160, 255, 0.22);
            display: grid;
            gap: 4px;
        }
        .story-detail-list strong {
            color: #ffffff;
            font-size: 13px;
        }
        .story-detail-list span {
            color: rgba(226, 233, 245, 0.92);
            font-size: 13px;
            line-height: 1.55;
        }
        .story-note {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            align-self: flex-start;
            padding: 8px 11px;
            border-radius: 999px;
            border: 1px solid rgba(237, 178, 93, 0.24);
            background: rgba(237, 178, 93, 0.08);
            color: #ffdba4;
            font-size: 12px;
        }
        .story-mobile-meta {
            display: none;
        }
        .story-mobile-meta.is-visible {
            display: none;
        }
        .story-swipe-hint {
            margin: 0;
            color: var(--muted);
            font-size: 12px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            text-align: center;
        }
        .story-dots {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .story-dot {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            border: 1px solid rgba(var(--glass-border-rgb), 0.4);
            background: rgba(255, 255, 255, 0.14);
            cursor: pointer;
            padding: 0;
            box-shadow: none;
        }
        .story-dot.is-active {
            background: var(--accent);
            border-color: rgba(255, 255, 255, 0.45);
            transform: scale(1.08);
        }
        .story-dot:focus-visible {
            outline: 2px solid rgba(255, 255, 255, 0.72);
            outline-offset: 3px;
        }
        .cta-panel {
            background:
                var(--liquid-linear-highlight),
                var(--glass-card-bg);
            border: 1px solid var(--panel-border);
            border-radius: 16px;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: calc(var(--nav-height) + 10px);
            align-self: flex-start;
            min-height: calc(100dvh - var(--nav-height) - 20px);
            z-index: 1;
        }
        .cta-card {
            justify-content: center;
            align-items: center;
            text-align: center;
            gap: 16px;
        }
        .cta-card h2 {
            margin: 0;
            font-size: 22px;
        }
        .cta-card p {
            margin: 0;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.55;
        }
        .cta-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .cta-buttons.is-authenticated {
            width: 100%;
            flex-wrap: nowrap;
        }
        .cta-buttons.is-authenticated .cta-button {
            flex: 1 1 0;
            min-width: 0;
            padding-left: 18px;
            padding-right: 18px;
        }
        .cta-button {
            background-color: var(--accent);
            color: #fff;
            text-decoration: none;
            padding: 14px 24px;
            border-radius: 10px;
            transition: background-color 0.3s ease;
            font-weight: 600;
            letter-spacing: 0.2px;
            min-width: 176px;
            min-height: 48px;
            text-align: center;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .cta-button:hover { background-color: var(--accent-dark); }
        .cta-spinner {
            width: 14px;
            height: 14px;
            border: 2px solid rgba(255, 255, 255, 0.45);
            border-top-color: #fff;
            border-right-color: #fff;
            border-radius: 50%;
            animation: spin 0.9s linear infinite;
            position: absolute;
            left: 14px;
            top: calc(50% - 7px);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .cta-button.loading .cta-spinner {
            opacity: 1;
            visibility: visible;
        }
        .text-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }
        .text-link:hover { text-decoration: underline; }
        .cta-signin {
            margin-top: 10px;
        }
        .cta-support-links {
            width: min(100%, 320px);
            margin: 18px auto 0;
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.16);
        }
        .cta-support-links p {
            margin: 0;
        }
        .cta-support-links p + p {
            margin-top: 18px;
        }
        .cta-support-links .text-link {
            display: inline-block;
            margin-top: 4px;
        }
        .splitter {
            position: sticky;
            top: calc(var(--nav-height) + 10px);
            z-index: 3;
            width: var(--divider-width);
            height: calc(100dvh - var(--nav-height) - 20px);
            align-self: flex-start;
            background: var(--surface-muted-alt);
            border: 1px solid var(--panel-border);
            border-radius: 999px;
            cursor: col-resize;
            display: flex;
            align-items: center;
            justify-content: center;
            touch-action: none;
        }
        .splitter::after {
            content: "";
            width: 2px;
            height: 48px;
            background: var(--panel-border);
            border-radius: 999px;
        }
        .splitter.dragging,
        .splitter:hover {
            background: var(--surface-hover);
            border-color: var(--panel-border);
        }
        .home-layout.is-resizing .story-viewport {
            overflow: hidden;
        }
        .home-layout.is-resizing .glass-card {
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            transition: none;
        }
        @media (hover: hover) and (pointer: fine) {
            .story-card:hover {
                transform: translateY(-2px);
                box-shadow:
                    inset 0 1px 0 rgba(255, 255, 255, 0.03),
                    0 18px 34px rgba(0, 0, 0, 0.28);
            }
            .home-layout.is-resizing .story-card:hover {
                transform: none;
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
            }
        }
        @media (max-width: 900px) {
            .home-layout {
                grid-template-columns: 1fr;
                min-height: 0;
            }
            .hero-card {
                padding: 24px 22px;
            }
            .hero-affiliation {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .module-card {
                padding: 16px;
            }
            .splitter {
                display: none;
            }
            .story-viewport {
                overflow-y: visible;
                padding-right: 0;
            }
            .story-viewport.is-carousel-ready {
                overflow: hidden;
                touch-action: pan-y;
                padding-right: 0;
                cursor: grab;
            }
            .story-viewport.is-carousel-ready:active {
                cursor: grabbing;
            }
            .story-track.is-carousel-ready {
                display: flex;
                gap: 0;
                align-items: stretch;
                will-change: transform;
            }
            .story-track.is-carousel-ready .story-card {
                flex: 0 0 100%;
                min-width: 100%;
            }
            .story-mobile-meta.is-visible {
                display: grid;
                gap: 10px;
            }
            .story-card {
                min-height: 100%;
                animation-delay: 0s !important;
            }
            .cta-panel {
                position: static;
                min-height: 0;
            }
            .cta-buttons.is-authenticated {
                flex-wrap: wrap;
            }
            .cta-buttons.is-authenticated .cta-button {
                flex: 0 1 auto;
                min-width: 176px;
            }
        }
        @media (max-width: 640px) {
            .story-channel-list {
                grid-template-columns: 1fr;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .story-card {
                animation: none;
                opacity: 1;
                transform: none;
                transition: none;
            }
            .story-track.is-carousel-ready {
                transition: none !important;
            }
            .story-dot.is-active {
                transform: none;
            }
        }
        @keyframes storyCardIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
